:root {
    --primary-font: "Anton", sans-serif;
    --body-font: "Poppins", sans-serif;
    --primary-color: rgb(11, 37, 233);
    --secondary-color: rgb(220, 196, 4);
    --dark-color: rgb(25, 45, 186);
    --light-color: rgb(64, 93, 216);
    --btn-color: rgb(58, 213, 248);
    --accent-color: rgb(58, 213, 248);
    --font-family: "Arial", sans-serif;
    --base-font-size: 16px;
    --boxColor: #eff0ef;
    --border-radius: 5px;
}

/* Remove default margin and padding */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dd,
ol,
ul,
figure,
hr {
    margin: 0;
    padding: 0;
}

/* Set the default font family and size */
body {
    font-family: var(--body-font);
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Remove default link styles */
a {
    text-decoration: none;
    color: inherit;
}

p,
.btn {
    font-family: var(--body-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--body-font);
    font-weight: 600;
    line-height: 32px;
    margin: 0;
}

label {
    font-family: var(--body-font);
}

/* Remove default button styles */
button,
input,
select {
    margin: 0;
}

/* Box sizing for all elements */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.navbar-brand {
    font-family: --primary-font;
    font-size: 36px;
}

.nav-link {
    color: #fff !important;
    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: var(--body-font);
}

.nav-link:hover {
    color: #ffffff9a !important;
}

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

.navbar-brand {
    font-weight: 800 !important;
    color: #fff !important;
}

.navbar-toggler {
    background-color: rgba(66, 94, 232, 255);
}
.navbar {
    padding: 0;
}
header {
    background-color: var(--primary-color);
}
.logo {
    height: 80px;
}

/* Custom CSS for slide down effect */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    padding: 0;
    visibility: visible;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
}

.nav-item .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}

.nav-item .dropdown-item:hover {
    background-color: var(--secondary-color);
    color: #fff;
}
.box {
    background-color: var(--bs-gray-100);
    padding: 20px;
    border-radius: var(--border-radius);
    position: relative;
    height: 100%;
    z-index: 1;
    transition: color 300ms ease-in-out;
}
.box.box-hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: var(--primary-color);
    transition: transform 400ms ease-in-out;
    transform: scaleX(0);
    transform-origin: left;
    color: #f3f3f3;
    border-radius: var(--border-radius);
}

.box.box-hover:hover:before,
.box.box-hover:focus:before {
    transform: scaleX(1);
}

.box.box-hover:hover,
.box.box-hover:focus,
.box.box-hover:hover a i,
.box.box-hover:hover .box-icon i,
.box.box-hover:hover > * {
    color: #f9f9f9;
}
/* Custom Styles */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        margin: 0 auto;
    }

    .navbar-nav .nav-item {
        display: inline-block;
        float: none;
    }

    .overlay {
        padding: 0;
    }

    h1 {
        line-height: 1.3 !important;
    }

    p {
        font-size: 14px;
    }

    h2 {
        font-size: 16px;
    }
    .nav-item .dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
        padding: 0;
        transform: translateY(-20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
}

/* =========================================================================
   Universal AJAX feedback: progress bar, skeletons, cross-fade swaps.
   Paired with the helpers in assets/js/main.js.
   ========================================================================= */
.app-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2000;
    background: transparent;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.app-progress.active {
    opacity: 1;
}

.app-progress span {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(90deg, #00a884, #53bdeb);
    animation: appProgressSlide 1.1s ease-in-out infinite;
}

@keyframes appProgressSlide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(300%);
    }
}

.is-swapping {
    opacity: 0.35;
    transition: opacity 0.14s ease;
}

.skeleton-row,
.skeleton-block {
    background: linear-gradient(90deg, #eceff1 25%, #f6f8f9 50%, #eceff1 75%);
    background-size: 400% 100%;
    animation: skeletonShimmer 1.3s ease infinite;
    border-radius: 6px;
}

.skeleton-row {
    height: 14px;
    margin: 0.5rem 0;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-progress span,
    .skeleton-row,
    .skeleton-block {
        animation: none;
    }
}
