/* ---------------------------------------------
Table of contents
------------------------------------------------
04. banner & voxel effects
05. services
06. courses
07. Speakers 
08. events
09. contact
11. responsive styles
--------------------------------------------- */

/* 
---------------------------------------------
04. Banner & Voxel Effects
--------------------------------------------- 
*/

.main-banner {
  background: #8865e1;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 0px 50px 0px;
  position: relative;
  overflow: hidden;
  perspective: 1500px;
}

.main-banner .item {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 130px 70px 50px;
}

.main-banner .item h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 70px;
  width: 60%;
  margin-bottom: 40px;
}

.main-banner .item p {
  color: #fff;
  width: 65%;
}

.main-banner .item .buttons {
  display: flex;
  margin-top: 50px;
}

.main-banner .item .buttons .main-button {
  margin-right: 30px;
}

.main-banner .item .buttons .main-button a {
  font-size: 14px;
  color: #8865e1;
  background-color: #fff;
  display: inline-block;
  height: 50px;
  line-height: 50px;
  padding: 0px 25px;
  font-weight: 500;
}

.main-banner .item .buttons .icon-button i {
  color: #8865e1;
  background-color: #fff;
  display: inline-block;
  height: 50px;
  width: 50px;
  text-align: center;
  line-height: 50px;
  margin-right: 10px;
  font-size: 16px;
}

.main-banner .item .buttons .icon-button a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.main-banner .container {
  position: relative;
  z-index: 10;
}

.main-banner .owl-carousel {
  position: relative;
  z-index: 10;
}

.main-banner .header-text {
  position: relative;
  z-index: 10;
}

/* Voxel Background */
.voxel-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.voxel {
  position: absolute;
  width: 80px;
  height: 80px;
  transform-style: preserve-3d;
  animation: bigVoxelFloat 12s ease-in-out infinite;
}

.voxel.large {
  width: 120px;
  height: 120px;
  animation: bigVoxelFloat 15s ease-in-out infinite;
}

.voxel.medium {
  width: 60px;
  height: 60px;
  animation: bigVoxelFloat 10s ease-in-out infinite;
}

.voxel-face {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.voxel:not(.large):not(.medium) .voxel-face {
  width: 80px;
  height: 80px;
}

.voxel.large .voxel-face {
  width: 120px;
  height: 120px;
}

.voxel.medium .voxel-face {
  width: 60px;
  height: 60px;
}

.voxel-face.front {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
}

.voxel:not(.large):not(.medium) .voxel-face.front {
  transform: translateZ(40px);
}

.voxel.large .voxel-face.front {
  transform: translateZ(60px);
}

.voxel.medium .voxel-face.front {
  transform: translateZ(30px);
}

.voxel-face.back {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.voxel:not(.large):not(.medium) .voxel-face.back {
  transform: translateZ(-40px) rotateY(180deg);
}

.voxel.large .voxel-face.back {
  transform: translateZ(-60px) rotateY(180deg);
}

.voxel.medium .voxel-face.back {
  transform: translateZ(-30px) rotateY(180deg);
}

.voxel-face.right {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.voxel:not(.large):not(.medium) .voxel-face.right {
  transform: rotateY(90deg) translateZ(40px);
}

.voxel.large .voxel-face.right {
  transform: rotateY(90deg) translateZ(60px);
}

.voxel.medium .voxel-face.right {
  transform: rotateY(90deg) translateZ(30px);
}

.voxel-face.left {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.voxel:not(.large):not(.medium) .voxel-face.left {
  transform: rotateY(-90deg) translateZ(40px);
}

.voxel.large .voxel-face.left {
  transform: rotateY(-90deg) translateZ(60px);
}

.voxel.medium .voxel-face.left {
  transform: rotateY(-90deg) translateZ(30px);
}

.voxel-face.top {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
}

.voxel:not(.large):not(.medium) .voxel-face.top {
  transform: rotateX(90deg) translateZ(40px);
}

.voxel.large .voxel-face.top {
  transform: rotateX(90deg) translateZ(60px);
}

.voxel.medium .voxel-face.top {
  transform: rotateX(90deg) translateZ(30px);
}

.voxel-face.bottom {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.voxel:not(.large):not(.medium) .voxel-face.bottom {
  transform: rotateX(-90deg) translateZ(40px);
}

.voxel.large .voxel-face.bottom {
  transform: rotateX(-90deg) translateZ(60px);
}

.voxel.medium .voxel-face.bottom {
  transform: rotateX(-90deg) translateZ(30px);
}

@keyframes bigVoxelFloat {
  0%,
  100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  25% {
    transform: translateY(-30px) rotateX(45deg) rotateY(45deg) rotateZ(15deg);
  }
  50% {
    transform: translateY(-60px) rotateX(90deg) rotateY(90deg) rotateZ(30deg);
  }
  75% {
    transform: translateY(-30px) rotateX(135deg) rotateY(135deg) rotateZ(45deg);
  }
}

.voxel.color-1 .voxel-face {
  border-color: rgba(255, 107, 107, 0.4);
}

.voxel.color-1 .voxel-face.front {
  background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.05));
}

.voxel.color-2 .voxel-face {
  border-color: rgba(78, 205, 196, 0.4);
}

.voxel.color-2 .voxel-face.front {
  background: linear-gradient(45deg, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.05));
}

.voxel.color-3 .voxel-face {
  border-color: rgba(255, 195, 113, 0.4);
}

.voxel.color-3 .voxel-face.front {
  background: linear-gradient(45deg, rgba(255, 195, 113, 0.2), rgba(255, 195, 113, 0.05));
}

.voxel:hover {
  animation-duration: 3s;
  transform: scale(1.1);
}

/* Giant Voxel */
.header-content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.header-text {
  flex: 1;
}

.giant-voxel {
  width: 250px;
  height: 250px;
  transform-style: preserve-3d;
  animation: giantVoxelFloat 15s ease-in-out infinite;
  position: relative;
}

.giant-voxel .voxel-face {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 4px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(3px);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.15), 0 0 50px rgba(255, 255, 255, 0.2);
}

.giant-voxel .voxel-face.front {
  transform: translateZ(125px);
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
}

.giant-voxel .voxel-face.back {
  transform: translateZ(-125px) rotateY(180deg);
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.giant-voxel .voxel-face.right {
  transform: rotateY(90deg) translateZ(125px);
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.08));
}

.giant-voxel .voxel-face.left {
  transform: rotateY(-90deg) translateZ(125px);
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.08));
}

.giant-voxel .voxel-face.top {
  transform: rotateX(90deg) translateZ(125px);
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15));
}

.giant-voxel .voxel-face.bottom {
  transform: rotateX(-90deg) translateZ(125px);
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
}

@keyframes giantVoxelFloat {
  0%,
  100% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  25% {
    transform: rotateX(45deg) rotateY(45deg) rotateZ(15deg);
  }
  50% {
    transform: rotateX(90deg) rotateY(90deg) rotateZ(30deg);
  }
  75% {
    transform: rotateX(135deg) rotateY(135deg) rotateZ(45deg);
  }
}

/* 
---------------------------------------------
05. Services Style
--------------------------------------------- 
*/
.services .service-item {
  position: relative;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.services .service-item:hover .icon img {
  margin-top: -50px;
}

.services .service-item .icon {
  width: 190px;
  height: 190px;
  display: inline-block;
  text-align: center;
  line-height: 0px;
  position: absolute;
  right: 0;
  top: -35px;
  perspective: 1000px;
  overflow: visible;
}

.services .service-item .icon img {
  max-width: 86px;
  transition: all .2s;
}

.services .service-item .main-content {
  padding: 80px 30px 50px 30px;
  background-color: #e9e1fe;
  margin-bottom: 30px;
  margin-right: 80px;
  transition: all .4s;
}

.services .service-item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 30px;
  transition: all .4s;
}

.services .service-item p {
  color: #4a4a4a;
  margin-bottom: 25px;
}

.cube {
  width: 100px;
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
  margin: 0 auto;
}

.cube-face {
  position: absolute;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.cube-face.front {
  transform: translateZ(50px);
}

.cube-face.back {
  transform: rotateY(180deg) translateZ(50px);
}

.cube-face.right {
  transform: rotateY(90deg) translateZ(50px);
}

.cube-face.left {
  transform: rotateY(-90deg) translateZ(50px);
}

.cube-face.top {
  transform: rotateX(90deg) translateZ(50px);
}

.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(50px);
}

.cube-purple .cube-face {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.cube-blue .cube-face {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.cube-green .cube-face {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotateX(20deg) rotateY(20deg);
  }
  50% {
    transform: translateY(-15px) rotateX(20deg) rotateY(20deg);
  }
}

.bx {
  font-family: boxicons !important;
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  display: inline-block;
  text-transform: none;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 40px;
}

/* 
---------------------------------------------
About Style
--------------------------------------------- 
*/
.about-us {
  position: relative;
  padding: 0px;
  margin-top: 130px;
}

.about-us:before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  width: 84%;
  height: 100%;
  background-color: #e9e1fe;
  content: "";
}

/* Original Accordion Container - Restored */
.accordion {
  margin-top: -40px;
  margin-bottom: -40px;
  background-color: #7a6ad8;
  padding: 80px 50px 50px 50px;
}

/* Original Accordion Items - Restored */
.accordion-item {
  background-color: #fff;
  margin-bottom: 30px;
  border: none;
}

.accordion-item .accordion-button {
  outline: none;
  box-shadow: none;
  border-radius: 40px !important;
}

.accordion-button:not(.collapsed) {
  color: #7a6ad8;
  background-color: #fff;
}

h2.accordion-header button {
  padding: 15px 25px;
  font-family: "Poppins";
  font-size: 16px;
  font-weight: 600;
}

.accordion-button::after {
  font-size: 18px;
  font-weight: 500;
  background-image: none;
  content: "+";
  width: 30px;
  height: 30px;
  display: inline-block;
  text-align: center;
  line-height: 30px;
  background-color: #7a6ad8;
  color: #fff;
}

.accordion-button:not(.collapsed)::after {
  background-image: none;
  line-height: 32px;
  content: "-";
}

.accordion-body {
  padding: 0px 25px 30px 25px;
  font-size: 14px;
  line-height: 28px;
  color: #4a4a4a;
}

/* Original Section Heading - Restored */
.about-us .section-heading {
  margin-left: 60px;
  margin-bottom: 0px;
}

.about-us .section-heading .main-button {
  margin-top: 50px;
}

/* Enhanced Custom Tabs - Keep the improved design */
.custom-tabs {
  display: flex;
  justify-content: flex-start;
  background: linear-gradient(135deg, #8865e1, #7a6ad8);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 30px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.custom-tabs .tab {
  padding: 15px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  border: none;
}

.custom-tabs .tab i {
  font-size: 16px;
  transition: all 0.3s ease;
}

.custom-tabs .tab:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.custom-tabs .tab.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.custom-tabs .tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
}

/* 
---------------------------------------------
06. Courses Style
--------------------------------------------- 
*/
.courses {
  margin-top: 60px;
}

.event_filter {
  text-align: center;
  background-color: #e9e1fe;
  padding: 15px 40px;
  list-style: none;
  margin: 0 auto 70px;
  max-width: max-content;
}

.event_filter li {
  display: inline-block;
  margin: 0px 20px;
}

.event_filter li a {
  font-size: 14px;
  font-weight: 500;
  color: #1e1e1e;
  transition: all .3s;
}

.event_filter li a.is_active,
.event_filter li a:hover {
  color: #8865e1;
}

.events_item {
  background-color: #e9e1fe;
  margin-bottom: 30px;
  position: relative;
  height: 380px;
  overflow: hidden;
}

.events_item .thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 250px;
  background-color: #f8f9fa;
}

.events_item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  margin-bottom: 0;
}

.events_item .thumb:hover img {
  transform: scale(1.05);
}

.events_item .thumb span.category {
  position: absolute;
  left: 30px;
  top: 30px;
  font-size: 14px;
  text-transform: uppercase;
  color: #8865e1;
  background-color: rgba(250, 250, 250, 0.95);
  padding: 8px 20px;
  font-weight: 500;
  display: inline-block;
}

.events_item .thumb span.price {
  position: absolute;
  right: -30px;
  top: -50px;
  background-color: rgba(122, 106, 216, 0.95);
  width: 130px;
  height: 130px;
  display: inline-block;
  transition: all .3s;
}

.events_item .thumb span.price h6 {
  margin-top: 72px;
  margin-left: 22px;
  font-size: 28px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
}

.events_item .thumb span.price em {
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  vertical-align: top;
}

.events_item .down-content {
  padding: 20px 30px 25px 30px;
  overflow: hidden;
}

.events_item .down-content span.author {
  color: #8865e1;
  font-size: 15px;
  display: inline-block;
  margin-bottom: 6px;
  height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
}

.events_item .down-content h4 {
  height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1e1e1e;
  transition: all .3s;
  word-wrap: break-word;
  hyphens: auto;
  direction: ltr;
}

.events_item:hover .down-content h4 {
  color: #8865e1;
}

.events_item:hover .thumb span.price {
  transform: scale(1.2);
}

/* 
---------------------------------------------
07. Team Style (UPDATED)
--------------------------------------------- 
*/

.team-member {
  margin-bottom: 120px;
  transition: all 0.3s ease;
  height: 350px;
  display: flex;
  flex-direction: column;
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.team-member img {
  width: 220px !important;
  height: 220px !important;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-110px);
  max-width: none;
  border: 4px solid #fff;
}

.team-member .main-content {
  padding: 90px 25px 25px 25px;
  background: linear-gradient(145deg, #e9e1fe, #f0ebff);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.team-member .main-content span.category {
  color: #8865e1;
  font-size: 13px;
  font-weight: 600;
  background: rgba(136, 101, 225, 0.1);
  padding: 8px 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  white-space: nowrap;
}

.team-member .main-content h4 {
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  position: relative;
  margin-bottom: 20px;
  margin-top: 10px;
}

.speaker-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px -4px;
  padding: 10px 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(136, 101, 225, 0.1);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #8865e1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 10px;
  color: #7f8c8d;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.star-rating i {
  color: #f39c12;
  font-size: 14px;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.clickable-card {
  cursor: pointer;
}

.team-member .main-content ul {
  margin-top: auto;
  padding-top: 10px;
}

.team-member .main-content ul li {
  display: inline-block;
  margin: 0px 2px;
}

.team-member .main-content ul li a {
  background-color: #fff;
  color: #8865e1;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  width: 40px;
  height: 40px;
  transition: all .3s;
}

.team-member .main-content ul li a:hover {
  background-color: #8865e1;
  color: #fff;
}

.rating-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(136, 101, 225, 0.2);
  z-index: 5;
}

.rating-badge .star-rating {
  display: flex;
  gap: 1px;
}

.rating-badge .star-rating i {
  color: #f39c12;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rating-badge .rating-text {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-left: 2px;
}

/* 
---------------------------------------------
08. Events Style
--------------------------------------------- 
*/
.events .section-heading {
  margin-bottom: 100px;
}

.events .item {
  background-color: #e9e1fe;
  position: relative;
  padding: 40px;
  margin-bottom: 96px;
}

.events .item .image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.events .item .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
  transition: transform 0.3s ease;
}

.events .item:hover .image img {
  transform: scale(1.03);
}

.events .item ul li {
  display: inline-block;
  width: 17.5%;
  vertical-align: middle;
}

.events .item ul li:first-child {
  width: 35%;
}

.events .item ul li:nth-of-type(2) {
  width: 28%;
}

.events .item ul li span.category {
  font-size: 14px;
  text-transform: uppercase;
  color: #8865e1;
  background-color: #fff;
  padding: 8px 20px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 20px;
}

.events .item ul li h4 {
  font-size: 22px;
  font-weight: 600;
}

.events .item ul li span {
  display: inline-block;
  font-size: 14px;
  color: #4a4a4a;
  margin-bottom: 10px;
}

.events .item ul li h6 {
  font-size: 16px;
  color: #8865e1;
  font-weight: 600;
}

.events .item a {
  position: absolute;
  right: 0;
  top: 22px;
  background-color: #8865e1;
  width: 60px;
  height: 120px;
  display: inline-block;
  text-align: center;
  line-height: 120px;
  font-size: 18px;
  z-index: 1;
  color: #fff;
}

/* Fun Facts */
.fun-facts {
  position: relative;
  padding: 120px 0px 80px 0px;
  overflow: hidden;
  background: #8865e1;
}

.fun-facts:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 95%;
  height: 100%;
  background: #8865e1;
  content: "";
}

.stat-item1 {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  margin: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1 1 18%;
  min-width: 150px;
}

.stat-item1:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-number1 {
  color: #fff;
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-text1 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-button3 {
  display: flex;
  justify-content: center;
  margin-top: -100px;
}

.main-button3 a {
  display: inline-block;
  background-color: #8865e1;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  padding: 0px 25px;
  transition: all .3s;
}

/* 
---------------------------------------------
09. Contact Style
--------------------------------------------- 
*/
.contact-us {
  margin-top: 80px;
  position: relative;
  padding: 50px 0px;
}

.contact-us:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 65%;
  height: 100%;
  background-color: #e9e1fe;
  content: "";
}

.contact-us .section-heading {
  margin-right: 110px;
  margin-bottom: 0px;
}

.contact-us .contact-us-content {
  padding: 80px;
  background-color: #8865e1;
  position: relative;
  z-index: 1;
}

#contact-form input {
  width: 100%;
  height: 50px;
  background-color: rgba(249, 235, 255, 0.15);
  border: none;
  outline: none;
  font-weight: 300;
  padding: 0px 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
}

#contact-form input::placeholder {
  color: #fff;
}

#contact-form select {
  width: 100%;
  height: 50px;
  background-color: rgba(249, 235, 255, 0.15);
  border: 0px solid rgba(255, 255, 255, 0.2);
  outline: none;
  font-weight: 300;
  padding: 0px 45px 0px 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

#contact-form select option {
  background-color: #8865e1;
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 400;
  border: none;
  outline: none;
}

#contact-form textarea {
  width: 100%;
  height: 120px;
  background-color: rgba(249, 235, 255, 0.15);
  border: none;
  outline: none;
  font-weight: 300;
  padding: 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
}

#contact-form textarea::placeholder {
  color: #fff;
}

#contact-form button {
  border: none;
  height: 50px;
  font-size: 14px;
  font-weight: 600;
  background-color: #fff;
  padding: 0px 25px;
  color: #8865e1;
  transition: all .4s;
  position: relative;
  z-index: 3;
}

#contact-form button:hover {
  opacity: 0.8;
}

#countryCode {
  height: 50px;
  background-color: rgba(249, 235, 255, 0.15);
  border: none;
  outline: none;
  font-weight: 300;
  padding: 0px 10px;
  font-size: 14px;
  color: #fff;
  z-index: 3;
}

#countryCode::placeholder {
  color: #fff;
}

.select2-container--default.custom-select2 .select2-selection--single {
  background-color: rgba(249, 235, 255, 0.15);
  height: 50px;
  border: none;
  font-weight: 300;
  padding: 0 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

.select2-container--default.custom-select2 .select2-selection--single .select2-selection__rendered {
  color: #fff;
  line-height: 50px;
  padding-left: 0;
}

.select2-container--default.custom-select2 .select2-selection--single .select2-selection__arrow {
  height: 50px;
  top: 0;
  right: 10px;
}

.select2-container--default .select2-results__option {
  background-color: #8865e1;
  color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #fff transparent transparent transparent !important;
}


/* 
---------------------------------------------
11. Responsive Styles
--------------------------------------------- 
*/
@media (max-width: 1200px) {
  .fun-facts:before {
    width: 95%;
  }
}

@media (max-width: 1199px) {
  .main-banner {
    padding-top: 100px;
  }
  .main-banner .item {
    padding: 100px 60px 140px 60px;
    margin-left: 0px;
    text-align: center;
  }
  .main-banner .item h2,
  .main-banner .item p {
    width: 100%;
  }
  .main-banner .item h2 {
    font-size: 36px;
    line-height: 50px;
  }
  .main-banner .item .buttons {
    display: inline-block;
    text-align: center;
  }
  .main-banner .item .buttons .main-button {
    margin-right: 0px;
    margin-bottom: 30px;
  }
  .services {
    margin-top: 80px;
  }
  .services .service-item .icon {
    width: 170px;
    height: 170px;
    line-height: 170px;
  }

  .services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .services .service-item {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .services .service-item .main-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 0; /* شيل التباعد */
  }

  .services .service-item .main-content p {
    flex: 1;
  }

  .services .service-item .show-more-button {
    align-self: center;
    margin-top: auto;
    padding: 10px 20px;
    background: white;
    color: #8865e1;
    border-radius: 25px;
    font-weight: bold;
    border: 1px solid #8865e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    text-align: center;
  }

  .services .service-item .icon {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

    .services .service-item {
    margin-bottom: 40px; /* هون زاد الفراغ بين المكعب والبوكس الأبيض */
    position: relative;
    top: 0;
  }

  .courses {
    margin-top: 100px;
  }
  .events_item {
    height: 400px;
  }
  .events {
    margin-top: 80px;
  }
  .events .item {
    margin-bottom: 66px;
  }
  .events .item .image img {
    position: relative;
    max-width: 100%;
  }
  .events .item ul {
    margin-top: -40px;
  }
  .events .item ul li:first-child {
    width: 100% !important;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
  }
  .events .item ul li:nth-child(2) {
    width: 40% !important;
  }
  .events .item ul li {
    display: inline-block;
    width: 28% !important;
  }
  .events .item ul li:last-child {
    text-align: right;
  }
  .events .item a {
    bottom: 150px;
    top: auto;
  }
  .events .item ul li h6 {
    font-size: 14px;
  }
  .contact-us {
    padding-top: 20px;
  }
  .contact-us .section-heading {
    margin-right: 0px;
  }
  .contact-us .contact-us-content {
    padding: 30px;
  }
  .contact-us::before {
    display: none;
  }
 
  .stat-number1 {
    font-size: 55px !important;
  }
  .stat-text1 {
    font-size: 14px !important;
  }
  .stat-item1 {
    padding: 30px 15px !important;
    margin: 5px !important;
  }
}

@media (max-width: 1199px) {
  .main-banner .item {
    padding: 80px 30px 120px 30px !important;
  }

  .header-content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .giant-voxel {
    width: 180px;
    height: 180px;
    margin-top: 30px;
  }

  .giant-voxel .voxel-face {
    width: 180px;
    height: 180px;
  }

  .giant-voxel .voxel-face.front,
  .giant-voxel .voxel-face.back {
    transform: translateZ(90px);
  }

  .giant-voxel .voxel-face.back {
    transform: translateZ(-90px) rotateY(180deg);
  }

  .giant-voxel .voxel-face.right {
    transform: rotateY(90deg) translateZ(90px);
  }

  .giant-voxel .voxel-face.left {
    transform: rotateY(-90deg) translateZ(90px);
  }

  .giant-voxel .voxel-face.top {
    transform: rotateX(90deg) translateZ(90px);
  }

  .giant-voxel .voxel-face.bottom {
    transform: rotateX(-90deg) translateZ(90px);
  }


    .giant-voxel {
      transform: rotateX(15deg) rotateY(25deg);
      animation: none !important;
      transition: none !important;
    }

    .giant-voxel .voxel-face {
      animation: none !important;
      transition: none !important;
    }

    /* اخفي كل voxel الثانية */
    .voxel,
    .voxel.large,
    .voxel.medium {
      display: none !important;
    }

  .event_filter {
    padding: 15px 20px;
  }

  .event_filter li {
    display: inline-block;
    margin: 0px 10px;
  }

  .events_item .thumb {
    height: 200px;
  }

  .events .item .image {
    height: 150px;
  }

  .events_item {
    height: 380px;
  }

  .events_item .down-content h4 {
    height: 70px;
    font-size: 16px;
  }

  .events .main-button2 {
    margin-top: -20px !important;
  }

  #contact-form select {
    font-size: 16px;
    height: 55px;
  }

  #contact-form select option {
    font-size: 16px;
    padding: 15px 20px;
  }
}

@media (max-width: 992px) {
  .custom-tabs .tab {
    padding: 12px 20px;
    font-size: 14px;
  }

  .about-us .section-heading {
    margin-left: 30px;
    margin-top: 40px;
  }
   .about-us:before {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-us:before {
    display: none;
  }

  .about-us .section-heading {
    margin-bottom: 30px;
    margin-left: 15px;
  }

  .custom-tabs .tab span {
    display: none;
  }

  .custom-tabs .tab i {
    font-size: 18px;
  }

  .custom-tabs .tab {
    padding: 12px 15px;
  }

  .about-us .section-heading {
    margin-left: 15px;
  }

  .accordion {
    padding: 60px 30px 30px 30px;
  }

  .user-profile-dropdown {
    order: 2;
    margin-right: 15px;
  }

  .profile-trigger {
    padding: 6px 12px;
  }

  .profile-image {
    width: 30px;
    height: 30px;
  }

  .user-profile-dropdown .dropdown-menu {
    right: -10px !important;
    min-width: 160px !important;
  }

  .rating-badge {
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    border-radius: 15px;
  }

  .rating-badge .star-rating i {
    font-size: 11px;
  }

  .rating-badge .rating-text {
    font-size: 11px;
  }
}


@media (max-width: 480px) {
  .events_item .thumb {
    height: 180px;
  }

  .events .item .image {
    height: 120px;
  }

  .events_item {
    height: 290px;
  }

  .events_item .down-content {
    padding: 15px 20px 20px 20px;
  }

  .events_item .down-content h4 {
    height: 60px;
    font-size: 15px;
    -webkit-line-clamp: 2;
  }

  .rating-badge {
    top: 8px;
    right: 8px;
    padding: 5px 8px;
    border-radius: 12px;
  }

  .rating-badge .star-rating i {
    font-size: 10px;
  }

  .rating-badge .rating-text {
    font-size: 10px;
  }
}

@media (max-width: 459px) {
  .fun-facts .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stat-item1 {
    margin-bottom: 20px;
  }
}

.section.fun-facts .row > [class^="col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
