* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    overflow-x: hidden;
    width: 100%;
}
body {
    background: #f6f9fc;
    font-family: 'Fira Mono', monospace;
    margin: 0;
    padding: 0;
}
header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}
.mobile-menu-toggle:hover {
    opacity: 0.8;
}
.hamburger-line {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger-line:nth-child(1) {
    top: 10px;
}
.hamburger-line:nth-child(2) {
    top: 18px;
}
.hamburger-line:nth-child(3) {
    top: 26px;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: #333;
    position: relative;
    z-index: 1000;
    flex-wrap: nowrap;
    min-width: 100%;
    overflow: hidden;
}
.logo-block {
    flex-shrink: 0;
    margin-right: auto;
}
.logo-block img {
    width: 180px;
    margin-right: 16px;
}
nav {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 999;
}
.main-menu {
    display: flex;
    list-style: none;
    gap: 68px;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    position: relative;
}
.main-menu > li {
    position: relative;
    cursor: pointer;
}
.main-menu p, .main-menu a {
    text-decoration: none;
    color: #999;
    padding: 17px 22px;
    transition: color 0.2s, background 0.2s;
    border-radius: 4px;
    display: inline-block;
}
.main-menu > li:hover > a {
    color: #fff;
    background: #444444;
}
.dropdown-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 95px;
    background: #e8eef2;
    min-height: 200px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    border-radius: 0 0 8px 8px;
    z-index: 999;
    border-top: 3px solid #2299de;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.dropdown-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.dropdown-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.dropdown-table tbody {
    display: table-row-group;
}
.dropdown-table td {
    padding: 0;
    vertical-align: top;
    border: none;
}
.dropdown-cell-container {
    width: 50%;
    box-sizing: border-box;
    padding: 5px;
}
.dropdown-cell {
    display: flex;
    flex-direction: column;
    min-height: 120px;
    padding: 15px;
    background-color: #e8eef2;
    transition: background-color 0.2s;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}
.dropdown-cell:hover {
    background-color: #dbeaf5;
}
.dropdown-title {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropdown-desc {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.empty-cell {
    background-color: transparent;
    border: none;
}
.dropdown-menu-inner {
    display: flex;
    flex-direction: row;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0;
    background: none;
}
.dropdown-menu.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}
.dropdown-left {
    padding: 15px;
    border-right: 2px solid #d3dbe1;
    width: auto;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}
.dropdown-link {
    display: block;
    margin: 6px 0;
    padding: 2px 0;
    color: #2299de;
    font-size: 20px;
    font-weight: 500;
    margin:0 auto;
    transition: font-weight 0.15s, color 0.15s;
}
.dropdown-link.active {
    color: #8852f1;
}
.dropdown-right {
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 25px 30px 20px 30px;
    flex: 1;
}
@media (1300px >= width >= 992px) {
.logo-block {
        display: none;
}
.dropdown-menu {
        top: 90px;
}
}
@media (max-width: 992px) {
.main-menu {
        gap: 20px;
        font-size: 1em;
}
.main-menu p {
        padding: 12px 15px;
}
.logo-block {
        display: none;
}
.dropdown-link {
        font-size: 1em;
}
.dropdown-menu {
        top: 75px;
}
}
@media (max-width: 768px) {
header {
        height: 95px;
}
.main-menu {
        gap: 40px;
}
.top-bar {
        padding: 10px 15px;
        height: 60px;
        box-sizing: border-box;
}
.logo-block {
        display: none;
}
.mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        margin: 0 auto;
}
nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(51, 51, 51, 0.98);
        backdrop-filter: blur(5px);
        padding: 20px 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease-out;
        overflow-y: auto;
        z-index: 999;
        width: 100%;
}
nav.mobile-visible {
        transform: translateY(0);
}
.main-menu {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
}
.main-menu > li {
        width: 100%;
}
.main-menu p {
        padding: 12px 15px;
        width: 100%;
        text-align: left;
        font-size: 16px;
        color: #ddd;
        border-bottom: 1px solid #444;
}
.main-menu > li:hover > p {
        background: #444;
        color: #fff;
}
.dropdown-parent {
        position: static;
}
.dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        background: #333;
        opacity: 1;
        display: none;
        margin-top: 5px;
        width: 100%;
}
.dropdown-menu.active {
        display: block;
}
.dropdown-menu-inner {
        flex-direction: column;
        padding: 0;
}
.dropdown-left,
    .dropdown-right {
        padding: 10px 15px;
        border: none;
}
.dropdown-table {
        display: block;
        width: 100%;
}
.dropdown-table tr {
        display: flex;
        flex-direction: column;
}
.dropdown-cell-container {
        width: 100%;
        padding: 0;
        margin-bottom: 0px;
}
.dropdown-cell {
        min-height: auto;
        padding: 12px;
        margin-bottom: 0px;
        background: rgba(255,255,255,0.1);
}
.dropdown-title {
        font-size: 15px;
        color: #fff;
        font-size: 1em;
}
.dropdown-desc {
        font-size: 13px;
        color: #bbb;
}
.dropdown-link {
        color: #2299de;
        font-size: 16px;
        padding: 8px 0;
}
}
@media (max-width: 480px) {
.top-bar {
        padding: 8px 10px;
        height: 50px;
}
nav {
        top: 50px;
        padding: 15px 0;
        width: 100%;
}
.main-menu {
        gap: 10px;
        width: 100vw;
}
.dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
}
.main-menu p {
        padding: 10px 12px;
        font-size: 15px;
        width: 100%;
}
.dropdown-title {
        -webkit-line-clamp: 2;
}
.dropdown-desc {
        -webkit-line-clamp: 2;
}
.top-bar, nav, .main-menu, .dropdown-menu {
        width: 100%;
}
.main-menu p {
        white-space: normal;
}
.dropdown-menu-inner {
        width: 100%;
}
.dropdown-cell {
        padding: 10px;
        margin-bottom: 10px;
        width: 100%;
}
.dropdown-title,
    .dropdown-desc {
        white-space: normal;
        word-wrap: break-word;
}
}
footer {
    background-color: #333333;
}
.footerCon {
    width: 100%;
    padding: 70px 30px 20px ;
}
.socialIcons {
    display: flex;
    justify-content: center;
}
.socialIcons a {
    margin: 10px;
}
.socialIcons a i {
    font-size: 2em;
    color: #f4f4f4;
    opacity: 0,9;
}
.socialIcons a:hover {
    transition: 0.5s;
}
.socialIcons a:hover i {
    color: #1793d1;
    transition: color 0.5s ease;
}
.footerNav {
    margin: 30px 0;
}
.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}
.footerNav ul li a {
    color:white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}
.footerNav ul li a:hover {
    opacity: 1;
}
.footerBot {
    background-color: #333333;
    padding: 20px;
    text-align: center;
}
.footerBot p {
    color: white;
}
.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.qr-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    max-width: 80%;
    max-height: 80%;
}
.qr-image {
    width: 200px;
    height: 200px;
    display: block;
}
.qr-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
.qr-close:hover {
    color: #000;
}
@media (max-width: 700px) {
.footerNav ul {
        flex-direction: column;
}
.footerNav ul li {
        width:100%;
        text-align: center;
}
.footerNav li {
        margin-bottom: 20px;
}
.socialIcons a {
        padding: 8px;
        margin: 4px;
}
}
