@media (max-width: 1050px) {
  #footer-content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  #social-media {
    width: 100%;
    order: 10;
  }
  
  .pc{ display:none;}
	.yd{ display:block;}

	
	/*mtag*/
	.mtag{ display:block; width: 20px; height:25px; position:absolute; right:0; top:50%;transform:translateY(-50%); overflow:hidden; z-index:5; }
	.mico{ display:block; width: 20px;height: 3px;background: #000000; position:absolute; top:3px;}
	.mico::before{content: ''; display: block;width: 20px;height: 3px;background: #000000; position:absolute; top:8px; }
	.mico::after{content: ''; display: block;width: 20px;height: 3px;background: #000000; position:absolute; top:16px; }
	
	
	.nav-btn:hover { border-bottom:none; color:#000000}
	.fs-4{ font-size:14px!important;}
	.xyzlbg{ background:#faf9f7; padding:30px 0;}
	.cjwtbg{ background:#d4ddfa; padding:30px 0;}
	.cjwtbox{ display:block;  margin-top:30px; }
	.cjwtleft{width:100%; padding:20px 0}
	.cjwtleft dl dd{ font-size:12px;}
	.accordion-flush{ width:100%;}
	
	/*foot*/
	.footer { padding:20px 0 0 0;}
	.footercon{ display:block}
	.footercon .footerleft{ width:80%; margin:0 auto 20px auto;}
	.footercon .footerceter dl{ align-items: flex-start;}
	.footercon .footerright .ftlink{ display:none}
	.footercon .guanzhu{ text-align:center;}
	.footercon .footerright .diewm{justify-content: center; margin-top:0px; }
	.footercon .footerright .diewm dl{width:30%;}
	.footercon .footerright .diewm dl dt img{ width:100%;}
	.footercon .footerright .diewm dl dd{zoom:1;}
	.ftdibg{ padding-bottom:20px; }
	
	.xyal-list-grid{grid-template-columns: repeat(1, minmax(0, 1fr))!important;}
	.bkfw1-list-flex{ display:block;}
	.bkfw1-list-left{ width:100%; }
	.bkfw1-list-right{ width:100%; margin-top:10px}
	.bkfw2-list-grid{ padding-bottom:30px; margin-bottom:30px}
	.bkfw3-list-flex{ display:block}
	.bkfw3-list-flex div{ margin:10px auto}
	.bkfw4-list-flex{display:block}
	.lianxibox{display:block}
	.lxewm{ display:none}
	.lxetxt{ text-align:left; }
	.zxkc2l{ display:none;}
	.zxkc2r{ width:100%;  display: block; }
	.zxkcnr{ width:100%; }
	.zxkcnr ul{ grid-template-columns: repeat(5, minmax(0, 1fr));  gap: 10px;}
	.bkfw4-list-flex div{ line-height:200%; max-width:100%;}
}

@media (max-width: 992px) {
  body {
    padding: 0;
  }
	
  body header nav {
  	position:fixed;
	left:-100%;
	top:0;
	width:98%;
	height:100%;
	background:#f7f7f7;
	z-index:9999;
  }
  body header nav .nav-btn:first-child{ margin-top:90px;}
  .nav-btn {

  display: block;
  padding: 10px 20px;
  color:#000000;
 
}

  .ydclose {
    position: absolute;
    right: 0;
    top: 25px;
    border: none;
    background: transparent;
    color: #000000;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
	border-radius: 4px;
	}

  #mobile-header-text {
    display: block;
  }

  #header-right-container button {
    display: none;
  }

  #logo-img {
    height: 70px;
    width: auto;
  }

  #banner {
    margin-top: 90px;
    min-height: auto;
  }

  #hero-content {
  display:block;
    min-height: auto;
    padding: 40px 0;
    justify-content: center;
  }

  #hero-text {
    max-width: 100%;
    text-align: center;
	margin-left:0;
  }

  .hero-title {
    font-size: 2.2rem; letter-spacing:10px;
  }

  .hero-desc {
  	max-width:80%;
    font-size: 12px;
	margin:0 auto;
  }
  .hero-badge{font-size: 14px; margin-bottom:20px; padding: 6px 20px;}

  .hero-actions {
    justify-content: center;
  }

  .btn-hero {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  #platforms-img {
    transform: translate(0, 0);
  }

  .margin-section {
    margin-top: 30px;
  }

  .margin-block {
    margin-top: 25px;
  }

  #service-section .service-container {
    padding: 0;
    border-radius: 0;
  }

  #classroom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0;
  }

  .course-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .course-col {
    gap: 10px;
  }

  .course-list:first-of-type .course-col:nth-child(2) {
    display: none;
  }

  #course-more-btn {
    display: block;
    margin-top: 10px;
  }

  .course-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 380px;
    width: 100%;
    justify-self: center;
    order: -1;
  }

  .course-titles {
    font-size: 0.92rem;
    padding: 9px 10px;
  }

  .book-gallery {
    gap: 0;
  }

  .book-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  #exam {
    display: block;
  }

  .question-nums {
    display: none !important;
  }

  .question-panel {
    display: block;
    width: 100%;
    padding: 0 4px;
  }

  #exam-question-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .question-option {
    margin: 0 0 10px 0;
    font-size: 0.92rem;
    padding: 0;
  }

  .question-option .form-check-input {
    display: none;
  }

  .question-option .form-check-label {
    display: block;
    padding: 10px 14px;
    border: 1.5px solid #e0d6c8;
    border-radius: 8px;
    background: #fffdf8;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.4;
  }

  .question-option .form-check-label:hover {
    border-color: #d4a017;
    background: #fff9ef;
  }

  .question-option .form-check-label.text-success {
    border-color: #28a745;
    background: #eafbee;
  }

  .question-option .form-check-label.text-danger {
    border-color: #dc3545;
    background: #fef0f0;
  }

  .question-btns {
    display: none !important;
  }

  .question-nav {
    max-width: 100%;
  }

  .mobile-only-btn {
    display: inline-block;
  }

  #offcanvasScrollingLabel .ai-icon {
    font-size: 0.9rem;
  }

  #exam-explanation-text {
    font-size: 0.9rem;
  }

  #offcanvasScrollingLabel {
    font-size: 1rem;
  }

  #vocabulary .btn-lg {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .vocab-option {
    width: 100%;
    max-width: 400px;
    height: 60px;
    padding-left: 20px;
    font-size: 1rem;
  }

  .vocab-study-card {
    padding: 30px 20px;
  }

  .vocab-study-word {
    font-size: 2rem;
  }

  .vocab-study-cn {
    font-size: 1.4rem;
  }

  .vocab-input {
    width: 100%;
    max-width: 300px;
    font-size: 1.5rem;
  }

  .input-hin-container {
    width: 100%;
    max-width: 300px;
  }

  .vocab-cn {
    font-size: 1.5rem;
  }

  #prog-bar {
    font-size: 0.6em;
  }

  .service-icon-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .service-icon {
    width: 100%;
    height: auto;
  }

  .service-name {
    font-size: 0.88rem;
  }

  .mobile-only {
    display: block;
  }

  #breadcrumb-title {
    display: none;
  }

  #neon-label {
    right: 10%;
  }

  #news-banner {
    min-height: 190px; margin-top:90px;
  }

  .news-banner-title {
    font-size: 1.7rem;
  }

  .news-banner-subtitle {
    font-size: 0.92rem;
  }

  .news-view-shell {
    padding: 14px;
    border-radius: 10px;
  }

  .news-row {
    padding: 12px 12px;
  }

}

@media (max-width: 768px) {
  #logo-img {
    height: 55px;
    width: auto;
  }
}

@media (max-width: 575px) {
  #logo-img {
    height: 40px;
    width: auto;
  }

  .downloads-desktop {
    display: none;
  }

  header {
    
  }

  #header-container {
    justify-content: space-between;
  }

  #banner {
    
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #liveToast-container {
    display: none;
  }
  
  #footer-content {
    display: block;
    padding-top: 10px;
  }

  footer section {
    width: unset;
  }

  footer section:nth-child(2) {
    width: unset;
    margin: 0 auto;
  }

  #downloads-mobile {
    display: block;
  }

  #neon-label {
    scale: 0.5;
    right : 0;
  }

  .section-cta-btn {
    padding: 7px 16px;
    font-size: 0.92rem;
  }

  .service-icon-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .course-list {
    grid-template-columns: 1fr;
  }

  .course-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 8px;
  }

  .service-icon {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(80, 56, 0, 0.1);
  }

  .service-icon-img {
    aspect-ratio: 1 / 1;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  .service-name {
    font-size: 0.72rem;
    line-height: 1.25;
    padding: 6px 4px 8px;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .news-row-title {
    white-space: normal;
  }

  .google-map {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  footer section:nth-child(2) {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .google-map {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
}
