@font-face {
    font-family: 'museo-300';
    src: url('../fonts/Museo 300.otf') format('opentype');
}
@font-face {
    font-family: 'museo-500';
    src: url('../fonts/Museo 500.otf') format('opentype');
}
@font-face {
    font-family: 'museo-700';
    src: url('../fonts/Museo 700.otf') format('opentype');
}

html {
    font-family: 'museo-700', 'sora', serif;
    background: white;
}

.container {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100%;
    min-width: 100%;
    z-index: 0;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    height: 100px;
    z-index: 10;
}

.header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: white;
}

.header .left-side {
    padding: 15px;
}

.header .left-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.right-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 15px 25px 15px 15px;
}

.header-link {
    color: #E30613;
    font-size: 16px;
    padding: 10px;
    text-decoration: none;
    font-weight: 700
}

.header-link:hover {
    color: white;
    background: #232323;
    cursor: pointer;
}

.header-link.active {
    color: #969696;
}

.dropdown-content a.active {
    color: #E30613;
}

span.header-link:hover {
    cursor: default;
}

.header-link.active:hover {
    color: white;
    background: #232323;
    cursor: pointer;
}

#mainBody {
    margin: 0;
    min-height: 100%;
    max-width: 100%;
}

hr {
    width: 100%;
    border-color: whitesmoke;
    margin-bottom: 12px;
}

button {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

button:not(:disabled):hover {
    color: red;
}

button:disabled {
    cursor: not-allowed;
}

i {
    padding-right: 5px;
}

.home-logo {
    padding: 3px;
    color: snow;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    transition: transform 0.3s ease;
}

.home-logo:hover {
    color: red;
}

.container {
    padding-top: 100px;
}

.dropdown-content {
    opacity: 0;
    background: #232323;
    color: white;
    padding: 15px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.dropdown-content a {
    color: white;
    text-decoration: none;
    padding: 0 5px;
}

.dropdown-content a:hover {
    color: red;
}

.header-link:hover ~ .dropdown-content, .dropdown-content:hover {
    opacity: 1;
    pointer-events: auto;
}

#aboutContainer:has(#aboutDropdown:hover) .header-link {
    color: white;
    background: #232323;
    cursor: pointer;
}

#servicesContainer:has(#servicesDropdown:hover) .header-link {
    color: white;
    background: #232323;
    cursor: pointer;
}

#aboutDropdown {
    position: fixed;
    right: 384px;
    top: 69px;
}

#servicesDropdown {
    position: fixed;
    right: 268px;
    top: 69px;
}

.mobile, .late-mobile {
    display: none;
}

.menu-icon {
    font-size: 30px;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-container {
    position: relative;
    background: white;
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    padding: 20px;
    z-index: 1001;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.2s ease-out;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
}

.modal-content {
    width: 100%;
    height: 500px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

#mainBody .ht-portal {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1020px) {
    .mobile {
        display: flex;
    }
    .desktop {
        display: none;
    }
}

@media (max-width: 333px) {
    .late-mobile {
        display :flex;
    }
    .late-desktop {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: #232323;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #444;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    padding: 0 8px;
}

.mobile-menu-close:hover {
    color: #E30613;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 30px 25px;
    gap: 8px;
}

.mobile-section {
    margin: 18px 0 8px;
}

.mobile-section-title {
    color: #E30613;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 4px;
}

.mobile-link {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    padding: 14px 4px;
    border-bottom: 1px solid #333;
    transition: color 0.2s;
}

.mobile-link:hover,
.mobile-link:active {
    color: #E30613;
}

.sub-menu {
    display: flex;
    flex-direction: column;
}

.footer {
    display: flex;
    flex-direction: column;
    padding: 3vw 10vw;
    background: rgba(243, 243, 243, 1);
    color: rgb(87, 87, 86);
    font-size: 14px;
    line-height: 2.3em;
}

h2 {
    position: relative;
    color: rgb(157, 157, 157);
    font-size: 34px;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 15%;
    height: 3px;
    background: red;
}

h4 {
    color: #E30613;
    font-size: 20px;
    line-height: 1.9em;
}

h6 {
    font-size: 22px;
    color: #FFFFFF;
    position: relative;
}

h6::after {
     content: "";
     position: absolute;
     bottom: -15px;
     left: 0;
     width: 5%;
     height: 3px;
     background: red;
}

p {
    font-size: 15px;
    color: rgb(87, 87, 86);
}

.red {
    color: #E30613;
}
