*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,sans-serif;color:#17324d;background:#fff;line-height:1.6}.container{width:min(1120px,92%);margin:auto}header{position:sticky;top:0;z-index:10;background:#fff;box-shadow:0 2px 12px #00000012}.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand span{display:block;font-size:13px;color:#65788b}.logo{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#176b4d;color:#fff;font-weight:800;font-size:20px}nav{display:flex;gap:18px}nav a{text-decoration:none;color:#17324d;font-weight:600;font-size:14px}nav a:hover{color:#176b4d}.menu{display:none;border:0;background:#176b4d;color:#fff;border-radius:8px;padding:8px 11px;font-size:20px}.hero{min-height:570px;display:flex;align-items:center;background:linear-gradient(120deg,#0c4435,#176b4d 55%,#d6a52d);color:#fff}.hero-content{max-width:850px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-weight:700}.hero h1{font-size:clamp(36px,6vw,68px);line-height:1.05;margin:14px 0 20px}.hero p{font-size:19px;max-width:720px}.button{display:inline-block;margin-top:16px;background:#fff;color:#176b4d;text-decoration:none;font-weight:700;padding:13px 22px;border-radius:10px}section{padding:80px 0}h2{font-size:34px;margin:0 0 28px;color:#17324d}.soft{background:#f2f7f5}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;padding:28px;border-radius:16px;box-shadow:0 8px 30px #17324d12;border:1px solid #e6ece9}.avatar{font-size:45px}.date{display:inline-block;background:#e7f2ed;color:#176b4d;padding:5px 10px;border-radius:20px;font-size:13px;font-weight:700}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery div{min-height:220px;border-radius:16px;background:linear-gradient(145deg,#dce9e4,#b9d2c8);display:grid;place-items:center;color:#176b4d;font-weight:700}.lead{margin-top:-18px;margin-bottom:30px;color:#65788b}.contact{max-width:700px}footer{background:#102b3f;color:#dbe4ea;padding:30px 0;text-align:center}@media(max-width:850px){.menu{display:block}nav{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;padding:18px 4%;flex-direction:column;box-shadow:0 10px 20px #0002}nav.open{display:flex}.grid,.gallery{grid-template-columns:1fr}.hero{min-height:500px}section{padding:60px 0}.brand strong{font-size:14px}}
.gallery img {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
}

.gallery > div {
  width: 100%;
  text-align: center;
}
.gallery > div {
  width: 100%;
}  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: contain;
  display: block;
  border-radius: 20px;
}
.avatar img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.avatar img {
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto !important;  
}
.hero-content {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
}

.hero-content > div {
  min-width: 0;
}

.hero-content img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  border-radius: 20px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.12;
  margin: 20px 0;
}

.hero .eyebrow,
.hero p,
.hero .button {
  max-width: 100%;
}

.hero .button {
  display: inline-block;
  width: auto;
}
.hero {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
}

.hero .hero-content {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 55px 45px !important;
}

.hero > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  max-height: 680px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.hero .eyebrow,
.hero h1,
.hero p {
  margin-left: 0 !important;
  transform: none !important;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.1;
}

.hero .button {
  display: inline-block;
  width: auto !important;
  align-self: flex-start;
}

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

  .hero .hero-content {
    padding: 35px 24px !important;
  }

  .hero > img {
    height: auto;
    min-height: 0;
  }
}
.hero .hero-content {
  grid-template-columns: 1fr 1.4fr !important;
}

.hero .eyebrow,
.hero h1,
.hero p,
.hero .button {
  margin-left: 0 !important;
  text-align: left !important;
}

.hero .hero-content {
  padding-left: 0px !important;
}
.hero h1 {
  font-size: 42px !important;
  line-height: 1.12 !important;
  max-width: 560px;
}

.hero .eyebrow {
  margin-bottom: 24px !important;
}

.hero p {
  max-width: 560px;
  line-height: 1.6;
}

.hero .button {
  margin-top: 20px !important;
}
.hero .eyebrow {
  text-align: left !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  align-self: flex-start !important;
}
.history-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.history-photo img {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
 
}
@media (max-width: 768px) {
  .history-layout {
    flex-direction: column;
  }



.history-text {
  flex: 1;
}


.history-photo img {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.history-text {
  flex: 1;
}
.news-photos {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 15px auto;
}

.news-photos img {
  width: 200px !important;
  height: 130px !important;
  object-fit: cover !important;
  border-radius: 10px;
  display: block;
}

.forum-news {
  grid-column: 1 / -1;
}

.forum-news .news-photos {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: nowrap;
}

.forum-news .news-photos img {
  width: 30% !important;
  height: 180px !important;
  object-fit: cover !important;
}
/* ОРТга даярдануу бөлүмү */
.ort-section {
  padding: 70px 20px;
  background: #f4f9f7;
}

.ort-section h2 {
  text-align: center;
  font-size: 38px;
  color: #12395b;
  margin-bottom: 15px;
}

.ort-section > .container > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 35px;
  font-size: 18px;
  line-height: 1.6;
}

.ort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.ort-card {
  background: white;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

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

.ort-card h3 {
  color: #0f6b4f;
  margin-bottom: 12px;
  font-size: 22px;
}

.ort-card p {
  color: #444;
  line-height: 1.6;
}
#ort .ort-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

#ort .ort-card {
  display: block !important;
  background: #ffffff !important;
  border: 1px solid #dfe7e3 !important;
  border-radius: 18px !important;
  padding: 28px !important;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08) !important;
}

#ort .ort-card h3 {
  margin-top: 0 !important;
}
@media (max-width: 800px) {
  #ort .ort-grid {
    grid-template-columns: 1fr !important;
  }
}
#school-bot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

#bot-button {
  background: #0f6b4f;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 14px 20px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#bot-box {
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  overflow: hidden;
  margin-bottom: 10px;
}

.bot-header {
  background: #0f6b4f;
  color: white;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#bot-close {
  background: transparent;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

#bot-messages {
  padding: 15px;
}

.bot-question {
  display: block;
  width: 100%;
  text-align: left;
  margin: 8px 0;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #f0f5f3;
  color: #17324d;
  cursor: pointer;
}

.bot-question:hover {
  background: #dfeee8;
}

#bot-answer {
  margin-top: 12px;
  padding: 10px;
  background: #eef7f3;
  border-radius: 8px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  #school-bot {
    position: fixed !important;
    right: 12px !important;
    bottom: 20px !important;
    z-index: 99999 !important;
  }

  #bot-button {
    display: block;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  #bot-box {
    width: calc(100vw - 24px) !important;
    max-width: 340px !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
  }

  .bot-question,
  #bot-close,
  #bot-button {
    cursor: pointer;
    touch-action: manipulation;
  }
#engineering {
  padding: 60px 0;
  background: #f4f8f6;
}

#engineering h2 {
  color: #12395b;
  margin-bottom: 15px;
}

#engineering > .container > p {
  line-height: 1.7;
  margin-bottom: 30px;
}

#engineering .engineering-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.engineering-card {
  background: #ffffff;
  border: 1px solid #dfe7e3;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

.engineering-card h3 {
  margin-top: 0;
  color: #0f6b4f;
}

@media (max-width: 800px) {
  #engineering .engineering-grid {
    grid-template-columns: 1fr !important;
  }
}
  
