/*Css StyleSheet*/

/* Fonts */
@font-face {
  font-family: Vazirmatn;
  font-weight: normal;
  font-feature-settings: "ss01" on;
  src: url(../fonts/Arad-RegularDots2.woff2);
}

@font-face {
  font-family: Vazirmatn;
  font-weight: bold;
  font-feature-settings: "ss01" on;
  src: url(../fonts/Arad-ExtraBoldDots2.woff2);
}

/* Bootstrap Icons */
@font-face {
  font-family: Bootstrap-icons;
  src:
    url(../fonts/BootstrapIcons/Woff2/bootstrap-icons.woff2),
    url(../fonts/BootstrapIcons/Woff/bootstrap-icons.woff);
}

/* Variables */
:root {
  /* Primary Colors */
  --primary-50: #f3f3fd;
  --primary-100: #dbdbf6;
  --primary-200: #9797ca;
  --primary-300: #6868c2;
  --primary-400: #4a4ab6;
  --primary-500: #221da4;
  --primary-600: #1d1d8b;
  --primary-700: #1a1a7e;
  --primary-800: #151563;
  --primary-900: #10104c;
  --primary-950: #0c0c3a;

  /* Backward-compatible semantic aliases used by legacy templates. */
  --primary: var(--primary-500);
  --c700: var(--primary-700);
  --secondary-text: var(--gray-600);

  /* Secondary Colors */
  --secondary-50: #f6fefc;
  --secondary-100: #e7faf6;
  --secondary-200: #ccf1eb;
  --secondary-300: #a9e5db;
  --secondary-400: #87d8c8;
  --secondary-500: #68cab6;
  --secondary-600: #4fbfa7;
  --secondary-650: #42aa94;
  --secondary-700: #2e8a77;
  --secondary-800: #1e6458;
  --secondary-900: #133f37;
  --secondary-950: #09241f;

  /* Grayscale Colors */
  --gray-50: #fafbfc;
  --gray-100: #f4f6f9;
  --gray-200: #eaedf2;
  --gray-300: #dce1e8;
  --gray-400: #c5cad3;
  --gray-500: #98a2b3;
  --gray-600: #667085;
  --gray-700: #445066;
  --gray-800: #2a3647;
  --gray-900: #162033;
  --gray-950: #0f172a;

  /* Social Medias Colors */
  --soroush: #196fef;
  --bale: #0cbc8d;
  --telegram: #24a1de;
  --eitaa: #ff8100;
  --instagram: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);

  /* Most Popular Colors */
  --white: #ffffff;
  --black: #000000;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Gradients */
  --box-bg: linear-gradient(45deg, #b3e8d9, #eef9f6);
  --box-bg-secondary: linear-gradient(45deg, var(--secondary-600), #7d76b2);
  --box-bg-secondary-light: linear-gradient(45deg, #8e87c5, #ecebf4);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --box-shadow: -1px 1px 26px 5px rgba(21, 21, 99, 0.08);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-xxl: 32px;
  --radius-full: 9999px;

  /* Transition */
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  transition: var(--transition);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Vazirmatn;
  font-weight: normal;
  background-color: var(--gray-100);
  color: var(--gray-800);
  line-height: 2;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  line-height: 1.4;
  color: var(--primary-600);
}

h2 span {
  color: var(--secondary-650);
}

h1 {
  font-size: 50px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 36px;
}

h4 {
  font-size: 23px;
}

h5 {
  font-size: 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

section {
  padding: 70px 0;
}

.box_caption {
  font-size: 13.5px;
}

/* Buttons */
.primary_btn {
  font-family: Vazirmatn;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 16px 6px 16px;
  font-size: 16px;
  color: var(--white);
  background-color: var(--primary-500);
  border-radius: 9px;
  transition: var(--transition);
}

.primary_btn .bi-chevron-left {
  font-size: 14px;
  transform: translate(3px);
  transition: var(--transition);
  opacity: 0;
  height: fit-content;
  display: flex;
}

.primary_btn_text,
.section_more_btn_text {
  transform: translate(-9px);
  transition: var(--transition);
}

.primary_btn:hover {
  background-color: var(--primary-600);
}

.primary_btn:hover .bi-chevron-left,
.section_more_btn:hover .bi-chevron-left {
  opacity: 1;
  transform: translate(0);
}

.primary_btn:hover .primary_btn_text,
.section_more_btn:hover .section_more_btn_text {
  transform: translate(0);
}

.section_more_btn {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 2.5px 8px;
  font-size: 14px;
  color: var(--secondary-700);
  border-radius: 6px;
  transition: var(--transition);
  border: 1.2px solid var(--secondary-700);
}

.section_more_btn .bi-chevron-left {
  font-size: 12px;
  transform: translate(3px);
  transition: var(--transition);
  opacity: 0;
  height: fit-content;
  display: flex;
}

/* Section Description */
.section_description_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 50%;
  margin: auto;
  margin-bottom: 60px;
}

.section_title_container {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.section_caption {
  text-align: center;
}

/*Slick Setting */
.slick-track {
  padding: 14px 0 26px 0;
}

.slick-dots {
  display: flex;
  justify-content: center;
  margin: 0;
  list-style: none;
  transform: translateY(-1.1rem);
}

.slick-dots li {
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: -14px;
  width: 0.75rem;
  height: 0.75rem;
}

.slick-dots li button {
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border-radius: 100px;
  background-color: var(--gray-400) !important;
  text-indent: -9999px;
}

li.slick-active button {
  transition: all ease 0.3s;
  background-color: var(--secondary-650) !important;
}

/* Header */
header {
  position: fixed;
  top: 48px;
  right: 0;
  left: 0;
  display: flex;
  margin: auto;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 52px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: 2px solid rgb(255, 255, 255, 0);
  z-index: 9999;
}

.header_logo {
  width: 70px;
  display: flex;
}

.header_logo path {
  fill: var(--white);
}

.header_navbar {
  display: flex;
  align-items: center;
  gap: 40px;
  color: var(--white);
}

.header_nav_link {
  position: relative;
}

.header_navbar .header_nav_item .header_nav_link::after {
  content: "";
  position: absolute;
  right: 0px;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transform-origin: bottom left;
  transition: transform 0.5s ease;
  transform: scaleX(0);
}

.header_navbar .header_nav_link:hover::after {
  transform-origin: bottom right;
  transform: scaleX(1);
}

.header_nav_link_selected {
  color: var(--secondary-600);
}

.header_nav_link_selected::after {
  background-color: transparent !important;
}

.darkColor .header_nav_item .header_nav_link::after {
  background-color: var(--gray-600);
}

@keyframes darkColor {
  100% {
    color: var(--gray-700);
    fill: var(--gray-700);
  }
}

.darkColor {
  animation: darkColor 0.3s;
  animation-fill-mode: forwards;
}

@keyframes lightColor {
  100% {
    color: var(--white);
    fill: var(--white);
  }
}

.lightColor {
  animation: lightColor 0.3s;
  animation-fill-mode: forwards;
}

@keyframes showUp {
  100% {
    transform: translateY(-32px);
    border: 2px solid rgb(255, 255, 255, 0.5);
    background-color: rgb(255, 255, 255, 0.5);
  }
}

.showUp {
  animation: showUp 0.3s;
  animation-fill-mode: forwards;
}

@keyframes showDown {
  0% {
    transform: translateY(-32px);
    border: 2px solid rgb(255, 255, 255, 0.5);
    background-color: rgb(255, 255, 255, 0.5);
  }

  33% {
    border: 2px solid rgb(255, 255, 255, 0.35);
    background-color: rgb(255, 255, 255, 0.35);
  }

  66% {
    border: 2px solid rgb(255, 255, 255, 0.15);
    background-color: rgb(255, 255, 255, 0.15);
  }

  100% {
    transform: translateY(0px);
    border: 2px solid rgb(255, 255, 255, 0);
    background-color: rgb(255, 255, 255, 0);
  }
}

.showDown {
  animation: showDown 0.3s;
  animation-fill-mode: forwards;
}

/* Hero Section */
.hero {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: radial-gradient(at 25% 100%,
      var(--primary-500),
      var(--primary-950) 60%);
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  margin: 0;
  padding: 0;
  z-index: -2;
}

.hero_container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-image: url(../imgs/Hero-navy.png);
  background-position: top;
  background-size: cover;
  overflow: hidden;
  margin: auto;
  transition: all 0.1s linear;
  will-change: clip-path;
  z-index: -2;
}

.hero_container {
  clip-path: inset(160px 360px round 40px);
}

.hero_bg_overlay {
  position: absolute;
  background-color: rgb(20, 26, 25, 0.1);
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero_content_container {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 80%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 2;
  color: var(--white);
  text-align: center;
}

.hero_content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding-top: 10px;
}

.hero_title,
.hero_content h1 {
  color: var(--white);
}

.hero_caption,
.hero_content p {
  font-size: 18px;
}

.hero_content_container .primary_btn {
  color: var(--white);
  background-color: var(--secondary-600);
  z-index: 1;
}

/* ── 404 / Not Found Page ── */
.not_found_hero {
  align-items: center;
}

.not_found_code {
  font-size: 130px;
  font-weight: bold;
  line-height: 1;
  background: linear-gradient(45deg, var(--secondary-300), var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.not_found_section {
  padding: 80px 0;
}

.not_found_section_title {
  text-align: center;
  font-size: 24px;
  color: var(--primary-700);
  margin-bottom: 40px;
}

.not_found_links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.not_found_link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-700);
  transition: var(--transition);
  outline: 1px solid transparent;
}

.not_found_link i {
  font-size: 24px;
  color: var(--secondary-650);
}

.not_found_link:hover {
  transform: translateY(-4px);
  outline-color: var(--primary-300);
}

@media (max-width: 768px) {
  .not_found_code {
    font-size: 90px;
  }

  .not_found_links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .not_found_links {
    grid-template-columns: 1fr;
  }
}

.hero_white_space {
  width: 100%;
  height: 120vh;
}

/*HOME PAGE*/

/* About Section */
.about_section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about_section_content {
  flex-basis: 58%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about_section_img {
  flex-basis: 40%;
}

.about_section_img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about_section_img img {
  width: 70%;
  filter: drop-shadow(-9px 9px 15px rgb(29, 29, 164, 0.3));
}

/* Services Section */
.services_section_boxs_container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 20px;
}

.services_section_box {
  padding: 30px 50px 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  border-radius: 18px;
}

.services_section_box_title_container {
  position: relative;
}

.services_section_box_title_container i {
  position: absolute;
  top: 4px;
  right: -30px;
  color: var(--secondary-600);
  font-size: 21px;
  display: flex;
}

.services_section_box_content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.services_section_box_br_line {
  height: 3px;
  border-radius: var(--radius-full);
  background-image: linear-gradient(90deg,
      var(--primary-300),
      var(--primary-800));
  width: 33%;
}

.services_section_box_btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-500);
}

.services_section_box_btn i {
  display: flex;
}

/* Statistics Section */
.statistics_section_boxs_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.statistics_section_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  flex-basis: 25%;
  border-radius: 24px;
  height: 240px;
  box-shadow: var(--box-shadow);
}

.statistics_section_box:nth-child(even) {
  background-color: var(--gray-100);
}

.statistics_section_box:nth-child(even),
.statistics_section_box_caption {
  font-size: 16px;
}

.statistics_section_box:nth-child(even) .statistics_section_box_title {
  font-size: 52px;
  color: var(--secondary-650);
}

.statistics_section_box:nth-child(odd) .statistics_section_box_title {
  color: var(--white);
}

.statistics_section_box:nth-child(odd) .statistics_section_box_caption {
  font-size: 30px;
  color: var(--primary-200);
}

.statistics_section_box:nth-child(1) {
  background-image: linear-gradient(45deg,
      var(--primary-800),
      var(--primary-500));
  color: var(--white);
}

.statistics_section_box:nth-child(2) {
  flex-basis: 30%;
}

.statistics_section_box:nth-child(3) {
  padding-top: 80px;
  background-image: linear-gradient(-45deg,
      var(--primary-800),
      var(--primary-500));
}

.statistics_section_box:nth-child(3) .statistics_section_box_caption {
  font-size: 24px;
}

.statistics_section_box:nth-child(3) .statistics_section_box_title {
  font-size: 48px;
}

.statistics_section_box:nth-child(4) {
  flex-basis: 20%;
}

/* Events Section */
.events_section_boxs_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.events_section_box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin: 0 10px;
}

.events_section_box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  background: linear-gradient(57deg,
      var(--secondary-500) 20%,
      var(--primary-500),
      var(--secondary-500) 80%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: 24px;
  pointer-events: none;
  z-index: -1;
}

.events_section_box_content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.events_section_box_img {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}

.events_section_box_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.events_section_box:hover .events_section_box_img img,
.courses_section_box:hover .courses_section_box_img img,
.news_section_box:hover .news_section_box_img img {
  transform: scale(110%);
}

.events_section_box_status {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  right: 14px;
  font-weight: bold;
  font-size: 14px;
  color: var(--secondary-650);
  background-color: var(--white);
  padding: 3px 10px;
  border-radius: 6px;
}

.events_section_box_information_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.events_section_box .primary_btn {
  width: 100%;
}

.events_section_box_information {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.events_section_box_information i {
  font-size: 14px;
  color: var(--secondary-650);
  display: flex;
}

.events_section_box_information:last-child i {
  font-size: 13px;
}

/* Products Section */
.products_section {
  background-image: url(../imgs/Product-section-BG02.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  height: 100vh;
  padding: 70px 0;
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: center;
}

.products_section_boxs_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.products_section_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background-color: var(--gray-100);
  border-radius: var(--radius-xl);
  text-align: center;
  margin: 0 10px;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.products_section_box_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.products_secttion_box_logo {
  width: 70px;
}

.products_section_box .primary_btn {
  width: 100%;
}

/* Courses Section */
.courses_section_boxs_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.courses_section_box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 10px;
  flex-basis: 25%;
  padding: 20px;
  background-color: var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--box-shadow);
}

.courses_section_box_content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.courses_section_box_img {
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.courses_section_box_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.courses_section_box_information_container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.courses_section_box .primary_btn {
  width: 100%;
}

.courses_section_box_information {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.courses_section_box_information i {
  font-size: 14px;
  color: var(--secondary-650);
  display: flex;
}

/* News Section */
.news_section {
  padding-bottom: 160px;
}

.news_section_boxs_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.news_section_box {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--box-shadow);
  gap: 20px;
  margin: 0 10px;
}

.news_section_box_img {
  flex-basis: 40%;
  width: 40%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.news_section_box_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.news_section_box_content {
  flex-basis: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news_section_box_title {
  line-height: 1.6;
  color: var(--secondary-800);
}

.news_section_box .primary_btn {
  width: 100%;
  background-color: var(--secondary-600);
}

.news_section_box .primary_btn:hover {
  background-color: var(--secondary-700);
}

/* More About Us Section */
.more_about_us {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 0;
}

.more_about_us_container {
  position: relative;
  width: 100%;
  height: 100%;
}

.more_about_us_bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(at 25% 100%,
      var(--primary-500),
      var(--primary-950) 60%);
  transition: opacity 0.1s ease;
}

.more_about_us_bg_white {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  width: 100%;
  height: 100%;
  background-color: rgb(244, 246, 249, 0.5);
  transform: translateY(100vh);
  transition: transform 0.1s ease;
}

.more_about_us .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 60px;
  gap: 22px;
}

.more_about_us_img {
  width: 21vw;
  will-change: transform, opacity;
  transform: translateX(0) scale(1);
  transition:
    transform 0.1s ease,
    opacity 0.1s ease;
}

.more_about_us_img img {
  filter: drop-shadow(-9px 9px 80px rgb(34, 29, 164, 0.8));
  transform: translateX(-20px);
  will-change: filter;
}

.more_about_us_content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.more_about_us_title,
.more_about_us_links {
  color: var(--gray-100);
  z-index: 2;
  filter: drop-shadow(-4px 4px 8px rgba(9, 6, 88, 0.6));
}

.more_about_circle_wrapper {
  position: relative;
}

.more_about_us_circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  width: 400px;
  height: 400px;
  background-color: var(--primary-400);
  aspect-ratio: 1/1;
  border-radius: 100%;
  filter: blur(80px);
  z-index: -1;
}

.more_about_us_links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  font-size: 22px;
}

/* Partners Section */
.partenrs_section {
  width: 100%;
}

.partners_section_logos_container_line {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.partner_logo {
  display: flex;
  height: 60px;
  opacity: 0.6;
  margin: 0 10px;
}

.partner_logo img {
  height: 100%;
}

/* Team Section */
.team_section {
  position: relative;
}

.team_section_boxs_container {
  display: grid;
  grid-template-columns: 20% 20% 20% 20% 20%;
  grid-row-gap: 20px;
  grid-column-gap: 20px;
}

.team_section_boxs_carousel_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.team_section_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  gap: 16px;
  height: 300px;
  text-align: center;
}

.team_section_box_img {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.team_section_box_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team_section_boxs_column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team_section_boxs_column:nth-child(1),
.team_section_boxs_column:nth-child(5) {
  transform: translateY(300px);
}

.team_section_boxs_column:nth-child(2),
.team_section_boxs_column:nth-child(4) {
  transform: translateY(150px);
}

.team-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1300px;
  height: 1300px;
  background-color: var(--primary-200);
  border-radius: 100%;
  opacity: 0.22;
  filter: blur(80px);
  z-index: -1;
}

/* SubBrands Section */
.subBrands_section_box_container {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-row-gap: 40px;
  grid-column-gap: 20px;
}

.subBrands_section_box {
  flex-basis: 23%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.subBrands_section_box_img {
  width: 60px;
  height: 60px;
}

.subBrands_section_box_img img {
  width: 100%;
}

/* Footer */
footer {
  position: relative;
  background-color: var(--gray-100);
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  box-shadow: var(--box-shadow);
  width: 100%;
  padding-top: 72px;
  z-index: 3;
}

.footer_container {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  grid-row-gap: 80px;
}

.footer_logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer_logo_img {
  width: 100px;
}

.footer_logo_img .secondary_logo {
  fill: var(--secondary-600);
}

.footer_logo_img g path {
  fill: var(--primary-600);
}

.footer_logo_name {
  font-weight: normal;
  width: 180px;
  font-size: 32px;
}

.footer_contact {
  display: flex;
  align-items: center;
  gap: 48px;
}

.footer_contact_content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer_contact_social {
  display: flex;
  gap: 8px;
}

.contact_social_box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  background-color: var(--primary-900);
  border-radius: var(--radius-sm);
  transition: all ease 0.3s;
}

.contact_social_box i {
  display: flex;
  color: var(--white);
  font-size: 20px;
}

.footer_links {
  display: flex;
  gap: 100px;
}

.footer_links_container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer_links_wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer_newsletter_box {
  position: relative;
  background-image: linear-gradient(45deg,
      var(--primary-800),
      var(--primary-500));
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer_newletter_box_logo {
  position: absolute;
  width: 120px;
  top: -60px;
  left: -60px;
}

.footer_newletter_box_logo img {
  filter: drop-shadow(-9px 9px 15px rgb(29, 29, 164, 0.3));
}

.footer_newsletter_box_title {
  color: var(--white);
  padding-top: 8px;
  font-size: 22px;
}

.footer_newsletter_box_form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer_newsletter_box_form_input {
  font-size: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: Vazirmatn;
  border: 1.5px solid var(--white);
  background-color: rgb(255, 255, 255, 0.4);
  color: var(--white);
}

.footer_newsletter_box_form_input::placeholder {
  color: rgb(255, 255, 255, 0.8);
}

.footer_newsletter_box_form .primary_btn {
  font-family: Vazirmatn;
  width: 100%;
  color: var(--primary-700);
  background-color: var(--white);
  padding: 10px;
  cursor: pointer;
}

.footer_copy_write {
  text-align: center;
  padding: 30px;
}

/*Background Designs*/
.bg_wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -10;
  pointer-events: none;
}

.bg_designs {
  top: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.circle01 {
  position: absolute;
  top: 1800px;
  right: -420px;
  width: 83vw;
  height: 83vw;
  background-color: var(--primary-200);
  border-radius: 100%;
  opacity: 0.22;
  filter: blur(80px);
}

.circle02 {
  position: absolute;
  top: 400px;
  left: -420px;
  width: 76vw;
  height: 76vw;
  background-color: var(--primary-200);
  border-radius: 100%;
  filter: blur(80px);
  opacity: 0.22;
}

.circle04 {
  position: absolute;
  top: 4300px;
  right: -100px;
  width: 73vw;
  height: 73vw;
  background-color: var(--primary-200);
  border-radius: 100%;
  filter: blur(90px);
  opacity: 0.22;
}

/*Home page Animations*/
/* Fade Up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s ease,
    transform 1.8s ease;
  transition-delay: 0.2s;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* About Image Float Animation */
.about_section_img {
  animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-16px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Box Hover Effects */
.events_section_box,
.products_section_box,
.courses_section_box,
.news_section_box,
.news_featured_main,
.team_section_box,
.product_info_card,
.product_team_card {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.events_section_box:hover,
.products_section_box:hover,
.courses_section_box:hover,
.news_section_box:hover,
.news_featured_main:hover,
.team_section_box:hover,
.info_card:hover,
.organizer_card:hover,
.product_info_card:hover,
.product_team_card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 40px -12px rgba(21, 21, 99, 0.2);
  outline-color: var(--primary-300);
}

.events_section_box:hover::before,
.products_section_box:hover::before,
.courses_section_box:hover::before,
.news_section_box:hover::before,
.news_featured_main:hover::before,
.team_section_box:hover::before {
  opacity: 1;
}

.events_section_box,
.products_section_box,
.courses_section_box,
.news_section_box,
.news_featured_main,
.team_section_box,
.info_card,
.organizer_card,
.product_info_card,
.product_team_card {
  outline: 1px solid transparent;
}

.events_section_box {
  outline: none;
}

.events_section_box:hover {
  outline: none;
}

.products_section_box {
  border-color: rgba(255, 255, 255, 0.1);
}

.products_section_box:hover {
  border-color: var(--primary-300);
}

/*End HOME PAGE*/

/*INSIDE EVENT PAGE*/
/* Event Hero */

.hero_meta {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-us .hero_meta {
  gap: 10px;
}

.hero_meta span,
.hero_meta a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.hero_meta i {
  display: flex;
  font-size: 16px;
  color: var(--secondary-600);
}

.hero_meta .contact_social_box i,
.hero_meta svg {
  font-size: 20px;
  color: var(--secondary-650);
}

.contact_social_box svg {
  width: 20px;
  height: 20px;
}

.hero_meta .contact_social_box {
  background-color: var(--white);
}

.contact_social_box:hover i,
.contact_social_box:hover svg {
  color: var(--white);
}

.social_soroush:hover {
  background-color: var(--soroush);
}

.social_bale:hover {
  background-color: var(--bale);
}

.social_telegram:hover {
  background-color: var(--telegram);
}

.social_instagram:hover {
  background-image: var(--instagram);
}

.social_eitaa:hover {
  background-color: var(--eitaa);
}

/* Event White Space */
.event_white_space {
  height: 80px;
}

/* Event Details Section */
.event_details_section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.event_details_section {
  margin-bottom: 40px;
}

.page_details_content h2 {
  margin-bottom: 20px;
}

.page_details_content p {
  line-height: 2;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.information_keys {
  padding-top: 40px;
}

.info_cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.info_card {
  flex-basis: 24%;
  margin: 0 10px;
  background-color: var(--gray-100);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  outline: 1px solid transparent;
  cursor: default;
  box-shadow: var(--box-shadow);
}

.inside-service .info_cards {
  flex-wrap: wrap;
}

.inside-service .info_card {
  flex-basis: 48.6%;
  margin: 0;
}

.info_card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info_card .info_icon {
  width: 48px;
  height: 48px;
  background: var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info_card .info_icon i {
  font-size: 24px;
  color: var(--secondary-600);
}

.info_card .info_text h5 {
  font-size: 14px;
  font-weight: normal;
  color: var(--gray-800);
}

.info_card .info_text p {
  font-weight: bold;
  font-size: 16px;
  color: var(--primary-600);
}

.info_card i {
  display: flex;
}

/* Organizers Section */
.organizers_grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.organizer_card {
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 10px;
}

.organizer_card .organizer_img {
  width: 60px;
  height: 60px;
}

.organizer_card .organizer_img img {
  width: 100%;
}

.organizer_card h5 {
  font-size: 16px;
  margin-bottom: 4px;
}

.organizer_card p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Countdown Section */
.countdown_section {
  margin: 60px auto;
  background-image: linear-gradient(45deg,
      var(--primary-800),
      var(--primary-500));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.countdown_section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 70%);
  animation: countdownGlow 8s ease-in-out infinite;
}

@keyframes countdownGlow {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10%, 5%);
  }
}

.countdown_section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.countdown_section h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.countdown_section .section_caption {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 40px;
}

.countdown_wrapper {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.countdown_item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  min-width: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.countdown_item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}

.countdown_item .number {
  font-size: 48px;
  font-weight: bold;
  color: var(--white);
  display: block;
  line-height: 1;
}

.countdown_item .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  display: block;
}

/* Registration Form Section */

.registration_section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.registration_form {
  padding: 40px;
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.registration_form .form_group {
  margin-bottom: 20px;
}

.registration_form .form_group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.registration_form .form_group input,
.registration_form .form_group select,
.registration_form .form_group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary-100);
  font-family: Vazirmatn;
  font-size: 15px;
  background: var(--white);
  transition: all 0.3s ease;
}

.registration_form .form_group input:focus,
.registration_form .form_group select:focus,
.registration_form .form_group textarea:focus {
  border-color: var(--primary-500);
}

.registration_form .form_group textarea {
  min-height: 100px;
  resize: vertical;
}

.registration_form .primary_btn {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  cursor: pointer;
}

/* ── Registration form states (به زودی / به پایان رسیده) ── */
.registration-not-started {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 40px 24px;
  background: var(--box-bg);
  border-radius: var(--radius-lg);
}

.registration-not-started .rns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: var(--radius-full);
  background: linear-gradient(45deg, var(--secondary-500), var(--secondary-700));
  box-shadow: var(--shadow-md);
  color: var(--white);
  font-size: 34px;
}

.registration-not-started .rns-content h5 {
  font-size: 22px;
  color: var(--primary-700);
}

.registration-not-started .rns-content p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 2;
}

.registration-not-started .rns-content strong {
  color: var(--secondary-700);
}

/* فرم محو (ghost) پشت پیام — ثبت‌نام به پایان رسیده */
.registration-ended-overlay {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.registration-ended-bg {
  filter: blur(7px);
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
  transform: scale(1.03);
}

.registration-ended-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}

.registration-ended-text i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  color: var(--gray-600);
  font-size: 30px;
}

.registration-ended-text span {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-700);
}

.registration_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.registration_info h3 {
  margin-bottom: 12px;
}

.registration_info .info_item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  outline: 1px solid transparent;
}

.registration_info .info_item:hover {
  transform: translateX(-8px);
  outline-color: var(--primary-300);
}

.registration_info .info_item i {
  font-size: 24px;
  color: var(--secondary-650);
}

.registration_info .info_item .info_text h5 {
  font-size: 15px;
}

.registration_info .info_item .info_text p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Gallery */
.event_gallery .container {
  padding: 0 70px;
}

.gallery_main_boxs_container .slick-track {
  padding: 0;
}

.gallery_nav_boxs_container .slick-track {
  padding-top: 0;
}

.event_gallery .section_description_container {
  margin-bottom: 20px;
}

.gallery_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery_main_boxs_container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery_main_box {
  width: 100%;
  height: 100%;
  aspect-ratio: 10/5;
  border-radius: var(--radius-xxl);
  overflow: hidden;
  display: flex;
}

.gallery_main_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery_nav_boxs_container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery_nav_box {
  display: flex;
  width: 20%;
  aspect-ratio: 10/5.6;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 0 6px;
  cursor: pointer;
}

.gallery_nav_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .event_hero_container {
    clip-path: inset(40px 100px round 30px);
  }

  .event_hero_content h1 {
    font-size: 36px;
  }

  .event_details_section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .registration_section .container {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }

  .registration_form {
    width: 100%;
  }

  .registration_info {
    width: 100%;
  }

  .organizers_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown_wrapper {
    gap: 16px;
    flex-wrap: wrap;
  }

  .countdown_item {
    min-width: 80px;
    padding: 16px 24px;
  }

  .countdown_item .number {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .event_hero {
    height: 60vh;
    min-height: 400px;
  }

  .event_hero_container {
    clip-path: inset(20px 40px round 20px);
    padding: 20px;
  }

  .event_hero_content h1 {
    font-size: 28px;
  }

  .event_hero_content p {
    font-size: 15px;
  }

  .event_hero_content .event_meta {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }

  .event_hero_content .event_meta span {
    font-size: 14px;
  }

  .info_cards {
    grid-template-columns: 1fr;
  }

  .organizers_grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .organizer_card {
    padding: 16px;
  }

  .organizer_card .organizer_img {
    width: 60px;
    height: 60px;
  }

  .countdown_section {
    padding: 40px 0;
  }

  .countdown_item {
    min-width: 60px;
    padding: 12px 16px;
  }

  .countdown_item .number {
    font-size: 28px;
  }

  .registration_form {
    padding: 24px;
  }

  .event_white_space {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .event_hero {
    height: 50vh;
    min-height: 350px;
  }

  .event_hero_container {
    clip-path: inset(16px 20px round 16px);
    padding: 16px;
  }

  .event_hero_content h1 {
    font-size: 22px;
  }

  .organizers_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .countdown_wrapper {
    gap: 10px;
  }

  .countdown_item {
    min-width: 50px;
    padding: 10px 12px;
  }

  .countdown_item .number {
    font-size: 20px;
  }

  .countdown_item .label {
    font-size: 11px;
  }

  .registration_info .info_item {
    padding: 12px 16px;
  }

  .info_card {
    padding: 14px 18px;
  }

  .info_card .info_icon {
    width: 40px;
    height: 40px;
  }

  .info_card .info_icon i {
    font-size: 18px;
  }

  .info_card .info_text p {
    font-size: 14px;
  }

  .info_card .info_text h5 {
    font-size: 13px;
  }
}

/*End INSIDE EVENT*/

/*CONTACT US*/

/* Contact Info Boxes */
.contact_info_grid {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact_info_box {
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: 1px solid transparent;
  cursor: default;
}

.contact_info_box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  outline-color: var(--primary-300);
}

.contact_info_box .info_icon {
  width: 64px;
  height: 64px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.3s ease;
}

.contact_info_box i {
  display: flex;
}

.contact_info_box:hover .info_icon {
  background: var(--primary-600);
}

.contact_info_box:hover .info_icon i {
  color: var(--white);
}

.contact_info_box .info_icon i {
  font-size: 28px;
  color: var(--secondary-600);
  transition: all 0.3s ease;
}

.contact_info_box h5 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--primary-900);
}

.contact_info_box p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
}

.contact_info_box .info_link {
  color: var(--primary-600);
  font-weight: bold;
  transition: color 0.3s ease;
}

.contact_info_box .info_link:hover {
  color: var(--primary-700);
}

/* Contact Form & Map Section */
.contact_form_section .container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}

/* Contact Form */
.contact_form_wrapper {
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  padding: 40px;
  border-radius: var(--radius-xl);
}

.contact_form_wrapper h3 {
  margin-bottom: 8px;
  color: var(--primary-900);
}

.contact_form_wrapper .form_description {
  color: var(--gray-500);
  margin-bottom: 24px;
  font-size: 15px;
}

.contact_form_wrapper .form_group {
  margin-bottom: 20px;
}

.contact_form_wrapper .form_group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.input_required {
  color: var(--danger);
}

.contact_form_wrapper .form_group input,
.contact_form_wrapper .form_group select,
.contact_form_wrapper .form_group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary-100);
  font-family: Vazirmatn;
  font-size: 15px;
  background: var(--white);
  transition: all 0.3s ease;
}

.contact_form_wrapper .form_group input:focus,
.contact_form_wrapper .form_group select:focus,
.contact_form_wrapper .form_group textarea:focus {
  border-color: var(--primary-500);
}

.contact_form_wrapper .form_group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact_form_wrapper .form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact_form_wrapper .primary_btn {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  margin-top: 8px;
  cursor: pointer;
}

/* Location Section */
.contact_location_section .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact_location_content h3 {
  color: var(--primary-900);
  margin-bottom: 16px;
}

.contact_location_content p {
  color: var(--gray-600);
  line-height: 2;
  font-size: 16px;
  margin-bottom: 20px;
}

.contact_location_content .location_details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact_location_content .location_details .detail_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-image: var(--box-bg);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact_location_content .location_details .detail_item:hover {
  border-color: var(--primary-300);
  transform: translateX(-6px);
}

.contact_location_content .location_details .detail_item i {
  font-size: 20px;
  color: var(--primary-600);
}

.contact_location_content .location_details .detail_item span {
  font-size: 15px;
  color: var(--gray-700);
}

.contact_location_map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 350px;
  background-image: var(--box-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  outline: 2px solid transparent;
  width: 100%;
}

.contact_location_map:hover {
  outline-color: var(--primary-300);
  transform: scale(1.01);
}

.contact_location_map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

.contact_location_map .map_placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--gray-400);
  padding: 40px;
}

.contact_location_map .map_placeholder i {
  font-size: 64px;
  color: var(--primary-300);
}

.contact_location_map .map_placeholder p {
  font-size: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .contact_hero_container {
    clip-path: inset(40px 100px round 30px);
  }

  .contact_hero_content h1 {
    font-size: 36px;
  }

  .contact_info_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contact_form_section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact_location_section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact_location_map {
    min-height: 300px;
  }

  .contact_location_map iframe {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .contact_hero {
    height: 60vh;
    min-height: 400px;
  }

  .contact_hero_container {
    clip-path: inset(20px 40px round 20px);
    padding: 20px;
  }

  .contact_hero_content h1 {
    font-size: 28px;
  }

  .contact_hero_content p {
    font-size: 15px;
  }

  .contact_info_grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .contact_info_box {
    padding: 24px 16px;
  }

  .contact_info_box .info_icon {
    width: 52px;
    height: 52px;
  }

  .contact_info_box .info_icon i {
    font-size: 22px;
  }

  .contact_info_box h5 {
    font-size: 16px;
  }

  .contact_info_box p {
    font-size: 14px;
  }

  .contact_form_wrapper {
    padding: 24px;
  }

  .contact_form_wrapper .form_row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact_side_info .side_card {
    padding: 20px;
  }

  .contact_location_map {
    min-height: 250px;
  }

  .contact_location_map iframe {
    min-height: 250px;
  }

  .contact_white_space {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .contact_hero {
    height: 50vh;
    min-height: 350px;
  }

  .contact_hero_container {
    clip-path: inset(16px 20px round 16px);
    padding: 16px;
  }

  .contact_hero_content h1 {
    font-size: 22px;
  }

  .contact_hero_content .contact_badge {
    font-size: 12px;
    padding: 4px 14px;
  }

  .contact_info_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact_info_box {
    padding: 20px 16px;
  }

  .contact_form_wrapper {
    padding: 16px;
  }

  .contact_form_wrapper .form_group input,
  .contact_form_wrapper .form_group select,
  .contact_form_wrapper .form_group textarea {
    font-size: 14px;
    padding: 10px 14px;
  }

  .contact_side_info .side_card {
    padding: 16px;
  }

  .contact_side_info .side_card .card_header h5 {
    font-size: 16px;
  }

  .contact_location_content .location_details .detail_item {
    padding: 10px 14px;
  }

  .contact_location_content .location_details .detail_item span {
    font-size: 14px;
  }

  .contact_location_map {
    min-height: 200px;
  }

  .contact_location_map iframe {
    min-height: 200px;
  }

  .contact_location_map .map_placeholder i {
    font-size: 48px;
  }
}

/* End CONTACT US */

/* INSIDE COURSE */

/* Course Intro Section */

.course_intro_section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.course_intro_image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 400px;
}

.course_intro_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course_intro_image:hover img {
  transform: scale(1.05);
}

.course_intro_content h2 {
  margin-bottom: 20px;
}

.course_intro_content p {
  line-height: 2;
  color: var(--gray-700);
  margin-bottom: 16px;
  font-size: 16px;
}

/* Key Info Cards */
.course_info_cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course_info_card {
  background-image: var(--box-bg);
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: 1px solid transparent;
  cursor: default;
}

.course_info_card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  outline-color: var(--primary-300);
}

.course_info_card .info_icon {
  width: 56px;
  height: 56px;
  background: var(--primary-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.course_info_card .info_icon i {
  font-size: 28px;
  color: var(--primary-700);
  display: flex;
}

.course_info_card h5 {
  font-size: 15px;
  margin-bottom: 4px;
}

.course_info_card p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Organizer Section (Organization) */
.organizers_boxs_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.course_organizer_section .organizer_wrapper {
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  transition: all 0.3s ease;
  outline: 1px solid transparent;
  margin: 0 10px;
}

.course_organizer_section .organizer_wrapper:hover {
  outline-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.course_organizer_section .organizer_wrapper .organizer_logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.course_organizer_section .organizer_wrapper .organizer_logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.course_organizer_section .organizer_wrapper .organizer_logo .logo_text h3 {
  font-size: 24px;
}

.course_organizer_section .organizer_wrapper .organizer_logo .logo_text p {
  color: var(--gray-500);
}

.course_organizer_section .organizer_wrapper .organizer_btn .primary_btn {
  white-space: nowrap;
}

/* Instructors Section */

.instructors_grid {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.instructor_card {
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  flex-basis: 25%;
  padding: 24px;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: 1px solid transparent;
  cursor: default;
}

.instructor_card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  outline-color: var(--primary-300);
}

.instructor_card .instructor_img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto 16px;
  border: 2px solid var(--primary-200);
  transition: border-color 0.3s ease;
}

.instructor_card .instructor_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor_card h5 {
  font-size: 16px;
  margin-bottom: 4px;
}

.instructor_card .instructor_title {
  font-size: 14px;
  color: var(--gray-500);
}

.product_team_card .instructor_badge {
  display: inline-block;
  background: var(--gray-200);
  color: var(--secondary-700);
  padding: 2px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  margin-top: 8px;
  width: fit-content;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .course_hero_container {
    clip-path: inset(40px 100px round 30px);
  }

  .course_hero_content h1 {
    font-size: 36px;
  }

  .course_intro_section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .course_intro_image {
    height: 300px;
  }

  .course_info_cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .course_registration_section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .instructors_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course_organizer_section .organizer_wrapper {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .course_organizer_section .organizer_wrapper .organizer_logo {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .course_hero {
    height: 60vh;
    min-height: 400px;
  }

  .course_hero_container {
    clip-path: inset(20px 40px round 20px);
    padding: 20px;
  }

  .course_hero_content h1 {
    font-size: 28px;
  }

  .course_hero_content p {
    font-size: 15px;
  }

  .course_hero_content .course_meta {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }

  .course_hero_content .course_meta span {
    font-size: 14px;
  }

  .course_info_cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .course_info_card {
    padding: 16px 12px;
  }

  .course_info_card .info_icon {
    width: 44px;
    height: 44px;
  }

  .course_info_card .info_icon i {
    font-size: 22px;
  }

  .instructors_grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .instructor_card {
    padding: 16px;
  }

  .instructor_card .instructor_img {
    width: 70px;
    height: 70px;
  }

  .course_registration_form {
    padding: 24px;
  }

  .course_intro_content .course_features {
    grid-template-columns: 1fr;
  }

  .course_organizer_section .organizer_wrapper .organizer_logo img {
    width: 70px;
    height: 70px;
  }

  .course_white_space {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .course_hero {
    height: 50vh;
    min-height: 350px;
  }

  .course_hero_container {
    clip-path: inset(16px 20px round 16px);
    padding: 16px;
  }

  .course_hero_content h1 {
    font-size: 22px;
  }

  .course_hero_content .course_badge {
    font-size: 12px;
    padding: 4px 14px;
  }

  .course_info_cards {
    grid-template-columns: 1fr;
  }

  .instructors_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .course_organizer_section .organizer_wrapper {
    padding: 20px;
    gap: 26px;
  }

  .course_organizer_section .organizer_wrapper .organizer_logo img {
    width: 60px;
    height: 60px;
  }

  .course_organizer_section .organizer_wrapper .organizer_logo .logo_text h3 {
    font-size: 18px;
  }

  .course_registration_info .info_item {
    padding: 12px 16px;
  }

  .course_intro_image {
    height: 220px;
  }
}

/*End INSIDE COURSE*/

/*INSIDE SERVICE*/

/* Service Intro */
.service_intro_section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Steps Section */
.steps_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.step_item {
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: 1px solid transparent;
  position: relative;
}

.step_item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  outline-color: var(--primary-300);
}

.step_item .step_icon {
  font-size: 32px;
  color: var(--secondary-650);
  margin-bottom: 12px;
  display: block;
}

.step_item h5 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step_item h5 span:nth-child(1) {
  color: var(--secondary-650);
}

.step_item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* Service Request Form (Like Registration) */
.service_request_section {
  margin: 60px auto;
}

.service_request_section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service_request_form {
  background-image: var(--box-bg);
  padding: 40px;
  border-radius: var(--radius-xl);
}

.service_request_form h3 {
  margin-bottom: 24px;
}

.service_request_form .form_group {
  margin-bottom: 20px;
}

.service_request_form .form_group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.service_request_form .form_group input,
.service_request_form .form_group select,
.service_request_form .form_group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-100);
  font-family: Vazirmatn;
  font-size: 15px;
  background: var(--white);
  transition: all 0.3s ease;
}

.service_request_form .form_group input:focus,
.service_request_form .form_group select:focus,
.service_request_form .form_group textarea:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(22, 218, 175, 0.1);
}

.service_request_form .form_group textarea {
  min-height: 100px;
  resize: vertical;
}

.service_request_form .primary_btn {
  width: 100%;
  padding: 14px;
  font-size: 18px;
}

.service_request_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.service_request_info h3 {
  margin-bottom: 12px;
}

.service_request_info .info_item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background-image: var(--box-bg);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service_request_info .info_item:hover {
  transform: translateX(-8px);
  border-color: var(--primary-300);
}

.service_request_info .info_item i {
  font-size: 24px;
  color: var(--primary-600);
}

.service_request_info .info_item .info_text h5 {
  font-size: 15px;
}

.service_request_info .info_item .info_text p {
  font-size: 14px;
  color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .service_hero_container {
    clip-path: inset(40px 100px round 30px);
  }

  .service_hero_content h1 {
    font-size: 36px;
  }

  .service_intro_section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service_intro_image img {
    height: 300px;
  }

  .steps_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service_request_section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .service_hero {
    height: 60vh;
    min-height: 400px;
  }

  .service_hero_container {
    clip-path: inset(20px 40px round 20px);
    padding: 20px;
  }

  .service_hero_content h1 {
    font-size: 28px;
  }

  .service_hero_content p {
    font-size: 15px;
  }

  .service_hero_content .service_meta {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }

  .service_hero_content .service_meta span {
    font-size: 14px;
  }

  .service_statistics_section .statistics_section_boxs_container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .service_statistics_section .statistics_section_box {
    flex-basis: 45%;
    padding: 30px 20px;
    min-height: 150px;
  }

  .service_statistics_section .statistics_section_box:nth-child(2),
  .service_statistics_section .statistics_section_box:nth-child(4) {
    flex-basis: 45%;
  }

  .steps_grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .step_item {
    padding: 24px 16px;
  }

  .clients_grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .testimonials_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service_request_form {
    padding: 24px;
  }

  .service_white_space {
    height: 40px;
  }

  .service_intro_content .service_features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .service_hero {
    height: 50vh;
    min-height: 350px;
  }

  .service_hero_container {
    clip-path: inset(16px 20px round 16px);
    padding: 16px;
  }

  .service_hero_content h1 {
    font-size: 22px;
  }

  .service_hero_content .service_badge {
    font-size: 12px;
    padding: 4px 14px;
  }

  .service_statistics_section .statistics_section_boxs_container {
    flex-direction: column;
  }

  .service_statistics_section .statistics_section_box {
    flex-basis: 100%;
    width: 100%;
    padding: 24px 16px;
    min-height: 120px;
  }

  .service_statistics_section .statistics_section_box:nth-child(2),
  .service_statistics_section .statistics_section_box:nth-child(4) {
    flex-basis: 100%;
  }

  .service_statistics_section .statistics_section_box_title {
    font-size: 28px;
  }

  .service_statistics_section .statistics_section_box:nth-child(even) .statistics_section_box_title {
    font-size: 32px;
  }

  .steps_grid {
    grid-template-columns: 1fr;
  }

  .clients_grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .client_item {
    padding: 20px 16px;
  }

  .client_item .client_logo {
    width: 60px;
    height: 60px;
  }

  .testimonial_item {
    padding: 24px 20px;
  }

  .service_request_info .info_item {
    padding: 12px 16px;
  }

  .service_intro_image img {
    height: 200px;
  }
}

/*End INSIDE SERVICE*/

/*INSIDE NEWS*/

/* News Main Layout */
.news_main_layout .container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Main Content */
.news_main_content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* News Meta Info (Small) */
.news_meta_info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.news_meta_info .meta_item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-500);
}

.news_meta_info .meta_item i {
  font-size: 16px;
  color: var(--secondary-700);
}

/* News Featured Image */
.news_featured_image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.news_featured_image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news_featured_image:hover img {
  transform: scale(1.03);
}

.news_featured_image .image_caption {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--gray-500);
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* News Title */
.news_title h1 {
  font-size: 36px;
  line-height: 1.4;
  color: var(--secondary-800);
}

/* News Content */
.news_content {
  line-height: 2.2;
}

.news_content p {
  margin-bottom: 20px;
  font-size: 16px;
}

.inside-news section h3 {
  font-size: 24px;
  margin: 30px 0 16px;
  color: var(--secondary-700);
}

.news_content ul {
  list-style: none;
  padding: 0;
}

.news_content ul li {
  padding: 8px 28px 8px 0;
  position: relative;
  font-size: 15px;
}

.news_content ul li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--primary-500);
  border-radius: 50%;
}

.news_content blockquote {
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  border-right: 4px solid var(--primary-500);
  margin: 24px 0;
  font-style: italic;
  font-size: 18px;
  color: var(--gray-700);
}

/* News Gallery */
.news_gallery {
  margin: 20px 0;
}

.news_gallery h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-800);
}

.news_gallery .news_gallery_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news_gallery .news_gallery_grid .gallery_item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
}

.news_gallery .news_gallery_grid .gallery_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news_gallery .news_gallery_grid .gallery_item:hover img {
  transform: scale(1.1);
}

.news_gallery .news_gallery_grid .gallery_item .gallery_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news_gallery .news_gallery_grid .gallery_item:hover .gallery_overlay {
  opacity: 1;
}

.news_gallery .news_gallery_grid .gallery_item .gallery_overlay i {
  color: var(--white);
  font-size: 36px;
}

/* Other News */
.other_news_section {
  margin-top: 40px;
}

.other_news_section .section_title_container {
  margin-bottom: 24px;
}

.other_news_section .other_news_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.other_news_section .other_news_grid .other_news_item {
  background-image: var(--box-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
  cursor: pointer;
}

.other_news_section .other_news_grid .other_news_item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

.other_news_section .other_news_grid .other_news_item .other_news_img {
  height: 160px;
  overflow: hidden;
}

.other_news_section .other_news_grid .other_news_item .other_news_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.other_news_section .other_news_grid .other_news_item:hover .other_news_img img {
  transform: scale(1.08);
}

.other_news_section .other_news_grid .other_news_item .other_news_content {
  padding: 16px 20px 20px;
}

.other_news_section .other_news_grid .other_news_item .other_news_content h5 {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.other_news_section .other_news_grid .other_news_item .other_news_content .other_news_date {
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.other_news_section .other_news_grid .other_news_item .other_news_content .other_news_date i {
  font-size: 14px;
}

/* Sidebar */
.news_sidebar {
  position: sticky;
  top: 120px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  padding: 24px;
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  outline: 1px solid transparent;
}

.news_sidebar:hover {
  outline-color: var(--primary-300);
}

.news_sidebar .sidebar_widget .widget_title {
  font-size: 18px;
  color: var(--secondary-900);
  margin-bottom: 16px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.news_sidebar .sidebar_widget .widget_title i {
  color: var(--secondary-650);
  display: flex;
}

/* Search Widget */
.search_widget .search_form {
  display: flex;
  gap: 8px;
}

.search_widget .search_form input {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary-100);
  font-family: Vazirmatn;
  font-size: 14px;
  background: var(--white);
  transition: all 0.3s ease;
}

.search_widget .search_form input:focus {
  border-color: var(--primary-500);
}

.search_widget .search_form button {
  padding: 10px 16px;
  background: var(--primary-600);
  color: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search_widget .search_form button:hover {
  background: var(--primary-700);
}

/* Categories Widget */
.categories_widget .category_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.categories_widget .category_list .category_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.categories_widget .category_list .category_item:hover {
  background: var(--gray-200);
  transform: translateX(-4px);
  color: var(--secondary-600);
}

.categories_widget .category_list .category_item span {
  font-size: 14px;
}

.categories_widget .category_list .category_item .count {
  background: var(--secondary-600);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--white);
}

/* Recent Posts Widget */
.recent_posts_widget .recent_post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.recent_posts_widget .recent_post:last-child {
  border-bottom: none;
}

.recent_posts_widget .recent_post:hover {
  transform: translateY(-6px);
}

.recent_posts_widget .recent_post .post_img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.recent_posts_widget .recent_post .post_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent_posts_widget .recent_post .post_info h6 {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 2px;
  color: var(--secondary-800);
}

.recent_posts_widget .recent_post .post_info .post_date {
  font-size: 12px;
  color: var(--gray-500);
}

/* Tags Widget */
.tags_widget .tags_container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags_widget .tags_container .tag {
  padding: 4px 14px;
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--gray-600);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tags_widget .tags_container .tag:hover {
  background: var(--primary-600);
  color: var(--white);
  border-color: var(--primary-600);
  transform: translateY(-2px);
}

.poster_container {
  display: block;
  width: 100%;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.poster_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .news_hero_container {
    clip-path: inset(40px 100px round 30px);
  }

  .news_hero_content h1 {
    font-size: 36px;
  }

  .news_main_layout .container {
    grid-template-columns: 2fr 1fr;
    gap: 40px;
  }

  .news_gallery .news_gallery_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .other_news_section .other_news_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news_hero {
    height: 60vh;
    min-height: 400px;
  }

  .news_hero_container {
    clip-path: inset(20px 40px round 20px);
    padding: 20px;
  }

  .news_hero_content h1 {
    font-size: 28px;
  }

  .news_hero_content p {
    font-size: 15px;
  }

  .news_hero_content .news_meta {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }

  .news_hero_content .news_meta span {
    font-size: 14px;
  }

  .news_main_layout .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news_featured_image img {
    height: 280px;
  }

  .news_title h1 {
    font-size: 26px;
  }

  .news_gallery .news_gallery_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .other_news_section .other_news_grid {
    grid-template-columns: 1fr;
  }

  .news_sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .news_white_space {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .news_hero {
    height: 50vh;
    min-height: 350px;
  }

  .news_hero_container {
    clip-path: inset(16px 20px round 16px);
    padding: 16px;
  }

  .news_hero_content h1 {
    font-size: 22px;
  }

  .news_hero_content .news_badge {
    font-size: 12px;
    padding: 4px 14px;
  }

  .news_featured_image img {
    height: 200px;
  }

  .news_title h1 {
    font-size: 22px;
  }

  .news_content p {
    font-size: 15px;
  }

  .news_content blockquote {
    padding: 16px 20px;
    font-size: 16px;
  }

  .news_gallery .news_gallery_grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .news_sidebar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news_meta_info {
    gap: 16px;
  }

  .news_meta_info .meta_item {
    font-size: 13px;
  }

  .search_widget .search_form {
    flex-direction: column;
  }

  .search_widget .search_form button {
    width: 100%;
  }
}

/* End INSIDE NEWS */

/* ABOUT US */
.about_section2 .about_section_content {
  width: 100%;
  flex-basis: 100%;
}

/* End ABOUT US */

/*INSIDE PRODUCT*/
.other_hero_content .product_logo_hero {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.other_hero_content .product_logo_hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product Intro */

.product_intro_content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Key Info Cards (Purple Theme) */
.product_info_cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product_info_card {
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: 1px solid transparent;
  cursor: default;
}

.product_info_card .info_icon {
  width: 56px;
  height: 56px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.product_info_card .info_icon i {
  font-size: 28px;
  color: var(--secondary-600);
  display: flex;
}

.product_info_card h5 {
  font-size: 15px;
  margin-bottom: 4px;
}

.product_info_card p {
  font-size: 14px;
}

/* Team Section */
.product_team_grid {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.product_team_grid .slick-list,
.product_team_grid .slick-track {
  width: 100%;
}

.product_team_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  margin: 0 10px;
}

.product_team_card .team_img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--secondary-400);
  transition: border-color 0.3s ease;
}

.product_team_card:hover .team_img {
  border-color: var(--secondary-600);
}

.product_team_card .team_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product_team_card h5 {
  font-size: 18px;
  margin-bottom: 6px;
}

.product_team_card .team_role {
  font-size: 14px;
  color: var(--gray-600);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .product_hero_container {
    clip-path: inset(40px 100px round 30px);
  }

  .product_info_cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .product_team_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product_partners_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product_testimonials_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product_hero {
    height: 60vh;
    min-height: 400px;
  }

  .product_hero_container {
    clip-path: inset(20px 40px round 20px);
    padding: 20px;
  }

  .product_hero_content h1 {
    font-size: 28px;
  }

  .product_hero_content p {
    font-size: 15px;
  }

  .product_hero_content .product_meta {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }

  .product_hero_content .product_meta span {
    font-size: 14px;
  }

  .product_info_cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product_info_card {
    padding: 16px 12px;
  }

  .product_info_card .info_icon {
    width: 44px;
    height: 44px;
  }

  .product_info_card .info_icon i {
    font-size: 22px;
  }

  .product_team_grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .product_team_card {
    padding: 16px;
  }

  .product_team_card .team_img {
    width: 70px;
    height: 70px;
  }

  .product_partners_grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .product_partner_item {
    padding: 20px 16px;
  }

  .product_partner_item .partner_logo {
    width: 60px;
    height: 60px;
  }

  .product_testimonials_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product_testimonial_item {
    padding: 24px 20px;
  }

  .product_white_space {
    height: 40px;
  }

  .product_intro_content .product_features {
    grid-template-columns: 1fr;
  }

  .product_intro_logo img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .product_hero {
    height: 50vh;
    min-height: 350px;
  }

  .product_hero_container {
    clip-path: inset(16px 20px round 16px);
    padding: 16px;
  }

  .product_hero_content h1 {
    font-size: 22px;
  }

  .product_hero_content .product_badge {
    font-size: 12px;
    padding: 4px 14px;
  }

  .product_hero_content .product_logo_hero {
    width: 70px;
    height: 70px;
    padding: 12px;
  }

  .product_info_cards {
    grid-template-columns: 1fr;
  }

  .product_team_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product_partners_grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product_intro_logo img {
    width: 100px;
    height: 100px;
  }

  .product_intro_logo {
    padding: 20px;
  }
}

/*End INSIDE PRODUCT*/

/*PRODUCTS ARCHIVE PAGE*/

.main_slider_boxs_conatiner {
  display: flex;
  width: 100%;
}

.main_slider_box {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xxl);
  aspect-ratio: 10/4;
  overflow: hidden;
}

.main_slider_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.archive_container {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 20px;
}

.archive_container .products_section_box,
.archive_container .events_section_box {
  flex-basis: 32.29%;
  margin: 0;
}

.archive_container .courses_section_box {
  flex-basis: 23.8%;
  margin: 0;
}

/*End PRODUCTS ARCHIVE*/

/*EVENTS ARCHIVE PAGE*/

.events_page_container {
  padding: 80px 0 150px 0;
  position: relative;
  z-index: 10;
}

.events_page_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.events_page_grid .events_section_box {
  margin: 0;
}

.events_section_box.event_finished {
  background-color: var(--gray-200);
  border-color: transparent;
}

.events_section_box.event_finished .events_section_box_status {
  color: var(--gray-600);
}

.events_section_box.event_finished img {
  filter: saturate(0.4);
}

.event_finished::before {
  background: linear-gradient(-53deg,
      var(--gray-500),
      var(--gray-300),
      var(--gray-500));
}

.events_section_box.event_finished .primary_btn {
  background-color: var(--gray-500);
}

.events_section_box.event_finished .primary_btn:hover {
  background-color: var(--gray-600);
}

/*End EVENTS ARCHIVE*/

/*NEWS ARCHIVE PAGE*/

.news_top_boxs_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.news_featured_side {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news_featured_main {
  flex-basis: 50%;
  flex: 1.2;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: auto;
  background-color: var(--gray-100);
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.news_featured_main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news_featured_main_img {
  position: relative;
  height: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.news_featured_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 30px 25px 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.news_featured_main_title {
  color: var(--white);
  font-size: 28px;
}

.news_featured_main .primary_btn {
  background-color: var(--secondary-600);
  padding: 4px 16px;
  border-radius: 8px;
}

.news_featured_main .primary_btn:hover {
  background-color: var(--secondary-700);
}

.news .news_main_layout .container {
  gap: 32px;
}

.news .news_section_box {
  margin: 0;
}

.news .news_main_content {
  gap: 32px;
}

.news_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 80px;
}

.news_page_item {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  background-color: var(--gray-200);
  color: var(--secondary-650);
  cursor: pointer;
  transition: var(--transition);
}

.news_page_item.active,
.news_page_item:hover {
  background-color: var(--primary-500);
  color: var(--white);
}

.news_page_item.nav_btn {
  border-radius: 8px;
  color: var(--primary-900);
}

.news_page_item.nav_btn i {
  display: flex;
  color: var(--secondary-650);
}

/*End NEWS ARCHIVE*/

/*SERVICES ARCHIVE*/
.services_page_container {
  display: flex;
  flex-direction: column;
  gap: 160px;
  position: relative;
  z-index: 10;
  padding: 80px 0 150px 0 !important;
}

.service_row_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.service_row_item:nth-child(even) {
  flex-direction: row-reverse;
}

.service_row_img {
  flex-basis: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service_row_img img {
  max-width: 100%;
  width: 280px;
  filter: drop-shadow(-9px 9px 15px rgb(29, 29, 164, 0.3));
  animation: floatImage 4s ease-in-out infinite;
}

.service_row_item:nth-child(even) .service_row_img img {
  animation-delay: 1.5s;
}

.service_row_content {
  flex-basis: 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.service_row_title {
  font-size: 32px;
}

.service_row_caption {
  font-size: 15px;
  line-height: 2.2;
}

.service_row_content .primary_btn {
  margin-top: 10px;
  background-color: var(--secondary-650);
}

.service_row_content .primary_btn:hover {
  background-color: var(--secondary-700);
}

/*RESPONSIVE*/
@media (max-width: 1440px) {
  .container {
    max-width: 1100px;
    margin: 0 auto;
  }

  a {
    font-size: 14px;
  }

  p {
    font-size: 13.5px;
  }

  header {
    gap: 32px;
    padding: 6px 20px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 17px;
  }

  .header_logo {
    width: 60px;
  }

  .box_caption {
    font-size: 11.5px;
  }

  .section_description_container {
    margin-bottom: 40px;
  }

  .services_section_box_title_container i {
    position: absolute;
    top: 3px;
    right: -30px;
    font-size: 20px;
    display: flex;
  }

  .events_section_box,
  .products_section_box,
  .courses_section_box,
  .news_section_box {
    margin: 0 8px;
    padding: 18px;
    border-radius: var(--radius-lg);
  }

  .courses_section_box,
  .news_section_box {
    padding: 16px;
  }

  .section_description_container {
    max-width: 60%;
  }

  .events_section_box_information,
  .events_section_box_information i,
  .courses_section_box_information,
  .courses_section_box_information i {
    font-size: 12px;
  }

  .primary_btn {
    padding: 5px 14px;
    font-size: 14px;
  }

  .statistics_section_box:nth-child(even),
  .statistics_section_box_caption {
    font-size: 15px;
  }

  .statistics_section_box {
    padding: 50px 20px;
  }

  .events_section_box_img {
    height: 186px;
  }

  .news_section_box_img {
    height: 160px;
  }

  .courses_section_box_img {
    height: 146px;
  }

  .events_section_box_status {
    font-size: 13px;
  }

  .products_secttion_box_logo {
    width: 56px;
  }

  header {
    top: 40px;
  }

  .section_more_btn {
    padding: 2px 7px;
  }

  .partner_logo {
    height: 46px;
  }

  .team_section_box {
    padding: 30px;
    height: 240px;
  }

  .team_section_boxs_container {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    border-radius: var(--radius-lg);
  }

  .team_section_box_img {
    width: 90px;
    height: 90px;
  }

  .team_section_boxs_column:nth-child(1),
  .team_section_boxs_column:nth-child(5) {
    transform: translateY(280px);
  }

  .team_section_boxs_column:nth-child(2),
  .team_section_boxs_column:nth-child(4) {
    transform: translateY(140px);
  }

  .subBrands_section_box_img {
    width: 52px;
    height: 52px;
  }

  .footer_logo_img {
    width: 88px;
  }

  .footer_logo_name {
    font-weight: normal;
    width: 180px;
    font-size: 26px;
  }

  .footer_newsletter_box {
    height: 200px;
  }

  .footer_newletter_box_logo {
    width: 100px;
    top: -50px;
    left: -50px;
  }

  .footer_newsletter_box_title {
    font-size: 18px;
  }

  .footer_newsletter_box_form_input {
    font-size: 14px;
  }

  .contact_social_box {
    padding: 13px;
  }

  .contact_social_box i {
    font-size: 18px;
  }
}

.header_nav_toggle {
  display: none;
}

@media (max-width: 1200px) {
  :root {
    --box-shadow: -1px 1px 22px 4px rgba(21, 21, 99, 0.08);
    --radius-lg: 15px;
  }

  .container {
    max-width: 960px;
  }

  .box_caption {
    line-height: 1.7;
  }

  h4 {
    font-size: 17px;
  }

  h5 {
    font-size: 15px;
  }

  .section_more_btn {
    padding: 1.5px 4px;
  }

  .header_navbar {
    display: flex;
    align-items: center;
    gap: 34px;
    color: var(--white);
  }

  .services_section_boxs_container {
    grid-gap: 16px;
  }

  .services_section_box {
    padding: 22px 40px 15px 22px;
  }

  .services_section_box_title_container i {
    right: -26px;
  }

  .statistics_section_box {
    padding: 30px 24px;
    height: 220px;
  }

  .statistics_section_box:nth-child(3) {
    padding-top: 40px;
  }

  .statistics_section_box:nth-child(even) .statistics_section_box_title {
    font-size: 42px;
  }

  .statistics_section_box:nth-child(odd) .statistics_section_box_caption {
    font-size: 25px;
  }

  .statistics_section_box:nth-child(3) .statistics_section_box_caption {
    font-size: 21px;
  }

  .team_section_box_img {
    width: 80px;
    height: 80px;
  }

  .events_section_box_img {
    height: 162px;
  }

  .news_section_box_img {
    height: 146px;
  }

  .courses_section_box_img {
    height: 130px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  .box_caption {
    font-size: 12px;
    line-height: 1.8;
  }

  .section_description_container {
    max-width: 70%;
    margin-bottom: 32px;
  }

  .section_more_btn {
    padding: 1.5px 6px;
  }

  header {
    gap: 28px;
    padding: 8px 18px;
  }

  .header_logo {
    width: 56px;
  }

  .header_navbar {
    gap: 28px;
  }

  .primary_btn {
    padding: 5px 12px;
    font-size: 14px;
  }

  .primary_btn .bi-chevron-left {
    font-size: 12px;
  }

  /* About Section */
  .about_section .container {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .about_section_content {
    flex-basis: 100%;
  }

  .about_section_img {
    flex-basis: 100%;
  }

  .about_section_img img {
    width: 50%;
  }

  /* Services Section */
  .services_section_boxs_container {
    grid-template-columns: auto auto;
    grid-gap: 16px;
  }

  .services_section_box {
    padding: 22px 36px 16px 22px;
  }

  .services_section_box_title_container i {
    top: 3px;
    right: -26px;
    font-size: 18px;
  }

  .services_section_box_br_line {
    width: 28%;
  }

  /* Statistics Section */
  .statistics_section_boxs_container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .statistics_section_box {
    flex-basis: 46%;
    padding: 36px 20px;
    height: 200px;
  }

  .statistics_section_box:nth-child(2) {
    flex-basis: 46%;
  }

  .statistics_section_box:nth-child(4) {
    flex-basis: 46%;
  }

  .statistics_section_box:nth-child(even) .statistics_section_box_title {
    font-size: 38px;
  }

  .statistics_section_box:nth-child(odd) .statistics_section_box_caption {
    font-size: 22px;
  }

  .statistics_section_box:nth-child(3) .statistics_section_box_caption {
    font-size: 20px;
  }

  .statistics_section_box:nth-child(3) {
    padding-top: 40px;
  }

  /* Events Section */
  .events_section_boxs_container {
    flex-wrap: wrap;
  }

  .events_section_box {
    flex-basis: 46%;
    padding: 18px;
    margin: 0 6px;
    border-radius: var(--radius-lg);
  }

  .events_section_box::before {
    border-radius: var(--radius-lg);
  }

  .events_section_box_img {
    height: 162px;
  }

  .events_section_box_status {
    font-size: 12px;
    bottom: 10px;
    right: 10px;
  }

  .events_section_box_information,
  .events_section_box_information i {
    font-size: 12px;
  }

  .events_section_box_information_container {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Products Section */
  .products_section {
    height: auto;
    min-height: 400px;
    padding: 60px 0;
  }

  .products_section_boxs_container {
    flex-wrap: wrap;
  }

  .products_section_box {
    flex-basis: 46%;
    padding: 18px;
    margin: 0 6px;
  }

  .products_secttion_box_logo {
    width: 56px;
  }

  /* Courses Section */
  .courses_section_boxs_container {
    flex-wrap: wrap;
  }

  .courses_section_box {
    flex-basis: 46%;
    padding: 16px;
    margin: 0 6px;
  }

  .courses_section_box_img {
    height: 140px;
  }

  .courses_section_box_information,
  .courses_section_box_information i {
    font-size: 12px;
  }

  /* News Section */
  .news_section_boxs_container {
    flex-wrap: wrap;
  }

  .news_section_box {
    padding: 16px;
    margin: 0 6px;
  }

  .news_section_box_img {
    flex-basis: 100%;
    width: 100%;
    height: 180px;
  }

  .news_section_box_content {
    flex-basis: 100%;
    gap: 12px;
  }

  /* More About Us */
  .more_about_us_img {
    width: 26vw;
  }

  .more_about_us_img img {
    transform: translateX(-10px);
  }

  .more_about_us_links {
    gap: 32px;
    font-size: 18px;
  }

  /* Partners Section */
  .partners_section_logos_container_line {
    gap: 30px;
    flex-wrap: wrap;
  }

  .partner_logo {
    height: 46px;
  }

  /* Team Section */
  .team_section_boxs_container {
    grid-template-columns: auto auto auto;
    grid-row-gap: 14px;
    grid-column-gap: 14px;
  }

  .team_section_box {
    margin: 0 6px;
    padding: 24px;
    height: 220px;
  }

  .team_section_box_img {
    width: 80px;
    height: 80px;
  }

  .team_section_boxs_column:nth-child(1),
  .team_section_boxs_column:nth-child(5) {
    transform: translateY(0);
  }

  .team_section_boxs_column:nth-child(2),
  .team_section_boxs_column:nth-child(4) {
    transform: translateY(0);
  }

  .team-circle {
    width: 800px;
    height: 800px;
  }

  /* SubBrands Section */
  .subBrands_section_box_container {
    grid-template-columns: auto auto auto;
    grid-row-gap: 24px;
    grid-column-gap: 16px;
  }

  .subBrands_section_box_img {
    width: 48px;
    height: 48px;
  }

  /* Footer */
  .footer_container {
    grid-template-columns: 1fr;
    grid-row-gap: 40px;
  }

  .footer_logo_img {
    width: 80px;
  }

  .footer_logo_name {
    font-size: 24px;
    width: 160px;
  }

  .footer_contact {
    gap: 32px;
  }

  .footer_links {
    gap: 60px;
  }

  .footer_newsletter_box {
    height: 180px;
  }

  .footer_newletter_box_logo {
    width: 88px;
    top: -44px;
    left: -44px;
  }

  .footer_newsletter_box_title {
    font-size: 18px;
  }

  .footer_newsletter_box_form_input {
    font-size: 14px;
    padding: 8px 12px;
  }

  .contact_social_box {
    padding: 12px;
  }

  .contact_social_box i {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 17px;
  }

  h5 {
    font-size: 15px;
  }

  section {
    padding: 65px 0;
  }

  .information_keys {
    padding-top: 0px;
  }

  .box_caption {
    font-size: 11.5px;
    line-height: 1.8;
  }

  .section_description_container {
    max-width: 85%;
    margin-bottom: 12px;
  }

  .section_more_btn {
    padding: 1.5px 5px;
    font-size: 12px;
  }

  /*Slick*/
  .slick-dots li {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: -13.5px;
    width: 0.7rem;
    height: 0.7rem;
  }

  .slick-dots li button {
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    aspect-ratio: 1/1;
    padding: 0;
    border-radius: 100px;
    background-color: var(--gray-400) !important;
    text-indent: -9999px;
  }

  li.slick-active button {
    transition: all ease 0.3s;
    background-color: var(--secondary-650) !important;
  }

  header {
    width: 100%;
    border-radius: 0;
    margin: 0;
    top: 0;
    justify-content: space-between;
    padding: 10px 18px;
    gap: 0;
  }

  .header_logo {
    width: 50px;
  }

  .header_navbar {
    position: fixed;
    top: 0;
    right: -42%;
    height: 100vh;
    gap: 12px;
    align-items: start;
    flex-direction: column;
    padding: 28px 30px;
    background-color: var(--gray-100);
    box-shadow: var(--box-shadow);
    width: 40%;
    transition: all ease 0.3s;
    font-size: 14px;
  }

  .header_nav_toggle {
    display: block;
    padding: 2px 4px;
  }

  .header_nav_toggle i {
    display: flex;
  }

  .bi-list,
  .bi-x {
    font-size: 35px;
    color: var(--primary);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .bi-list:hover,
  .bi-x:hover {
    color: var(--c700);
  }

  .primary_btn {
    font-size: 13px;
  }

  .primary_btn .bi-chevron-left {
    font-size: 11px;
  }

  @keyframes showUp {
    100% {
      transform: translateY(0);
      border: 2px solid rgb(255, 255, 255, 0.5);
      background-color: rgb(255, 255, 255, 0.5);
    }
  }

  @keyframes showDown {
    0% {
      transform: translateY(0);
      border: 2px solid rgb(255, 255, 255, 0.5);
      background-color: rgb(255, 255, 255, 0.5);
    }

    33% {
      border: 2px solid rgb(255, 255, 255, 0.35);
      background-color: rgb(255, 255, 255, 0.35);
    }

    66% {
      border: 2px solid rgb(255, 255, 255, 0.15);
      background-color: rgb(255, 255, 255, 0.15);
    }

    100% {
      transform: translateY(0px);
      border: 2px solid rgb(255, 255, 255, 0);
      background-color: rgb(255, 255, 255, 0);
    }
  }

  /* Hero Section */
  .hero_container {
    clip-path: inset(80px 60px round 28px);
  }

  .hero_caption,
  .hero_content p {
    font-size: 15px;
  }

  .hero_content_container {
    max-width: 90%;
  }

  /* About Section */
  .about_section .container {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .about_section_content {
    flex-basis: 100%;
  }

  .about_section_img {
    flex-basis: 100%;
  }

  .about_section_img img {
    width: 50%;
  }

  /* Services Section */
  .services_section_boxs_container {
    grid-template-columns: 1fr;
    grid-gap: 14px;
  }

  .services_section_box {
    padding: 20px 32px 14px 20px;
    margin: 0 4px;
  }

  .services_section_box_br_line {
    width: 25%;
  }

  /* Statistics Section */
  .statistics_section_boxs_container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .statistics_section_box {
    flex-basis: 46%;
    padding: 28px 16px;
    height: 180px;
  }

  .statistics_section_box:nth-child(2) {
    flex-basis: 46%;
  }

  .statistics_section_box:nth-child(4) {
    flex-basis: 46%;
  }

  .statistics_section_box:nth-child(even) .statistics_section_box_title {
    font-size: 34px;
  }

  .statistics_section_box:nth-child(odd) .statistics_section_box_title {
    font-size: 36px;
  }

  .statistics_section_box:nth-child(odd) .statistics_section_box_caption {
    font-size: 20px;
  }

  .statistics_section_box:nth-child(3) .statistics_section_box_caption {
    font-size: 18px;
  }

  .statistics_section_box:nth-child(3) {
    padding-top: 32px;
  }

  .statistics_section_box:nth-child(3) .statistics_section_box_title {
    font-size: 36px;
  }

  /* Events Section */
  .events_section_boxs_container {
    gap: 14px;
  }

  .events_section_box {
    padding: 16px;
    margin: 0 4px;
  }

  .events_section_box_img {
    height: 180px;
  }

  .events_section_box_information,
  .events_section_box_information i {
    font-size: 12px;
  }

  .events_section_box_information_container {
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Products Section */
  .products_section {
    min-height: 350px;
  }

  .products_section_boxs_container {
    gap: 14px;
  }

  .products_section_box {
    padding: 18px;
    margin: 0 4px;
  }

  .products_secttion_box_logo {
    width: 50px;
  }

  /* Courses Section */
  .courses_section_boxs_container {
    gap: 14px;
  }

  .courses_section_box {
    padding: 16px;
    margin: 0 4px;
  }

  .courses_section_box_img {
    height: 180px;
  }

  .courses_section_box_information,
  .courses_section_box_information i {
    font-size: 12px;
  }

  .courses_section_box_information_container {
    gap: 14px;
  }

  /* News Section */
  .news_section_boxs_container {
    gap: 14px;
  }

  .news_section_box_img {
    flex-basis: 100%;
    width: 100%;
    height: 180px;
  }

  .news_section_box_content {
    flex-basis: 100%;
    gap: 12px;
  }

  /* More About Us */
  .more_about_us_img {
    width: 30vw;
  }

  .more_about_us_links {
    gap: 24px;
    font-size: 16px;
  }

  .more_about_us_circle {
    width: 200px;
    height: 200px;
    filter: blur(50px);
  }

  /* Partners Section */
  .partners_section_logos_container_line {
    gap: 24px;
    flex-wrap: wrap;
  }

  .partner_logo {
    height: 40px;
  }

  /* Team Section */
  .team_section_boxs_container {
    grid-template-columns: auto auto;
    grid-row-gap: 12px;
    grid-column-gap: 12px;
  }

  .team_section_box {
    margin: 0 4px;
    padding: 20px;
    height: 200px;
  }

  .team_section_box_img {
    width: 70px;
    height: 70px;
  }

  .team_section_boxs_column:nth-child(1),
  .team_section_boxs_column:nth-child(5) {
    transform: translateY(0);
  }

  .team_section_boxs_column:nth-child(2),
  .team_section_boxs_column:nth-child(4) {
    transform: translateY(0);
  }

  .team-circle {
    width: 600px;
    height: 600px;
  }

  /* SubBrands Section */
  .subBrands_section_box_container {
    grid-template-columns: auto auto;
    grid-row-gap: 20px;
  }

  .subBrands_section_box {
    justify-content: center;
  }

  .subBrands_section_box_img {
    width: 44px;
    height: 44px;
  }

  /* Footer */
  .footer_container {
    grid-template-columns: 1fr;
    grid-row-gap: 32px;
    padding: 0 20px;
  }

  .footer_logo_img {
    width: 72px;
  }

  .footer_logo_name {
    font-size: 22px;
    width: 140px;
  }

  .footer_links {
    flex-wrap: wrap;
  }

  .footer_newsletter_box {
    height: auto;
    padding: 20px;
  }

  .footer_newletter_box_logo {
    width: 76px;
    top: -38px;
    left: -38px;
  }

  .footer_newsletter_box_title {
    font-size: 17px;
    padding-top: 4px;
  }

  .footer_newsletter_box_form_input {
    font-size: 13px;
    padding: 8px 12px;
  }

  .contact_social_box {
    padding: 10px;
  }

  .contact_social_box i {
    font-size: 16px;
  }

  .footer_copy_write {
    padding: 20px;
    font-size: 13px;
  }

  /* Background Designs */
  .circle01 {
    top: 1200px;
    right: -300px;
    width: 60vw;
    height: 60vw;
  }

  .circle02 {
    top: 300px;
    left: -300px;
    width: 55vw;
    height: 55vw;
  }

  .circle04 {
    top: 3200px;
    right: -80px;
    width: 55vw;
    height: 55vw;
  }
}

@media (max-width: 567px) {
  .container {
    max-width: 100%;
    padding: 0px 16px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 17px;
  }

  h5 {
    font-size: 15px;
  }

  .section_description_container {
    max-width: 100%;
    margin-bottom: 18px;
  }

  .section_caption {
    font-size: 13px;
  }

  header {
    padding: 8px 14px;
  }

  .header_navbar {
    right: -55%;
    width: 50%;
    padding: 22px 20px;
    gap: 10px;
    font-size: 13px;
  }

  .header_nav_toggle {
    padding: 1px 3px;
  }

  .bi-list,
  .bi-x {
    font-size: 30px;
  }

  .primary_btn {
    padding: 5px 11px;
    gap: 4px;
    border-radius: 8px;
  }

  .primary_btn_text,
  .section_more_btn_text {
    transform: translate(-6px);
  }

  .primary_btn .bi-chevron-left {
    font-size: 10px;
  }

  .section_more_btn {
    padding: 1.5px 5px;
    font-size: 11px;
  }

  /* Hero Section */
  .hero_container {
    clip-path: inset(60px 30px round 20px);
  }

  .hero_title,
  .hero_content h1 {
    font-size: 24px;
  }

  .hero_caption,
  .hero_content p {
    font-size: 14px;
  }

  .hero_content_container {
    max-width: 95%;
    width: 75%;
  }

  /* About Section */
  .about_section_img img {
    width: 60%;
  }

  /* Services Section */
  .services_section_boxs_container {
    grid-template-columns: 1fr;
  }

  .services_section_box {
    padding: 18px 28px 12px 18px;
  }

  .services_section_box_title_container i {
    right: -22px;
    font-size: 16px;
  }

  .services_section_box_caption {
    font-size: 12px;
  }

  /* Statistics Section */
  .statistics_section_boxs_container {
    flex-direction: column;
    gap: 12px;
  }

  .statistics_section_box {
    flex-basis: 100%;
    width: 100%;
    padding: 24px 16px;
    height: 160px;
    border-radius: 18px;
  }

  .statistics_section_box:nth-child(2) {
    flex-basis: 100%;
  }

  .statistics_section_box:nth-child(4) {
    flex-basis: 100%;
  }

  .statistics_section_box:nth-child(even) .statistics_section_box_title {
    font-size: 30px;
  }

  .statistics_section_box:nth-child(odd) .statistics_section_box_title {
    font-size: 32px;
  }

  .statistics_section_box:nth-child(odd) .statistics_section_box_caption {
    font-size: 18px;
  }

  .statistics_section_box:nth-child(3) .statistics_section_box_caption {
    font-size: 16px;
  }

  .statistics_section_box:nth-child(3) {
    padding-top: 24px;
  }

  .statistics_section_box:nth-child(even) {
    font-size: 14px;
  }

  /* Events Section */
  .events_section_box {
    padding: 14px;
  }

  .events_section_box_img {
    height: 160px;
  }

  .events_section_box_information,
  .events_section_box_information i {
    font-size: 11px;
  }

  /* Products Section */
  .products_section {
    min-height: 300px;
  }

  .products_section_box {
    padding: 16px;
    gap: 16px;
  }

  .products_secttion_box_logo {
    width: 48px;
  }

  /* Courses Section */
  .courses_section_box {
    padding: 14px;
  }

  .courses_section_box_img {
    height: 160px;
  }

  .courses_section_box_information,
  .courses_section_box_information i {
    font-size: 11px;
  }

  .courses_section_box_information_container {
    gap: 12px;
  }

  /* News Section */
  .news_section_box {
    padding: 14px;
  }

  .news_section_box_img {
    height: 160px;
  }

  /* More About Us */
  .more_about_us_img {
    width: 36vw;
  }

  .more_about_us_links {
    gap: 20px;
    font-size: 14px;
  }

  .more_about_us .container {
    gap: 16px;
  }

  /* Partners Section */
  .partner_logo {
    height: 34px;
  }

  /* Team Section */
  .team_section_boxs_container {
    grid-template-columns: 1fr;
    grid-row-gap: 12px;
  }

  .team_section_box {
    padding: 18px;
    height: 180px;
  }

  .team_section_box_img {
    width: 64px;
    height: 64px;
  }

  .team-circle {
    width: 400px;
    height: 400px;
  }

  /* SubBrands Section */
  .subBrands_section_box_container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .subBrands_section_box {
    margin: 0 4px;
    justify-content: center;
  }

  .subBrands_section_box_img {
    width: 40px;
    height: 40px;
  }

  /* Card Hover */
  .events_section_box:hover,
  .products_section_box:hover,
  .courses_section_box:hover,
  .news_section_box:hover,
  .news_featured_main:hover,
  .team_section_box:hover,
  .info_card:hover,
  .organizer_card:hover,
  .product_info_card:hover,
  .product_team_card:hover {
    transform: translateY(-10px) scale(1.01);
  }

  /* Footer */
  .footer_logo_img {
    width: 64px;
  }

  .footer_logo_name {
    font-size: 20px;
    width: 120px;
  }

  .footer_contact {
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer_links {
    flex-wrap: wrap;
  }

  .footer_newsletter_box {
    padding: 16px;
    gap: 20px;
  }

  .footer_newletter_box_logo {
    width: 64px;
    top: -32px;
    left: -32px;
  }

  .footer_newsletter_box_title {
    font-size: 16px;
  }

  .footer_newsletter_box_form_input {
    font-size: 12px;
    padding: 8px 10px;
  }

  .contact_social_box {
    padding: 8px;
  }

  .contact_social_box i {
    font-size: 14px;
  }

  .footer_copy_write {
    padding: 16px;
    font-size: 12px;
  }

  /* Background Designs */
  .circle01 {
    top: 1000px;
    right: -200px;
    width: 50vw;
    height: 50vw;
  }

  .circle02 {
    top: 200px;
    left: -200px;
    width: 45vw;
    height: 45vw;
  }

  .circle04 {
    top: 2800px;
    right: -60px;
    width: 45vw;
    height: 45vw;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0px 16px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 15px;
  }

  h5 {
    font-size: 13px;
  }

  .box_caption {
    font-size: 10.5px;
  }

  .section_description_container {
    margin-bottom: 20px;
  }

  header {
    padding: 6px 10px;
  }

  .header_navbar {
    right: -62%;
    width: 60%;
    padding: 18px 16px;
    gap: 8px;
    font-size: 12px;
  }

  .header_nav_toggle {
    padding: 1px 2px;
  }

  .bi-list,
  .bi-x {
    font-size: 26px;
  }

  .primary_btn {
    font-size: 12px;
  }

  .primary_btn .bi-chevron-left {
    font-size: 9px;
  }

  .section_more_btn {
    font-size: 10px;
    padding: 1px 4px;
  }

  /* Hero Section */
  .hero_container {
    clip-path: inset(50px 20px round 16px);
  }

  .hero_title,
  .hero_content h1 {
    font-size: 20px;
  }

  .hero_caption,
  .hero_content p {
    font-size: 13px;
  }

  .hero_content_container {
    gap: 13px;
    padding: 0 12px;
    width: 80%;
  }

  /* About Section */
  .about_section_img img {
    width: 70%;
  }

  .about_section_content {
    gap: 10px;
  }

  /* Services Section */
  .services_section_box {
    padding: 14px 22px 10px 14px;
  }

  .services_section_box_title_container i {
    right: -18px;
    font-size: 14px;
    top: 2px;
  }

  /* Statistics Section */
  .statistics_section_box {
    padding: 20px 12px;
    height: 140px;
  }

  .statistics_section_box:nth-child(even) .statistics_section_box_title {
    font-size: 26px;
  }

  .statistics_section_box:nth-child(odd) .statistics_section_box_title {
    font-size: 28px;
  }

  .statistics_section_box:nth-child(odd) .statistics_section_box_caption {
    font-size: 16px;
  }

  .statistics_section_box:nth-child(3) .statistics_section_box_caption {
    font-size: 14px;
  }

  /* Events Section */
  .events_section_box_img {
    height: 140px;
  }

  .events_section_box_status {
    font-size: 11px;
    bottom: 8px;
    right: 8px;
    padding: 2px 8px;
  }

  .events_section_box_information,
  .events_section_box_information i {
    font-size: 10px;
  }

  /* Products Section */
  .products_section_box {
    gap: 12px;
  }

  .products_secttion_box_logo {
    width: 42px;
  }

  /* Courses Section */
  .courses_section_box_img {
    height: 140px;
  }

  .courses_section_box_information,
  .courses_section_box_information i {
    font-size: 10px;
  }

  /* News Section */
  .news_section_box_img {
    height: 140px;
  }

  .news_section_box {
    flex-direction: column;
    padding: 16px;
    margin: 0 4px;
  }

  /* More About Us */
  .more_about_us_img {
    width: 40vw;
  }

  /* Team Section */
  .team_section_box {
    padding: 14px;
    height: 160px;
  }

  .team_section_box_img {
    width: 56px;
    height: 56px;
  }

  .team-circle {
    width: 300px;
    height: 300px;
  }

  /* Footer */
  .footer_logo_img {
    width: 56px;
  }

  .footer_logo_name {
    font-size: 18px;
    width: 100px;
  }

  .footer_links {
    gap: 20px;
  }

  .footer_newsletter_box_title {
    font-size: 14px;
  }

  .footer_newsletter_box_form_input {
    font-size: 11px;
  }

  .contact_social_box {
    padding: 6px;
  }

  .contact_social_box i {
    font-size: 12px;
  }

  .footer_copy_write {
    padding: 12px;
    font-size: 11px;
  }
}

.more_about_white_bg {
  position: sticky;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--gray-100);
  z-index: -4;
}

/* Responsive hardening: keep dynamic content inside the viewport. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.archive_container,
.news_main_content,
.news_sidebar,
.footer_contact,
.footer_links,
.slick-slider,
.slick-list,
.slick-slide,
.slick-slide>div {
  min-width: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
li,
.box_caption,
.section_caption,
.team_section_box_title,
.team_section_box_position,
.team_role {
  overflow-wrap: anywhere;
  word-break: normal;
}

.news_content,
.course_intro_content,
.product_intro_content,
.page_details_content {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.news_content img,
.news_content video,
.news_content iframe,
.course_intro_content img,
.course_intro_content video,
.course_intro_content iframe,
.product_intro_content img,
.product_intro_content video,
.product_intro_content iframe,
.page_details_content img,
.page_details_content video,
.page_details_content iframe {
  max-width: 100% !important;
  height: auto;
}

.news_content table,
.course_intro_content table,
.product_intro_content table,
.page_details_content table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.news_content pre,
.course_intro_content pre,
.product_intro_content pre,
.page_details_content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.team_section_box_img,
.product_team_card .team_img {
  flex: 0 0 auto;
}

.team_section_box_content,
.product_team_card {
  min-width: 0;
  max-width: 100%;
}

.product_team_card {
  height: auto;
  align-self: stretch;
}

@media (max-width: 992px) {
  .header_navbar {
    right: 0;
    width: min(78vw, 320px);
    max-width: 100%;
    transform: translateX(105%);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .header_navbar.openNav {
    right: 0;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .main_slider_box {
    min-height: 150px;
    aspect-ratio: 16 / 8;
  }

  .news_featured_overlay {
    gap: 12px;
    flex-wrap: wrap;
    padding: 42px 18px 18px;
  }

  .news_featured_main_title {
    min-width: 0;
    font-size: clamp(18px, 5vw, 24px);
  }
}

@media (max-width: 567px) {
  .footer_logo_name {
    width: auto;
    max-width: calc(100vw - 120px);
  }

  .footer_contact,
  .footer_links,
  .footer_newsletter_box,
  .contact_info_box,
  .search_widget .search_form {
    min-width: 0;
    max-width: 100%;
  }

  .footer_newsletter_box_form_input,
  .search_widget .search_form input {
    min-width: 0;
    width: 100%;
  }

  .blog_pagination,
  .news_pagination,
  .pagination {
    max-width: 100%;
    flex-wrap: wrap;
  }
}

/* Balanced dynamic cards and mobile hero copy */
.team_section_box {
  justify-content: center;
}

.team_section_box_content {
  width: 100%;
}

.team_section_box_title,
.team_section_box_position,
.product_team_card h5,
.product_team_card .team_role {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team_section_box_title,
.product_team_card h5 {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.team_section_box_position,
.product_team_card .team_role {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product_team_grid .slick-track,
.team_section_boxs_carousel_container .slick-track {
  display: flex;
  align-items: stretch;
}

.product_team_grid .slick-slide,
.team_section_boxs_carousel_container .slick-slide {
  height: auto;
}

/*.product_team_grid .slick-slide>div,*/
/*.team_section_boxs_carousel_container .slick-slide>div {*/
  /*height: 100%;*/
/*}*/

.product_team_card {
  height: 100%;
  min-height: 230px;
  justify-content: flex-start;
}

.hero_content {
  width: 100%;
  min-width: 0;
}

.hero_title,
.hero_content h1,
.hero_caption,
.hero_content p {
  max-width: 100%;
}

@media (max-width: 768px) {
  .product_team_card {
    min-height: 210px;
  }

  .hero_content_container {
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 120px);
  }

  .hero_title,
  .hero_content h1 {
    font-size: clamp(20px, 6vw, 28px);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }

  .hero_caption,
  .hero_content p {
    font-size: clamp(12px, 3.8vw, 15px);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
  }
}

@media (max-width: 400px) {
  .hero_content_container {
    max-height: calc(100dvh - 100px);
  }

  .hero_title,
  .hero_content h1 {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .hero_caption,
  .hero_content p {
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
}

/* Archive pages and mobile navigation fixes */
@media (max-width: 768px) {

  /* The drawer always sits on a light surface, independent of scroll animations. */
  .header_navbar,
  .header_navbar.darkColor,
  .header_navbar.lightColor,
  .header_navbar .header_nav_link {
    color: var(--gray-700);
  }

  .header_navbar .header_nav_link_selected {
    color: var(--secondary-650);
  }

  .header_navbar .header_nav_item .header_nav_link::after {
    background-color: var(--gray-600);
  }

  /* These three archives share circle02 and the banner carousel. */
  body.products .circle02,
  body.events .circle02,
  body.courses .circle02,
  body.news .circle02 {
    left: 0;
    right: auto;
    max-width: 55vw;
  }

  body.products .circle02,
  body.events .circle02,
  body.courses .circle02 {
    display: none;
  }

  .archive_main_slider,
  .main_slider_boxs_conatiner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .archive_main_slider .slick-list {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .archive_container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .archive_container .products_section_box,
  .archive_container .events_section_box,
  .archive_container .courses_section_box {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    margin: 0;
  }
}

@media (max-width: 567px) {
  .archive_container {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Stable archive hero and banner sizing */
.hero_content_container {
  left: 50%;
  right: auto;
  margin-inline: 0;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {

  body.products .hero_content_container,
  body.events .hero_content_container,
  body.courses .hero_content_container {
    left: 0;
    right: 0;
    margin-inline: auto;
    transform: translateY(-50%);
    text-align: center;
  }

  .archive_main_slider {
    display: none;
  }

  .archive_main_slider .main_slider_box {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 10 / 4;
  }

  .archive_main_slider .main_slider_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Slick needs a wide track; only its viewport should clip overflow. */
  .archive_main_slider .slick-track {
    max-width: none;
  }
}

@media (max-width: 768px) {

  .header_nav_toggle,
  .header_nav_toggle.lightColor,
  .header_nav_toggle.darkColor,
  .header_nav_toggle .bi-list,
  .header_nav_toggle .bi-x {
    color: var(--primary-700);
  }

  .header_logo path,
  .header_logo path.lightColor,
  .header_logo path.darkColor {
    fill: var(--primary-700);
  }
}

@media (max-width: 768px) {

  body.products,
  body.events,
  body.courses,
  body.news,
  body.contact-us {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body.products>*,
  body.events>*,
  body.courses>*,
  body.news>*,
  body.contact-us>* {
    max-width: 100%;
  }
}

/* News archive mobile containment and optical hero centering */
@media (max-width: 768px) {
  .hero_content_container {
    top: 46%;
  }

  body.news .circle02 {
    display: none;
  }

  body.news .news_top_boxs_container {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  body.news .news_featured_main,
  body.news .news_featured_side {
    flex: none;
    flex-basis: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body.news .news_featured_main_img {
    min-height: 240px;
  }

  body.news .news_section_box,
  body.news .news_section_box_content,
  body.news .news_sidebar,
  body.news .sidebar_widget,
  body.news .recent_post,
  body.news .post_info {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .hero_content_container {
    top: 44%;
  }

  body.news .news_featured_main {
    padding: 14px;
  }

  body.news .news_featured_main_img {
    min-height: 210px;
  }
}

/* Contact page mobile containment */
@media (max-width: 768px) {
  body.contact-us .circle02 {
    display: none;
  }

  body.contact-us .hero_meta,
  body.contact-us .contact_form_section .container,
  body.contact-us .contact_form_wrapper,
  body.contact-us .contact_info_grid,
  body.contact-us .contact_info_box,
  body.contact-us .contact_location_section .container,
  body.contact-us .contact_location_map {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body.contact-us .form_row,
  body.contact-us .form_group {
    min-width: 0;
    max-width: 100%;
  }

  body.contact-us input,
  body.contact-us select,
  body.contact-us textarea,
  body.contact-us iframe {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* Safari-safe overflow containment for news and contact */
@media (max-width: 768px) {

  html,
  body.news,
  body.contact-us {
    max-width: 100vw;
    overflow-x: hidden;
    overflow-x: clip;
  }

  body.news *,
  body.contact-us * {
    min-width: 0;
  }

  body.news .news_main_layout .container,
  body.news .news_sidebar,
  body.contact-us .contact_form_section .container,
  body.contact-us .contact_form_wrapper .form_row {
    grid-template-columns: minmax(0, 1fr);
  }

  body.news img,
  body.news svg,
  body.news iframe,
  body.contact-us img,
  body.contact-us svg,
  body.contact-us iframe {
    max-width: 100%;
  }

  body.news .news_pagination,
  body.contact-us .hero_meta {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
  }
}

/* News pages: mobile containment for long titles and CMS content. */
@media (max-width: 768px) {
  body.news,
  body.inside-news {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-x: clip;
  }

  body.news *,
  body.inside-news * {
    min-width: 0;
  }

  body.news .hero_content_container,
  body.inside-news .hero_content_container {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    max-height: calc(100dvh - 140px);
    padding-inline: 4px;
  }

  body.inside-news .hero_content { gap: 8px; }

  body.inside-news .hero_meta {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    gap: 6px 12px;
    flex-wrap: wrap;
  }

  body.inside-news .hero_meta span,
  body.inside-news .hero_meta a {
    min-width: 0;
    font-size: 12px;
    line-height: 1.6;
  }

  body.news .news_main_layout .container,
  body.inside-news .news_main_layout .container,
  body.news .news_sidebar,
  body.inside-news .news_sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  body.news .news_section_box,
  body.inside-news .news_section_box,
  body.news .news_featured_main,
  body.news .news_featured_side,
  body.news .news_main_content,
  body.inside-news .news_main_content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.inside-news .news_content img,
  body.inside-news .news_content iframe,
  body.inside-news .news_content video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto;
  }
}

@media (max-width: 400px) {
  body.news .hero_content_container,
  body.inside-news .hero_content_container {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }
}
