 .no-results {
  text-align: center;
  color: #000075;
  font-size: 34px;
  font-weight: bold;
  align-items: center;
  justify-content: center;
 
}
  
    .text-box { max-width: 800px;    padding: 50px; }
    .text-box h1 {
      margin: 0;
      font-size: clamp(32px, 6vw, 60px);
      line-height: 1.1;
      font-weight: 800;
  
      white-space: nowrap;
      overflow: hidden;
     
    }

    @keyframes blinkCaret {
      50% { border-color: transparent; }
    }

    
    .statistics-section {
      padding: 80px 20px;
    
      text-align: center;
    }

    .statistics-title {
      font-size: 3rem;
      color: #000075;
      margin-bottom: 60px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 2px;
      position: relative;
    }

    .statistics-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: linear-gradient(90deg, #000075, #4CAF50);
      border-radius: 2px;
    }

    .stats-grid {
   display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .stat-card {
      background: white;
      border-radius: 20px;
      padding: 40px 20px;
      box-shadow: 0 10px 30px rgba(0,0,117,0.1);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      overflow: hidden;
      cursor: pointer;
      border: 2px solid transparent;
    }

    .stat-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
      transition: left 0.6s;
    }

    .stat-card:hover::before {
      left: 100%;
    }

    .stat-card:hover {
      background: #000075;
      color: white;
      transform: translateY(-15px) scale(1.05);
      box-shadow: 0 25px 50px rgba(0,0,117,0.3);
      border-color: #000075;
    }

    .stat-icon {
      font-size: 4rem;
      color: #000075;
      margin-bottom: 20px;
      transition: all 0.4s ease;
    }

    .stat-card:hover .stat-icon {
      color: white;
      transform: scale(1.1) rotate(10deg);
    }

    .stat-number {
      font-size: 3.5rem;
      font-weight: 900;
      color: #000075;
      margin-bottom: 10px;
      transition: all 0.4s ease;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    }

    .stat-card:hover .stat-number {
      color: white;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .stat-label {
      font-size: 1.3rem;
      color: #666;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: all 0.4s ease;
    }

    .stat-card:hover .stat-label {
      color: white;
    }

    .stat-description {
      font-size: 0.9rem;
      color: #999;
      margin-top: 10px;
      opacity: 0.8;
      transition: all 0.4s ease;
    }

    .stat-card:hover .stat-description {
      color: rgba(255,255,255,0.9);
    }

    /* Gradient backgrounds for different cards */
    .stat-card:nth-child(1):hover {
      background:#000075;
    }

    .stat-card:nth-child(2):hover {
            background:#000075;
 }

    .stat-card:nth-child(3):hover {
           background:#000075;
    }

    .stat-card:nth-child(4):hover {
            background:#000075;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .statistics-title {
        font-size: 2.5rem;
        margin-bottom: 50px;
      }

      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
      }

      .stat-card {
        padding: 30px 15px;
      }

      .stat-number {
        font-size: 3rem;
      }

      .stat-icon {
        font-size: 3.5rem;
      }
    }

    @media (max-width: 768px) {
      .statistics-section {
        padding: 60px 15px;
      }

      .statistics-title {
        font-size: 2rem;
        margin-bottom: 40px;
      }

      .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .stat-card {
        padding: 25px 15px;
        border-radius: 15px;
      }

      .stat-number {
        font-size: 2.5rem;
      }

      .stat-icon {
        font-size: 3rem;
      }

      .stat-label {
        font-size: 1.1rem;
      }
    }

    @media (max-width: 480px) {
      .statistics-title {
        font-size: 1.7rem;
        letter-spacing: 1px;
      }

      .stat-card {
        padding: 20px 10px;
      }

      .stat-number {
        font-size: 2.2rem;
      }

      .stat-icon {
        font-size: 2.5rem;
      }

      .stat-label {
        font-size: 1rem;
      }

      .stat-description {
        font-size: 0.8rem;
      }
    }

    /* Animation keyframes */
    @keyframes countUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .stat-card.animate {
      animation: countUp 0.6s ease-out;
    }

    /* Glow effect on hover */
    .stat-card:hover {
      box-shadow: 0 25px 50px rgba(0,0,117,0.3), 0 0 0 1px rgba(255,255,255,0.1);
    }

    /* Pulse animation for icons */
    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.1); }
    }

    .stat-card:hover .stat-icon {
      animation: pulse 2s infinite;
    }
  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Times New Roman', Times, serif;
            
        }

        /* =========================
           NAVBAR TO'G'IRLASHI
        ========================= */
        header nav {
            width: 100%;
            height: 100px;
            display: flex;
            background-color: #000075;
            align-items: center;
            justify-content: space-between;
            padding: 0 10px;
            position: relative;
        }

        nav img {
            width: 80px;
            height: 80px;
        }

        .search-box {
            display: flex;
            align-items: center;
            border: 2px solid white;
            border-radius: 50px;
            height: 50px;
            width: 250px;
            color: white;
            padding: 0 15px;
        }

        .search-box input {
            border: none;
            outline: none;
            background: transparent;
            color: white;
            flex: 1;
            margin-left: 10px;
            font-size: 16px;
        }

        .search-box input::placeholder {
            color: white;
            opacity: 0.8;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 20px;
        }

        nav ul li {
            color: white;
            font-size: 17px;
            padding: 15px;
        }

        nav ul a {
            text-decoration: none;
            color: white;
        }

        /* Burger Menu */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 4px;
            cursor: pointer;
            z-index: 1000;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: white;
            border-radius: 2px;
            transition: 0.3s;
        }

        /* =========================
           TEAM SECTION TO'G'IRLASHI
        ========================= */
        .team-section {
            padding: 60px 20px;
            text-align: center;
            background: #f8f9fa;
        }

        .section-title {
            font-size: 32px;
            font-weight: bold;
            color: #000075;
            margin-bottom: 10px;
        }

        .section-subtitle {
            max-width: 700px;
            margin: 0 auto 40px;
            font-size: 16px;
            color: #333;
        }

        .team-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

        .team-slider {
            overflow: hidden;
            border-radius: 20px;
        }

        .team-cards {
            display: flex;
            transition: transform 0.5s ease-in-out;
            gap: 20px;
        }

        .team-card {
            background: #fff;
            border: 2px solid #000075;
            border-radius: 20px;
            min-width: 280px;
            padding: 25px 20px;
            box-shadow: 0 8px 25px rgba(0,0,117,0.1);
            text-align: center;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .team-card:hover {
            transform: translateY(-5px);
        }

        .team-card img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 3px solid #000075;
            object-fit: cover;
            margin-bottom: 15px;
        }

        .team-card h3 {
            margin: 15px 0 5px;
            font-size: 18px;
            color: #000075;
        }

        .team-card p {
            color: #555;
            font-size: 14px;
        }

        .arrows {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
        }

        .arrow {
            background: #000075;
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s ease;
        }

        .arrow:hover {
            background: #000050;
            transform: scale(1.1);
        }

        /* =========================
           FOOTER TO'G'IRLASHI
        ========================= */
        footer {
            background-color: #000075;
            color: white;
        }

        .footer {
            display: flex;
            padding: 40px 20px;
            gap: 40px;
        }

        .footer .left {
            flex: 1;
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }

        .footer .left img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }

        .footer .center {
            flex: 1;
        }

        .footer .center h2 {
          
            font-size: 1.5rem;
        }

        .footer .center p {
          
            line-height: 1.6;
        }

        .social-icons {
            display: flex;
            gap: 10px;
            list-style: none;
            margin-top: 15px;
        }

        .social-icons li a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
            background: white;
            color: #000075;
            border-radius: 50%;
            font-size: 16px;
            text-decoration: none;
            transition: 0.3s;
        }

        .social-icons li a:hover {
            background: #f0f0f0;
            transform: scale(1.1);
        }

        .bottom {
            text-align: center;
            padding: 20px;
            border-top: 1px solid rgba(255,255,255,0.2);
            margin-top: 20px;
        }

        /* =========================
           STATISTICS SECTION
        ========================= */
        .statistics-section {
            padding: 80px 20px;
            text-align: center;
            background: #f8f9fa;
        }

        .statistics-title {
            font-size: 3rem;
            color: #000075;
            margin-bottom: 60px;
            font-weight: 800;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .stat-card {
            background: white;
            border-radius: 20px;
            padding: 40px 20px;
            box-shadow: 0 10px 30px rgba(0,0,117,0.1);
            transition: all 0.4s ease;
            cursor: pointer;
        }

        .stat-card:hover {
            background: #000075;
            color: white;
            transform: translateY(-10px);
        }

        .stat-icon {
            font-size: 3rem;
            color: #000075;
            margin-bottom: 20px;
            transition: all 0.4s ease;
        }

        .stat-card:hover .stat-icon {
            color: white;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 900;
            color: #000075;
            margin-bottom: 10px;
            transition: all 0.4s ease;
        }

        .stat-card:hover .stat-number {
            color: white;
        }

        .stat-label {
            font-size: 1.1rem;
            color: #666;
            font-weight: 600;
            transition: all 0.4s ease;
        }

        .stat-card:hover .stat-label {
            color: white;
        }

        /* =========================
           MOBILE RESPONSIVE (≤768px)
        ========================= */
        @media (max-width: 768px) {
            /* Navbar mobile */
            header nav {
                height: 70px;
                padding: 0 15px;
                flex-wrap: wrap;
            }

            nav img {
                width: 80px;
                height: 60px;
            }

            .search-box {
                display: none; /* Mobileda search box yashirin */
            }

            .menu-toggle {
                display: flex;
            }

            nav ul {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                right: 0;
                background: #000075;
                flex-direction: column;
                padding: 20px 0;
                z-index: 999;
                box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            }

            nav ul.active {
                display: flex;
            }

            nav ul li {
                padding: 15px 20px;
                font-size: 16px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
                text-align: center;
            }

            /* Team section mobile */
            .team-section {
                padding: 40px 15px;
            }

            .section-title {
                font-size: 24px;
                margin-bottom: 8px;
            }

            .section-subtitle {
                font-size: 14px;
                margin-bottom: 30px;
                padding: 0 10px;
            }

            .team-slider {
                width: 100%;
                margin: 0;
            }

            .team-card {
                min-width: 260px;
                padding: 20px 15px;
                margin: 0 10px;
            }

            .team-card img {
                width: 120px;
                height: 120px;
            }

            .team-card h3 {
                font-size: 16px;
                margin: 10px 0 5px;
            }

            .team-card p {
                font-size: 13px;
            }

            .arrows {
                margin-top: 20px;
            }

            .arrow {
                width: 45px;
                height: 45px;
                font-size: 16px;
            }

            /* Statistics mobile */
            .statistics-section {
                padding: 50px 15px;
            }

            .statistics-title {
                font-size: 2rem;
                margin-bottom: 40px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .stat-card {
                padding: 30px 15px;
            }

            .stat-icon {
                font-size: 2.5rem;
            }

            .stat-number {
                font-size: 2rem;
            }

            .stat-label {
                font-size: 1rem;
            }

            /* Footer mobile */
            .footer {
                flex-direction: column;
                padding: 30px 15px;
                gap: 25px;
                text-align: center;
            }

            .footer .left {
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }

            .footer .left img {
                width: 100px;
                height: 100px;
            }

            .footer .left p {
                font-size: 14px;
                line-height: 1.5;
                text-align: center;
                margin-left: 50px;
            }

            .footer .center {
                text-align: center;
            }

            .footer .center h2 {
                font-size: 1.3rem;
             
            }

            .footer .center p {
                font-size: 14px;
            
            }

            .social-icons {
                justify-content: center;
                margin-top: 15px;
            }

            .social-icons li a {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }

            .bottom {
                padding: 15px;
                font-size: 14px;
            }
        }

        /* =========================
           PLANSHETA (768px - 1024px)
   /* Footer planshet */
@media (min-width: 769px) and (max-width: 1366px) {
  footer{
    background-color: #000075;
    height: 500px;
  }
    .footer {
        padding: 40px 30px;
        flex-direction: row;
        justify-content: space-between; /* chap, markaz, o‘ng tarafni joyida turadi */
        align-items: flex-start;        /* yuqoridan tekis */
        gap: 30px;                      /* elementlar orasida joy */
        text-align: left;
        height: 500px;
    }

    .footer .left {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .footer .left img {
        width: 110px;
        height: 110px;
    }

    .footer .center {
        flex: 1;
        text-align: left;  /* o‘ngga chiqib ketmasin */
    }

    .footer .center h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .footer .center p {
        font-size: 15px;
        line-height: 1.6;
    }

    .social-icons {
        justify-content: flex-start; /* markazdan chapga */
        margin-top: 20px;
        margin-right: 50px;
    }

    .footer .bottom {
        text-align: center;
        padding: 20px;
        font-size: 15px;
        display: none;
    }
}


        /* =========================
           KICHIK MOBILE (≤480px)
        ========================= */
        @media (max-width: 480px) {
            header nav {
                height: 60px;
                padding: 0 10px;
            }

            nav img {
                width: 70px;
                height: 70px;
                
            }

            .menu-toggle span {
                width: 20px;
                height: 2px;
            }

            nav ul li {
                padding: 12px;
                font-size: 14px;
            }

            .team-section {
                padding: 30px 10px;
            }

            .section-title {
                font-size: 20px;
            }

            .section-subtitle {
                font-size: 12px;
            }

            .team-card {
                min-width: 220px;
                padding: 15px;
            }

            .team-card img {
                width: 100px;
                height: 100px;
            }

            .team-card h3 {
                font-size: 14px;
            }

            .team-card p {
                font-size: 12px;
            }

            .statistics-title {
                font-size: 1.5rem;
            }

            .stat-card {
                padding: 20px 10px;
            }

            .footer .left p {
                font-size: 12px;
            }

            .footer .center h2 {
                font-size: 1.1rem;
            }

            .footer .center p {
                font-size: 12px;
            }

            .bottom {
                font-size: 12px;
            }
        }

        /* =========================
           BURGER MENU ANIMATION
        ========================= */
        .menu-toggle.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        /* Demo content styles */
        .demo-content {
            padding: 40px 20px;
            text-align: center;
        }

        .demo-content h1 {
            color: #000075;
            margin-bottom: 30px;
        }

        .demo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

        .demo-card {
            background: white;
            border: 2px solid #000075;
            border-radius: 15px;
            padding: 30px 20px;
            transition: all 0.3s ease;
        }

        .demo-card:hover {
            background: #000075;
            color: white;
        }

        .demo-card i {
            font-size: 2rem;
            margin-bottom: 15px;
            color: #000075;
        }

        .demo-card:hover i {
            color: white;
        }
.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
  opacity: 0.9; /* biroz xira effekt */
}

.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
  text-align: center;
}

.text-box {
     width: 50%;
    height: 300px;
    border: 3px solid white;
    border-radius: 20px;
    border-left: none;
}

.text-box h1 {
  font-size: 25px;
  color: white;
  
}

.text-box p {
  font-size: 45px;
}

.image-box img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;

}
h1{
  color: #000075;
   font-size: 30px;
    padding: 40px;
      text-align: center;
}

.container h1{
    text-align: center;
    color: white;
    font-size: 30px;
    padding: 40px;
}
.container2 h2{
  color: white;
}

a{
    text-decoration: none;
    
}
.head-link {
    text-decoration: none;   /* pastki chiziqni olib tashlaydi */
    color: inherit;          /* ota element rangini oladi */
    display: inline-block;   /* div bilan moslashadi */
}

.head-link:hover {
    opacity: 0.8; /* hoverda ozgina effekt berish mumkin */
}
/* Asosiy konteyner fon rasmi bilan */
#we {
  width: 100%;
  min-height: 600px; /* balandlik */
  background-image: url("./image/7.jpg");
  /* background-color: #000075; */
  background-size: cover;      /* rasm butun maydonni qoplaydi */
  background-position: center; /* rasm markazdan joylashadi */
  background-repeat: no-repeat;/* rasm takrorlanmaydi */
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertikal o‘rtada joylash */
  gap: 30px;
  padding: 40px 80px; /* ichki bo‘sh joy */
  box-sizing: border-box;
  color: white;
}

/* Chap qism (matn) */
#we .left {
  flex: 1;
  max-width: 50%;
}

#we .left h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

#we .left p {
  font-size: 18px;
  line-height: 1.6;
}

/* O‘ng qism (video) */
#we .right {
  flex: 1;
  display: flex;
  justify-content: center;
}

#we .right iframe {
  max-width: 100%;
  border-radius: 10px;
}

/* Telefon va kichik ekranlar uchun */
@media (max-width: 768px) {
  #we {
    flex-direction: column; /* pastma-past joylashadi */
    text-align: center;
  }

  #we .left,
  #we .right {
    max-width: 100%;
  }
}



.events-section {
  padding: 60px 20px;
  
}

.events-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.event-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.event-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.event-card:hover {
  transform: translateY(-8px);
}

.event-card:hover img {
  transform: scale(1.1);
}

.event-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,117,0.85); /* #000075 rangini shaffof qildik */
  color: white;
  padding: 15px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.event-card:hover .event-overlay {
  transform: translateY(0);
}

.event-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.event-overlay p {
  margin: 5px 0 0;
  font-size: 0.9rem;
}

.container1 {
    display: grid;
    grid-template-columns: repeat(3, 350px);
    
    gap: 30px;
    justify-content: center;
    align-items: center;
    
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #000075;
    border-radius: 15px;
    color: #000075;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: 0.3s ease;
    width: 300px;
    height: 200px;
}

.card i {
    font-size: 36px;
    
}

.card:hover {
    background-color: #000075;
    color: white;
    cursor: pointer;
}



.selection {
    display: grid;
    grid-template-columns: repeat(2, 400px); /* 2 ustunli grid */
    grid-template-rows: repeat(2, 300px);    /* 2 qatorli grid */
    gap: 20px;
    width: fit-content;
    margin: 0 auto; /* sahifa o'rtasiga */
    padding: 0 20px;
    margin-bottom: 50px;
}

.selection .head,
.selection .right,
.selection .left,
.selection .bottom {
    border: 2px solid #000075;
    border-radius: 10px;
    padding: 20px;
    font-size: 30px;
    text-align: center;
    color: white;
    width: 400px;
    height: 300px;
    margin: 0; /* margin-bottom olib tashlandi */
    background-color: #000075;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-sizing: border-box; /* padding ichiga kiritiladi */
}

.selection p {
    padding: 0; /* padding-top olib tashlandi */
    margin: 0;
}

.selection div:hover {
    background-color: white;
    color: #000075;
    cursor: pointer;
    transition: 0.3s ease;
    text-align: center;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.selection .head a,
.selection .right a,
.selection .left a,
.selection .bottom a {
    display: block;           /* butun div bosiladigan bo'lsin */
    width: 100%;
    height: 100%;
    text-decoration: none;    /* chiziq olib tashlanadi */
    color: inherit;           /* rangni div'dan oladi */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.selection .head:hover a,
.selection .right:hover a,
.selection .left:hover a,
.selection .bottom:hover a {
    color: inherit;           /* hover paytida ham rangni div'dan oladi */
}

/* RESPONSIVE DESIGN */

/* Planshet uchun - 900px dan kichik */
@media (max-width: 900px) {
    .selection {
        grid-template-columns: repeat(2, 300px);
        grid-template-rows: repeat(2, 250px);
        gap: 15px;
        padding: 20px;
    }
    
    .selection .head,
    .selection .right,
    .selection .left,
    .selection .bottom {
        width: 300px;
        height: 250px;
        font-size: 24px;
        padding: 15px;
        margin: 0;
    }
}

/* Mobil telefonlar uchun - 768px dan kichik */
@media (max-width: 768px) {
    .selection {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 200px);
        gap: 15px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .selection .head,
    .selection .right,
    .selection .left,
    .selection .bottom {
        width: 100%;
        height: 200px;
        font-size: 20px;
        padding-top: 20px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .selection p {
        padding-top: 20px;
    }
}

/* Kichik telefonlar uchun - 480px dan kichik */
@media (max-width: 480px) {
    .selection {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 150px);
        gap: 12px;
        padding: 0 15px;
    }
    
    .selection .head,
    .selection .right,
    .selection .left,
    .selection .bottom {
        width: 100%;
        height: 150px;
        font-size: 18px;
        padding-top: 15px;
        margin-bottom: 15px;
        border-radius: 6px;
    }
    
    .selection p {
        padding-top: 15px;
    }
    
    h1 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 30px;
        color: #000075;
    }
}

/* Juda kichik telefonlar uchun - 360px dan kichik */
@media (max-width: 360px) {
    .selection {
        gap: 10px;
        padding: 0 10px;
    }
    
    .selection .head,
    .selection .right,
    .selection .left,
    .selection .bottom {
        height: 130px;
        font-size: 16px;
        padding-top: 10px;
        margin-bottom: 10px;
    }
    
    .selection p {
        padding-top: 10px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}
 .sinflar {
        text-align: center;
        padding: 40px 20px;
    }

    .sinflar h1 {
        font-size: 36px;
        color: #000075;
        margin-bottom: 40px;
    }

    .selection2 {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        max-width: 800px;
        margin: auto;
    }

    .selection2 div {
        background-color: #000075;
        color: white;
        font-size: 20px;
        font-weight: bold;
        padding: 20px 0;
        border-radius: 12px;
        transition: 0.3s ease;
        height: 50px;
    }

    .selection2 div:hover {
        background-color: white;
        color: #000075;
        border: 2px solid #000075;
        cursor: pointer;
    }

/* Base styles */
.all {
  width: 100%;
  min-height: 600px;
  background-image: url(./image/1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  margin-top: 50px;
  padding: 20px 0;
}

.all h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.container2 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
 
 
  justify-content: center;
  align-items: flex-start;
}

a {
  text-decoration: none;
  color: white;
}

.container2 .left {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  max-width: 600px;
  width: 100%;
}

.container2 .text {
  background-color: rgba(0, 0, 117, 0.9);
  color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 2px solid white;
  max-width: 400px;
  width: 100%;
  height: fit-content;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
  
.container2 .text h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.container2 .text p {
  font-size: 1.1em;
  line-height: 1.6;
}

.container2 iframe {
  border: 3px solid white;
  border-radius: 20px;
  width: 100%;
  height: 200px;
  aspect-ratio: 16/9;
}

/* Desktop - katta ekranlar uchun */
@media (min-width: 1025px) {
  .container2 {
    flex-wrap: nowrap;
    align-items: center;
  }
  
  .container2 .left {
    grid-template-columns: repeat(2, 250px);
    grid-template-rows: repeat(2, 200px);
  }
  
  .container2 iframe {
    height: 200px;
  }
}

/* hamburger button */
.menu-toggle {
  display: none; /* faqat kichik ekranda ko‘rinadi */
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  
  width: 30px;
  height: 3px;
  background: #000075;
  border-radius: 3px;
  transition: 0.3s;
}

/* menyu */
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.menu ul li a {
  text-decoration: none;
  color: #000075;
  font-weight: bold;
}

/* kichik ekranlarda menyu yashirin */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .menu {
    display: flex;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
  }

  .menu.show {
    display: block;
  }

  .menu ul {
    flex-direction: column;
    gap: 15px;
  }
}

/* Planshet - 769px dan 1024px gacha */
@media (min-width: 769px) and (max-width: 1024px) {
  .all {
    min-height: 500px;
    margin-top: 30px;
  }
  
  .all h1 {
    font-size: 2.2em;
    margin-bottom: 25px;
  }
  
  .container2 {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  
  .container2 .left {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
    gap: 15px;
    
  }
  
  .container2 iframe {
    width: 100px;
    height: 180px;
  
  }
  
  .container2 .text {
    max-width: 500px;
    padding: 25px;
    min-height: 150px;
  }
  
  .container2 .text h2 {
    font-size: 1.6em;
  }
  
  .container2 .text p {
    font-size: 1em;
  }
  .container1 .ri{
     display: grid;
    grid-template-columns: repeat(1, 350px);

    justify-content: center;
    align-items: center;

    margin-left: 0px;
   
}
}

/* Mobil - 768px va kichik */
@media (max-width: 768px) {
  .all {
    min-height: 400px;
    margin-top: 20px;
    padding: 15px 0;
  }
  
  .all h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
    padding: 0 15px;
  }
   .container1 .ri{

    margin-left: 0px;
   
}
  .container2 {
    flex-direction: column;
    align-items: center;
    gap: 20px;
   margin-right: 15px;
  }
  
  .container2 .left {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    max-width: 100%;
    gap: 15px;
  }
  
  .container2 iframe {
    height: 200px;
    max-width: 100%;
  }
  
  .container2 .text {
    max-width: 100%;
    padding: 20px;
    min-height: 120px;
  }
  
  .container2 .text h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
  }
  
  .container2 .text p {
    font-size: 0.95em;
  }
}

/* Kichik mobil - 480px va kichik */
@media (max-width: 480px) {
  .all {
    margin-top: 15px;
    padding: 10px 0;
  }
  
  .all h1 {
    font-size: 1.5em;
    margin-bottom: 15px;
  }
  
  .container2 {
    gap: 15px;
    padding: 0 10px;
   
  }
  
  .container2 .left {
    gap: 12px;
    margin-left: -5px;
  }
  
  .container2 iframe {
    height: 170px;
    border-radius: 15px;
    margin-right: 50px;
  }
  
  .container2 .text {
    padding: 15px;
    border-radius: 8px;
     margin-left: -35px;
     width: 250px;
  }
  
  .container2 .text h2 {
    font-size: 1.2em;
  }
  
  .container2 .text p {
    font-size: 0.9em;
  }

}
/* Base styles */
.partners-section {
    text-align: center;
    padding: 50px 20px;
    background: white;
}

.partners-section h1,
.partners-section h2 {
    color: #000075;
    font-size: 28px;
    margin-bottom: 30px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.partner-card {
    background: #000075;
    border-radius: 15px;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    width: 100%;
    max-width: 500px;
    height: 300px;
    
}

.partner-card img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    object-fit: cover;
}

.partner-card p {
    font-size: 25px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Desktop - 1025px va yuqori */
@media (min-width: 1025px) {
    .partners-section {
        padding: 50px 20px;
    }
    
    .partners-section h1,
    .partners-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 25px;
    }
    
 
    
    .partner-card img {
        width: 90px;
        height: 90px;
    }
    
    .partner-card p {
        font-size: 26px;
    }
}

/* Planshet - 769px dan 1024px gacha */
@media (min-width: 769px) and (max-width: 1024px) {
    .partners-section {
        padding: 35px 15px;
    }
    
    .partners-section h1,
    .partners-section h2 {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 18px;
        max-width: 800px;
    }
    

    .partner-card img {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .partner-card p {
        font-size: 22px;
    }
}

/* Mobil - 768px va kichik */
@media (max-width: 768px) {
    .partners-section {
     padding: 50px;
    }
    
    .partners-section h1,
    .partners-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
    }
    
    .partner-card {
        max-width: 100%;
        height: 160px;
        margin-right: 10px;
        margin: 0;
    }
    
    .partner-card img {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .partner-card p {
        font-size: 20px;
        line-height: 1.3;
    }
}

/* Kichik mobil - 480px va kichik */
@media (max-width: 480px) {
    .partners-section {
        padding: 35px 20px;
    }
    
    .partners-section h1,
    .partners-section h2 {
        font-size: 22px;
        margin-bottom: 18px;
        padding: 0 10px;
    }
    
    .partners-grid {
        gap: 12px;
        padding: 20px 5px;
    }
    
    .partner-card {
        height: 140px;
        padding: 22px;
        border-radius: 12px;
    }
    
    .partner-card img {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .partner-card p {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .partner-card:hover {
        transform: translateY(-3px);
    }
}

/* Juda kichik mobil - 360px va kichik */
@media (max-width: 360px) {
    .partners-section {
        padding: 20px 8px;
    }
    
    .partners-section h1,
    .partners-section h2 {
        font-size: 20px;
    }
    
    .partner-card {
        height: 130px;
        padding: 10px;
    }
    
    .partner-card img {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .partner-card p {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .banner {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .container, .container1, .container2 {
        grid-template-columns: 1fr !important;
    }
}

footer{
    background-color: #000075;
}
.footer{
    background-color: #000075;
    display: flex;
    color: white;
    height: 200px;
}
.footer .left{

    padding: 30px;
    width: 45%;
    display: flex;
    padding-left: 100px;
}
.footer .left img{
    border-radius: 50%;
    
}
.footer .center{
     padding-top: 40px;
    width: 45%;
    padding-right: 200px;
    color: white;
    
}
footer .footer .center  p {
    padding-top: 10px;
}
footer .bottom{
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid white;
    color: white;
    padding-bottom: 50px;
    margin-top: 120px;
}
.all h1{
  color: white;
}

 .footer .social-icons {
        display: flex;
        gap: 10px;
        list-style: none;
        padding: 10px;
        margin: 0;
    }

  .footer   .social-icons li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: white;
        color: #000075;
        border-radius: 50%;
        font-size: 14px;
        text-decoration: none;
        transition: 0.3s;
    }

  .footer   .social-icons li a:hover {
        background: white;
    }



 .books-section {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: 2.5rem;
            color: #000075;
            margin-bottom: 2rem;
            font-weight: bold;
        }

        .books-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .book-card {
            background: white;
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: 0 8px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .book-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
            transform: translateX(-100%);
            transition: transform 0.6s;
        }

        .book-card:hover::before {
            transform: translateX(100%);
        }

        .book-card:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        .book-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg,#000075 0%, blue 100%);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
            margin-bottom: 1rem;
            position: relative;
        }

       

        .book-title {
            font-size: 1.2rem;
            color: #333;
            margin-bottom: 0.5rem;
        }

        .book-pages {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .download-btn {
            background: #000075;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .download-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
        }

        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 2rem 0;
        }

        .page-dot {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .page-dot.active {
            background: #4285f4;
            transform: scale(1.3);
        }


        .tutorial-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 8px 30px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 2rem;
            transition: all 0.3s ease;
        }

        .tutorial-card:hover {
            transform: translateX(10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }

        .tutorial-icon {
            width: 100px;
            height: 100px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
            flex-shrink: 0;
            overflow: hidden;
        }

        .tutorial-icon img {
            border-radius: 20px;
            object-fit: cover;
        }

        .tutorial-content {
            flex: 1;
        }

        .tutorial-title {
            font-size: 1.5rem;
            color: #333;
            margin-bottom: 1rem;
            font-weight: bold;
        }

        .tutorial-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .tutorial-btn {
            background: #000075;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .tutorial-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(66, 133, 244, 0.4);
        }

        /* Tablet Responsive Styles */
        @media screen and (max-width: 1024px) {
            .books-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            .section-title {
                font-size: 2.2rem;
            }

            .tutorial-card {
                padding: 1.5rem;
                gap: 1.5rem;
            }

            .tutorial-icon {
                width: 80px;
                height: 80px;
                font-size: 2.5rem;
            }

            .tutorial-title {
                font-size: 1.3rem;
            }
        }

        /* Mobile Responsive Styles */
        @media screen and (max-width: 768px) {
         
            .books-section {
                margin-bottom: 3rem;
            }

            .section-title {
                font-size: 1.8rem;
                margin-bottom: 1.5rem;
            }

            .books-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                margin-bottom: 2rem;
            }

            .book-card {
                padding: 1.2rem;
                border-radius: 15px;
            }

            .book-card:hover {
                transform: translateY(-5px) scale(1.02);
            }

            .book-image {
                height: 150px;
                font-size: 2.5rem;
                border-radius: 12px;
            }

            .book-image::after {
                font-size: 0.8rem;
                padding: 3px 8px;
                bottom: 8px;
                right: 12px;
            }

            .book-title {
                font-size: 1.1rem;
            }

            .book-pages {
                font-size: 0.8rem;
            }

            .download-btn {
                padding: 8px 16px;
                font-size: 0.9rem;
                border-radius: 15px;
            }

            .download-btn:hover {
                transform: scale(1.05);
            }

            .pagination {
                margin: 1.5rem 0;
                gap: 8px;
            }

            .page-dot {
                width: 12px;
                height: 12px;
            }

           
            .tutorial-card {
                flex-direction: column;
                text-align: center;
                padding: 1.5rem;
                gap: 1.5rem;
                border-radius: 15px;
            }

            .tutorial-card:hover {
                transform: translateY(-5px);
            }

            .tutorial-icon {
                width: 80px;
                height: 80px;
                margin: 0 auto;
                font-size: 2.5rem;
                border-radius: 15px;
            }

            .tutorial-title {
                font-size: 1.2rem;
                margin-bottom: 0.8rem;
            }

            .tutorial-description {
                font-size: 0.9rem;
                margin-bottom: 1rem;
            }

            .tutorial-btn {
                padding: 10px 25px;
                font-size: 0.8rem;
                border-radius: 20px;
                letter-spacing: 0.5px;
            }

            .tutorial-btn:hover {
                transform: translateY(-2px);
            }
        }

        /* Small Mobile Styles */
        @media screen and (max-width: 480px) {
           
            .section-title {
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }

            .book-card {
                padding: 1rem;
            }

            .book-image {
                height: 120px;
                font-size: 2rem;
            }

            .book-title {
                font-size: 1rem;
            }

            .download-btn {
                padding: 6px 12px;
                font-size: 0.8rem;
            }

            .tutorial-card {
                padding: 1.2rem;
            }

            .tutorial-icon {
                width: 60px;
                height: 60px;
                font-size: 2rem;
            }

            .tutorial-title {
                font-size: 1.1rem;
            }

            .tutorial-description {
                font-size: 0.8rem;
            }

            .tutorial-btn {
                padding: 8px 20px;
                font-size: 0.7rem;
            }
        }

        /* Landscape Mobile Optimization */
        @media screen and (max-height: 500px) and (orientation: landscape) {
            .section-title {
                font-size: 1.8rem;
                margin-bottom: 1rem;
            }

            .books-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .book-image {
                height: 120px;
            }

            .tutorial-card {
                flex-direction: row;
                padding: 1rem;
            }

            .tutorial-icon {
                width: 60px;
                height: 60px;
            }
        }

        /* Touch-friendly interactions */
        @media (hover: none) {
            .book-card:hover,
            .tutorial-card:hover,
            .download-btn:hover,
            .tutorial-btn:hover {
                transform: none;
            }

            .book-card:active {
                transform: scale(0.98);
            }

            .download-btn:active,
            .tutorial-btn:active {
                transform: scale(0.95);
            }
        }

    .videos-title {
      font-size: 2.5rem;
      color: #000075;
      margin-bottom: 3rem;
      font-weight: bold;
      text-align: center;
    }

    .video-categories {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      margin-bottom: 4rem;
    }

    .category-card {
      background: #000075;
      border-radius: 20px;
      padding: 2rem;
      color: white;
      font-size: 1.5rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      min-height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .category-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background:  #000075;
      transform: translateX(-100%);
      transition: transform 0.6s;
    }

    .category-card:hover::before {
      transform: translateX(100%);
    }

    .category-card:hover {
      transform: translateY(-10px) scale(1.05);
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    .video-sections {
      margin-top: 3rem;
    }

    .video-section {
      margin-bottom: 4rem;
    }

    .section-title {
      font-size: 2rem;
      color: #000075;
      margin-bottom: 2rem;
      font-weight: bold;
    }

    .video-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      position: relative;
    }

    .video-card {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;

      color: #000075;
    }

    .video-card:hover {
      transform: translateY(-10px) scale(1.05);
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            border: 2px solid #000075 ;
    }

    .video-thumbnail {
      width: 100%;
      height: 200px;
      position: relative;
      overflow: hidden;
    }

    .video-thumbnail iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .video-info {
      padding: 1rem;
      background: white;
    }

    .video-title {
      font-size: 1.1rem;
      font-weight: bold;
      color: #000075;
      margin-bottom: 0.5rem;
      line-height: 1.4;
    }

    .video-duration {
      font-size: 0.9rem;
      color: #0056b3;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .robot-image {
      width: 80%;
      height: 80%;
      background: rgba(255,255,255,0.9);
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      color: #666;
      box-shadow: 0 0 4px 8px #000075,#0056b3;
      border: #0056b3;
    }

    .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(255,255,255,0.9);
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: #4285f4;
      transition: all 0.3s ease;
    }

    .video-card:hover .play-button {
      background: #4285f4;
      color: white;
      transform: translate(-50%, -50%) scale(1.2);
    }

    .nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: white;
      color: #000075;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 1.2rem;
      z-index: 10;
    }

    .nav-arrow:hover {
      transform: translateY(-50%) scale(1.1);
      box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
    }

    .nav-arrow.left {
      left: -25px;
    }

    .nav-arrow.right {
      right: -25px;
    }

    .pagination {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 3rem;
    }

    .page-dot {
      width: 15px;
      height: 15px;
      border-radius: 50%;
      background: #ddd;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .page-dot.active {
      background: #4285f4;
      transform: scale(1.3);
    }

     /* Responsive Design */
    @media (max-width: 968px) {
      .video-categories {
        grid-template-columns: 1fr;
      }
      
      .video-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .video-grid {
        grid-template-columns: 1fr;
      }

      .footer {
        flex-direction: column;
      }

      .left {
        flex-direction: column;
        text-align: center;
      }

      .nav-arrow {
        display: none;
      }
    }

    /* Animation for robots */
    @keyframes robotMove {
      0%, 100% { transform: rotate(-5deg); }
      50% { transform: rotate(5deg); }
    }

    .robot-image:hover {
      animation: robotMove 2s infinite;
    }





/* Enhanced Mobile & Tablet Responsive Styles */
@media (max-width: 1024px) {


   header nav {
  display: flex;
  justify-content: space-between; /* logo chapda, nav elementlar o‘ngda */
  align-items: center;            /* hammasini vertikal o‘rtada qiladi */
  height: 70px;                   /* barqaror balandlik */
  padding: 0 15px;
}

nav img {
  width: auto;
  height: 100%;       /* logoni nav balandligiga moslashtiradi */
  max-height: 60px;   /* lekin juda katta bo‘lsa, 60px dan oshmaydi */
  object-fit: contain;
}

  /* Burger Menu Implementation */
  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 15px;
    cursor: pointer;
    z-index: 100;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.4s;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #000075;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 99;
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    float: none;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  /* Enhanced Search Box */
  .search-box {
    margin: 10px auto;
    width: 85%;
    height: 42px;
    padding-left: 15px;
    border-width: 1px;
  }
  
  .search-box input {
    font-size: 14px;
    height: 12px;
  }
  
  /* Optimized Video Background Section */
  .video-background {
    height: 65vh;
  }
  
  .overlay-content {
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 20px;
  }
  
  .text-box {
    width: 95%;
    height: auto;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid white;
    border-radius: 12px;
  }
  
  .text-box h1 {
    font-size: 26px;
    margin-bottom: 10px;
  }
  
  .text-box p {
    font-size: 18px;
    line-height: 1.4;
  }
  
  .image-box img {
    max-width: 220px;
    margin-top: 15px;
  }
  
  /* Improved We Section */
  #we {
    flex-direction: column;
    min-height: auto;
    padding: 30px 15px;
    margin-top: 40px;
    background-position: center center;
  }
  
  #we .left h1 {
    font-size: 26px;
    margin-bottom: 15px;
  }
  
  #we .left p {
    font-size: 15px;
    line-height: 1.5;
  }
  
  #we .right iframe {
    height: 220px;
    margin-top: 25px;
    border-radius: 8px;
  }
  
  /* Refined Cards Container */
  .container1 {
    gap: 20px;
    padding: 0 15px;
  }
  
  .card {
    width: 100%;
    height: 180px;
    font-size: 20px;
  }
  
  .card i {
    font-size: 32px;
    margin-bottom: 10px;
  }
  
  /* Enhanced Selection Grid */
  .selection {
    width: 95%;
    gap: 15px;
  }
  
  .selection .head,
  .selection .right,
  .selection .left,
  .selection .bottom {
    padding-top: 30px;
    font-size: 22px;
    height: auto;
    min-height: 120px;
  }
  
  /* Optimized Books Section */
  .book-card {
    padding: 1rem;
  }
  
  .book-image {
    height: 160px;
  }
  
  .book-title {
    font-size: 1.1rem;
  }
  

  .footer {
    padding: 25px 15px;
  }
  
  .footer .left {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
  }
  
  .footer .left img {
    margin-bottom: 15px;
  }
  
  footer .bottom {
    margin-top: 25px;
    padding-top: 15px;
    padding-bottom: 30px;
  }
  
   /* Improved Footer - Mobile Responsive */
.footer {
  padding: 25px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer .left {
  flex-direction: column;
  align-items: center;
  padding-left: 0;
  text-align: center;
}

.footer .left img {
  margin-bottom: 15px;
  max-width: 120px;
  height: auto;
}

.footer .left p {
  line-height: 1.6;
  margin: 0;
}

.footer .center {
  flex: 1;
  min-width: 250px;
}

.footer .center h2 {
  margin-bottom: 15px;
  font-size: 1.2em;
}

.footer .center p {
  margin-bottom: 8px;
  line-height: 1.5;
}

.social-icons {
  list-style: none;
  padding: 0;
  
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}

.social-icons li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #007bff;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-icons li a:hover {
  background: #0056b3;
}

footer .bottom {
  margin-top: 25px;
  padding-top: 15px;
  padding-bottom: 30px;
  border-top: 1px solid #eee;
  text-align: center;
  width: 100%;
}



footer{
    background-color: #000075;
}
.footer{
    background-color: #000075;
    display: flex;
    color: white;
    height: 100px;
}
.footer .left{
    padding-top: 30px;
    padding: 30px;
    width: 45%;
    display: flex;
    padding-left: 150px;
}
.footer .left img{
    border-radius: 50%;
}
.footer .center{
     padding-top: 40px;
    width: 45%;
    padding-right: 200px;
    color: white;
    
}
footer .footer .center  p {
    padding-top: 10px;
}
footer .bottom{
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid white;
    color: white;
    padding-bottom: 50px;
   
}
.all h1{
  color: white;
}
.image-box img{
  width:350px ;
  height: 450px;
}
 .footer .social-icons {
        display: flex;
        gap: 10px;
        list-style: none;
        padding: 10px;
        margin: 0;
    }

  .footer   .social-icons li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: white;
        color: #000075;
        border-radius: 50%;
        font-size: 14px;
        text-decoration: none;
        transition: 0.3s;
    }

  .footer   .social-icons li a:hover {
        background: white;
    }

/* Responsive Design */
@media (max-width: 1024px) {
   
    nav ul {
        padding-left: 200px;
    }
    
   
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .category-grid,
    .tools-grid,
    .prompts-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-direction: column;
        padding-left: 20px;
    }
    
   
    .search-box {
        margin-left: 20px;
        width: 200px;
    }
    
    .footer {
      display: table;
        flex-direction: column;
        text-align: center;
        height: 250px;
    }
    
    .footer .left {
        width: 100%;
        
    }
    
    .footer .center {
        width: 100%;
        padding-right: 0;
        padding-top: 20px;
    }
    .image-box img{
  width:90% ;
  height: 150px;

}
.footer .social-icons{
  margin-left: 220px;
}
}

@media (max-width: 480px) {
    .ai-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    .text-box {
      width: 100%;
    }
    .tool-card,
    .prompt-card,
    .video-card {
        padding: 1rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .category-icon {
        font-size: 2rem;
    }
      .image-box img{
  width:90% ;
  height: 150px;
}
.footer .social-icons{
  margin-left: 90px;
}
}
.footer .left{
  margin-left: 20px;
}
/* Smooth Transitions */
* {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
  /* Burger Menu Animations */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Enhanced Tablet Specific Adjustments */
@media (min-width: 600px) and (max-width: 1024px) {
  /* Navigation adjustments */
  nav ul {
    padding-left: 150px;
  }
  
  /* Grid layouts */
  .container1, .selection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  /* Card sizes */
  .card {
    width: 90%;
    margin: 0 auto 20px;
  }
  
  /* Video embeds */
  #we .right iframe {
    height: 280px;
  }
  
  /* Text sizes */
  .text-box h1 {
    font-size: 30px;
  }
  
  .text-box p {
    font-size: 22px;
  }
}

/* Enhanced Mobile Specific Adjustments */
@media (max-width: 600px) {
  /* Ultra-compact navigation */
  nav img {
    max-width: 90px;
  }
  
  .menu-toggle {
    top: 15px;
  }
  
  /* More compact forms */
  .search-box {
    height: 38px;
    width: 90%;
  }
  
  /* Smaller video height */
  .video-background {
    height: 55vh;
  }
  
  /* Tiny text adjustments */
  .text-box h1 {
    font-size: 22px;
  }
  
  .text-box p {
    font-size: 16px;
  }
  
  /* Hide decorative elements */
  .book-image::after {
    display: none;
  }
}

/* Enhanced Landscape Mode Adjustments */
@media (max-width: 1024px) and (orientation: landscape) {
  .video-background {
    height: 110vh;
  }
  
  .overlay-content {
    padding-top: 40px;
  }
  
  .text-box {
    width: 60%;
    padding: 20px;
  }
  
  .image-box img {
    max-width: 180px;
  }
  
  /* Special case for very short landscape views */
  @media (max-height: 400px) {
    .video-background {
      height: 130vh;
    }
    
    .text-box h1 {
      font-size: 20px;
    }
    
    .text-box p {
      font-size: 16px;
    }
  }
}

/* Touch target improvements */
@media (max-width: 1024px) {
  nav ul li, .card, .selection div {
    min-height: 44px; /* Apple recommended touch target size */
  }
  
  button, .download-btn, .tutorial-btn {
    min-width: 44px;
    min-height: 44px;
  }
}



/* === RESPONSIVE FIX === */

/* Planshetlar uchun (≤1024px) */
@media (max-width: 1024px) {
  nav ul {
    padding-left: 0 !important;
    justify-content: center;
  }

  .container1, .container2, .selection {
    grid-template-columns: 1fr !important;
    margin: 0 auto !important;
  }

  .container1 .ri {
    margin-left: 0 !important;
    grid-template-columns: 1fr !important;
  }

  .container2 .text {
    margin-left: 0 !important;
  }

  .footer .left {
    padding-left: 0 !important;
    justify-content: center;
  }
}

/* Telefonlar uchun (≤768px) */
@media (max-width: 768px) {
  nav ul {
    padding-left: 0 !important;
    text-align: center;
  }

  .card {
    width: 100% !important;
    margin: 0 auto 15px !important;
  }

  .partner-card {
    width: 100% !important;
  }

  .team-card {
    margin: 10px auto !important;
  }

  .selection div {
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  
}











