
*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif}

body{
  padding-top:80px;
  background:linear-gradient(-45deg,#eef1f9,#e6e1f7,#dcd6ff,#f3f0ff);
  background-size:400% 400%;
  animation:bgMove 10s ease infinite;
  color:#2d2d2d;
  cursor: none;
}

@keyframes bgMove{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
nav{ height:70px; z-index:1000; position:fixed; width:100%; top:0; display:flex; justify-content:space-between; align-items:center; padding:15px 40px; background:rgba(255,255,255,0.7); backdrop-filter:blur(10px); }
nav{
  height:70px;
  position:fixed;
  width:100%;
  top:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 40px;
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(15px);
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
}
section {
    padding: 60px 20px; /* Tepadan va pastdan 100px bo'shliq */
    scroll-margin-top: 90px;
    max-width: 1200px;
    margin: 0 auto; /* O'rtaga olish */
}
.logo{
display:flex;
align-items:center;
gap:10px;
font-weight:600;
color:#5a3ea1;
}
.hero button{
  margin-top:25px;
  padding:14px 30px;
  border:none;
  border-radius:12px;
  background:linear-gradient(135deg,#6c4cff,#9f7bff);
  color:#fff;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(108,76,255,0.3);
  transition:0.3s;
}
.teacher-card.pro::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:18px;
  background:linear-gradient(135deg,#6c4cff,#9f7bff,#6c4cff);
  z-index:-1;
  filter:blur(10px);
  opacity:0;
  transition:.4s;
}
.img-wrap img{
  width:100%;
  border-radius:12px;
  transition:0.4s;
}
.card:hover,
.news-card:hover,
.stat:hover{
  transform:translateY(-10px) scale(1.02);
}
.teacher-card:hover img{
  transform:scale(1.1);
}

.hero button:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(108,76,255,0.6);
}
.logo-circle{
  width:35px;
  height:35px;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.logo-circle img{
  width:100%;
  height:100%;
  object-fit:cover;
}
::-webkit-scrollbar{
  width:8px;
}
.fade{
  opacity:0;
  transform:translateY(60px);
  transition:0.8s cubic-bezier(.17,.67,.83,.67);
}
::-webkit-scrollbar-thumb{
  background:linear-gradient(#6c4cff,#9f7bff);
  border-radius:10px;
}
nav a{
margin-left:20px;
text-decoration:none;
color:#333;
padding:8px 15px;
border-radius:10px;
}

nav a.active{
background:linear-gradient(135deg,#6c4cff,#9f7bff);
color:#fff;
}

/* HERO */
.hero{
text-align:center;
padding-top:140px;
}

.hero .circle{
  width:90px;
  height:90px;
  margin:auto;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 30px rgba(108,76,255,0.4);
}
.circle{
  transition:0.4s;
}

.circle:hover{
  transform:scale(1.08);
  box-shadow:0 15px 50px rgba(108,76,255,0.7);
}


.circle{
  animation:pulse 2.5s infinite;
}

@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(108,76,255,0.6);}
  70%{box-shadow:0 0 0 25px rgba(108,76,255,0);}
  100%{box-shadow:0 0 0 0 rgba(108,76,255,0);}
}

.hero .circle img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero h1{
font-size:50px;
margin:20px 0;
}

.hero p{
max-width:600px;
margin:auto;
color:#666;
line-height:1.6;
}

.hero button{
margin-top:25px;
padding:14px 30px;
border:none;
border-radius:12px;
background:linear-gradient(135deg,#6c4cff,#9f7bff);
color:#fff;
font-weight:600;
cursor:pointer;
box-shadow:0 10px 20px rgba(108,76,255,0.3);
}

/* STATS */
.stats{
display:flex;
justify-content:center;
gap:40px;
margin-top:60px;
flex-wrap:wrap;
}

.stat{
background:#fff;
padding:30px 50px;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
text-align:center;
}

.stat h2{
color:#6c4cff;
font-size:30px;
}

/* RESPONSIVE */
@media(max-width:768px){
.hero h1{font-size:35px}
.stats{flex-direction:column;align-items:center}
}
.teacher-card.pro{
background:linear-gradient(#fff,#fff) padding-box,
linear-gradient(135deg,#6c4cff,#9f7bff) border-box;
border:2px solid transparent;
border-radius:18px;
padding:20px;
width:260px;
text-align:center;
transition:.4s;
position:relative;
overflow:hidden;
}



.img-wrap{
position:relative;
}

.img-wrap img{
width:100%;
border-radius:12px;
display:block;
}

.overlay{
position:absolute;
top:0;left:0;
width:100%;height:100%;
background:rgba(108,76,255,0.85);
border-radius:12px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
gap:10px;
opacity:0;
transition:.4s;
}

.teacher-card:hover .overlay{
opacity:1;
}

.overlay button{
padding:8px 16px;
border:none;
border-radius:8px;
background:#fff;
color:#6c4cff;
cursor:pointer;
font-weight:600;
}

.socials a{
color:#176998;
margin:0 5px;
text-decoration:none;
font-size:14px;
}

.badge{
display:inline-block;
margin:10px 0;
padding:5px 12px;
background:#eee;
border-radius:10px;
font-size:12px;
color:#6c4cff;
font-weight:600;
}

/* animation */
.fade{
opacity:0;
transform:translateY(40px);
transition:.6s;
}
.fade.show{
opacity:1;
transform:translateY(0);
}
.section-title{
text-align:center;
font-size:32px;
margin:80px 0 40px;
color:#2d2d2d;
}



.teacher-card{
background:#fff;
padding:25px;
width:260px;
border-radius:18px;
text-align:center;
box-shadow:0 15px 30px rgba(0,0,0,0.08);
transition:0.3s;
}

.teacher-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(108,76,255,0.2);
}

.teacher-card img{
width:100%;
border-radius:12px;
margin-bottom:15px;
}

.teacher-card h3{
margin-bottom:8px;
}

.teacher-card p{
color:#666;
font-size:14px;
}
.tg-btn{
display:inline-block;
padding:8px 16px;
border-radius:8px;
background:#fff;
color:#6c4cff;
font-weight:600;
text-decoration:none;
}

.news{
text-align:center;
padding:60px 20px;
}

.news-grid{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
margin-top:30px;
}

.news-card{
background:#fff;
width:300px;
padding:25px;
border-radius:18px;
box-shadow:0 15px 30px rgba(0,0,0,0.08);
transition:.4s;
position:relative;
overflow:hidden;
text-align:left;
}

.news-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 50px rgba(108,76,255,0.25);
}

.news-card h3{
margin:10px 0;
color:#2d2d2d;
}

.news-card p{
color:#666;
font-size:14px;
line-height:1.5;
}

.date{
font-size:12px;
color:#6c4cff;
font-weight:600;
}

.news-card::before{
content:"";
position:absolute;
top:0;left:0;
width:100%;
height:4px;
background:linear-gradient(135deg,#6c4cff,#9f7bff);
}
.news{
text-align:center;
padding:60px 20px;
}

.news-grid{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
margin-top:30px;
}

.news-card{
background:#fff;
width:300px;
padding:25px;
border-radius:18px;
box-shadow:0 15px 30px rgba(0,0,0,0.08);
transition:.4s;
position:relative;
overflow:hidden;
text-align:left;
}

.news-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 50px rgba(108,76,255,0.25);
}

.news-card h3{
margin:10px 0;
color:#2d2d2d;
}

.news-card p{
color:#666;
font-size:14px;
line-height:1.5;
}

.date{
font-size:12px;
color:#6c4cff;
font-weight:600;
}

.news-card::before{
content:"";
position:absolute;
top:0;left:0;
width:100%;
height:4px;
background:linear-gradient(135deg,#6c4cff,#9f7bff);
}
.contact{
text-align:center;
padding:80px 20px;
}

.contact-grid{
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
margin-top:30px;
}

.card{
background:#fff;
padding:25px;
width:280px;
border-radius:18px;
box-shadow:0 15px 30px rgba(0,0,0,0.08);
transition:.4s;
text-align:left;
}

.card:hover{
transform:translateY(-8px);
}

.card p{
margin:8px 0;
cursor:pointer;
color:#555;
}

.card h3{
margin-bottom:15px;
}
.logo img{
  width:40px;
  height:40px;
  border-radius:50%;
  object-fit:cover;
}
.logo img{
  width:42px;
  height:42px;
  border-radius:50%;
  padding:2px;
  background:linear-gradient(135deg,#6c4cff,#9f7bff);
  object-fit:cover;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  color:#5a3ea1;
}
input,textarea{
width:100%;
padding:10px;
margin:8px 0;
border:1px solid #ddd;
border-radius:10px;
outline:none;
}

textarea{height:80px;resize:none}

button2{
width:100%;
padding:10px;
border:none;
border-radius:10px;
background:linear-gradient(135deg,#6c4cff,#9f7bff);
color:#fff;
cursor:pointer;
}

.teacher-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:12px;
}
.img-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s;
}

.teacher-card:hover img{
  transform:scale(1.08);
}
.socials a{
display:inline-block;
margin-right:10px;
color:#6c4cff;
font-weight:600;
text-decoration:none;
}
.join-btn{
  display:inline-block;
  margin-top:25px;
  padding:14px 30px;
  border-radius:12px;
  background:linear-gradient(135deg,#6c4cff,#9f7bff);
  color:#fff;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 10px 20px rgba(108,76,255,0.3);
  transition:0.3s;
}

.join-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(108,76,255,0.6);
}
.map iframe{    
width:90%;
height:250px;
border:none;
border-radius:15px;
margin-top:40px;
}
.logo img{
  transition:0.3s;
}
.img-wrap{
  aspect-ratio:1/1;
}
.logo:hover img{
  transform:rotate(10deg) scale(1.1);
}









/* Teacher Grid konteynerini kengaytiramiz */
.teacher-grid {
    display: flex;
    justify-content: center; /* Kartalarni gorizontal markazga oladi */
    align-items: stretch;
    gap: 40px; /* Kartalar orasidagi masofa */
    flex-wrap: wrap; /* Mobil versiyada kartalar tushib ketishi uchun */
    max-width: 1200px;
    margin: 0 auto; /* Gridning o'zini sahifa markaziga oladi */
    padding: 20px;
    margin-top: 30px;
}

/* Asosiy Karta Dizayni */
.teacher-card.pro {
    background: #fff;
    width: 300px; /* Kenglik oshirildi (eski 260px edi) */
    border-radius: 24px;
    padding: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(40, 38, 38, 0.05);
    transition: 0.4s ease;
    border: 1px solid rgba(108, 76, 255, 0.1);
}

/* Rasm wrap - Kattaroq va sifatliroq */
.img-wrap {
    width: 100%;
    height: 260px; /* Balandlik oshirildi */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Rasmni buzmasdan to'ldiradi */
}

/* Matnlar qismi */
.card-content h3 {
    font-size: 24px; /* Ism kattaroq */
    margin: 10px 0;
    color: #2d2d2d;
}

.teacher-card h3 {
    font-size: 24px; /* Ism kattaroq */
    font-weight: 700;
    color: #1a1a1a;
    margin: 10px 0 5px;
    letter-spacing: -0.5px;
}

.badge {
    background: #f0edff;
    color: #6c4cff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.experience {
    font-weight: 600;
    color: #6c4cff;
    margin-bottom: 5px;
}

.stats {
    color: #777;
    font-size: 14px;
}

/* Hover Effektlari */
.teacher-card.pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 76, 255, 0.15);
}

.teacher-card.pro:hover img {
    transform: scale(1.1);
}

/* Gradientli chegara effekti (border) */
.teacher-card.pro::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px; /* Border qalinligi */
    background: linear-gradient(135deg, #6c4cff, #9f7bff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: 0.4s;
}

.teacher-card.pro:hover::after {
    opacity: 1;
}


/* Sarlavha konteyneri */
.teacher-header {
    text-align: center;
    margin-top: 60px; /* Tepasidagi sectiondan uzoqlashtirish */
    margin-bottom: 40px; /* Kartalardan uzoqlashtirish */
    
}

/* Sarlavha ustidagi kichik matn (The people behind...) */
.sub-title {
    display: block;
    font-family: 'Inter', sans-serif; /* Modern shrift */
    letter-spacing: 3px; /* Harflar orasidagi masofa rasmdegidek */
    color: #8257E5; /* Logotip rangidagi binafsha */
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 11px; /* Kichikroq va ixchamroq */
    letter-spacing: 2px;
}


.teachers {
    margin-top: 50px;
    margin-bottom: 50px;
}
/* Asosiy katta matn (Meet our teachers) */
.main-title {
    font-family: 'Playfair Display', serif; /* Rasmdegidek klassik serif shrift */
    font-style: italic; /* Kursiv - rasmda shunday */
    font-weight: 700;
    color: #2D3436; /* To'q kulrang/qora */
    margin: 0;
    line-height: 1.1;
    font-size: 48px; /* 64px dan 48px ga tushirdik */
    margin-top: 10px;
    margin-bottom: 30px;
}

/* Mobil qurilmalar uchun moslashuvchanlik */
@media (max-width: 768px) {
    .main-title {
        font-size: 40px;
    }
    .sub-title {
        font-size: 11px;
        letter-spacing: 2px;
    }
}

.hero-description {
    font-family: 'Playfair Display', serif; /* Gamilia o'rniga eng yaqin variant */
    font-size: 22px; /* Matn o'qilishi uchun biroz kattalashtirildi */
    line-height: 1.6;
    color: #4A4A4A; /* Yumshoq to'q rang */
    font-style: italic; /* Kursiv uslub rasmga mos tushadi */
    max-width: 700px;
    margin: 20px auto;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* "Join Now" tugmasi bilan oraliqni ochish */
.hero-btn {
    margin-top: 35px;
}
.stat-card h2 {
    /* Orbitron shrifti Sky Boxed kabi burchakli */
    font-size: 48px;
    font-weight: 900;
    color: #6c4cff;
    
    /* Harflar orasini biroz qisqartiramiz (rasmdagi kabi zich turishi uchun) */
    letter-spacing: -2px; 
    
    /* Agar raqamlarga biroz "texno" effekt bermoqchi bo'lsangiz: */
    text-transform: uppercase;
    display: inline-block;
    
    margin-bottom: 8px;
}

/* Raqam yonidagi + belgisini biroz kichraytirish (ixtiyoriy) */
.stat-card h2 span {
    font-size: 32px;
    margin-left: -5px;
    vertical-align: middle;
}


/* Asosiy konteyner */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px; /* Kartalar orasidagi masofa */
    padding: 40px 20px;
    flex-wrap: wrap; /* Mobil versiyada kartalar pastga tushishi uchun */
}

/* Har bir kichik karta */
.stat-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    width: 250px; /* Kartaning aniq kengligi */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Raqamlar stili (Sky Boxed Display uslubida) */


/* Matn stili (Gamilia uslubida) */

/* Responsive: Telefonlar uchun */
@media (max-width: 768px) {
    .stat-card {
        width: 100%; /* Telefonda kartalar to'liq kenglikda bo'ladi */
        max-width: 340px;
    }
}

/* 1. Asosiy bo'lim foni va markazga olish */
.community-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    background:rgba(255,255,255,0.1);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.2);
}

/* 2. Markazdagi oq karta (Container) */
.community-card {
    background: rgba(255, 255, 255, 0.7); /* Shaffof oq */
    padding: 50px 40px;
    border-radius: 40px;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(108, 76, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* 3. Grid tizimi */
.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 20px;
    margin-bottom: 40px;
}

/* 4. Grid elementlari (Rasmlar) */
.grid-item {
    background-size: cover;
    background-position: center;
    border-radius: 30px; /* Yumshoq burchaklar */
    position: relative;
    overflow: hidden;
    border: 4px solid #ffffff; /* Oq ramka rasmlarni ajratadi */
    box-shadow: 0 10px 20px rgba(108, 76, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.grid-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(108, 76, 255, 0.2);
    z-index: 2;
}

/* 5. Rasmlar ichidagi Tag (Yozuv) */
.grid-item .tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #6c4cff; /* Brend binafsha rangi */
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 6. Grid o'lchamlari (Masonry uslubi) */
.large { grid-column: span 1; grid-row: span 2; }
.wide { grid-column: span 2; grid-row: span 1; }
.tall { grid-column: span 1; grid-row: span 2; }
.medium { grid-column: span 2; grid-row: span 2; }
.full-tall { grid-row: span 3; } /* rasmda ko'ringan ba'zi uzun rasmlar uchun */

/* 7. Pastki sarlavhalar */
.community-footer {
    margin-top: 30px;
}

.footer-sub {
    color: #6c4cff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-style: italic;
    color: #2D3436;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 800px;
}

/* 8. Mobil versiya (Adaptivlik) */
@media (max-width: 900px) {
    .community-card {
        padding: 30px 15px;
    }
    
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 12px;
    }

    .footer-title {
        font-size: 28px;
    }
    
    /* Mobilda o'lchamlarni tenglashtirish (siqilib qolmasligi uchun) */
    .large, .wide, .tall, .medium {
        grid-column: span 1;
        grid-row: span 1;
    }
}
/* 1. Asosiy bo'lim foni */
.community-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    background: radial-gradient(circle at top left, #f3efff 0%, #ffffff 100%); /* Gradient fon boyroq ko'rinadi */
}

/* 2. Markazdagi premium karta */
.community-card {
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(20px); /* Shishasimon effekt */
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 40px;
    border-radius: 50px;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 40px 100px rgba(108, 76, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* 4. Grid elementlari - Rasmlar */
.grid-item {
    background-size: cover;
    background-position: center;
    border-radius: 32px; 
    position: relative;
    overflow: hidden;
    border: none; /* Ramkani olib tashladik, zamonaviyroq */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(108, 76, 255, 0.2)); /* Rasm ustiga yengil soya */
}

.grid-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(108, 76, 255, 0.15);
}

/* 5. Taglar (Yozuvlar) */
.grid-item .tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    background: white;
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.grid-item:hover .tag {
    background: #6c4cff;
    color: white;
}

/* 7. Sarlavhalar */
.footer-sub {
    color: #6c4cff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 5px; /* Harflar aro masofa ko'proq */
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px; /* Kattaroq sarlavha */
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
}

/* "Community" so'zi uchun gradient effekt */
.footer-title i {
    font-style: italic;
    background: linear-gradient(90deg, #6c4cff, #a08cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 5px;
}





/* Community Section - NEW GLAMOUR LOOK */
.community-wrapper {
    padding: 40px 20px;
    background: #f8f9ff;
    overflow: hidden;
    border-radius: 5%;
}

.community-card {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

/* Bento Grid uslubidagi tartib */
.community-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
    margin-bottom: 60px;
}

.grid-item {
    position: relative;
    border-radius: 40px; /* Juda yumshoq burchaklar */
    background-size: cover;
    background-position: center;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

/* Joylashuv rejasi (Antiqa tartib) */
.item-1 { grid-column: 1 / 4; grid-row: 1 / 2; }
.item-2 { grid-column: 4 / 7; grid-row: 1 / 2; }
.item-3 { grid-column: 7 / 10; grid-row: 1 / 3; } /* Uzun vertikal */
.item-4 { grid-column: 1 / 7; grid-row: 2 / 3; } /* Katta gorizontal */
.item-5 { grid-column: 10 / 13; grid-row: 1 / 3; } /* O'ng tarafdagi uzun */

/* Hover effektlari */
.grid-item:hover {
    transform: scale(0.98) translateY(-5px);
    box-shadow: 0 30px 60px rgba(108, 76, 255, 0.15);
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
    opacity: 0.8;
}

.grid-item .tag {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s;
}

.grid-item:hover .tag {
    background: #fff;
    color: #6c4cff;
}

/* Pastki sarlavha stili */
.community-footer {
    text-align: center;
    margin-top: 80px;
}

.badge-line {
    width: 60px;
    height: 4px;
    background: #6c4cff;
    margin: 0 auto 20px;
    border-radius: 10px;
}

.footer-sub {
    font-size: 14px;
    letter-spacing: 6px;
    color: #6c4cff;
    font-weight: 800;
    display: block;
    margin-bottom: 20px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a1a;
}

.footer-title span {
    font-style: italic;
    background: linear-gradient(90deg, #6c4cff, #9f7bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobil moslashuv */
@media (max-width: 900px) {
    .community-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .grid-item {
        height: 250px;
        border-radius: 25px;
    }
    .footer-title {
        font-size: 36px;
    }
}

/* Hero Modern Design */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    border-radius: 5%;
    overflow: hidden; /* Blur doiralar chiqib ketmasligi uchun */
}

/* Suzuvchi effekt beruvchi blur doiralar */
.blob {
position: absolute;
    width: 500px;
    height: 500px;
    filter: blur(120px); /* Blur darajasi oshirildi */
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
    animation: floating 20s infinite alternate ease-in-out;
}
.blob-1 { top: -100px; left: -100px; background: rgba(108, 76, 255, 0.2); }
.blob-2 { bottom: -100px; right: -100px; background: rgba(159, 123, 255, 0.2); }

@keyframes move {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 100px); }
}

/* Logo dizayni */
.hero-logo-wrapper {
    position: relative;
    margin-bottom: 30px;
}
.main-logo {
    width: 100px;
    height: 100px;
    
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.logo-glow {
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, #6c4cff, #9f7bff);
    filter: blur(20px);
    opacity: 0.4;
    border-radius: 50%;
}

/* Sarlavha */
.hero-title {
    font-size: clamp(40px, 8vw, 72px); /* Ekran o'lchamiga qarab o'zgaradi */
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}
.hero-title span {
    background: linear-gradient(90deg, #6c4cff, #9f7bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 650px;
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Tugma */
.prime-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.prime-btn:hover {
    transform: translateY(-5px);
    background: #6c4cff;
}

/* Glassmorphism Stats */
.glass-stats {
    margin-top: 80px;
    display: flex;
    align-items: center;
    /* Fonni shaffofroq qilamiz */
    background: rgba(255, 255, 255, 0.25); 
    /* Blur darajasini oshiramiz (shisha effekti) */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    
    padding: 25px 60px;
    border-radius: 40px; /* Burchaklarni yanada yumshatdik */
    
    /* O'tkir border o'rniga juda mayin shaffof chegara */
    border: 1px solid rgba(255, 255, 255, 0.4);
    
    /* Eng asosiysi: Kuchli lekin juda mayin soya (chegarani yumshatadi) */
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.04),
        0 20px 40px -5px rgba(108, 76, 255, 0.08);
    
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
}
.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(0,0,0,0.1);
    margin: 0 40px;
}
.hero-content {
    position: relative;
    z-index: 2; /* Blur doiralardan ustun turishi uchun */
}
/* Mobil versiya */
@media (max-width: 768px) {
    .glass-stats {
        flex-direction: column;
        padding: 30px;
        width: 100%;
        gap: 20px;
    }
    .stat-sep {
        width: 60px;
        height: 1px;
        margin: 10px 0;
    }
    .hero-title { font-size: 42px; }
}











/* Contact Premium - Uyg'un dizayn */
.contact-premium {
    padding: 100px 20px;
    background:rgba(255,255,255,0.1);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    border-radius: 5%;
}

/* Fondagi mayin binafsha nur */
.contact-overlay-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 76, 255, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.contact-header-new {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.modern-title {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
}

.modern-title span {
    background: linear-gradient(135deg, #6c4cff, #9f7bff); /* Logotip rangiga mos */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Kartalar stili */
.p-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    transition: 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.p-card.featured {
    background: #fff;
    border: 2px solid rgba(108, 76, 255, 0.1);
    box-shadow: 0 30px 60px rgba(108, 76, 255, 0.05);
}

.p-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(108, 76, 255, 0.1);
}

.p-card-content {
    padding: 40px;
}

.p-icon-wrap {
    font-size: 40px;
    margin-bottom: 20px;
}

.p-card h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 25px;
}

/* Inputlar */
.p-input-field input, .p-input-field textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 15px;
    background: #fdfcff;
    outline: none;
    transition: 0.3s;
}

.p-input-field input:focus {
    border-color: #6c4cff;
    box-shadow: 0 0 0 4px rgba(108, 76, 255, 0.1);
}

/* Tugma - Hero tugmasi bilan bir xil */
.p-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #6c4cff, #9f7bff);
    color: #fff;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.p-submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(108, 76, 255, 0.3);
}

/* Info va FAQ */
.p-item {
    margin-bottom: 20px;
    cursor: pointer;
}
.p-item small { color: #888; display: block; margin-bottom: 5px; }
.p-item span { font-weight: 700; color: #1a1a1a; }

.p-faq details {
    background: #f8f9ff;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.p-faq summary { font-weight: 600; color: #333; }
.p-faq p { margin-top: 10px; font-size: 14px; color: #666; }

/* Socials */
.p-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.p-soc-a {
    padding: 10px 20px;
    background: #eee;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}
.p-soc-a:hover {
    background: #6c4cff;
    color: #fff;
}



/* Contact Premium Card - Yangilangan jozibador ko'rinish */
.p-card {
    background: #ffffff; /* Toza oq rang */
    border: 1px solid rgba(108, 76, 255, 0.2); /* Logotip rangidagi aniqroq border */
    border-radius: 35px;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    
    /* Ikki qavatli soya: biri yumshoq, biri aniqroq */
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.03),
        0 20px 50px rgba(108, 76, 255, 0.05);
}

/* O'rtadagi asosiy kartaga alohida urg'u berish */
.p-card.featured {
    background: linear-gradient(165deg, #ffffff 0%, #f4f2ff 100%);
    border: 1.5px solid #6c4cff; /* Asosiy binafsha border */
    box-shadow: 0 25px 60px rgba(108, 76, 255, 0.12);
}

.p-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #6c4cff; /* Hover bo'lganda border rangi yorqinlashadi */
    
    /* Soya kuchayishi */
    box-shadow: 
        0 30px 70px rgba(108, 76, 255, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.02);
}

/* Ichki elementlar uchun qo'shimcha stil */
.p-card-content {
    padding: 45px 35px;
}

/* FAQ ichidagi details ni ham kartaga moslash */
.p-faq details {
    background: #ffffff;
    border: 1px solid #f0edff;
    padding: 18px;
    border-radius: 20px;
    margin-bottom: 12px;
    transition: 0.3s;
}

.p-faq details:hover {
    border-color: #6c4cff;
    background: #f9f8ff;
}

/* Inputlarni fon bilan adashib ketmasligi uchun kontrastni oshiramiz */
.p-input-field input, .p-input-field textarea {
    background: #fbfaff;
    border: 1.5px solid #eceaff; /* Juda mayin binafsha border */
    color: #1a1a1a;
}

.p-input-field input:focus {
    background: #ffffff;
    border-color: #6c4cff;
    box-shadow: 0 0 0 5px rgba(108, 76, 255, 0.1);
}






/* 1. KARTALAR - Fon bilan adashib ketmasligi uchun Glow Border */
.p-card {
    background: #ffffff;
    /* Logotip binafsha rangidan juda mayin chegara */
    border: 2px solid rgba(108, 76, 255, 0.1); 
    border-radius: 40px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.p-card:hover {
    transform: translateY(-12px);
    /* Hover bo'lganda border logotip rangida yonadi */
    border-color: #6c4cff; 
    box-shadow: 0 25px 60px rgba(108, 76, 255, 0.15);
}

/* 2. XARITA SEKSIYASI - Modern ko'rinish */
.map-section-modern {
    max-width: 1200px;
    margin: 80px auto 0;
    position: relative;
    padding: 0 20px;
}

.map-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    padding: 12px 30px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-label .dot {
    width: 8px;
    height: 8px;
    background: #6c4cff;
    border-radius: 50%;
    box-shadow: 0 0 10px #6c4cff;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% { opacity: 0.3; }
}

.map-container-new {
    width: 100%;
    height: 450px;
    border-radius: 45px;
    overflow: hidden;
    border: 8px solid #fff; /* Oq ramka xaritani fondan ajratadi */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.map-container-new iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Xaritani sayt stiliga moslash (yengil binafsha tus) */
    filter: contrast(1.1) brightness(1.05) saturate(1.2);
    transition: 0.5s;
}

/* Hoverda xarita ranglari yanada oydinlashadi */
.map-container-new:hover iframe {
    filter: none;
}

/* Inputlar uchun nafis border */
.p-input-field input, .p-input-field textarea {
    border: 2px solid #f0f0f5;
    background: #fbfbff;
    transition: 0.3s;
}

.p-input-field input:focus {
    border-color: #6c4cff;
    background: #fff;
}

























/* Modern Apple Navbar */
.apple-nav {
    position: fixed;
    top: 20px; /* Tepadan biroz tushib turadi */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    height: 65px;
    background: rgba(255, 255, 255, 0.7); /* Shaffof fon */
    backdrop-filter: blur(20px); /* Shisha effekti */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Nav skrol bo'lganda ingichka bo'lishi uchun (ixtiyoriy) */
.apple-nav.scrolled {
    top: 10px;
    width: 95%;
    height: 60px;
    background: rgba(255, 255, 255, 0.85);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

/* Logo qismi */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 18px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.logo-circle-mini {
    width: 32px;
    height: 32px;
    border-radius: 10px; /* Apple icon style */
    overflow: hidden;
    border: 2px solid #6c4cff;
}

.logo-circle-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* TO'LIQ DUMALOQ */
    overflow: hidden;
    border: 2px solid #6c4cff; /* Logotip atrofidagi binafsha chegara */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 4px 10px rgba(108, 76, 255, 0.2); /* Yengil nurlanish */
    transition: 0.3s ease;
}
.logo-circle-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Rasmning o'zini ham dumaloqlash */
}
.logo:hover .logo-circle-mini {
    transform: scale(1.1) rotate(5deg);
    border-color: #9f7bff;
    box-shadow: 0 6px 15px rgba(108, 76, 255, 0.4);
}
/* Nav Linklar */
.nav-links {
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.03);
    padding: 5px;
    border-radius: 18px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 14px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #6c4cff;
    background: rgba(255, 255, 255, 0.5);
}

.nav-link.active {
    background: #ffffff;
    color: #6c4cff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* CTA Tugma */
.nav-btn-sm {
    text-decoration: none;
    background: #1a1a1a;
    color: #fff;
    padding: 10px 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.nav-btn-sm:hover {
    background: #6c4cff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 76, 255, 0.3);
}

/* Mobil moslashuv */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobil menyu alohida qilinadi */
    }
    .apple-nav {
        width: 95%;
        top: 15px;
    }
}























/* Cursor Follower Style */

.cursor-follower {
    width: 25px;
    height: 25px;
    border: 2px solid #6c4cff; /* Logotip rangi */
    background: rgba(108, 76, 255, 0.1);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none; /* Element tugmalarni bosishga xalaqit bermasligi uchun */
    z-index: 9999;
    transition: transform 0.1s ease-out; /* Silliq ergashish effekti */
    transform: translate(-50%, -50%);
    display: none; /* Avvaliga yashirib turamiz */
}
/* Kursor markazidagi nuqta */
.cursor-dot {
    width: 10px;
    height: 10px;
    background-color: #6c4cff;
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
}

/* Atrofdagi quvib yuruvchi halqa */
.cursor-outline {
    width: 35px;
    height: 35px;
    border: 2px solid rgba(108, 76, 255, 0.5);
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    /* Mana shu qism suyuqlik effektini beradi */
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Linklar ustiga borgandagi effekt */
.cursor-active {
    transform: translate(-50%, -50%) scale(1.5) !important;
    background-color: rgba(108, 76, 255, 0.1);
    border-color: #6c4cff;

}



@media (max-width: 768px) {
  .cursor-follower,
  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }
}












.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    animation: float 4s ease-in-out infinite;
    z-index: 5;
}
.b-1 { top: 10%; left: 15%; animation-delay: 0s; }
.b-2 { bottom: 20%; right: 10%; animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}


/* Mobil menyu tugmasi stili (Dastlab yashirin) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #6c4cff;
    border-radius: 5px;
    transition: 0.3s;
}

/* TELEFON UCHUN MOSLASH (RESPONSIVE) */
@media (max-width: 768px) {
    .apple-nav {
        width: 95%;
        padding: 0 15px;
    }

    .menu-toggle {
        display: flex; /* Telefonda paydo bo'ladi */
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 15px;
        border-radius: 20px;
        border: 1px solid rgba(108, 76, 255, 0.1);
        opacity: 0;
        visibility: hidden;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* Menyu ochilgandagi holat */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        display: none; /* Mobil menyuda joy tejash uchun */
    }
}


















































/* Asosiy Navbar */
.apple-nav {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    height: 64px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Gamburger menyu (Telefonda ko'rinadi) */
.menu-icon {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 2100;
}

.menu-icon .line {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: 0.3s;
}

/* Nav Linklar */
.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 12px;
    transition: 0.3s;
}

.nav-link:hover, .nav-link.active {
    background: rgba(108, 76, 255, 0.1);
    color: #6c4cff;
}

.nav-link.active {
    font-weight: 700;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nav-cta-desktop .nav-btn-sm {
    text-decoration: none;
    background: #1a1a1a;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.mobile-cta { display: none; }

/* --- TELEFON VARIANTI (RESPONSIVE) --- */
@media (max-width: 850px) {
    .menu-icon { display: flex; }
    
    .nav-cta-desktop { display: none; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Menyuni chetga yashirish */
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 20px;
        width: 100%;
        text-align: left;
        padding: 15px 0;
    }

    .mobile-cta {
        display: block;
        margin-top: 20px;
        background: #6c4cff;
        color: white;
        text-align: center;
        padding: 15px;
        border-radius: 15px;
        text-decoration: none;
        font-weight: 700;
    }

    /* Gamburger animatsiyasi */
    .menu-icon.active .line:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .menu-icon.active .line:nth-child(2) { transform: rotate(-45deg) translate(1px, -2px); width: 24px; }
}
























































@import url(https://fonts.bunny.net/css?family=crushed:400);



.results {
    padding: 100px 20px;
    text-align: center;
    overflow: hidden; /* Kartalar chiqib ketmasligi uchun */
}

.filter {
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Masonry Panjara */
.masonry{
  --card-trans-duration:1000ms;
  --card-border-radius:24px;
  --card-width:320px;
  --radius:700px;

  position:relative;
  width:var(--card-width);
  height:420px;
  margin:80px auto 40px;
}
.cert-item{
  position:absolute;
  width:var(--card-width);
  aspect-ratio:4/6;
  border-radius:var(--card-border-radius);
  overflow:hidden;
  background:#fff;

  left:50%;
  bottom:0;

  transform-origin:50% 100%;
  transition:
    transform 1s cubic-bezier(.22,1,.36,1),
    box-shadow .5s ease;

  box-shadow:
    0 20px 40px rgba(0,0,0,.12),
    0 10px 20px rgba(108,76,255,.12);
}

.cert-item:hover{
  z-index:100 !important;
  
}


.cert-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.5s;
}

.cert-item:hover img{
  transform:scale(1.06);
}

/* Mobil qurilmalar uchun */
@media(max-width:768px){

  .masonry{
    --card-width:180px;
    height:340px;
  }

}
@media (max-width: 480px) {
    .masonry { column-count: 1; }
}



















.results{
  position:relative;
  padding:120px 20px 80px;
  text-align:center;
}

.results-head{
  max-width:750px;
  margin:0 auto 60px;
}

.results-mini{
  display:inline-block;
  margin-bottom:18px;
  padding:8px 18px;

  background:rgba(108,76,255,.08);

  border:1px solid rgba(108,76,255,.12);

  border-radius:999px;

  color:#6c4cff;

  font-size:12px;
  font-weight:700;
  letter-spacing:3px;
}

.results-title{
  font-size:clamp(42px,7vw,68px);
  line-height:1;
  font-weight:800;
  letter-spacing:-2px;

  color:#1a1a1a;

  margin-bottom:22px;
}

.results-title span{
  background:linear-gradient(135deg,#6c4cff,#9f7bff);

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.results-text{
  font-size:18px;
  line-height:1.7;
  color:#666;

  max-width:650px;
  margin:auto;
}

/* FILTER */

.filter{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;

  margin-bottom:80px;
}

.filter button{
  border:none;
  padding:14px 24px;

  border-radius:16px;

  background:rgba(255,255,255,.7);

  backdrop-filter:blur(10px);

  color:#555;

  font-weight:600;

  cursor:pointer;

  transition:.35s;

  box-shadow:
    0 10px 25px rgba(0,0,0,.04);
}

.filter button:hover{
  transform:translateY(-4px);

  color:#6c4cff;
}

.filter button.active{
  background:linear-gradient(135deg,#6c4cff,#9f7bff);

  color:#fff;

  box-shadow:
    0 15px 35px rgba(108,76,255,.28);
}

/* LOAD MORE */

.load-more{
  margin-top:40px;

  border:none;

  padding:16px 34px;

  border-radius:18px;

  background:#1a1a1a;

  color:#fff;

  font-weight:700;

  cursor:pointer;

  transition:.35s;
}

.load-more:hover{
  transform:translateY(-4px);

  background:#6c4cff;

  box-shadow:
    0 18px 40px rgba(108,76,255,.28);
}

/* Mobil qurilmalar uchun mutlaqo yangicha va qulay yechim */
@media(max-width: 768px) {
  .masonry {
    display: flex !important;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100% !important;
    height: auto !important;
    padding: 20px 20px 40px 20px;
    margin: 30px 0 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
  }

  /* Mobil scrollbarni chiroyli qilish yoki yashirish */
  .masonry::-webkit-scrollbar {
    height: 6px;
  }
  .masonry::-webkit-scrollbar-thumb {
    background: rgba(108, 76, 255, 0.3);
    border-radius: 10px;
  }

  .cert-item {
    position: relative !important;
    left: 0 !important;
    bottom: 0 !important;
    transform: none !important; /* Yelpig'ich effektini telefonda o'chiramiz */
    width: 260px !important;    /* Rasmlar telefonda katta va o'qiladigan bo'ladi */
    flex-shrink: 0;
    scroll-snap-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  
  .cert-item:hover {
    transform: none !important;
  }
}