/*RESET*/
:root {
  --primary-color: #ffffff;
  --accent-color: #1976D2;
  --gold-color: #FFC107; 
  --text-color: #2c3e50;
  --light-bg: #f8f9fa;
  --gradient: linear-gradient(135deg, #2727ae, #120d98);
}
.dark {
  --primary-color: #000;
  --text-color: #fff;
}
.clr-primary {
  color: var(--accent-color) !important;
}
.bg-primary {
  background-color: var(--accent-color) !important;
}
.clr-secondary {
  color: var(--gold-color) !important;
}
.text-color {
  color: var(--text-color);
}
body {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  min-height: 100vh;
  display: flex;
  background: var(--primary-color);
  flex-direction: column;
  font-family: "Tajawal", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  justify-content: space-between;
}
a,
a:hover {
  color: inherit;
}
/* dark */
body.overlay {
  overflow: hidden;
}
.img {
  width: 40px;
  height: 40px;
}
.lazyload {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lazyloaded {
  opacity: 1;
}
.btn {
  all: unset;
  padding: 15px 40px;
  border-radius: 10px;
  background-color: #f17732;
  color: #e6e7ff;
  font-weight: bold;
  text-transform: capitalize;
  cursor: pointer;
  -webkit-transition: opacity 200ms ease-in-out;
  transition: opacity 200ms ease-in-out;
}
svg {
  display: inline-block;
  width: 30px;
  height: 30px;
}

/*Header default*/

.navbar {
  width: 100%;
  right: 0;
  left: 0;
  top: 0px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  border-bottom: none;
  z-index: 999;
  opacity: 1;
}
.dark .navbar {
  background-color: rgb(0, 0, 0);
  color: #fff;
}

.dark body {
  background-color: #000;
}
.navbar .burger-icon svg {
  fill: rgb(0, 0, 0);
}
.dark .navbar .burger-icon svg {
  fill: #fff;
}

.menu-header {
  display: none;
}
.menu-header.active {
  display: block;
}
/*.navbar.scrolled  {
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 200;
    background-color: #44B900;
    transition: all 1s ease;
    width: 100%;
    height: 3px;
}
*/

/* toggle dark */
.theme-switch {
  --toggle-size: 30px;
  /* the size is adjusted using font-size,
     this is not transform scale,
     so you can choose any size */
  --container-width: 5em;
  --container-height: 2.5em;
  --container-radius: 6.25em;
  /* radius 0 - minecraft mode :) */
  --container-light-bg: #3d7eae;
  --container-night-bg: #1d1f2c;
  --circle-container-diameter: 3.375em;
  --sun-moon-diameter: 2.125em;
  --sun-bg: #ecca2f;

  --moon-bg: #c4c9d1;
  --spot-color: #959db1;
  --circle-container-offset: calc(
    (var(--circle-container-diameter) - var(--container-height)) / 2 * -1
  );
  --stars-color: #fff;
  --clouds-color: #f3fdff;
  --back-clouds-color: #aacadf;
  --transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
  --circle-transition: 0.3s cubic-bezier(0, -0.02, 0.35, 1.17);
}

.theme-switch,
.theme-switch *,
.theme-switch *::before,
.theme-switch *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  z-index: 9;
  padding: 0;
  font-size: 15px;
}

.theme-switch__container {
  width: var(--container-width);
  height: var(--container-height);
  background-color: var(--container-light-bg);
  border-radius: var(--container-radius);
  overflow: hidden;
  cursor: pointer;
  -webkit-box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 0.25),
    0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
  box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 0.25),
    0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  position: relative;
}

.theme-switch__container::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  -webkit-box-shadow: 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset,
    0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
  box-shadow: 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset,
    0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
  border-radius: var(--container-radius);
}

.theme-switch__checkbox {
  display: none;
}

.theme-switch__circle-container {
  width: var(--circle-container-diameter);
  height: var(--circle-container-diameter);
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  left: var(--circle-container-offset);
  top: var(--circle-container-offset);
  border-radius: var(--container-radius);
  -webkit-box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1),
    inset 0 0 0 3.375em rgba(255, 255, 255, 0.1),
    0 0 0 0.625em rgba(255, 255, 255, 0.1),
    0 0 0 1.25em rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1),
    inset 0 0 0 3.375em rgba(255, 255, 255, 0.1),
    0 0 0 0.625em rgba(255, 255, 255, 0.1),
    0 0 0 1.25em rgba(255, 255, 255, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: var(--circle-transition);
  -o-transition: var(--circle-transition);
  transition: var(--circle-transition);
  pointer-events: none;
}

.theme-switch__sun-moon-container {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  width: var(--sun-moon-diameter);
  height: var(--sun-moon-diameter);
  margin: auto;
  border-radius: var(--container-radius);
  background-color: var(--sun-bg);
  -webkit-box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61)
      inset,
    0em -0.062em 0.062em 0em #a1872a inset;
  box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset,
    0em -0.062em 0.062em 0em #a1872a inset;
  -webkit-filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25))
    drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
  filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25))
    drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
  overflow: hidden;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

.theme-switch__moon {
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  width: 100%;
  height: 100%;
  background-color: var(--moon-bg);
  border-radius: inherit;
  -webkit-box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61)
      inset,
    0em -0.062em 0.062em 0em #969696 inset;
  box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset,
    0em -0.062em 0.062em 0em #969696 inset;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  position: relative;
}

.theme-switch__spot {
  position: absolute;
  top: 0.75em;
  left: 0.312em;
  width: 0.75em;
  height: 0.75em;
  border-radius: var(--container-radius);
  background-color: var(--spot-color);
  -webkit-box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
  box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
}

.theme-switch__spot:nth-of-type(2) {
  width: 0.375em;
  height: 0.375em;
  top: 0.937em;
  left: 1.375em;
}

.theme-switch__spot:nth-last-of-type(3) {
  width: 0.25em;
  height: 0.25em;
  top: 0.312em;
  left: 0.812em;
}

.theme-switch__clouds {
  width: 1.25em;
  height: 1.25em;
  background-color: var(--clouds-color);
  border-radius: var(--container-radius);
  position: absolute;
  bottom: -0.625em;
  left: 0.312em;
  -webkit-box-shadow: 0.937em 0.312em var(--clouds-color),
    -0.312em -0.312em var(--back-clouds-color),
    1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color),
    2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color),
    2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color),
    3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color),
    4.5em -0.312em var(--clouds-color),
    3.375em -0.437em var(--back-clouds-color),
    4.625em -1.75em 0 0.437em var(--clouds-color),
    4em -0.625em var(--back-clouds-color),
    4.125em -2.125em 0 0.437em var(--back-clouds-color);
  box-shadow: 0.937em 0.312em var(--clouds-color),
    -0.312em -0.312em var(--back-clouds-color),
    1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color),
    2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color),
    2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color),
    3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color),
    4.5em -0.312em var(--clouds-color),
    3.375em -0.437em var(--back-clouds-color),
    4.625em -1.75em 0 0.437em var(--clouds-color),
    4em -0.625em var(--back-clouds-color),
    4.125em -2.125em 0 0.437em var(--back-clouds-color);
  -webkit-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
  -o-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
  transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
}

.theme-switch__stars-container {
  position: absolute;
  color: var(--stars-color);
  top: -100%;
  left: 0.312em;
  width: 2.75em;
  height: auto;
  -webkit-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
}

/* actions */

.theme-switch__container.active {
  background-color: var(--container-night-bg);
}

.theme-switch__container.active .theme-switch__circle-container {
  left: calc(
    100% - var(--circle-container-offset) - var(--circle-container-diameter)
  );
}

.theme-switch__container.active .theme-switch__moon {
  -webkit-transform: translate(0);
  -ms-transform: translate(0);
  transform: translate(0);
}

.theme-switch__container.active .theme-switch__clouds {
  bottom: -4.062em;
}

.theme-switch__container.active .theme-switch__stars-container {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.image-profile-header .profile-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  object-fit: cover;
}

/* نموذج البروفايل */
.image-profile-header .profile-model {
  top: 70px;
  right: 20px;
  background: var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  z-index: 1000;
}

.image-profile-header .profile-model.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.image-profile-header .profile-content {
  padding: 1.5rem;
}

.image-profile-header .user-info {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--accent-color);
}

.image-profile-header .user-info h3 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.image-profile-header .user-info p {
  margin: 0;
  color: var(--gold-color);
}

.image-profile-header .profile-actions {
  padding: 0.5rem 0;
}

.image-profile-header .action-item {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.image-profile-header .action-item:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateX(5px);
}

.image-profile-header .action-item i {
  width: 30px;
  font-size: 1.1rem;
  color: var(--secondary-color);
}
/******* End Nav  Bars ***************/
/* Hero Section */
.biology-pattern {
  background-image: url("https://shukri-matics.s-auto.online/images/bg_hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.9); /* لون شفاف فوق الصورة */
  background-blend-mode: overlay;
}
.hero {
  padding: 180px 40px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  min-height: 100vh;
  align-items: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeIn 1s ease-out forwards;
}
.dark .hero {
  color: #fff;
  background-color: #121310;
}
.dark .hero h1 {
  color: #fff;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--text-color);
  margin-bottom: 10px;
  position: relative;
  opacity: 0;
  animation: fadeInText 1s 0.5s ease-out forwards;
}

.hero h2 {
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 20px;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero img {
  width: 100%;
  scale: 1.2;
  max-width: 400px;
  transition: transform 0.5s ease-in-out;
  animation: floatImage 4s infinite alternate ease-in-out;
}

@keyframes floatImage {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero .image {
    order: -1;
    display: flex;
    justify-content: center;
  }
  .hero img {
    max-width: 300px;
  }
}

/*******  Start feature card  ***************/
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card {
  background: var(--primary-color);
  border-radius: 15px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(64, 255, 218, 0.1);
  box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

.feature-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gold-color);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
  animation: shake 0.5s ease;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--gold-color);
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 5px rgba(100, 255, 218, 0.5));
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  color: var(--light-bg);
  transform: rotate(15deg) scale(1.1);
  filter: drop-shadow(0 0 15px rgba(100, 255, 218, 0.8));
}

.feature-card h3 {
  color: var(--gold-color);
  margin-bottom: 15px;
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
}
.feature-card:hover h3 {
  color: #fff;
}

.feature-card p {
  line-height: 1.8;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

@keyframes shake {
  0% {
    transform: translateY(-10px) rotate(0deg);
  }
  20% {
    transform: translateY(-10px) rotate(3deg);
  }
  40% {
    transform: translateY(-10px) rotate(-3deg);
  }
  60% {
    transform: translateY(-10px) rotate(3deg);
  }
  80% {
    transform: translateY(-10px) rotate(-3deg);
  }
  100% {
    transform: translateY(-10px) rotate(0deg);
  }
}
/******* End feature card   ***************/
/*******  Start who is  ***************/
.profile-container {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.dark .profile-container {
  background-color: #040901;
  color: #fff;
}
.profile-container .profile-header {
  border-bottom: 3px solid var(--gold-color);
}
.profile-container .profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--accent-color);
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.2);
}

.profile-container .profile-header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: var(--accent-color);
  position: relative;
}

.profile-container .profile-header h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
}

.profile-container .education-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.profile-container .education-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  border-top: 2px solid var(--gold-color);
  border-right: 2px solid var(--accent-color);
  transition: transform 0.3s ease;
}
.dark .profile-container .education-card {
  background-color: #19282b;
}
.profile-container .education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.1);
}

.profile-container .education-card h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-container .education-card h3 i {
  font-size: 1.3rem;
  color: var(--accent-color);
}

.profile-container .badge {
  display: inline-block;
  background: var(--gold-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin: 10px 0;
}

@media (max-width: 768px) {
  .profile-container .profile-header h1 {
    font-size: 2rem;
  }
  .profile-container .profile-img {
    width: 150px;
    height: 150px;
  }
}

.accordion {
  margin: 20px 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  padding: 20px;
  background: #f8f9fa;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
.dark .accordion-header {
  background-color: #000;
}
.dark .accordion-header:hover {
  background: #090505;
}
.accordion-header:hover {
  background: #f1f1f1;
}

.accordion-header.active {
  background: var(--accent-color);
  color: white;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.qualification-item {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 15px;
  align-items: start;
}

.qualification-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
/*******  End who is  ***************/
/******* start honor wall images  ***************/
.honor-wall .honor-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #27ae60;
}

.honor-wall .scroll-container {
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: #27ae60 #f1f1f1;
}

.honor-wall .scroll-container::-webkit-scrollbar {
  height: 8px;
}

.honor-wall .scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.honor-wall .scroll-container::-webkit-scrollbar-thumb {
  background: #27ae60;
  border-radius: 4px;
}

.honor-wall .honor-grid {
  display: inline-flex;
  gap: 25px;
  padding: 0 20px;
}

.honor-wall .honor-card {
  min-width: 400px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

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

.honor-wall .honor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.honor-wall .honor-card:hover img {
  transform: scale(1.05);
}

.honor-wall .card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  text-align: center;
}
/******* End honor wall images  ***************/
/******* Start years card and course    ***************/
.years-section {
  animation: fadeInSection 1s ease-out forwards;
}
@keyframes fadeInSection {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 60px;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}
.years-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.year-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  animation: fadeIn 1s ease-out forwards;
}
.dark .year-card .card-content {
  background-color: #000;
  color: #fff;
}
.dark .year-card {
  background-color: #000;
}
.year-card:hover {
  transform: translateY(-10px) rotate(-1deg) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}
.year-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.year-card:hover .card-image img {
  transform: scale(1.05);
}
.year-card .card-content {
  padding: 25px;
  position: relative;
  z-index: 1;
  background: #fff;
}
.years-section .year-title {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}
.year-card .year-description {
  color: #7aaa72;
  line-height: 1.8;
  margin-bottom: 20px;
}
.year-card .view-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px;
  background: linear-gradient(135deg, var(--gold-color), var(--accent-color));
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s ease;
}
.year-card .view-button:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--gold-color));
  transform: scale(1.05);
}
/* Decorative Shapes with Animation */
.years-section .decorative-shape {
  position: absolute;
  opacity: 0.1;
  z-index: 0;
}
.years-section .shape-1 {
  width: 150px;
  height: 150px;
  background: var(--accent-color);
  border-radius: 30px;
  top: -50px;
  left: -50px;
  transform: rotate(45deg);
  animation: float 6s ease-in-out infinite alternate;
}
.years-section .shape-2 {
  width: 200px;
  height: 200px;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  bottom: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite alternate-reverse;
}

@media (max-width: 768px) {
  .years-section .section-title {
    font-size: 2rem;
  }
  .years-container {
    grid-template-columns: 1fr;
  }
}
/******* End years card and course    ***************/
/**********Start primary form login signup******************/
.form-user-wrapper {
  display: flex;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.dark .form-user-wrapper {
  background-color: #000;
}

.form-user-wrapper .image-section {
  flex: 1;
  background: linear-gradient(rgba(39, 174, 96, 0.9), rgba(39, 174, 96, 0.9)),
    url("https://images.unsplash.com/photo-1581726707445-75cbe4efc586?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.form-user-wrapper .image-section::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.1) 10px,
    rgba(255, 255, 255, 0.1) 20px
  );
  animation: slide 40s linear infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.form-user-wrapper .form-section {
  flex: 1;
  padding: 80px 60px;
}

.form-user-wrapper .form-title {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.form-user-wrapper .form-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient);
}

.form-group {
  margin-bottom: 30px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 500;
}

.form-group .input-wrapper {
  position: relative;
}

.form-group .form-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
  font-size: 1.2rem;
}

.dark .form-group .form-input {
  background: #000;
}
.form-group .form-input {
  width: 100%;
  padding: 16px 60px 16px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group .form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.15);
}

.password-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--accent-color);
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-top: 30px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}
/**********End primary form login signup******************/
/* Start Welcome page user */
.welcome-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 50px 0;
  padding: 40px;
  background: linear-gradient(135deg, var(--accent-color), var(--gold-color));
  border-radius: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    transparent,
    rgba(255, 255, 255, 0.1)
  );
  transform: rotate(45deg);
  animation: shine 6s infinite;
}
@keyframes shine {
  0% {
    left: -50%;
  }
  100% {
    left: 150%;
  }
}

.welcome-section .welcome-text {
  flex: 1;
}
.welcome-section .welcome-text h1 {
  font-size: 3rem;

  margin-bottom: 20px;
}
.welcome-section .welcome-text h1 span {
  color: var(--accent-color);
}
.welcome-section .welcome-text h2 {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 15px;
}
.welcome-section .welcome-text p {
  font-size: 1.1rem;
  line-height: 1.8;
}
.welcome-section .welcome-image {
  flex: 1;
  max-width: 500px;
  border-radius: 15px;
  overflow: hidden;
}
.welcome-section .welcome-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}

.about-section {
  background: var(--primary-color);
  padding: 40px;
  border-radius: 20px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--accent-color);
}
.about-section h2 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 40px 0;
}
.quick-links .link-card {
  background: var(--primary-color);
  padding: 25px;
  border-radius: 15px;
  transition: transform 0.3s ease;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--accent-color);
}
.quick-links .link-card:hover {
  transform: translateY(-5px);
}
.quick-links .link-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}
.quick-links .link-card h3 {
  margin-bottom: 10px;
}
.quick-links .link-card p {
  color: #666;
  margin-bottom: 15px;
}
.quick-links .link-card a {
  display: inline-block;
  padding: 10px 25px;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
}
.quick-links .link-card a:hover {
  background: var(--gold-color);
}

@media (max-width: 768px) {
  .welcome-section {
    flex-direction: column;
    text-align: center;
  }
  .welcome-section .welcome-image {
    max-width: 100%;
    order: -1;
  }
  .welcome-section .welcome-text h1 {
    font-size: 2.5rem;
  }
}
/* End Welcome page user */
/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 15px;
  }

  .form-group .form-input {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .form-user-wrapper .form-title {
    font-size: 2.2rem;
  }

  .form-section {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .form-user-wrapper {
    flex-direction: column;
  }

  .form-user-wrapper .image-section {
    padding: 50px 20px;
  }

  .form-user-wrapper .form-section {
    padding: 40px 20px;
  }

  .form-user-wrapper .form-title {
    font-size: 2rem;
  }

  .form-group .form-input {
    padding: 14px 50px 14px 15px;
  }

  .form-group .form-icon {
    right: 15px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .form-user-wrapper .form-title {
    font-size: 1.8rem;
  }

  .form-user-wrapper .form-section {
    padding: 30px 15px;
  }

  .form-user-wrapper .submit-btn {
    font-size: 1rem;
    padding: 16px;
  }
}
/******* Login page  ***************/
.login-section {
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  overflow: hidden;
  width: 95%;
  max-width: 900px;
  margin: 0 auto;
}

.login-section img {
  flex: 1;
  width: 50%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.login-section img:hover {
  transform: scale(1.05);
}

.login-form-1 {
  flex: 1;
  padding: 30px;
}

.login-form-1 h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.login-form-1 .input-group {
  position: relative;
  margin-bottom: 20px;
}

.login-form-1 .input-group input {
  width: 100%;
  padding: 15px 15px 15px 40px;
  border: 1px solid #ddd;
  border-radius: 30px;
  outline: none;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.login-form-1 .input-group input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.login-form-1 .input-group i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #007bff;
  font-size: 18px;
}

.login-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-btn:hover {
  background: #0056b3;
}

.login-form-1 .extra-links {
  text-align: center;
  margin-top: 20px;
}

.login-form-1 .extra-links a {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}

.login-form-1 .extra-links a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .login-section {
    flex-direction: column;
  }

  .login-section img {
    width: 100%;
    height: 200px;
  }

  .login-form-1 {
    padding: 20px;
    width: 90%;
  }
}
/******* End Login page  ***************/
/*******  signup page  ***************/
.left-section,
.right-section {
  flex: 1;
  min-width: 300px;
}
.left-section img {
  max-width: 500px;
}
.allinputs .form-reg__group {
  flex: 1 1 calc(50% - 20px);
}
.form-reg__group .iconParent {
  position: absolute;
  left: 0;
  top: 20px;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .signup-section {
    flex-direction: column;
  }
  .allinputs .form-reg__group {
    flex: 1 1 100%;
  }
}
/******* End signup page  ***************/

/******* primarypage  ***************/
.loader {
  border: 9px solid #a4a4a4;
  border-top: 15px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.swiper-container {
  visibility: hidden;
}

.swiper-button-next,
.swiper-button-prev {
  display: none;
}

.swiper-pagination {
  bottom: 10px;
  text-align: center;
  color: white;
}

.swiper-pagination span {
  background: #11ff00;
}

.swiper-pagination
  span.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: blue !important;
  width: 28px;
  border-radius: 10px;
}

.swiper-slide {
  height: 300px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
}
.buttons-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
/*******End  primarypage  ***************/

/*******  products style shop ***************/

/******* Start form input ***************/

.section-login .login-wrapper {
  background-color: #003e9c;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  border-top-right-radius: 7rem;
  color: white !important;

  border: 2px solid red;
}
.section-login h2 {
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
}

.section-login .icon-wrapper {
  position: absolute;
  left: 10px;
  top: 49px;
  z-index: 10;
  transition: transform 0.3s ease;
}

.section-login p {
  color: white !important;
}
.section-login a {
  color: #a1a5ff !important;
}
.section-login .bgun {
  color: #00faff;
}

.section-login .links-wrapper {
  text-align: center;
  margin-top: 15px;
  color: #555;
}

.section-login .links-wrapper a {
  color: #007bff;
  text-decoration: none;
}

.links-wrapper a:hover {
  text-decoration: underline;
}

.loader-circle {
  width: 30px;
  height: 30px;
  border-style: solid;
  border-width: 2px;
  border-top-color: #2cdf00;
  -webkit-animation: spin 2000ms infinite ease;
  animation: spin 2000ms infinite ease;
  transition: 0.6s;
}

.loader-circle-alt {
  border-top-color: #0078ff;
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
    transition: 0.6s;
  }
  100% {
    transform: rotate(360deg);
    transition: 0.6s;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
    transition: 0.6s;
  }
  100% {
    transform: rotate(360deg);
    transition: 0.6s;
  }
}
.btn-container button {
  display: flex;
  margin: 0 auto !important;
}
.field-group {
  margin-bottom: 15px;
}

.field-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: 0.3s ease;
}
.field-group label {
  margin-bottom: 10px;
}
.field-group input:valid,
.field-group input:focus {
  background: #e5e8e2;
  transform: scale(1.05);
  border: 2px solid #1cb500;
  position: relative;
  z-index: 5;
}
/******* End form input ***************/

/*===================================================
 Homes Banner
==================================================*/

.animate-fl-y {
  -webkit-animation-name: float-bob-y;
  animation-name: float-bob-y;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}
.animate-fl-x {
  -webkit-animation-name: float-bob-x;
  animation-name: float-bob-x;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}
.animate-fl-x {
  -webkit-animation-name: fl-x;
  animation-name: fl-x;

  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}
.ffbv {
  -webkit-animation-name: fl-x;
  animation-name: fl-xb;

  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}
@-webkit-keyframes fl-x {
  0% {
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
  }

  50% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }

  100% {
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
  }
}
@keyframes fl-x {
  0% {
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
  }

  50% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }

  100% {
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
  }
}
@keyframes fl-xb {
  0% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }

  50% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }

  100% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}
.animate-fl-y {
  -webkit-animation-name: fl-y;
  animation-name: fl-y;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}
@-webkit-keyframes fl-y {
  0% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }

  50% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }

  100% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}
@keyframes fl-y {
  0% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }

  50% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }

  100% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}

/*===================================================
End  Homes Banner
==================================================*/

/******* Start Footer style ***************/
.footer {
  background-image: linear-gradient(180deg, #4b3203, #000);
  color: #ffffff;
  padding: 20px;
  z-index: 1;
  overflow: hidden;
}
.footer a {
  color: #fff !important;
}

.footer h3 {
  margin-bottom: 10px;
  color: #f1c40f;
}

.footer-description p {
  margin: 0;
  color: white;
  font-size: 16px;
  line-height: 1.6;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #f1c40f;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid red;
  padding-top: 10px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: white;
  font-size: 14px;
}

/*-------------------  End Footer style ---------------*/

    .question-card {
        transition: all 0.3s ease;
    }

    .question-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .modal {
        transition: all 0.3s ease;
        display: none;
    }

    .modal.active {
        display: block;
    }

    .reply-section {
        max-height: 0;
        overflow: hidden;
        overflow-y: auto;
        transition: max-height 0.3s ease;
    }

    .reply-section.expanded {
        max-height: 500px;
    }

    .answered-true {
        border-right: 4px solid #10B981;
    }

    .answered-false {
        border-right: 4px solid #EF4444;
    }

    .question-card[data-answered="true"] {
        border-right: 4px solid #10B981;
    }

    .question-card[data-answered="false"] {
        border-right: 4px solid #EF4444;
    }

    .question-card:hover {
        transform: translateY(-3px);
    }
  