:root {
    /* Primary: Slightly darker and more vibrant red for better emphasis */
    --primary: #A62621; /* Adjusted from #B62E27 for richer tone */
    --primary-light: #C94A44; /* Lighter variant for hover states */
    --primary-dark: #851F1A; /* Darker variant for depth */
    /* Light: Softer off-white for cleaner backgrounds */
    --light: #F5FAF5; /* Adjusted from #EFFDF5 for less green tint */
    --light-accent: #E8F0E8; /* Subtle accent for alternate backgrounds */
    /* Dark: Richer charcoal for stronger contrast */
    --dark: #263238; /* Adjusted from #2B3940 for deeper tone */
    --dark-accent: #3A4B53; /* Slightly lighter for secondary dark elements */
    /* Additional Colors */
    --accent: #F4A261; /* Warm orange for highlights or call-to-action */
    --accent-light: #F7B791; /* Lighter orange for hover states */
    --success: #2ECC71; /* Green for success messages or buttons */
    --warning: #E67E22; /* Amber for warnings or alerts */
    --error: #E74C3C; /* Red for errors or danger states */
    --neutral: #7F8C8D; /* Neutral gray for text or borders */
    --secondary: #343a40;
    --secondary-light: #6c757d;
    --secondary-dark: #343a40;
}

.wdiv {
    position: fixed;
    right: 15px;
    bottom: 15px;
}

.sidehead {
    position: fixed;
    top: 200px;
    right: -80px;
}

@media screen and (max-width: 600px) {
    div.sidehead {
        display: none;
    }

    div.headline {
        padding-top: 0px;
    }
}

.sidy {
    top: 60px;
    text-align: center;
}

@media screen and (min-width: 600px) {
    div.sidy {
        display: none;
    }
}

.headline {
    padding-top: 40px;
}

.desk {
    color: black;
}

.mobik {
    color: black;
}

@media screen and (max-width: 600px) {
    div.desk {
        display: none;
    }
}

@media screen and (min-width: 600px) {
    div.mobik {
        display: none;
    }
}

p {
    text-align: left;
}

.text-container {
    width: 300px; /* Adjust the width as needed */
}
/*** Button ***/
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: .5s;
}

    .btn.btn-primary,
    .btn.btn-secondary {
        color: #FFFFFF;
    }

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-brand img {
    width: 100px;
    height: relative;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    /*text-transform: uppercase;*/
    outline: none;
}

    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active,
    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary);
    }

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: #000000;
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex: 1 0 auto;
    min-height: 100vh;
}

footer {
    flex-shrink: 0;
}



/*** About ***/
.about-bg {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 5px 5px;
}


/*** Category ***/
.cat-item {
    display: block;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border: 1px solid transparent;
    transition: .5s;
}

    .cat-item:hover {
        border-color: rgba(0, 0, 0, .08);
        box-shadow: none;
    }


/*** Job Listing ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

    .job-item:hover {
        border-color: rgba(0, 0, 0, .08);
        box-shadow: none;
    }


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

    .testimonial-carousel .owl-item.center .testimonial-item * {
        color: #FFFFFF !important;
    }

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 2px;
    transition: .5s;
}

    .testimonial-carousel .owl-dot.active {
        background: var(--dark);
        border-color: var(--primary);
    }


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 2px;
    transition: .3s;
}

    .footer .btn.btn-social:hover {
        color: var(--primary);
        border-color: var(--light);
    }

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

    .footer .btn.btn-link::before {
        position: relative;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-right: 10px;
    }

    .footer .btn.btn-link:hover {
        letter-spacing: 1px;
        box-shadow: none;
    }

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 12px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

    .footer .copyright a {
        color: var(--light);
    }

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

    .footer .footer-menu a:last-child {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
    }

.tab {
    cursor: pointer;
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-right: none;
    margin-bottom: 5px;
}

    .tab:last-child {
        border-right: 1px solid #ccc;
    }

.content {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #B62E27;
    color: #FFFFFF;
}

.active {
    display: block;
}

.arrow-icon {
    position: center;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
    color: #B62E27;
}

.tab-text {
    flex: 1; /* Expands to fill available space */
    text-align: center; /* Center the text horizontally */
}

.bd-best {
    height: calc(200px + 3rem);
    padding: 0.5rem 0;
    overflow: hidden;
    position: relative;
    width: calc(700px+3rem);
}

.bd-best-list {
    align-items: stretch;
    animation-duration: 50s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    display: flex;
    left: 0;
    position: absolute;
    top: 1rem;
    -webkit-animation-name: bdBestCarousel;
    animation-name: bdBestCarousel;
}

.bd-best-item {
    flex-grow: 0;
    flex-shrink: 0;
    margin-right: 16px;
    transition-duration: 85ms;
    transition-property: box-shadow,transform;
}

.kl_img {
    width: 340px;
    height: 230px;
}

.bd-best-item:hover {
    box-shadow: 0 2em 2em rgba(0,0,0,.1);
    transform: translateY(-.2em);
}

.bd-best-list:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

@keyframes bdBestCarousel {
    100% {
        transform: translateX(calc(-155% + 3120px));
    }
}



@media (min-width: 3700px) {

    .bd-best {
        min-height: 400px;
    }

    .bd-best-item {
        width: 200px;
        height: 100px;
    }

    .bd-best-list {
        animation-duration: 80s;
    }

    .kl_img {
        width: 300px;
    }
}


.heading2 {
    display: none;
}

@media (max-width: 630px) {
    .heading1 {
        display: none;
    }

    .heading2 {
        display: flex;
    }
}

@media (min-width:315px)and (max-width:370px) {
    .navbar-brand img {
        width: 50px;
        height: relative;
    }
}

@media (max-width:315px) {
    .navbar-brand img {
        width: 40px;
        height: relative;
    }
}

@media (max-width:575px) {
    .img-fluid {
        margin-left: 50px;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
    }
}


.mini-navbar {
    background-color: var(--dark);
    font-size: 12px;
}

    .mini-navbar .contact-info span {
        color: var(--light);
    }

    .mini-navbar .contact-info i {
        color: var(--primary);
    }

    .mini-navbar .btn-primary {
        background-color: var(--primary);
        border-color: var(--primary);
        padding: 1px 8px;
        font-size: 14px;
        border-radius: 20px;
        margin: 4px;
    }

        .mini-navbar .btn-primary:hover {
            background-color: var(--dark-accent);
            border-color: var(--secondary);
        }

@media (max-width: 576px) {
    .mini-navbar .contact-info span {
        font-size: 10px;
    }

    .mini-navbar .btn-primary {
        padding: 3px 10px;
        font-size: 10px;
    }
}

.footer-social-links {
    font-size: 1.5rem;
}


/********** Refined Premium Button Styling **********/
/* Base button styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600; /* Bold for strong presence */
    font-size: 0.8rem; /* Slightly larger for impact */
    border-radius: 12px; /* Soft, modern corners */
    /*padding: 0.25rem 0.5rem;*/ /* Spacious padding */
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1); /* Fluid easing */
    position: relative;
    overflow: hidden; /* For layered effects */
    cursor: pointer;
    text-transform: uppercase; /* Sleek and professional */
    letter-spacing: 1px; /* Enhanced clarity */
    z-index: 1; /* Content above effects */
}

/* Primary button */
.btn-primary {
    background: var(--primary); /* Solid base */
    color: var(--light); /* High-contrast text */
    border: 2px solid var(--primary-dark); /* Defined edge */
    box-shadow: 0 6px 20px rgba(166, 38, 33, 0.25); /* Subtle elevation */
}

    /* Sliding gradient effect for hover */
    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, var(--primary-light) 30%, var(--primary) 100%); /* Refined gradient */
        transition: left 0.4s ease-in-out;
        z-index: -1; /* Behind content */
    }

    /* Glow effect for hover */
    .btn-primary::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: radial-gradient(circle, rgba(201, 74, 68, 0.5), transparent); /* Subtle glow */
        transform: translate(-50%, -50%);
        transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
        z-index: -1;
    }

    /* Hover effect */
    .btn-primary:hover {
        border-color: var(--primary-light); /* Lighter border */
        transform: translateY(-4px) scale(1.04); /* Refined lift and scale */
        /*box-shadow: 0 12px 28px rgba(166, 38, 33, 0.45);*/ /* Bolder shadow */
    }

        .btn-primary:hover::before {
            left: 0; /* Slide gradient in */
        }

        .btn-primary:hover::after {
            width: 200px;
            height: 200px;
            opacity: 1; /* Activate glow */
        }

    /* Active state */
    .btn-primary:active {
        transform: translateY(0) scale(0.97); /* Subtle press */
        box-shadow: 0 4px 12px rgba(166, 38, 33, 0.15); /* Minimal shadow */
    }

    /* Focus state for accessibility */
    .btn-primary:focus {
        outline: none;
        box-shadow: 0 0 0 5px rgba(201, 74, 68, 0.55); /* Thicker focus ring */
    }

    /* Click ripple effect */
    .btn-primary span.ripple {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.50); /* Clean ripple */
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
        z-index: -1;
    }

    .btn-primary:active span.ripple {
        width: 350px;
        height: 350px;
        opacity: 0;
    }

    /* Disabled state */
    .btn-primary:disabled {
        background: var(--neutral); /* Neutral fallback */
        border-color: var(--neutral);
        color: var(--light-accent); /* Muted text */
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

        .btn-primary:disabled::before,
        .btn-primary:disabled::after {
            display: none; /* Disable effects */
        }
