/* Josefin Sans 300 weight */
@font-face {
    font-family: 'JosefinSans-300';
    src: url('../fonts/josefin-sans-v25-latin-300.woff2') format('woff2');
    font-weight: 300;
}

/* Josefin Sans 600 weight */
@font-face {
    font-family: 'JosefinSans-600';
    src: url('../fonts/josefin-sans-v25-latin-600.woff2') format('woff2');
    font-weight: 600;
}

/* Josefin Sans 700 weight */
@font-face {
    font-family: 'JosefinSans-700';
    src: url('../fonts/josefin-sans-v25-latin-700.woff2') format('woff2');
    font-weight: 700;
}

/* Josefin Sans Regular */
@font-face {
    font-family: 'JosefinSans-regular';
    src: url('../fonts/josefin-sans-v25-latin-regular.woff2') format('woff2');
    font-weight: normal;
}

/* Roboto 300 weight */
@font-face {
    font-family: 'Roboto-latin-300';
    src: url('../fonts/roboto-v30-latin-300.woff2') format('woff2');
    font-weight: 300;
}

/* Roboto 700 weight */
@font-face {
    font-family: 'Roboto-latin-700';
    src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2');
    font-weight: 700;
}

/* Roboto Italic */
@font-face {
    font-family: 'Roboto-latin-italic';
    src: url('../fonts/roboto-v30-latin-italic.woff2') format('woff2');
    font-style: italic;
}

/* Roboto Regular */
@font-face {
    font-family: 'Roboto-latin-regular';
    src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2');
    font-weight: normal;
}

.animated-underline {
  position: relative;
  text-decoration: none; /* Remove default underline */
}

.animated-underline::after {
  content: '';
  position: absolute;
  width: 0; /* Start with no width */
  height: 2px; /* Thickness of the underline */
  bottom: 0; /* Position at the bottom of the text */
  left: 50%; /* Start from the middle */
  background-color: #dc3545; /* Underline color */
  transition: width 0.3s ease, left 0.3s ease; /* Smooth transition for width and starting position */
}

.animated-underline:hover::after {
  width: 100%; /* Full width on hover */
  left: 0; /* Start from the very left */
}


.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    left: 95%;
    transform: translate(0%, -30%);
    top: 0;
    margin-top: 10px;
    margin-left: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li {
    list-style: none;
}

.submenu li a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
}

.submenu li a:hover {
    background-color: #f8f9fa;
}
