/* 
 * font family
 */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


:root {
    --primary: #126AEF;
    --skyblue: #c9f0ff;
    --whitesmoke: #f5f5f5;

}

* {
    box-sizing: border-box;
    user-select: none;
    letter-spacing: 0.7px;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

p {
    font-size: 16px;
    letter-spacing: 1.5px;
}

.text-overflows {
    display: -webkit-box;
    -webkit-line-clamp: var(--line-clamp);
    line-clamp: var(--line-clamp);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 
 * custom custom color & background color
 */

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-skyblue {
    background-color: var(--skyblue);
}

.bg-whitesmoke {
    background-color: var(--whitesmoke);
}

.text-primary {
    color: var(--primary) !important;
}

/* end custom color & background color */


/* 
 * custom toolbars
 */

.navigation-toolbars {
    z-index: 1;
}

.toolbars-links {
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    padding: 16px;
}

.toolbars-links span {
    font-size: 16px;
}

.navigation-toolbars .toolbars-links:hover {
    color: #fff;
    text-decoration: underline;
}

.toolbars-icons {
    transition: transform 0.3s ease;
}

.toolbars-icons.hide {
    display: none;
}

.navigation-toolbars .toolbars-links:hover .toolbars-icons {
    transform: translateY(-5px);
}

/* end custom toolbars */

/* 
 * custom buttom
 */

/* circle btn */
.circle-btn {
    height: 50px;
    line-height: 50px;
    letter-spacing: 4px;
    display: inline-block;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0px 20px;
    position: relative;
    z-index: 999;
}

.circle-btn::before {
    content: "";
    width: 50px;
    height: inherit;
    line-height: inherit;

    position: absolute;
    top: 0;
    left: 0;

    background-color: var(--skyblue);
    border-radius: 50%;
    z-index: -1;
}

.circle-btn::after {
    content: "";
    width: 0;
    height: inherit;

    background-color: var(--skyblue);
    border-radius: 25px;

    position: absolute;
    top: 0;
    left: 0;

    z-index: -1;
    transition: width 0.3s linear;

}

.circle-btn:hover::after {
    width: 100%;
}

/* tag btn */
.tag {
    position: relative;
    overflow: hidden;
    color: #000;
    font-size: 16px;
    z-index: 1;
}

.tag::after {

    content: "";

    width: 0;
    height: 100%;
    background-color: var(--skyblue);

    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    transition: width 0.5s ease;
    z-index: -1;
}

.tag.active {
    background-color: var(--skyblue);
}

.tag:hover::after {
    width: 100%;
}

/* end custom button */


/* 
 * custom carousel 
 */
.carousel.custom .carousel-inner {
    display: flex;
}

.carousel-items {
    flex: 0 0 100%;
}

.control-prev,
.control-next {
    width: 4vh;
    height: 4vh;
    border: none;

    position: absolute;
    top: 50%;

    transform: translateY(-50%);
    transition: all 0.3s linear;
    background-color: transparent;
}

.control-prev {
    left: 0px;
}

.control-next {
    right: 0px;
}

@media (min-width : 991px) {

    .carousel-items {
        flex: 0 0 32%;
    }

    .control-prev,
    .control-next {
        border: 1px solid gray;
        border-radius: 50%;
    }

    .control-prev {
        left: -50px !important;
    }

    .control-next {
        right: -50px !important;
    }

    .control-prev:hover,
    .control-next:hover {
        background: transparent;
        color: var(--primary);
        border-color: var(--primary);
    }
}

/* end custom carousel */


/* 
 * navbar 
 */
@media (max-width: 991px) {

    #navbarContent.navbar-collapse {

        width: 100vw;
        height: 100vh;

        position: fixed;
        top: 0;
        right: 0;

        background-color: #f1f1f1;

        transform: translateX(100%);
        transition: transform 0.3s linear;

        z-index: 99;
    }

    #navbarContent.show {
        transform: translateX(0);
    }

    #navbarContent .nav-item:not(:last-child) {
        padding: 5px 0px;
        border-bottom: 0.5px solid #ccc;
        box-shadow: 0 .1rem .25rem rgba(0, 0, 0, .05);
    }

    #navbarContent .dropdown .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

}

.navbar-small {
    height: 45px;
    box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    padding: 0;
    transition: height 0.3s ease;
}

.navbar-large {
    height: 70px;
    font-size: 16px;
    box-shadow: none;
    transition: height 0.3s ease;
}

.logo-lg {
    width: 75px;
    height: 55px;
    transition: height 0.3s ease;
}

.logo-sm {
    width: 75px;
    height: 40px;
    transition: height 0.3s ease;
}

#navbarContent .nav-link {
    font-weight: 500;
}

#navbarContent .nav-link:hover {
    color: var(--primary);
}

#navbarContent .dropdown-menu {
    border: none;
    border-top: 3px solid var(--primary);
    border-radius: 0%;

    padding: 0;
    z-index: 999;
}

#navbarContent .dropdown-menu .dropdown-item {
    font-size: 14px;
    text-transform: uppercase;
    padding: 8px;
}

/* end navbar */

/* 
 * hero section
 */

.heros {
    width: 100%;
    min-height: 300px;
    max-height: 600px;
}

@media (max-width : 425px) {
    .heros {
        height: 300px !important;
    }
}

@media (min-width : 426px) and (max-width : 991px) {
    .heros {
        height: 400px !important;
    }
}

@media (min-width : 992px) {
    .heros {
        height: 550px !important;
    }
}

@media (max-width : 767px) {
    .heros .carousel-contents {
        align-items: center;
    }
}


/* end hero section */


/* 
 * home page
 */

/* home > services, abouts */
.service-card {
    border: none;
}

.abouts {
    text-decoration: none;
    color: #000;
}

.service-card .toolbars-icons,
.abouts .about-icon {
    width: 75px;
    height: 75px;
    line-height: 75px;

    background-color: rgba(178, 218, 233, 0.3);
    border-radius: 50%;
    color: var(--primary);
    font-size: 45px;
    text-align: center;

    margin: 5px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .05), -5px -5px 10px rgba(0, 0, 0, .05);
}

.service-card:hover .toolbars-icons,
.abouts:hover .about-icon {
    transform: translateY(-10px);
}

.about-link {
    display: block;
    padding: 0;
    transition: transform 0.3s ease;
}

.abouts:hover .about-link {
    transform: translateX(10px);
}

.abouts:hover {
    color: #000;
}

/* home > reviews */
.stars {
    display: flex;
    align-items: center;
}

.star {
    color: gold;
}

.gray-star {
    color: gray;
}

.half-star {
    position: relative;
}

.half-star::before {
    content: '★';
    color: gold;
    position: absolute;
    width: 50%;
    overflow: hidden;
}

.half-star::after {
    content: '★';
    color: gray;
}

/* end home page */

/* 
 * follow us
 */
.social-media-section {
    background: linear-gradient(135deg, #007bff 50%, #0056b3 50%);
    clip-path: ellipse(60% 85% at 50% 0%);
    z-index: 1000;
}

.social-icon {
    transition: transform 0.3s ease, color 0.3s ease;
    color: #ffffff;
    font-size: 2rem;
}

.social-icon.small {
    font-size: 1.5rem;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #f8f9fa;
}

.product-card {
    position: relative;
    height: 350px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;

    color: #fff;
    background: linear-gradient(rgba(200, 198, 198, .4), rgba(104, 102, 102, .8) 50% 100%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .3s linear;
}

.product-card:hover .card-overlay {
    transform: scaleY(1);
}

.icons {
    width: 35px;
    height: 35px;
    line-height: 35px;

    background-color: #fff;
    border-radius: 50%;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 18px;
    text-align: center;

    position: relative;
}

.icons::after {
    content: var(--icon-content);
    width: inherit;
    height: inherit;
    line-height: inherit;

    font-family: "Font Awesome 6 Free";
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);

    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.icons:hover::after {
    z-index: 999;
}

/* end follow us */


/*
 *   portfolio page
 */
.portfolios {
    height: 450px;
    position: relative;
    padding: 30px;
    padding-bottom: 0px;
    overflow: hidden;
}

.portfolios::after {
    content: "";

    width: 100%;
    height: 100%;

    background-color: #000;

    position: absolute;
    top: 0;
    left: 0;

    opacity: 0;
}

.port-title {
    z-index: 5;
}

.port-image {
    transition: transform 0.3s ease-in-out;
}

.port-item-overlay {

    display: flex;
    flex-wrap: nowrap;

    opacity: 0;
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
    z-index: 5;
}

.port-item-overlay a {
    white-space: nowrap;
}

.portfolios:hover::after {
    opacity: 0.65;
}

.portfolios:hover .port-category {
    opacity: 0;
}

.portfolios:hover .port-image {
    transform: scale(1.1);
}

.portfolios:hover .port-item-overlay {
    opacity: 1;
    bottom: 50%;
    transform: translate(-50%, 50%);
}

/* end portfolio page*/

/* 
 * start career
 */

.search-wrapper {
    background: linear-gradient(135deg, var(--primary), skyblue, var(--primary));
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container {
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.search-input {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-tags {
    gap: 0.5rem;
}

.tag {
    background: #f3f4f6;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #4b5563;
    transition: all 0.2s ease;
}

/* end career */

/* 
 * footer
 */
.social-icons {
    width: 35px;
    height: 35px;
    line-height: 33px;

    color: #fff;
    border: 2px solid var(--primary);
    border-radius: 50%;
    text-align: center;
}

/* end footer */