/* Step 1: Define the custom font */
@font-face {
    font-family: 'et-line';
    /* Choose a unique, descriptive name for your font */
    src: url('assets/fonts/et-line.woff') format('woff');
    /* Specify the path to your file and its format */
    font-weight: normal;
    /* Adjust based on the font file's actual weight */
    font-style: normal;
    /* Adjust based on the font file's actual style */
    font-display: swap;
    /* Recommended for better performance and user experience */
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'et-line', sans-serif;
}

main {
    flex: 1 0 auto;
    /* This makes main content take available space */
}

footer {
    flex-shrink: 0;
    /* Footer stays at bottom */
    font-size: 12px;
}

/* --- Transparent Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0c4e89;
    padding: 0px;
    transition: background-color 0.4s ease;
    z-index: 1000;
}

.navbar.scrolled {
    /* background: rgba(0, 0, 0, 0.7); */
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    width: 80px;
    height:60px;
    margin-right:30px;
    padding: 0px;
}

.navbar-nav {
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 0px 20px 5px 20px !important;
    margin-top: 0px !important;
}

.navbar-right {
    position: absolute;
    right: 2rem;
}

/* --- Sections --- */
html,
body {
    height: 100%;
    margin: 0;
    scroll-snap-type: y mandatory;
    /* overflow-y: scroll; */
    scroll-behavior: smooth;
}

.nav-item {
    font-size: 12px;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1040;
}

/* Right sidebar */
.side-menu {
    width: 250px;
    background-color: #ffffff;
    color: #000;
    height: 100vh;
    padding: 15px;
    position: fixed;
    right: -260px;
    /* Hidden by default */
    top: 0;
    overflow-y: auto;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transition: right 0.3s ease;
}

/* Show sidebar */
.side-menu.open {
    right: 0;
}

/* Remove default list styles */
.side-menu ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Top-level links */
.side-menu ul li a {
    display: block;
    color: #000;
    padding: 10px 5px;
    text-decoration: none;
    position: relative;
}

/* Border-bottom except last item */
.side-menu ul li {
    border-bottom: 1px solid #ccc;
}

.side-menu ul li:last-child {
    border-bottom: none;
}

/* Hover effect */
.side-menu ul li a:hover {
    background-color: #f1f1f1;
    border-radius: 4px;
}

/* Submenu hidden by default */
.side-menu ul .submenu {
    display: none;
    padding-left: 5px;
}

/* Active submenu */
.side-menu ul .has-submenu.active>.submenu {
    display: block;
}

/* Arrow indicators */
.side-menu .has-submenu>a::after {
    content: "▸";
    position: absolute;
    right: 5px;
    transition: transform 0.3s;
}

.side-menu .has-submenu.active>a::after {
    transform: rotate(90deg);
}

/* Submenu links smaller */
.side-menu ul .submenu li a {
    font-size: 0.95rem;
}

/* Close button */
.close-btn {
    cursor: pointer;
    display: block;
    text-align: right;
    font-size: 1.5rem;
}

/* Header Section */
.vg-page-header {
    background-image: url('../images/page_header_bg.png');
    /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.vg-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 63, 110, 0.566);
    /* Overlay with navbar color */
    z-index: 0;
}

.vg-page-header .container {
    position: relative;
    z-index: 1;
}

footer {
    background-color: #0c4e89;
    color: #fff;
    margin-top: auto;
}

footer a {
    color: #ffc107;
}