* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2C3E50;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    background-color: #2c3e50;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    /* max-width: 1200px; */
	max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.navbar-brand a {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-brand a:hover {
    color: #3498db;
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 25px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 15px;
}

.nav-link:hover {
    background-color: #34495e;
    color: #3498db;
}

.nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #34495e;
    list-style: none;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background-color: #2c3e50;
    padding-left: 25px;
}

/* ===== SUBMENU STYLES ===== */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #34495e;
    list-style: none;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.dropdown-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu li {
    list-style: none;
    position: relative;
}

.submenu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
    font-size: 14px;
}

.submenu a:hover {
    background-color: #2c3e50;
    padding-left: 25px;
}

/* Nested submenu (3rd level and beyond) */
.submenu .dropdown-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #34495e;
    list-style: none;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.submenu .dropdown-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


.loginmenu{
	margin-top:25px;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #2c3e50;
        width: 100%;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-link.dropdown-toggle .arrow {
        transition: transform 0.3s ease;
    }

    .nav-item.dropdown.active .nav-link.dropdown-toggle .arrow {
        transform: rotate(180deg);
    }

.loginmenu {
	margin-left:30px;
	margin-top:13px;
	margin-bottom:13px;
}
    /* Mobile Dropdown Menu */
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        background-color: #1a252f;
        box-shadow: none;
        transform: none;
        transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
    }

    .nav-item.dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-menu a {
        padding: 10px 20px;
        padding-left: 40px;
    }

    /* Mobile Submenu */
    .submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        background-color: #0f1823;
        box-shadow: none;
        transform: none;
        transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
    }

    .dropdown-submenu.active > .submenu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
    }

    .submenu a {
        padding: 10px 20px;
        padding-left: 60px;
    }

    .submenu-toggle {
        display: flex;
        justify-content: space-between;
    }

    .dropdown-submenu.active .submenu-toggle .arrow,
    .dropdown-submenu.active > a .arrow {
        transform: rotate(180deg);
    }

    /* Nested submenu on mobile */
    .submenu .submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        background-color: #050a12;
        box-shadow: none;
        transform: none;
        transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
    }

    .submenu .dropdown-submenu.active > .submenu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
    }

    .submenu .submenu a {
        padding-left: 80px;
    }
}

/* ===== MAIN CONTENT ===== */
main {
    min-height: calc(100vh - 70px);
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }
}