/* RISET START */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Changa:wght@200..800&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lalezar&family=Marhey:wght@300..700&family=Righteous&family=Rubik:ital,wght@0,300..900;1,300..900&family=Sedgwick+Ave&display=swap');
:root {
    --back-color1: #ffffff;  
    --back-color2: #f2f2f2;   
    --div-color: #e6e6e6;     
    --button-color: #00FF66; 
    ---font-color: black;  
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: "Marhey", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
html {
    scroll-behavior: smooth;
}
body {
    direction: rtl;
    background-color: var(--main-color);
    position: relative;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
}
.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
a:hover {
    z-index: 4;
}
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        width: 750px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        width: 970px;
    }
}
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
/* RISET END */
/* HEADER SECTION START */
header {
    width: 100%;
    height: 60px;
    box-shadow: 0 0 15px rgba(255, 217, 0, 0.046);
    position: sticky;
    top: 0;
    z-index: 7;
    background:linear-gradient(34deg , rgba(216, 215, 215, 0.541) , rgba(202, 202, 202, 0.507)) ;
    backdrop-filter: blur(3px);
}
header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .container .logo img {
    width: 50px;
    padding-top: 10px;
}
header .container nav ul {
    display: flex;
    gap: 20px;
}
@media (max-width:840px) {
    header .container nav ul {
        position: absolute;
        flex-direction: column;
        align-items: center;
        top: 60px;
        right: 50%;
        translate: 50% -150%;
        width: 100%;
        background-color: black;
        transition: .25s;
        padding: 10px;
    }
}
header .container nav ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 5px;
    transition: 0.25s;
}
header .container nav ul li a {
    color: var(---font-color);
    font-size: 15px;
    font-weight: 800;
    padding: 5px;
    transition: 0.25s;
    border-radius: 5px;
}
.sec {
    display: flex;
    flex-direction: column;
    background-color: var(--back-color2);
    padding: 10px;
    position: absolute;
    left: 50%;
    translate: -50%;
    top: 50px;
    width: 200px;
    border-radius: 0 0 10px 10px;
    display: none;
    z-index: 3;

}
.sec a:hover {
    background-color: var(--button-color);
    color: black;
    box-shadow: 0 0 15px var(--button-color);
}
#sec {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
#sec:checked~.sec {
    display: flex;
}





@media(max-width:840px) {
    header .container nav ul li {

        width: 150%;

    }

    header .container nav ul li a {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

    }
}

header .container nav ul li:nth-child(1) a {
    animation: active .25s 1s 1 both;
}

@media (max-width:768px) {
    header .container nav ul li:nth-child(1) a {
        animation: none;
    }
}

@keyframes active {
    0% {
        background-color: transparent;
    }

    100% {
        background-color: var(--button-color);
        color: black;
        box-shadow: 0 0 15px var(--button-color);
    }
}

header .container nav ul li:hover {
    background-color: var(--button-color);
    color: black;
    box-shadow: 0 0 15px var(--button-color);

}

header .container nav ul li:hover>a {
    color: black;
}

header .container .social {
    display: flex;
    gap: 20px;
    padding-right: 20px;
}

@media(max-width:840px) {
    header .container .social {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    header .container .social {
        gap: 5px;
    }

    header .container nav ul {
        gap: 10px;
    }
}

.container .social a {
    padding: 5px;
    color: var(---font-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
    border-radius: 5px;
}

.container .social a svg {
    width: 25px;
    height: 25px;
}

.container .social a:nth-child(5),
.container .social a:nth-child(6) {
    border-radius: 50%;
}

.container .social a:hover {
    scale: 1.1;
}

header .container .social a:nth-child(1):hover {
    color: white;
    background-color: rgb(9, 39, 116);
}

header .container .social a:nth-child(2):hover {
    background-color: green;
    color: white;
}

header .container .social a:nth-child(3):hover {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
    color: white;
}

header .container .social a:nth-child(4):hover {
    background-color: rgb(48, 177, 227);
    color: white;
}
.container .social a:nth-child(4) {
    border-radius: 50%;
}

.menu {
    color: var(---font-color);
    width: 50px;
    height: 40px;
    position: absolute;
    top: 10px;
    left: 0;
    display: none;
    transition: .25s;
}

.close {
    color: var(---font-color);
    width: 50px;
    height: 40px;
    position: absolute;
    top: 10px;
    left: 0;
    opacity: 0;
    display: none;
    transition: .25s;
}

#menu {
    width: 50px;
    height: 40px;
    position: absolute;
    top: 10px;
    left: 0;
    opacity: 0;
    display: none;
    cursor: pointer;
    z-index: 1;
}

@media (max-width:840px) {

    .menu,
    #menu,
    .close {
        display: block;
    }

    #menu:checked~ul {
        translate: 50% 0;
    }

    #menu:checked~.menu {
        opacity: 0;
    }

    #menu:checked~.close {
        opacity: 1;
    }
}

/* HEADER SECTION END */


/* HERO SECTION START */

.hero {
    width: 100%;
    min-height: 100vh;
    background-color: var(--back-color1);
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.hero .container > div {
    width: 48%;
}

@media (max-width:768px) {
    .hero .container {
        flex-direction: column-reverse;
    }
    .hero .container > div {
        width: 100%;
        text-align: center;
    }
}

.hero .container .hero-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero .container .hero-info h1 {
    color: var(--back-color1);
    -webkit-text-stroke: 1px var(--button-color);
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: "Racing Sans One", sans-serif;
}

.hero .container .hero-info h2 {
    color: var(--button-color);
    font-size: 22px;
    text-shadow: 0 0 2px var(--button-color);
}

.hero .container .hero-info p {
    color: var(---font-color);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
}

.hero .hero-btn button {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 900;
    background-color: var(--button-color);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.4s;
}

.hero .hero-btn button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--button-color);
}

.hero .container .hero-info .social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.hero .container .hero-info .social a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 50%;
    border: 2px solid var(--button-color);
    transition: 0.3s;
}

.hero .container .hero-info .social a:hover {
    box-shadow: 0 0 10px var(--button-color);
}

.hero .container .hero-info .social a svg {
    width: 24px;
    height: 24px;
    color: var(--button-color);
}

.hero .container .hero-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .container .hero-img img {
    width: 100%;
    max-width: 400px;
}

/* HERO SECTION END */

/* SRVICES SECTION START */

.srvicess {
    padding: 70px 0;
    background-color: var(--back-color2);
}

.srvicess .container h2 {
    color: var(--button-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 30px;
}

.srvicess .container p {
    color: var(---font-color);
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
}

.srvicess .container .services-all {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.srvicess .container .services-all .services {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--div-color);
    border-radius: 16px;
    box-shadow: 0 0 5px 0 var(--button-color);
    cursor: pointer;
    transition: .25s;
    position: relative;
    overflow: hidden;
    flex-basis: 300px;
}

.srvicess .container .services-all .services:hover {
    scale: 1.05;
    box-shadow: 0 0 10px 0 var(--button-color);
    z-index: 4;
}

.srvicess .container .services-all .services .img {
    width: 100px;
    height: 100px;
}

.srvicess .container .services-all .services .img img {
    width: 100%;
    height: 100%;
}

.srvicess .container .services-all .services h3 {
    color: var(--button-color);
    margin: 10px;
    width: 100%;
    font-weight: 900;
    text-align: center;
}

.srvicess .container .services-all .services p {
    color: var(---font-color);
    line-height: 1.5;
}

/* SRVICES SECTION END */

/* ABOUT SECTION START */


.about {
    padding: 50px 0;
    background-color: var(--back-color1);
}

.about .container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--div-color);
}

.about .container .img {
    width: 100%;
    height: 350px; 
    margin-bottom: 20px;
    margin-top: 20px;
}

.about .container .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.about .container .about-info {
    text-align: center;
}

.about .container .about-info h2 {
    color: var(--button-color);
    font-size: 30px;
    margin-bottom: 10px;
}

.about .container .about-info p {
    color: var(---font-color);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about .container .about-info button {
    padding: 10px 30px;
    background-color: var(--button-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.about .container .about-info button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--button-color);
}

/* ABOUT SECTION END */

/* COURSES SECTION START */

.courses-section {

    padding: 70px 0;
    background-color: var(--back-color2);
}

/* .courses-section .container{
    padding: 20px;
} */
.all-courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 10px;
}

.all-courses .course {
  background-color: var(--div-color);
  border-radius: 15px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.all-courses .course:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgb(0 0 0 / 0.2);
}

.all-courses .course .img {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 15px;
}

.all-courses .course .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.all-courses .course:hover .img img {
  transform: scale(1.1);
}

.all-courses .course h3 {
  color: var(--button-color);
  margin-bottom: 10px;
  font-size: 22px;
}

.all-courses .course p {
  color: var(--font-color);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  min-height: 60px; /* عشان كل الوصف نفس الطول */
}

.course-prise {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.course-prise small:first-child {
  color: var(--font-color);
  font-size: 16px;
  text-decoration: line-through;
  opacity: 0.7;
}

.course-prise small:last-child {
  color: var(--button-color);
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 0 5px var(--button-color);
}

.course button {
  background-color: var(--button-color);
  color: black;
  padding: 8px 35px;
  border-radius: 30px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.course button:hover {
  background-color: black;
  color: white;
  box-shadow: 0 0 15px var(--button-color);
}

/* COURSES SECTION END */


/* PORTO SECTION START  */
.porto-section {
  padding: 70px 20px;
  background-color: var(--back-color1);
}

.porto-section h2 {
  color: var(--button-color);
  text-align: center;
  font-size: 35px;
  margin-bottom: 20px;
}

.porto-section p {
  color: var(--font-color);
  text-align: center;
  font-size: 20px;
  margin-bottom: 40px;
}

.porto-section .container .all-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 10px;
}

.porto-section .container .all-cards .card {
  background-color: var(--div-color);
  border-radius: 15px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.porto-section .container .all-cards .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgb(0 0 0 / 0.2);
}

.porto-section .container .all-cards .card .img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.porto-section .container .all-cards .card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.porto-section .container .all-cards .card:hover .img img {
  transform: scale(1.1);
}

.porto-section .container .all-cards .card .info {
  width: 100%;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.porto-section .container .all-cards .card .info h3 {
  color: var(--button-color);
  font-size: 22px;
  margin: 0;
}

.porto-section .container .all-cards .card .info p {
  color: var(--font-color);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  min-height: 60px;
}

.porto-section .container .all-cards .card .info button {
  background-color: var(--button-color);
  color: black;
  border: none;
  border-radius: 30px;
  padding: 8px 35px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.porto-section .container .all-cards .card .info button:hover {
  background-color: black;
  color: white;
  box-shadow: 0 0 15px var(--button-color);
  transform: scale(1.1);
}

/* PORTO SECTION END  */

/* TEAM SECTION START  */

.team-section {
    padding: 70px 0;
    background-color: var(--back-color2);
}

.team-section h2 {
    color: var(--button-color);
    text-align: center;
    margin-bottom: 20px;
}

.team-section p {
    color: var(---font-color);
    text-align: center;
    margin-bottom: 20px;
}

.team-section .container .team-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

@media (max-width:768px) {
    .team-section .container .team-box {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

.team-section .container .team-box .box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--div-color);
    border-radius: 10px;
    position: relative;
    z-index: 1;
    padding: 10px 0;
    transition: .25s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}


.team-section .container .team-box .box:hover {
    background-color: white;
    box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.055) ;
}

.team-section .container .team-box .box:hover .img {

    scale: 1.1;
}

.team-section .container .team-box .box:hover .img {
    filter: grayscale(0);
}

.team-section .container .team-box .box:hover svg {
    scale: 1;
}

.team-section .container .team-box .box h3 {
    color: var(--button-color);
    margin-bottom: 20px;
}

.team-section .container .team-box .box a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: inline-block;
}

.team-section .container .team-box .box svg {
    scale: 0;
    transition: .25s;
}

.team-section .container .team-box .box a:nth-child(1) svg {
    transition-delay: 100ms;
}

.team-section .container .team-box .box a:nth-child(2) svg {
    transition-delay: 200ms;
}

.team-section .container .team-box .box a:nth-child(3) svg {
    transition-delay: 300ms;
}

.team-section .container .team-box .box a:nth-child(4) svg {
    transition-delay: 400ms;
}

.team-section .container .team-box .box .img {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    filter: grayscale(100%);
    transition: .5s;
    margin-bottom: 20px;
}

.team-section .container .team-box .box .img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* TEAM SECTION END  */

/* SKILLES SECTION START */
/* القسم العام */
.skilles-section {
  padding: 50px 20px;
  background-color: var(--back-color1);
}

.skilles-section .container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 25px 20px;
  border-radius: 10px;
  background-color: var(--div-color);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

/* النصوص */
.skilles-section .info {
  flex: 1 1 400px;
  text-align: center;
}

.skilles-section .info h2 {
  color: var(--button-color);
  font-size: 32px;
  margin-bottom: 15px;
}

.skilles-section .info p {
  color: var(--font-color);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.skilles h3 {
  color: var(--button-color);
  font-size: 26px;
  margin-bottom: 25px;
}

/* صندوق النسب */
.skilles-data {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* كل نسبة */
.skille {
  width: 180px;
  text-align: center;
}

.skille h4 {
  color: var(--button-color);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

/* شريط التقدم */
.progress-bar {
  position: relative;
  width: 100%;
  height: 25px;
  background-color: #ddd;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgb(0 0 0 / 0.1);
}

/* اللون المتحرك */
.progress-fill {
  height: 100%;
  background-color: var(--button-color);
  border-radius: 15px 0 0 15px;
  transition: width 1s ease;
}

/* نسبة مكتوبة على الشريط */
.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-weight: 900;
  user-select: none;
  font-size: 16px;
  text-shadow: 0 0 2px white;
}

.skilles-img {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skilles-img img {
  width: 100%;
  max-width: 450px;
  margin-top: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.skilles-img img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .skilles-section .container {
    flex-direction: column;
  }

  .skilles-section .info,
  .skilles-img {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* SKILLES SECTION END */


/* PRICEING SECTION START */

.priceing-section {
    padding: 70px 0;
    background-color: var(--back-color2);
}

.priceing-section h2 {
    color: var(--button-color);
    text-align: center;
    margin-bottom: 20px;
}

.priceing-section p {
    color: var(---font-color);
    text-align: center;
    margin-bottom: 20px;
}

.priceing-section .container .priceing-all {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;

}

@media (max-width:768px) {
    .priceing-section .container .priceing-all {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        justify-self: center;
    }
}

.priceing-section .container .priceing-all .priceing {
    background-color: var(--div-color);
    padding: 20px;
    position: relative;
    border-radius: 10px;
    transition: .25s;
    height: fit-content;
}

.priceing-section .container .priceing-all .priceing:hover {
    scale: 1.05;
}

.priceing-section .container .priceing-all .priceing .info h3 {

    color: var(--button-color);
    margin-bottom: 20px;
}

.priceing-section .container .priceing-all .priceing .info .price {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: solid rgba(255, 255, 255, 0.107) 1px;
}

.priceing-section .container .priceing-all .priceing .info .price span {
    color: var(---font-color);
}

.priceing-section .container .priceing-all .priceing .info .price span:first-child {
    font-size: 20px;
}

.priceing-section .container .priceing-all .priceing ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    height: 200px;
}

@media (max-width:768px) {
    .priceing-section .container .priceing-all .priceing ul {
        height: fit-content;
    }
}

.priceing-section .container .priceing-all .priceing ul li {
    color: var(---font-color);
    font-size: 10px;
    font-weight: 900;
    position: relative;
}
.priceing-section .container .priceing-all .priceing button {
    text-align: center;
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
    color: black;
    background-color: var(--button-color);
    transition: .25s;
    cursor: pointer;
}

.priceing-section .container .priceing-all .priceing button:hover {
    background-color: var(--back-color1);
    color: var(---font-color);
}

.priceing-section .container .priceing-all .priceing .img {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    position: relative;
    top: -20px;
}

@media (max-width:768px) {
    .priceing-section .container .priceing-all .priceing .img {
        height: 300px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

.priceing-section .container .priceing-all .priceing .img img {
    width: 100%;
    height: 100%;
    border-radius: 0 0 16px 16px;
}

/* PRICEING SECTION END */

/* TESTIMONIAL SECTION START */
.testimonial-section {
  padding: 70px 20px;
  background-color: var(--back-color1);
}

.testimonial-section h2 {
  color: var(--button-color);
  text-align: center;
  margin-bottom: 15px;
  font-size: 32px;
  font-weight: 700;
}

.testimonial-section p {
  color: var(--font-color);
  text-align: center;
  margin-bottom: 40px;
  font-size: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-section .container .testimonial {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 35px;
}

.testimonial-section .container .testimonial .test {
  background-color: var(--div-color);
  border-radius: 15px;
  padding: 60px 20px 30px 20px;
  position: relative;
  box-shadow: 0 4px 15px rgb(0 0 0 / 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
}

.testimonial-section .container .testimonial .test:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgb(0 0 0 / 0.15);
}

/* الصورة */
.testimonial-section .container .testimonial .test .img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px auto;
  border: 4px solid var(--button-color);
  transition: border-color 0.3s ease;
}

.testimonial-section .container .testimonial .test:hover .img {
  border-color: var(--main-color);
}

.testimonial-section .container .testimonial .test .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* الاسم */
.testimonial-section .container .testimonial .test h3 {
  color: var(--button-color);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 15px;
}

/* النص */
.testimonial-section .container .testimonial .test p {
  font-size: 15px;
  color: var(--font-color);
  line-height: 1.5;
  margin-bottom: 25px;
  white-space: pre-line; /* يحافظ على الأسطر الجديدة */
}

/* النجوم */
.testimonial-section .container .testimonial .test .stars {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.testimonial-section .container .testimonial .test .stars span i {
  color: gold;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-section .container .testimonial {
    grid-template-columns: 1fr;
  }
}

/* TESTIMONIAL SECTION END */

/* FOOTER SECTION START */

footer {
    padding: 50px 0;
    border-top: solid var(--button-color) 1px;
    background-color: var(--back-color2);

}

footer .container {
    display: flex;
    flex-direction: column;

}

footer .container .social {
    margin-bottom: 20px;
}

footer .container .social ul {
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .container .social ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

footer .container .social ul li i {
    color: black;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    transition: .25s;



}

footer .container .social ul li i:hover {
    animation: move2 .5s 1 both;
    box-shadow: 0 0 10px 0 var(--button-color);
    background-color: var(--button-color);
    color: black;
    translate: 0 -10px;

}


footer .container .social ul li span {
    color: var(--button-color);
    letter-spacing: 1px;
}

@media (max-width:768px) {
    footer .container .social ul {
        gap: 10px;
    }

    footer .container .social ul li i {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }

    footer .container .social ul li span {
        font-size: 10px;
    }
}

footer .container p {
    color: var(---font-color);
    text-align: center;

}

@media (max-width:768px) {
    footer .container p {
        font-size: 13px;
    }
}

footer .connect {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 50px;
    margin-bottom: 20px;
    margin-top: 20px;
}

@media (max-width:768px) {
    footer .connect {
        gap: 10px;
    }
}

footer .connect div {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
}

footer .connect a {
    color: var(---font-color);
}

footer .connect p {
    color: var(---font-color);
}

footer .connect i {
    color: var(---font-color);
}

@media (max-width:768px) {

    footer .connect a,
    footer .connect p {
        font-size: 13px;
    }
}

footer .copy {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: solid var(--button-color) 1px;
    margin-top: 50px;
    padding-top: 50px;
}

footer .copy p {
    color: var(---font-color);
}

/* FOOTER SECTION END */

.whats {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 20px;
    left: 20px;
    background-color: green;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .25s;
    z-index: 6;
}

.whats i {
    font-size: 150%;
    color: var(---font-color);
}

.whats:hover {
    translate: 0 -10px;
    box-shadow: 0 0 10px 0 var(--button-color);
}

.btn-top {
    width: 45px;
    height: 45px;
    background-color: var(--button-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 100px;
    left: 20px;
    border-radius: 50%;
    z-index: 6;
    transition: .25s;
    translate: -100px;

}

.btn-top i {
    font-size: 150%;
    color: black;
}

.btn-top:hover {
    translate: 0 -10px;
    box-shadow: 0 0 10px 0 var(--button-color);
}

.srvicess:hover~.btn-top {
    translate: 0 0;
}

.about:hover~.btn-top {
    translate: 0 0;
}

.courses-section:hover~.btn-top {
    translate: 0 0;
}

.porto-section:hover~.btn-top {
    translate: 0 0;
}

.team-section:hover~.btn-top {
    translate: 0 0;
}

.skilles-section:hover~.btn-top {
    translate: 0 0;
}

.priceing-section:hover~.btn-top {
    translate: 0 0;
}

.testimonial-section:hover~.btn-top {
    translate: 0 0;
}

footer:hover~.btn-top {
    translate: 0 0;
}