@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

:root {
  --main-color: #89ca5d;
  --second-color: #ffffff;
  --third-color: #477c0e;
  --fourth-color: #9d9fa2;
  --balck-color: #000;
  --placeholder-color: #a1a1a1;
  --box-shadow: 0 8px 32px 0 hsla(96, 51%, 58%, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tajawal", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}
ul li {
  list-style: none;
}
body {
  background-color: var(--second-color);
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}

/* ::-webkit-scrollbar-track {
  background: transparent;
} */

::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 4px;
}

.text-main {
  color: var(--third-color) !important;
}

.text-second {
  color: var(--main-color) !important;
}

.text-third {
  color: var(--fourth-color);
}

.header-section {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.header-section i {
  color: var(--main-color);
  font-size: 40px !important;
}
.header-section i:nth-child(3) {
  transform: scaleX(-1);
}
.header-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.btn-send {
  background: linear-gradient(to right, var(--main-color), var(--third-color));
  transition: all 0.3s ease-in;
  color: var(--second-color) !important;
  padding: 0.5rem 2rem;

  text-decoration: none;
  transition: all 0.3s ease-in-out !important;
  font-size: 15px;
}

.btn-send:hover {
  background: linear-gradient(to right, var(--main-color), var(--third-color));
  color: var(--second-color) !important;
}

.btn-main {
  background: var(--main-color);
  color: #fff;
  border: none;
}

.btn-main:hover {
  background: var(--second-color);
}

.btn-outline {
  border: 2px solid var(--main-color);
  color: var(--main-color);
}

.btn-outline:hover {
  background: var(--main-color);
  color: #fff;
}

.social-btn i{
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.social-btn i:hover {
  background: #4CAF50 ;
  transform: translateY(-3px);
  color: var(--second-color) !important;

}

/*  
##################################################
#                  SOCIAL ICONS                  #
##################################################
*/
.social-icon {
  inset-inline-end: 0 !important;
  margin-inline-end: 16px;
  width: fit-content;
  height: fit-content;
  z-index: 999 !important;
}

.social-icon a {
  background: linear-gradient(to right, var(--main-color), var(--third-color));
  color: var(--second-color) !important;
  padding: 0.5rem;
  border-radius: 100%;
  margin: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease-out;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 100%;
}

.social-icon a:hover {
  background: linear-gradient(to right, var(--main-color), var(--third-color));
  color: var(--second-color) !important;
  font-weight: bold;
  transform: scale(1.1);
}

.social-icon .back-to-top {
  background: linear-gradient(to right, var(--main-color), var(--third-color));
  color: var(--second-color) !important;
  width: 50px;
  height: 50px;
  margin: 0.5rem;
  padding: 0.5rem;
  border: none;
  transition: all 0.4s ease-in-out;
  opacity: 0;
  visibility: hidden;
  border-radius: 100%;
}

.social-icon .back-to-top:hover {
  background: linear-gradient(to right, var(--main-color), var(--third-color));
  color: var(--second-color);
  transform: scale(1.1);
}

.social-icon .back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/*  
##################################################
#                  LOADING                       #
##################################################
*/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--second-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 9999;
}

.loader-container {
  position: relative;
  width: 140px;
  height: 140px;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }

  100% {
    transform: scale(0.9);
    opacity: 1;
  }
}

/* .pulse-circle i {
  font-size: 55px;
  color: var(--third-color);
} */

.pulse-circle img {
  width: 120px;
}

/*  
##################################################
#                      Navbar                    #
##################################################
*/
.navbar-bg {
  background: var(--second-color) !important;
  transition: all 0.3s ease;
 
  box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);

}
.navbar-bg .nav-link{
  color: var(--balck-color) !important;
}
.navbar {
  background: hsla(0, 0%, 100%) !important;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

.navbar-nav .nav-link {
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--balck-color) !important;
}

.navbar-nav .nav-link:hover {
  color: var(--main-color) !important;
}
.offcanvas-body .nav-link{
  color: var(--balck-color) !important;
}
/* تنسيقات قسم البطل */
.hero-section {
  position: relative;

  overflow: hidden;
}

.background-video video {
  width: 100%;
  height: 100vh ;
  object-fit: cover;
}
.background-video {
  position: relative;
  height: calc(100vh - 138px);
  overflow: hidden;
}
.hero-slider  {
  position: relative;
  width: 100%;
}



.background-video .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0 auto;
  height: 100vh;
  background-color: rgba(0, 0,0, 0.1);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 50%;

  transform: translateY(-50%);
  color: white;
  z-index: 3;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--second-color);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-cta {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: rgba(255, 255, 255);

  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.hero-cta h3 {
  color: var(--dark-color);
  font-weight: 700;
}

.hero-cta p {
  color: #555;
}

.btn-step {
  background: linear-gradient(to right, var(--main-color), var(--third-color));
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
  font-size: 1.1rem;
}

.btn-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 139, 87, 0.4);
  color: white;
}

/* تنسيقات قسم كيف نعمل */
.how-it-works {
  background-color: white;
}

.work-step {
  padding: 2rem 1rem;
}

.work-step h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--third-color);
}



/*  
##################################################
#                  About Us                      #
##################################################
*/

.about-section {
  background: #f9f9f9;
  position: relative;
}
.about-section .about-image img {
  height: 500px;
  width: 100%;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
}

.highlight {
  color: var(--main-color);
  font-weight: bold;
}

.about-buttons .btn {
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/*  
##################################################
#                  how to Work                   #
##################################################
*/
.how-it-works {
  background: linear-gradient(135deg, #f9f9f9 0%, #eef5ef 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  opacity: 30%;
  background: url("../images/football-1.png");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.how-it-works::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: url("../images/football.png");
  opacity: 10%;
  z-index: 0;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.process-steps {
  position: relative;
  z-index: 2;
}

.step-card {
  background: white;
  border-radius: 15px;
  /* overflow: hidden; */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  border: none;
  padding: 25px 20px;
  text-align: center;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--second-color) 0%, #e8f4ec 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
  color: var(--main-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--main-color), var(--third-color));
  color: white;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.step-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-actions {
  margin-top: 20px;
}

.btn-step {
  background: linear-gradient(to right, var(--main-color), var(--third-color));
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

.btn-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 139, 87, 0.4);
  color: var(--second-color);
}
/*  
##################################################
#                   Services                     #
##################################################
*/
.services-section {
  background-color: #f9f9f9;
}

/* الكارد اللي ضغطت عليها */

.services-cards .service-card {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  cursor: pointer;
}
.services-cards .service-card .overlay {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  inset: 0;
}

.services-cards .service-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.services-cards-page .service-card {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  cursor: pointer;
}
.services-cards-page .service-card .overlay {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  inset: 0;
}

.services-cards-page .service-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.services-cards .service-img {
  width: 800px;
  height: 600px;

}
.services-cards-page .service-img {
  width: 100%;
  height: 400px;

}
 .service-img img {
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

 .service-card:hover .service-img img {
  transform: scale(1.1);
}
.services-cards .service-card.expanded {
  width: 800px;
  height: 600px;
  z-index: 10;
}

.services-cards .service-card.expanded .service-content .content {
  display: block; /* أظهر التفاصيل */
}

/* باقي الكروت */
.services-cards .service-card.collapsed {
  width: 200px;
}
.services-cards .service-card.collapsed img {
  width: 100%;
  height: 600px;
}
.service-content {
  padding: 1.5rem;
  position: absolute;
  width: 100%;
  bottom: 0%;
  z-index: 5;
}

.service-content h4 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--second-color);
}
.services-cards-page .service-card:hover .service-content .content{
display: block;
}
.service-content .content {
  display: none;
  transition: all 0.4s ease;
}
.service-content p {
  color: var(--second-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
}

/*  
##################################################
#                   Projects                     #
##################################################
*/
.projects-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  opacity: 30%;
  background: url("../images/football-1.png");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.projects-section::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: url("../images/football.png");
  opacity: 10%;
  z-index: 0;
}
.project-card img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 350px;
  width: 100%;
  object-fit: cover;
}
.project-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.nav-pills .nav-link {
  border-radius: 30px;
  padding: 10px 20px;
  margin: 0 5px;
  font-weight: 600;
}
.nav-pills .nav-link.active {
  background-color: var(--main-color);
}

.equipments::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  opacity: 30%;
  background: url("../images/football-1.png");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.equipments::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: url("../images/football.png");
  opacity: 10%;
  z-index: 0;
}


/* خلفية زخرفية خفيفة */
#equipments {
  background: #f9fdf9;
  position: relative;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* الكروت */
.equipment-card {
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
.equipment-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 128, 0, 0.2);
}

/* الصور داخل الكروت */
.image-wrapper {
  overflow: hidden;
  border-radius: 0.8rem 0.8rem 0 0;
}
.image-wrapper img {
  transition: transform 0.5s ease;
}
.image-wrapper img:hover {
  transform: scale(1.08);
}

/* النص */
.card-title i {
  font-size: 1rem;
}

/*  
##################################################
#                   Footer                      #
##################################################
*/
.footer-section {
  background: linear-gradient(135deg, #f9f9f9 0%, #eef5ef 100%);

  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.footer-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  opacity: 30%;
  background: url("../images/football-1.png");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.footer-section::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: url("../images/football.png");
  opacity: 10%;
  z-index: 0;
}
.footer-section h5 {
  position: relative;
  padding-bottom: 12px;
  font-weight: 700;

}

.footer-section h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background-color: #4CAF50;
  border-radius: 2px;
}

.footer-section p {
  line-height: 1.8;
  color: var(--balck-color);
}

.footer-section a {
  transition: all 0.3s ease;
  color: var(--balck-color) !important;
}

.footer-section a:hover {
  color: #4CAF50 !important;
  padding-right: 5px;
}

.footer-section li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.footer-section i {
  color: #4CAF50;
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-left: 8px;
}

.social-btn i{
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.social-btn i:hover {
  background: #4CAF50 ;
  transform: translateY(-3px);
  color: var(--second-color) !important;

}

.copyright {
border-top:1px solid hsla(0, 0%, 0%, 0.282);
  padding: 15px 0;
  margin-top: 15px;

}

.copyright a {
  color: #4CAF50 !important;
  font-weight: bold;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

.logo-img {
  transition: transform 0.3s ease;
}

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