/*
COLOR PALETTE
https://coolors.co/019541-ffffff-ea7414-2b3336-000000
#019541 - Green
#FFFFFF - white
#ea7414 - orange
#2B3336 - dark gry
#000000 - black
*/

/*------Splash-----------*/

.splash{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    color: black;
    z-index: 9999;
    text-align: center;
    line-height: 90vh;
}

.splash.display-none{
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 0vh;
    background-color: white;
    color: black;
    z-index: -10;
    text-align: center;
    line-height: 90vh;
}


.type-writting h1 {
    position: absolute;
    font-weight: 700;
    font-size: 8vh;
    line-height: 9vh;
    text-align: left;
    top:30%;
    left: 32%;
    color: #fff;
    z-index: 10;
}

.type-writting h2{
    position: absolute;
    font-weight: 700;
    font-size: 0vh;
    line-height: 9vh;
    height: 10vh;
    width: 5vh;
    text-align: left;
    top:35%;
    left: 8%;
    background-color: #019541;
    animation: writing 3s  forwards ease-in ;
}

@keyframes writing {
    from{
        left:30%;
    }
    to{
        left: 61%;
    }
}


.type-writting.display-none{
    height: 0vh;
    opacity: 0;
}

.splash img{
    position:  absolute; 
    top: 25%;
    left: 35%;
    text-align: center;
    opacity: 0 ;
    animation: fadein 1s  forwards ease-in ;
    animation-delay: 3.5s;

}

@keyframes fadein {
    from { opacity: 0 }
    to {opacity : 1}
}



/*------------------Home Page-------------------------*/


/* Global-styles */
body {
    margin: 0 ;
    font-family: poppins;
}

.content-wrap {
    width: 70%;
    margin: 0 auto;
  }
  

/*General*/
.section {
    margin: 0;
    width: 100%;
}

.section-container{
    
    margin: 60px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.reference {
    display: inline-block;
    color: #ff6600; /* اللون البرتقالي */
    text-decoration: none;
    border-bottom: 2px solid #ff6600; /* الخط تحت الرابط */
    transition: all 0.3s ease;
    text-align: center; /* لضمان أن الرابط يكون في المنتصف */
}


/*----------Contactus-navbar*/
.contactus-nav-bar{
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 50px;
    background-color: #2B3336;
    z-index: 10;
    margin: 0 0;
}

.contactus-nav-bar p{
    display: inline-block;
    margin-right: 15px;
    color: #fff;

}

.contactus-navbar-text{
    cursor: pointer;
}

.contactus-navbar-text:hover{
    color: #ea7414;
}


.contactus-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.contact-left,
.contact-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-right p {
    margin: 0;
    font-size: 14px;
}

.contact-left p {
    margin: 0;
}

.contactus-navbar-text i {
    margin-right: 5px;
}



/* Media query for small screens */
@media (max-width: 768px) {
    .contactus-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-left {
        display: none;
    }

    .contact-right .contactus-navbar-text {
        display: none; /* اخفي الكل مؤقتًا */
    }

    /* أظهر فقط العناصر المطلوبة */
    .contact-left .whatsapp,
    .contact-left .login,
    .contact-left .register {
        display: inline-block;
        margin: 10px 5px;
    }

    .contact-left {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 15px;
    }
}
/*--------- NavBar-------------*/
.nav-bar {
    position: absolute;
    top: 50px;
    left: 0;
    height: 80px;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 0px 10px 0px #000;
    z-index: 10;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    height: 60px;
    width: auto;
}

.logo-container h1 {
    font-size: 1px;
    font-weight: 700;
    color: #019541;
    margin: 0;
}

.nav-area {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-area li a {
    color: #2B3336;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.nav-area li a:hover {
    color: #ea7414;
    border-bottom: 2px solid #ea7414;
}



/* إخفاء زر الساندوتش في الشاشات الكبيرة */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-area {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        z-index: 999;
    }

    .nav-area.active {
        display: flex;
    }

    .nav-area li {
        text-align: center;
        margin: 10px 0;
    }
}




/*----Intro section-----*/

.section-1-split {
  background-color: #ffffff;
  padding-top: 150px;
}

.split-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.split-image {
  flex: 1.2;
  min-width: 300px;
  text-align: center;
}

.split-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.split-text {
  flex: .8;
  min-width: 300px;
  padding: 20px;
   text-align: center;
}

.split-text h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000; /* أسود */
}

.split-text .courses {
  font-size: 24px;
  font-weight: 600;
  color: #ea7414;
  margin-bottom: 30px;
}

.section-1-buttons {
  display: flex;
  gap: 15px;
  justify-content: center
}

/* الزرين نفسهم من قبل */
.btn {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Poppins', sans-serif;
  border: none;
}

.btn-black {
  background-color: #000;
  color: #fff;
}

.btn-black:hover {
  background-color: #f57c00;
}

.btn-white {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
}

.btn-white:hover {
  background-color: #ea7414;
  color: #fff;
  border-color: #ea7414;
}

/*------------------Subscription------------------------*/

.section-subscriptions {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.subscriptions-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #000;
}

.subscription-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

/* الكارت الأساسي */
.subscription-card {
    background: #ffffff;
    padding: 30px 20px;
    width: 280px;
    border-radius: 10px;
    border: 2px solid #f57c00; /* برتقالي */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    color: #000;
}

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

.subscription-card h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.subscription-card .price {
     display: inline-block;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #f57c00;
}

.subscription-card .period {
     display: inline-block;
    font-size: 15px;
    margin-bottom: 15px;
    color: #f57c00;
}

.subscription-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.subscription-card ul li {
    margin: 10px 0;
}

/* زر الاشتراك */
.subscribe-btn {
    display:block;
    padding: 10px 20px;
    background-color: #f57c00; /* برتقالي */
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #e56c00;
}

/* الكارت المميز */
.subscription-card.featured {
    background-color: #f57c00;
    color: white;
    border: none;
    transform: scale(1.08);
}

.subscription-card.featured .price {
    color: #fff;
}

.subscription-card.featured .period {
     display: inline-block;
    font-size: 15px;
    margin-bottom: 15px;
    color: #fff;
}

.subscription-card.featured .subscribe-btn {
    background-color: #fff;
    color: #f57c00;
    font-weight: bold;
}

.subscription-card.featured .subscribe-btn:hover {
    background-color: #e6e6e6;
}

/* الكارت الأسود */
.subscription-card:last-child {
    background-color: #000;
    color: white;
    border: none;
}

.subscription-card:last-child .price {
    color: #f57c00;
}

.subscription-card:last-child .subscribe-btn {
    background-color: #f57c00;
    color: white;
}

.subscription-card:last-child .subscribe-btn:hover {
    background-color: #e56c00;
}

/* تنسيق رابط Learn More */
.learn-more-link {
    display: inline-block;
    color: #ff6600; /* اللون البرتقالي */
    text-decoration: none;
    border-bottom: 2px solid #ff6600; /* الخط تحت الرابط */
    margin-top: 15px;
    transition: all 0.3s ease;
    text-align: center; /* لضمان أن الرابط يكون في المنتصف */
}

.subscription-card.featured .learn-more-link {
    display: inline-block;
    color: #ffffff; /* اللون البرتقالي */
    text-decoration: none;
    border-bottom: 2px solid #ffffff; /* الخط تحت الرابط */
    margin-top: 15px;
    transition: all 0.3s ease;
    text-align: center; /* لضمان أن الرابط يكون في المنتصف */
}

/* تفاعل مع التمرير */
.learn-more-link:hover {
    color: #e65c00; /* تغيير اللون عند التفاعل */
    border-bottom: 2px solid #e65c00; /* تغيير اللون عند التفاعل */
}



/*--------------DetailsSection------------*/

.details-section {
  width: 80%;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  gap: 60px;

}

.detail {
  display: flex;
  align-items: center;
  gap: 30px;
}

.detail.reverse {
  flex-direction: row-reverse;
}

.detail-image {
  flex: 1;
}

.detail-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.detail-text {
  flex: 1;
  color: #2B3336; /* لون نص مناسب */
}

.detail-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

.detail-text p {
  font-size: 18px;
  line-height: 1.6;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .detail, .detail.reverse {
    flex-direction: column !important;
  }

  .detail-image, .detail-text {
    width: 100%;
  }
}



/*------------------Packages Details----------------------*/

.section-packages-table {
    background-color: #f0f0f0; /* خلفية رمادية */
    padding: 50px 0;
}

.section-packages-table h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #000;
}

.package-description {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-top: 20px;
    margin-bottom: 40px;

}

.packages-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.packages-table th, .packages-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 16px;
}

.packages-table th {
    background-color: #333;
    color: white;
}

.packages-table td {
    background-color: #fff;
}

.packages-table .checkmark {
    color: #28a745; /* اللون الأخضر للعلامة ✔ */
    font-weight: bold;
}

.packages-table .checkmark::before {
    content: "✔";
}

.packages-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.packages-table tr:hover {
    background-color: #f1f1f1;
}

.packages-table td:last-child {
    font-weight: bold;
    color: #ff6600; /* البرتقالي */
}



/*---------------Vision------------------------------*/
.section-4{
    display: flex;
    position: inherit;
    height: 50vh;
    background-color: #fff ;    /*Orange*/
}


.section-4  .quote{
    position: absolute;
    text-align: center;
    font-size: 40vh;
    margin: 0 0 0 30%;
    color: #019541;
}

.vision-cover{
    height: 40vh;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    color: #2B3336;
}


/*----------------------Team-----*/
.section-5{
    display: flex;
    height: 40vh;
    background-color: #fff ;    /*Orange*/
}

.section-5  .quote{
    position: absolute;
    text-align: center;
    font-size: 30vh;
    margin: 0 0 0 30%;
    color: #019541;
    opacity: .1;
}

.team-body{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;

}

.card-team{
    display: flex;
    flex-direction: row;
    height: 140px;
    width:  280px;
    z-index: 2;
    
}

.card-team img{
    height: 140px;
    width:  140px;
}

.card-team .team-text{
    color: #2B3336;
    margin-left: 8px;

}

.card-team .team-text h3, p{
    margin-bottom: 0;
}

.card-team .member-social{
    display: inline-block;
    cursor: pointer;
    margin-right: 4px;
}

.card-team .member-social:hover{
   color: #ea7414;
}



/*---------------Contact us-----*/
.section-6{
    display: flex;
    background-color: #ea7414 ;    /*Orange*/
}



