@font-face {
    font-family: 'FiraSans';
    src: url('../assets/fonts/FiraSans-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'FiraSans';
    src: url('../assets/fonts/FiraSans-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'FiraSans';
    src: url('../assets/fonts/FiraSans-Medium.ttf') format('truetype');
    font-weight: 500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'FiraSans', sans-serif;
    background: #0f172a;
    color: #fff;
    padding-top: 100px;
}
a {
    text-decoration: none;
}
.top-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #111;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.3s;
    z-index: 9999;
}

.top-message.show {
    opacity: 1;
    transform: translateY(0);
}
/* Header Styles - FIXED */
.header {
   max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  padding: 16px 32px;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(37, 99, 235, 0.2);
  z-index: 1000;
}

.logo {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.logo_text {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.logo_subtitle {
  font-size: 11px;
  font-weight: 400;
  color: #3b82f6;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header_list {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
}

.nav_link {
  font-weight: 500;
  font-size: 15px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav_link:hover {
  color: #3b82f6;
}

.nav_link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.nav_link:hover::after {
  width: 100%;
}

.header_call {
  background-color: #ef4444;
  color: white;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.header_call:hover {
  background-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    width: 26px;
    height: 3px;
    background: white;
    display: block;
    transition: 0.3s;
}
/* Main */
main {
    max-width: 1360px;
    margin: 0 auto;
    padding: 20px 32px 60px;
}

/* Applications Header */
.applications_header {
    text-align: center;
    margin-bottom: 60px;
}

.applications_header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.applications_header p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

/* Applications Grid */
.applications_grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.application_card {
    display: flex;
    background: #1e293b;
    border: 1px solid #334155;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 220px;
}

.application_card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
}

.application_card:hover .card_arrow {
    transform: translateX(6px);
    color: #ef4444;
}

/* Левая часть с фото */
.card_left {
    flex: 1;
    overflow: hidden;
    background: #0f172a;
}

.card_left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.application_card:hover .card_left img {
    transform: scale(1.05);
}

/* Правая часть с текстом */
.card_right {
    flex: 1;
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card_right h2 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.card_right p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 20px;
    padding-right: 40px;
}

.card_arrow {
    position: absolute;
    bottom: 32px;
    right: 32px;
    font-size: 24px;
    color: #3b82f6;
    transition: all 0.2s ease;
}

/* Footer */
.footer {
    background: #0f172a;
    padding: 60px 32px 30px;
    border-top: 1px solid #1e293b;
}

.footer_inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer_col {
    flex: 1;
    min-width: 160px;
}

.footer_logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer_desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.footer_col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer_col ul {
    list-style: none;
}

.footer_col li {
    margin-bottom: 10px;
}

.footer_col a, .footer_col li {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer_col a:hover {
    color: #ef4444;
}

.footer_bottom {
    max-width: 1360px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #64748b;
}

.bitopiya {
    color: #ef4444;
    text-decoration: none;
}

.bitopiya:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .application_card {
        flex-direction: column;
    }
    
    .card_left {
        height: 200px;
    }
    
    .card_right {
        padding: 24px;
    }
    
    .card_right h2 {
        font-size: 20px;
    }
    
    .card_arrow {
        bottom: 24px;
        right: 24px;
    }
}
@media (max-width: 880px) {
.nav_link{
  font-size: 14px;
}
.header_list {
        gap: 15px;
    }
}
@media (max-width: 768px) {
    
    main {
        padding: 20px 20px 40px;
    }
    .burger {
        display: flex;
        margin-left: 15px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #0f172a;
        display: flex;
        flex-direction: column;
        padding: 100px 30px;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }
.header_call {
    margin-left: auto;
    padding: 8px 10px;
}
    .nav.active {
        right: 0;
    }

    .header_list {
        flex-direction: column;
        gap: 20px;
    }

    .nav_link {
        font-size: 18px;
    }
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    .applications_header h1 {
        font-size: 32px;
    }
    
    .applications_header p {
        font-size: 16px;
    }
    
    .footer_inner {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer_bottom {
        flex-direction: column;
        text-align: center;
    }
    .card_left img{
        max-height: 260px;
    }
}
@media (max-width: 468px) {
.header_call{
  font-size: 14px;
}
.logo_text{
  font-size: 18px;
}
.logo_subtitle{
  font-size: 8px;
}
.header_call {
        padding: 7px 8px;
    }
    .callText{
      font-size: 12px;
    }
}