/* Custom Font */
@font-face {
    font-family: 'MontserratLocal';
    src: url('/site/fonts/Montserrat-Medium.ttf') format('truetype');
    font-display: swap;
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratLocal';
    src: url('/site/fonts/Montserrat-Medium.ttf') format('truetype');
    font-display: swap;
    font-weight: 500;
    font-style: normal;
}

:root {
    --site-font-sans: 'Montserrat', 'MontserratLocal', 'Inter', ui-sans-serif, system-ui, sans-serif;
    --site-font-serif: 'Merriweather', ui-serif, Georgia, serif;
}

body {
    font-family: var(--site-font-sans);
    font-synthesis: weight;
}

.font-sans {
    font-family: var(--site-font-sans) !important;
}

.font-serif {
    font-family: var(--site-font-serif) !important;
}

/* Typing Effect Cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Custom Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth Horizontal Scroll */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Smooth Scroll Behavior & Offset for Fixed Header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
    /* Offset for sticky header */
}

/* Navigation Links Animation */
.nav-link {
    position: relative;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #fe5000;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fe5000;
}

.nav-link:hover::after {
    width: 100%;
}

/* Button Styling */
.btn-brand {
    background-color: #fe5000;
    color: white;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: #cc4000;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(254, 80, 0, 0.2);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}