﻿

:root {
    
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    
    --accent-purple: #7b4bff;
    --accent-purple-light: #9d7cff;
    --accent-purple-dark: #5a2e9f;
    
    --accent-pink: #ff006e;
    --text-primary: #eaeaea;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    
    --border-color: #2a2a3e;
    --shadow: 0 8px 32px rgba(123, 75, 255, 0.15);
    --shadow-hover: 0 15px 40px rgba(123, 75, 255, 0.25);
    
    
    --font-heading: 'Orbitron', 'Montserrat', sans-serif;
    --font-body: 'Inter', 'Open Sans', sans-serif;
    
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        radial-gradient(circle at 14% 12%, rgba(123, 75, 255, 0.14), transparent 34%),
        radial-gradient(circle at 86% 82%, rgba(123, 75, 255, 0.1), transparent 36%),
        linear-gradient(180deg, #0f1022 0%, #121630 100%);
    background-size: 28px 28px, 28px 28px, auto, auto, auto;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
    color: var(--accent-purple-light);
    text-shadow: 0 0 20px rgba(123, 75, 255, 0.6);
    transform: scale(1.02);
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.3rem;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-purple-light);
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(123, 75, 255, 0.4);
}



.custom-navbar {
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.98) 0%, rgba(26, 26, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 0.8rem 0;
}


.navbar-search-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.search-toggle-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--accent-purple);
    font-size: 1.05rem;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.22s ease, color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}


.search-toggle-btn:hover {
    color: var(--accent-purple-light);
}


.navbar-search-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: var(--font-heading);
    max-width: 0;
    opacity: 0;
    overflow: hidden;
}

.navbar-search-container.active .navbar-search-input {
    max-width: 200px;
    opacity: 1;
    padding: 8px 12px;
}

.navbar-search-input::placeholder {
    color: var(--text-muted);
}

.navbar-search-input:focus {
    background-color: rgba(123, 75, 255, 0.1);
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(123, 75, 255, 0.3);
    outline: none;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .navbar-search-container.active .navbar-search-input {
        max-width: 150px;
    }
}


.nav-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--accent-purple);
    transition: transform 0.22s ease, color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
    font-size: 1.05rem;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid transparent;
    text-decoration: none !important;
}


.nav-social-icon:hover,
.search-toggle-btn.nav-social-icon:hover {
    color: var(--accent-purple-light);
    background-color: rgba(123, 75, 255, 0.1);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
}


.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-purple) !important;
    transition: var(--transition);
    font-weight: 600;
}

.navbar-brand:hover {
    color: var(--accent-purple-light) !important;
    transform: none;
}

.brand-icon {
    margin-right: 8px;
    display: inline-block;
    animation: none;
}

.navbar-logo {
    height: 52px;
    width: auto;
    margin-right: 12px;
    vertical-align: middle;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: all 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.nav-link {
    color: var(--text-secondary) !important;
    font-family: var(--font-body);
    font-weight: 500;
    position: relative;
    margin: 0 8px;
    padding: 8px 0 !important;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    text-decoration: none !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-purple-light));
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-purple-light) !important;
    text-decoration: none !important;
    text-shadow: none;
}



.btn {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    padding: 12px 28px;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    color: white;
    border: none;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent-purple-light), var(--accent-purple));
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-outline-purple {
    border: 2px solid var(--accent-purple);
    color: var(--accent-purple);
    background: transparent;
}

.btn-outline-purple:hover:not(:disabled) {
    background: var(--accent-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-glowing {
    position: relative;
    box-shadow: 0 0 20px rgba(123, 75, 255, 0.5);
}

.btn-glowing:hover {
    box-shadow: 0 0 30px rgba(123, 75, 255, 0.8);
}



.breadcrumb-container {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 8px 0 6px;
}

.footer-copyright {
    text-align: left;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 2px 0 0;
    margin: 0;
}



@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes gradient-shift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(123, 75, 255, 0.5); }
    50% { box-shadow: 0 0 40px rgba(123, 75, 255, 0.8); }
}

.fade-in-down {
    animation: fadeInDown 0.8s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.fade-in-up-delay {
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.8s ease forwards;
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}


.pulse-animation {
    animation: pulse-glow 2s ease-in-out infinite;
}


.float-animation {
    animation: float 3s ease-in-out infinite;
}



.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.text-muted {
    color: var(--text-muted) !important;
}

.border-color {
    border-color: var(--border-color) !important;
}

.transition-all {
    transition: var(--transition);
}

.hover-color {
    transition: var(--transition);
}

.hover-color:hover {
    color: var(--accent-purple);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
}

.section-title {
    color: var(--text-primary);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}



.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: var(--shadow);
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}



.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn.loading {
    pointer-events: none;
}



.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-purple);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInToast 0.3s ease;
    max-width: 400px;
    min-width: 300px;
}

.toast.success {
    border-left-color: #00d92f;
}

.toast.error {
    border-left-color: #ff006e;
}

.toast.warning {
    border-left-color: #ffa500;
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.5rem;
    margin-left: auto;
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--text-primary);
}

@keyframes slideInToast {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.hide {
    animation: slideOutToast 0.3s ease forwards;
}

@keyframes slideOutToast {
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}



@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    
    .breadcrumb a {
        font-size: 0.9rem;
    }

    .breadcrumb .active {
        font-size: 0.9rem;
    }
    
    .navbar-collapse {
        background-color: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        margin-top: 10px;
        border: 1px solid var(--border-color);
        padding: 15px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .toast-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
}



.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 400px;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 26, 0.3);
    z-index: 1;
}

.parallax > * {
    position: relative;
    z-index: 2;
}


.parallax-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(123, 75, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(123, 75, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.parallax-section > * {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .parallax {
        background-attachment: scroll !important;
    }
    
    .parallax-section::before {
        animation: none;
    }
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}



@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-section {
    background: linear-gradient(135deg, rgba(123, 75, 255, 0.1), rgba(255, 0, 110, 0.1));
    position: relative;
    overflow: hidden;
}



@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(123, 75, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(123, 75, 255, 1);
    }
}


.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.glow-animation {
    animation: glow 2s infinite;
}



.navbar {
    animation: slideInDown 0.6s ease-out;
}

.navbar-brand {
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--accent-purple-light);
}

.navbar-search-input {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    transition: var(--transition);
}

.navbar-search-input:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 15px rgba(123, 75, 255, 0.3) !important;
}

.nav-link {
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-purple-light));
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}



.custom-footer {
    animation: fadeInUp 0.8s ease-out backwards;
}

.footer-social-link {
    display: inline-block;
    transition: var(--transition);
}

.footer-social-link:hover {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(123, 75, 255, 0.3));
}



.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    animation: fadeInDown 1s ease-out;
    text-shadow: 0 0 30px rgba(123, 75, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: var(--text-secondary);
}

.hero-buttons {
    animation: bounceIn 1s ease-out 0.4s both;
}

.btn-glowing {
    position: relative;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(123, 75, 255, 0.4);
}

.btn-glowing:hover {
    box-shadow: 0 0 40px rgba(123, 75, 255, 0.8);
    transform: translateY(-3px);
}




a {
    position: relative;
    transition: all 0.3s ease;
}

a:not([class]) {
    color: var(--accent-purple);
}

a:not([class]):hover {
    color: var(--accent-purple-light);
    text-shadow: 0 0 10px rgba(123, 75, 255, 0.4);
}


button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}


.card {
    border: none;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(22, 33, 62, 0.5) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(123, 75, 255, 0.15);
}


body {
    box-shadow: none;
}


section {
    padding: 60px 20px;
}

@media (max-width: 768px) {
    section {
        padding: 40px 20px;
    }
}


p {
    letter-spacing: 0.5px;
    word-spacing: 2px;
    line-height: 1.8;
}


.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(123, 75, 255, 0.1);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(123, 75, 255, 0.3);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}


.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:active:not(:disabled) {
    transform: scale(0.98);
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


ul:not([class]),
ol:not([class]) {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

ul:not([class]) li,
ol:not([class]) li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}


code {
    background: rgba(123, 75, 255, 0.15);
    color: var(--accent-purple-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}


.gradient-text {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.loading {
    opacity: 0.6;
    pointer-events: none;
}


@keyframes pageTransition {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageTransition 0.5s ease-out;
}


@media print {
    .navbar,
    .custom-footer,
    .breadcrumb-container {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: #0066cc;
    }
}
















.lang-menu {
    background: rgba(18, 21, 48, 0.96);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 190px;
}

.lang-menu .dropdown-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.42rem 0.75rem;
}

.lang-menu .dropdown-item:hover,
.lang-menu .dropdown-item:focus {
    color: var(--text-primary);
    background: rgba(123, 75, 255, 0.2);
}

.lang-toggle {
    text-transform: uppercase;
}

.lang-toggle.dropdown-toggle::after { display: none; }


.nav-item .nav-social-icon::after { display: none !important; }





body.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.legal-page main.legal-content {
    flex: 1 0 auto;
    background: rgba(16, 14, 34, 0.55);
    border: 1px solid rgba(123, 75, 255, 0.25);
}

body.legal-page .custom-footer {
    margin-top: auto;
}



.chzv-gore.parallax,
.stat-gore.parallax {
    min-height: auto !important;
    background-attachment: scroll !important;
}

.about-hero,
.author-header,
.chzv-gore,
.stat-gore,
.profesii-gore,
.obuchenie-gore,
.course-hero {
    padding-top: 40px !important;
    padding-bottom: 32px !important;
}

@media (max-width: 768px) {
    .about-hero,
    .author-header,
    .chzv-gore,
    .stat-gore,
    .profesii-gore,
    .obuchenie-gore,
    .course-hero {
        padding-top: 28px !important;
        padding-bottom: 22px !important;
    }
}



.nav-tools-item {
    margin-left: 0;
}

.nav-tools-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-tools-row .nav-link {
    margin: 0;
    padding: 0 !important;
}

.nav-tools-row .nav-social-icon,
.nav-tools-row .search-toggle-btn {
    width: 38px;
    height: 38px;
    font-size: 1.02rem;
}

.nav-tools-row .navbar-search-container {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .navbar-collapse .navbar-nav {
        gap: 2px;
    }

    .navbar-collapse .nav-link {
        margin: 0;
    }

    .nav-tools-item {
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid rgba(123, 75, 255, 0.45);
    }

    .nav-tools-row {
        justify-content: flex-start;
    }

    .nav-tools-row .navbar-search-container {
        position: relative;
    }

    .nav-tools-row .navbar-search-input {
        position: absolute;
        top: 46px;
        right: 0;
        z-index: 10;
        background: rgba(18, 21, 48, 0.97);
        border-color: rgba(123, 75, 255, 0.55);
    }

    .nav-tools-row .navbar-search-container.active .navbar-search-input {
        max-width: 170px;
        width: 170px;
    }
}

@media (max-width: 767px) {
    .custom-footer .footer-row > [class*="col-"] {
        text-align: center;
    }

    .footer-title,
    .footer-links li,
    .footer-nav-col .footer-title,
    .footer-useful-col .footer-title {
        text-align: center !important;
    }

    .footer-nav-col {
        align-items: center;
    }

    .footer-links-twocol,
    .footer-useful-col .footer-links-split {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        justify-items: center;
    }

    .footer-links-split::before {
        display: none;
    }

    .footer-links a {
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .footer-copyright {
        text-align: center;
    }
}


.footer-links {
    list-style: none !important;
}

