*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
 
}

/* Performance Optimization */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 body{
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;


 }
 html {
  scroll-behavior: smooth;
}

 .container{
max-width: 100%;
width: 100%;
margin: 0 auto;
background: #d0ceeb;
background: radial-gradient(circle, rgba(208, 206, 235, 1) 27%, rgba(217, 240, 255, 1) 97%, rgba(137, 150, 150, 1) 100%, rgba(68, 0, 135, 1) 100%);
overflow-x: hidden;
 }
 
 .header {
  /* التعديل المهم */
  width: 100vw;
  min-height: 100vh;
  height: 90vh;
z-index:1;
  padding: 0 40px;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at left, #f5b400 0%, #c99a00 30%, #0b0b1f 50%, #000 100%);
}

.header-one {
  position: absolute;
  top: -20%;
  right: -13%;
  width: 130%;
  height: 180%;
  border-left: 3px solid rgba(255, 255, 255, 0.6);
  border-radius:80%;
  box-shadow: 0 0 10px 0 white;
  max-width: 1200px;
    z-index: 2;

}
 .header{
  flex-direction: column;
 }
.logo{
  display: flex;
  align-items: center;
  justify-content: center

}
 .header p{
   font-size: 30px;
    max-width: 800px;
    text-align: center;
   font-family: 'Source Sans Pro', sans-serif;
   color: rgba(240, 248, 255, 0.726);
 }
.logo img {
  width: 450px;
  margin-left: 90px;

}
 
 .navbar{
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px;
 }
 .menu-btn{
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 15px;
 }
 .menu{
  list-style: none;
  opacity: 0;
   list-style: none;
  margin-top: 10px;
  background: black;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.7s;

 }
 .menu li a{
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 20px 30px;
  transition: 0.3s;
 }
 .menu li a:hover{
  background-color: #fff;
  color: #000;
  border-radius: 30px;
  transition: 0.4s;
 }
 .menu li a.active {
  background-color: #f5b400;
  color: #000;
  border-radius: 30px;
 }
 .menu.active{
  opacity: 1;
  min-height: 200px;
  padding: 20px ;
 }
  
 .button{
  display: flex;
  justify-content: center;
  margin-top: 70px;
 }
 .button button{
  border-radius: 25px;
  background: #f5c21b;
  padding: 20px;
  font-size: 20px;
  box-shadow: 0 0 20px 0;
  transition: 0.4s;
  font-weight: 600;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
 }
 .button button:hover{
  background-color: #0b0b1f;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
 }

.learn_unvirsty{
  background-color: #e9e9e9d2;
  border-radius: 40px;
  margin: 150px auto 0;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 0 20px 0;
  transition: 0.4s;
}
.learn_unvirsty:hover{
  background-color: #c99a00;
}
.container-o{
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  gap: 30px;
}
.learing{
  display: flex;
  justify-content: center;
}
.learing .learn_unvirsty .container-o h1{
font-size: 50px;
}
.learn_unvirsty .container-o h2{
font-size: 40px;

}
.learn_unvirsty .container-o p{
font-size: 20px;
font-weight: 900;
}

.Certified{
  display: flex;
  justify-content: center;
align-items:center ;
margin-top: 100px;
align-items: center;

}
.orouba:hover{
transform: translateY(-12px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: #f5b400;
}
 .university_go{
display: flex;
gap: 30px;
 }
 .orouba{
    transition: 0.3s ease;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: column;
flex-wrap: wrap;
  background-color: #e9e9e9d2;
  padding: 80px;
max-width: 1000px;
  text-align: center;
  border-radius: 30px;
  gap: 30px;
  cursor: pointer;

 }
 .orouba.active {
  background-color: #f5b400;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-10px);
 }
 .orouba h2{
  text-align: center;
font-size: 39px;
 }
.orouba p{
  font-size: 25px;
  font-weight: 800;

}
.orouba span{
  color:#9b7716 ;
}
 .orouba .btn{
  background-color:#9b781680;
  padding: 20px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
  text-decoration: none;
color: #000000;
 }
  .orouba .btn:hover{
   background-color: #ffc527; 
   transition: 0.3s;
  }
  
   .courses:hover{
  box-shadow: 0 15px 30px rgba(255, 196, 1, 0.7);
  transform: translateY(-30px); /* يتحرك لفوق */
}

.courses.active {
  background: linear-gradient(180deg, #f5b400, #c99a00) !important;
  color: #000 !important;
  transform: scale(1.05) !important;
  box-shadow: 0 20px 40px rgba(245, 180, 0, 0.4) !important;
}

.courses.active h1 {
  color: #000;
}

.courses.active p {
  color: #000;
}

.courses.active ul {
  color: #000;
}
 .courses_container{
  display: flex;
  gap: 50px;
  margin-top: 200px;
 }
 .courses{
    transition: all 0.3s ease; /* مهم للانتقالات */
  cursor: pointer; /* يظهر علامة اليد */
  color: #fff;
  padding: 25px 20px;
  border-radius: 30px;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  gap: 50px;
  list-style: none;
  text-decoration: none;
  background: linear-gradient(180deg, #3b314a, #2a2238);
 }
 .courses:hover{
  box-shadow: 0 0 30px 0 rgb(255, 196, 1);
 }
 .courses li{
  list-style: none;
 }
 .courses h1{
  color: #f5b400;
  font-size: 30px;
  font-weight:  800;


 }
  .courses .icon{
    font-size: 70px;
  }
  .courses p {
  line-height:1.9;
  font-weight: 500;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.767);

  }
.courses ul {
  gap: 30px;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  color: #f5bd24;
  font-weight: bold;
}
.header_cours{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
  color: #b89010;

}
 .header_cours p{
  font-size: 30px;
  font-weight:  bold;
}
.header_cours h1{
  font-size: 45px;
  color: black;
  padding: 20px;
  box-shadow: 0 0 30px black;
  background-color: #9b7716;
  border-radius: 30px;
  transition: 0.5s;
  font-weight: 700;
}
.header_cours h1:hover{
  background-color: #f5b400;
}
.testimonials {
  background: linear-gradient(180deg, #9b9baf, #fefdff);
  padding: 70px 20px;
  text-align: center;
  color: #000000;
}

.testimonials h2 {
  color: #ffcc00;
  font-size: 32px;
  margin-bottom: 10px;
}

.subtitle {
  color: #000000;
  margin-bottom: 45px;
  font-size: 15px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: rgba(0, 0, 0, 0.06);
  padding: 28px;
  border-radius: 20px;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(255, 217, 2, 0.1);
}

.card p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.card span {
  color: #000000;
  font-weight: bold;
  font-size: 18px;
}
.gaya{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #493D42;
  border-radius: 70px;
  padding: 30px;
  margin: 20px;
}
.gaya_acadmey{
  line-height: 3.4;
  text-align: center;

}
.gaya_acadmey h1 {
  color: #f3c736;
  font-size: 35px;
}
.gaya_acadmey p{
  color:#ffffff ;
  font-size: 20px;
  letter-spacing: 1px;
}
.gaya_acadmey a{
color: rgb(0, 0, 0);
background-color: #ffc548;
padding: 20px;
border-radius: 20px;
font-size: 20px;
text-decoration: none;
font-weight: bold;
transition: 0.4s;
}
.gaya_acadmey a:hover{
  background-color: #fbff00;
  box-shadow: 0 0 20px 0 rgb(255, 178, 34);
}
.end{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  padding: 50px;
  text-decoration: none;
  list-style: none;
}
.end ul {
  display: flex;
gap: 30px;


}
.end ul li:hover{
   background-color: #fbff00;
  box-shadow: 0 0 20px 0 rgb(255, 178, 34);
}

.end ul li{
background-color: #9b9baf;
transition: 0.4s;

border-radius: 30px;
padding: 20px;
   text-decoration: none;
  list-style: none;

}
.end ul li a{
   text-decoration: none;
  color: #000000;
  font-size: 20px;
  transition: 0.3s;

}

/* ===== MOBILE & TABLET RESPONSIVE DESIGN ===== */

/* RIPPLE EFFECT */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* SMOOTH TRANSITIONS */
button, .btn, a {
  position: relative;
  overflow: hidden;
}

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) {
  .header {
    padding: 0 20px;
    min-height: 70vh;
    height: auto;
  }
  
  .logo img {
    width: 300px;
    margin-left: 0;
  }
  
  .header p {
    font-size: 20px;
  }
  
  .courses_container {
    gap: 20px;
    margin-top: 100px;
  }
  
  .courses {
    flex: 1 1 calc(50% - 10px) !important;
    min-width: 280px !important;
    max-width: none !important;
    gap: 20px;
    padding: 20px;
  }
  
  .university_go {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .orouba {
    flex: 1 1 calc(50% - 15px);
    min-width: 250px;
    padding: 40px 20px;
  }
  
  .end ul {
    flex-wrap: wrap;
  }
}

/* MOBILE (480px - 768px) */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .container {
    background: #d0ceeb;
  }
  
  .header {
    width: 100%;
    min-height: 60vh;
    padding: 20px 15px;
    margin-top: 60px;
  }
  
  .logo img {
    width: 160px;
    margin-left: 0;
  }
  
  .header p {
    font-size: 14px;
    padding: 0 10px;
    max-width: 100%;
  }
  
  .button button {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .learn_unvirsty {
    margin: 60px auto 0;
    padding: 30px 20px;
    border-radius: 20px;
  }
  
  .learn_unvirsty .container-o h1 {
    font-size: 24px;
  }
  
  .learn_unvirsty .container-o h2 {
    font-size: 18px;
  }
  
  .learn_unvirsty .container-o p {
    font-size: 13px;
    font-weight: 700;
  }
  
  .button {
    margin-top: 30px;
  }
  
  .button button {
    font-size: 16px;
  }
  
  .header_cours {
    margin-top: 25px;
  }
  
  .header_cours h1 {
    font-size: 24px;
    padding: 12px;
    box-shadow: 0 0 20px black;
  }
  
  .header_cours p {
    font-size: 14px;
    padding: 0 10px;
  }
  
  .courses_container {
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
    padding: 0 10px;
  }
  
  .courses {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    gap: 12px;
    padding: 15px 12px;
  }
  
  .courses h1 {
    font-size: 18px;
  }
  
  .courses p {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .courses .icon {
    font-size: 45px;
  }
  
  .courses ul {
    font-size: 12px;
    gap: 8px;
  }
  
  .testimonials {
    padding: 40px 15px;
  }
  
  .testimonials h2 {
    font-size: 22px;
  }
  
  .subtitle {
    font-size: 12px;
    margin-bottom: 20px;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 10px;
  }
  
  .card {
    padding: 16px;
    border-radius: 15px;
  }
  
  .card p {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .card span {
    font-size: 13px;
  }
  
  .university_go {
    flex-direction: column;
    gap: 12px;
    padding: 0 10px;
  }
  
  .orouba {
    padding: 25px 15px;
    max-width: 100%;
    border-radius: 20px;
  }
  
  .orouba h1 {
    font-size: 18px;
  }
  
  .orouba h2 {
    font-size: 18px;
  }
  
  .orouba p {
    font-size: 13px;
  }
  
  .orouba .btn {
    padding: 10px 15px;
    font-size: 12px;
  }
  
  .gaya {
    border-radius: 25px;
    padding: 20px;
    margin: 15px 10px;
  }
  
  .gaya_acadmey {
    line-height: 2;
  }
  
  .gaya_acadmey h1 {
    font-size: 20px;
    color: #f3c736;
  }
  
  .gaya_acadmey p {
    font-size: 13px;
    letter-spacing: 0.3px;
  }
  
  .gaya_acadmey a {
    padding: 10px 12px;
    font-size: 12px;
    display: inline-block;
  }
  
  .end {
    padding: 25px 10px;
    flex-wrap: wrap;
  }
  
  .end ul {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  
  .end ul li {
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 15px;
  }
  
  .end ul li a {
    font-size: 12px;
  }
  
  .menu-btn {
    padding: 8px 10px;
    font-size: 13px;
  }
  
  .menu {
    min-height: 180px;
  }
  
  .menu li a {
    padding: 15px 20px;
    font-size: 13px;
  }
}

/* SMALL MOBILE (320px - 480px) */
@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .container {
    width: 100%;
    margin: 0;
  }
  
  .header {
    width: 100%;
    min-height: 45vh;
    padding: 15px 10px;
    margin-top: 70px;
    overflow-x: hidden;
  }
  
  .header-one {
    display: none;
  }
  
  .logo img {
    width: 110px;
    margin: 0;
  }
  
  .header p {
    font-size: 12px;
    max-width: 100%;
    padding: 0 5px;
  }
  
  .navbar {
    top: 5px;
    left: 5px;
    padding: 5px;
  }
  
  .menu-btn {
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 15px;
  }
  
  .menu {
    min-height: 150px;
    margin-top: 5px;
    border-radius: 10px;
  }
  
  .menu li a {
    padding: 10px 12px;
    font-size: 11px;
  }
  
  .menu li a:hover {
    border-radius: 20px;
  }
  
  .button button {
    padding: 10px 15px;
    font-size: 12px;
  }
  
  .learn_unvirsty {
    margin: 40px auto 0;
    padding: 20px 12px;
    border-radius: 15px;
  }
  
  .learn_unvirsty .container-o {
    gap: 15px;
  }
  
  .learn_unvirsty .container-o h1 {
    font-size: 18px;
  }
  
  .learn_unvirsty .container-o h2 {
    font-size: 15px;
  }
  
  .learn_unvirsty .container-o p {
    font-size: 11px;
    font-weight: 700;
  }
  
  .header_cours {
    margin-top: 20px;
    gap: 10px;
  }
  
  .header_cours h1 {
    font-size: 18px;
    padding: 8px;
    box-shadow: 0 0 15px black;
    border-radius: 20px;
  }
  
  .header_cours p {
    font-size: 12px;
    padding: 0 8px;
  }
  
  .courses_container {
    flex-direction: column;
    margin-top: 25px;
    padding: 0 5px;
    gap: 12px;
  }
  
  .courses {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    padding: 12px 10px;
    gap: 10px;
    border-radius: 20px;
  }
  
  .courses h1 {
    font-size: 15px;
    color: #f5b400;
  }
  
  .courses p {
    font-size: 11px;
    line-height: 1.5;
  }
  
  .courses .icon {
    font-size: 35px;
  }
  
  .courses ul {
    font-size: 10px;
    gap: 6px;
  }
  
  .courses li {
    text-align: left;
  }
  
  .testimonials {
    padding: 25px 10px;
  }
  
  .testimonials h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .subtitle {
    font-size: 10px;
    margin-bottom: 12px;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 5px;
  }
  
  .card {
    padding: 12px;
    border-radius: 12px;
  }
  
  .card p {
    font-size: 11px;
    margin-bottom: 8px;
    line-height: 1.5;
  }
  
  .card span {
    font-size: 11px;
  }
  
  .university_go {
    flex-direction: column;
    gap: 10px;
    padding: 0 5px;
  }
  
  .orouba {
    padding: 18px 10px;
    max-width: 100%;
    border-radius: 15px;
    gap: 12px;
  }
  
  .orouba h1 {
    font-size: 15px;
  }
  
  .orouba h2 {
    font-size: 15px;
  }
  
  .orouba p {
    font-size: 11px;
    font-weight: 700;
  }
  
  .orouba .btn {
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 15px;
  }
  
  .gaya {
    border-radius: 15px;
    padding: 15px;
    margin: 10px 5px;
  }
  
  .gaya_acadmey {
    line-height: 1.6;
  }
  
  .gaya_acadmey h1 {
    font-size: 16px;
    color: #f3c736;
  }
  
  .gaya_acadmey p {
    font-size: 11px;
    letter-spacing: 0px;
  }
  
  .gaya_acadmey a {
    padding: 8px 10px;
    font-size: 11px;
    display: inline-block;
    border-radius: 12px;
  }
  
  .end {
    padding: 15px 8px;
  }
  
  .end ul {
    flex-direction: column;
    gap: 6px;
  }
  
  .end ul li {
    width: 100%;
    padding: 8px 10px;
    border-radius: 12px;
    text-align: center;
  }
  
  .end ul li a {
    font-size: 11px;
  }
  
  .end ul li:hover {
    transform: scale(1.02);
  }
}