.mobile-menu-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Fix broken mobile touch/scroll from legacy CSS */
html,
body {
  touch-action: manipulation !important;
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.site_head0 {
  padding-top: 76px;
}

.menu_btn {
  display: none;
}

.menu_overlay {
  display: none;
}

.menu_close {
  display: none;
}

header .top_train8 .site-logo {
  width: auto;
  height: 45px;
  display: block;
  filter: drop-shadow(0 0 2px rgb(198, 208, 212, 0.5));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

header .top_train8:hover .site-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 5px rgb(198, 208, 212));
}

.footer_contact {
  margin-top: 1.5rem;
}

.footer_contact p {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.footer_contact a {
  color: rgb(198, 208, 212);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.footer_contact a:hover {
  opacity: 0.8;
}

.contacts4 .footer-phone-links a {
  color: rgb(198, 208, 212);
  text-decoration: underline;
  margin-right: 0.75rem;
}

/* Core Contact Details block */
.contacts4 .reach_experts3 {
  transform: none !important;
  display: flex !important;
  flex-direction: column;
  gap: 0;
  grid-template-columns: unset !important;
}

.contacts4 .reach_experts3 > .contact_intro,
.contacts4 .reach_experts3 > .contact_details_grid {
  grid-column: unset !important;
}

.contacts4 .reach_experts3:hover {
  transform: none !important;
}

.contacts4 .contact_intro {
  margin-bottom: 2rem;
}

.contacts4 .reach_experts3 > .contact_intro p,
.contacts4 .contact_intro p {
  border-left: 3px solid rgb(161, 173, 179);
  font-style: italic;
  padding-left: 1rem;
  max-width: 100%;
  margin-bottom: 0;
}

.contacts4 .contact_details_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 2rem;
  margin-top: 0.5rem;
}

.contacts4 .contact_item {
  background: rgb(234, 238, 239);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(198, 208, 212, 0.35);
}

.contacts4 .contact_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contacts4 .contact_item h5 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(161, 173, 179);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contacts4 .contact_item h5 svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: rgb(198, 208, 212);
}

.contacts4 .contact_item p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0;
  max-width: 100%;
  color: #000000;
}

.contacts4 .contact_phone p {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.contacts4 .contact_messenger_links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.contacts4 .contact_messenger_links a {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: rgb(198, 208, 212);
  color: #1a1a2e;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contacts4 .contact_messenger_links a:hover {
  background: rgb(161, 173, 179);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .contacts4 .contact_details_grid {
    grid-template-columns: 1fr 1fr;
  }

  .contacts4 .contact_address {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .contacts4 .reach_experts3 {
    padding: 2rem 1.25rem !important;
  }

  .contacts4 .contact_details_grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .contacts4 .contact_item {
    padding: 1.25rem 1rem;
  }

  .contacts4 h3 {
    font-size: 28px !important;
    margin-left: 0 !important;
  }
}

.reach_out5 form input[type="tel"],
.reach_out5 form input[type="email"] {
  border: none;
  color: #000000;
  transition: all 0.3s ease;
  font-size: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
  width: 100%;
  border-radius: 10px;
  background: rgb(234, 238, 239);
  box-sizing: border-box;
}

.reach_out5 form input[type="tel"]:focus,
.reach_out5 form input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgb(198, 208, 212);
}

.reach_out5 form input[type="tel"]::placeholder,
.reach_out5 form input[type="email"]::placeholder {
  color: #000000;
  opacity: 0.5;
}

.form-phone-error {
  display: block;
  color: #c0392b;
  font-size: 13px;
  margin: -12px 0 12px;
}

.join_our_community3 .input_holder {
  align-items: stretch;
}

.join_our_community3 input[type="email"] {
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .mobile-menu-checkbox,
  .menu_btn,
  .menu_overlay,
  .menu_close,
  .mobile-header-spacer {
    display: none !important;
  }

  header .mobile-header-bar {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
  }

  header .main_guide7 {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
  }

  header .header_mentor2.menu {
    order: 1;
    position: relative !important;
    right: auto !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: transparent !important;
    flex: 1;
  }

  header .top_train8 {
    order: 2;
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
  }

  .layer-container6,
  .site_head0 {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }

  img,
  svg,
  video {
    max-width: 100%;
  }

  header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: 100%;
    left: 0;
    right: 0;
  }

  header .nav_primary2 {
    overflow: visible !important;
  }

  header .container {
    padding: 10px 16px !important;
    margin: 0 auto;
  }

  header .main_guide7 {
    display: block !important;
    width: 100%;
    position: relative;
  }

  header .mobile-header-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    position: relative;
    z-index: 1005;
    gap: 8px;
  }

  .menu_btn {
    display: flex !important;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1006;
    padding: 10px;
    background: rgba(20, 20, 30, 0.75);
    border: 1px solid rgb(198, 208, 212, 0.45);
    border-radius: 8px;
    box-sizing: border-box;
  }

  .menu_btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgb(198, 208, 212);
    border-radius: 2px;
  }

  .mobile-header-spacer {
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  header .top_train8 {
    flex: 1 1 auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
    z-index: 1005;
    pointer-events: auto;
  }

  header .top_train8::before,
  header .top_train8::after {
    display: none !important;
    content: none !important;
  }

  header .top_train8 .site-logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 44px !important;
    width: auto !important;
    max-width: min(160px, 42vw) !important;
    object-fit: contain;
    margin: 0 auto;
  }

  header .header_mentor2.menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    left: auto !important;
    width: min(300px, 88vw) !important;
    max-width: 300px !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 80px 20px 24px !important;
    gap: 0 !important;
    z-index: 1004 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(160deg, rgba(20, 20, 30, 0.98) 0%, rgba(10, 10, 20, 0.99) 100%) !important;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.45) !important;
    transition: right 0.35s ease !important;
    box-sizing: border-box;
  }

  header .header_mentor2.menu::before,
  header .header_mentor2.menu::after {
    display: none !important;
    content: none !important;
  }

  header .header_mentor2.menu.active,
  .mobile-menu-checkbox:checked ~ .header_mentor2.menu {
    right: 0 !important;
  }

  header .head_teach6 {
    display: block !important;
    border-bottom: 1px solid rgba(198, 208, 212, 0.25) !important;
    text-align: left !important;
    padding: 14px 4px !important;
    width: 100% !important;
    opacity: 1 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    white-space: normal !important;
    word-break: break-word;
  }

  header .head_teach6:last-of-type {
    border-bottom: none !important;
  }

  .menu_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1003;
    cursor: pointer;
  }

  .mobile-menu-checkbox:checked ~ .menu_overlay {
    display: block;
  }

  .menu_close {
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    line-height: 32px;
    text-align: center;
    font-size: 26px;
    color: rgb(198, 208, 212);
    cursor: pointer;
    border: 1px solid rgb(198, 208, 212, 0.45);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
  }

  .site_head0 {
    padding-top: 76px;
  }

  .title_section0 {
    display: block !important;
    min-height: auto !important;
    padding: 1rem 0 2rem !important;
    overflow: hidden;
  }

  .title_section0 .page_open9 {
    width: 100%;
    max-width: 100%;
    transform: none !important;
  }

  .title_section0 .approach_edu1 > div {
    min-height: 260px !important;
    padding: 1.5rem 1rem !important;
  }

  .title_section0 .title_style_header {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
    line-height: 1.25 !important;
    word-break: break-word;
  }

  .course_summary6 {
    min-height: auto !important;
    overflow: hidden !important;
    padding: 3rem 0 !important;
  }

  .course_summary6 .skill_academy6 {
    position: relative !important;
    height: auto !important;
  }

  .course_summary6 .education_map3 {
    position: relative !important;
  }

  .plan_comparison2,
  .about_this4,
  .course_rewards5,
  .instructor_history9,
  .reach_out5,
  .join_our_community3,
  .contacts4,
  .about_company_page {
    overflow-x: hidden;
    max-width: 100%;
  }

  .plan_comparison2 .fee_offers0,
  .plan_comparison2 .pricing_options8,
  .about_this4 .study_pro1 div,
  .reach_out5 .request_card7,
  .reach_out5 .photo_cell5,
  .join_our_community3 .expert_track7 {
    transform: none !important;
    max-width: 100%;
  }

  .reach_out5 {
    padding: 60px 0 !important;
  }

  .reach_out5 .query_panel3 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .reach_out5 .photo_cell5 {
    height: 240px !important;
  }

  .reach_out5 .request_card7 {
    padding: 24px 18px !important;
  }

  .reach_out5 h2,
  .plan_comparison2 h2,
  .about_this4 h1,
  .course_rewards5 h1 {
    font-size: clamp(1.4rem, 5.5vw, 2rem) !important;
    word-break: break-word;
  }

  .cookies_overview0 {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .web_tracking6 {
    margin-left: 0;
    min-width: auto;
    width: 100%;
    font-size: 18px;
  }

  .cookie_notice_overlay5 {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  /* Footer mobile */
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  footer .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .story_spot7 {
    padding: 2.5rem 0 1.5rem !important;
    overflow: hidden;
  }

  .story_spot7 .container {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .story_spot7 .company_holder,
  .story_spot7 .training_zone8 {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: relative !important;
  }

  .story_spot7 .company_holder::before,
  .story_spot7 .company_holder::after {
    display: none !important;
  }

  .story_spot7 .company_holder h3 {
    font-size: 28px !important;
    margin-bottom: 1rem !important;
    word-break: break-word;
  }

  .story_spot7 .gift_card7 {
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-top: 1rem !important;
    word-break: break-word;
  }

  .footer_contact {
    margin-top: 1rem !important;
  }

  .footer_contact p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    word-break: break-word;
  }

  .footer_contact a {
    word-break: break-word;
  }

  .story_spot7 .training_zone8 {
    justify-content: flex-start !important;
    display: block !important;
  }

  .story_spot7 .main_master5 {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  footer .story_spot7 .header_mentor2 {
    position: static !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 1rem 0.75rem !important;
    margin: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    overflow: visible !important;
    transform: none !important;
  }

  footer .story_spot7 .header_mentor2::before,
  footer .story_spot7 .header_mentor2::after {
    display: none !important;
  }

  footer .story_spot7 .header_mentor2 h5 {
    font-size: 15px !important;
    margin-bottom: 0.75rem !important;
    padding-left: 0 !important;
    color: rgb(198, 208, 212) !important;
  }

  footer .story_spot7 .header_mentor2 .main_master5 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
  }

  footer .story_spot7 .header_mentor2 .main_master5 a {
    display: block !important;
    padding: 0.4rem 0 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: break-word;
    opacity: 0.9 !important;
  }

  .review_block3 {
    grid-column: unset !important;
    grid-row: auto !important;
    margin-top: 0 !important;
    padding: 1rem 0 1.25rem !important;
    width: 100% !important;
  }

  .review_block3 .art_portal5 {
    font-size: 14px !important;
    padding: 0 8px;
    word-break: break-word;
  }

  /* Text blocks — remove height clipping */
  .about_this4 .study_pro1 {
    padding: 1.25rem !important;
    overflow: visible !important;
  }

  .about_this4 .study_pro1 div {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    padding-right: 0 !important;
  }

  .about_this4 .study_pro1 h4 {
    font-size: 1.15rem !important;
    word-break: break-word;
  }

  .plan_comparison2 .fee_offers0,
  .plan_comparison2 .pricing_options8,
  .plan_comparison2 .annual_fee9 {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .plan_comparison2 .annual_fee9 p,
  .plan_comparison2 .payment_pricing5 p,
  .plan_comparison2 .learning_fees6 {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    word-break: break-word;
  }

  .plan_comparison2 .photo_cell5 {
    height: 180px !important;
    flex-shrink: 0;
  }

  .course_rewards5 ul li,
  .course_rewards5 .expert_track7,
  .course_rewards5 p,
  .course_summary6 .education_guide5,
  .course_summary6 .expert_track7 p,
  .instructor_history9 .career_box9,
  .join_our_community3 h4,
  .join_our_community3 .expert_track7,
  .secure_chamber3 p,
  .contacts4 p,
  .title_section0 p {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    word-break: break-word;
  }

  .instructor_history9 .review_slider5 {
    flex-direction: column !important;
  }

  .instructor_history9 .photo_cell5 {
    height: 240px !important;
    clip-path: none !important;
  }

  .instructor_history9 .career_box9 {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .join_our_community3 .expert_track7 {
    padding: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  header .top_train8 .site-logo {
    height: 40px !important;
    max-width: min(140px, 50vw) !important;
  }

  header .header_mentor2.menu {
    width: min(280px, 92vw) !important;
    max-width: 280px !important;
  }
}

/* About company page */
/* Inner page headers must not inherit fixed site header styles */
.site_head0 header,
.about_company_page .about_hero {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  z-index: auto !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: transparent !important;
  border-bottom: none !important;
}

.about_company_page {
  background: linear-gradient(135deg, rgb(234, 238, 239) 0%, rgba(245, 248, 255, 0.95) 100%);
  padding: 3rem 0 5rem;
}

.about_company_page .about_hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.about_company_page .about_hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  color: #000000;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about_company_page .about_hero h1::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: rgb(198, 208, 212);
  border-radius: 2px;
  margin: 1rem auto 0;
}

.about_company_page .about_hero p {
  font-size: 17px;
  line-height: 1.75;
  color: #000000;
  opacity: 0.85;
}

.about_company_page .about_split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about_company_page .about_split--reverse {
  direction: rtl;
}

.about_company_page .about_split--reverse > * {
  direction: ltr;
}

.about_company_page .about_split_photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: block;
}

.about_company_page .about_split_text h2 {
  font-size: 28px;
  font-weight: 700;
  color: rgb(161, 173, 179);
  margin-bottom: 1rem;
}

.about_company_page .about_split_text p {
  font-size: 16px;
  line-height: 1.75;
  color: #000000;
  margin-bottom: 1rem;
}

.about_company_page .about_values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.about_company_page .about_value_card h3 {
  font-size: 20px;
  font-weight: 700;
  color: rgb(198, 208, 212);
  margin-bottom: 0.75rem;
}

.about_company_page .about_value_card p {
  font-size: 15px;
  line-height: 1.65;
  color: #000000;
}

.about_company_page .about_mission {
  text-align: center;
  background: linear-gradient(125deg, rgb(198, 208, 212) 0%, rgb(161, 173, 179) 100%);
  border-radius: 14px;
  padding: 3rem 2rem;
  color: #1a1a2e;
}

.about_company_page .about_mission h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about_company_page .about_mission p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.about_company_page .about_mission a {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: #1a1a2e;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.about_company_page .about_mission a:hover {
  opacity: 0.85;
}

@media (max-width: 991px) {
  .about_company_page .about_split,
  .about_company_page .about_values {
    grid-template-columns: 1fr;
  }

  .about_company_page .about_split--reverse {
    direction: ltr;
  }

  .about_company_page .about_split_photo img {
    height: 320px;
  }
}

@media (max-width: 575px) {
  .about_company_page {
    padding: 2rem 0 3rem;
  }

  .about_company_page .about_values {
    padding: 1.5rem;
  }
}
