


/* header responsive  */
/* header responsive  */
/* header responsive  */
/* header responsive  */
/* header responsive  */
/* header responsive  */
/* header responsive  */
@media (max-width: 650px){

    .header {
        z-index: 1000;
        
    }

    /* nav destpek */
    .nav-item1 {
        background-color: var(--background-grey-color);
        padding: 0;
        margin: -20px;
        padding: 2px 25px 2px 25px;
        border-radius: 10px 10px 0px 0px;
    }

    .nav-link1 {
        color: var(--white-color);  
    }




    .nav {
      z-index: 2000;
        border-left: 1px solid var(--background-grey-color);
        position: fixed;
        top: 68.4px;
        background-color: var(--background-green-color);
        width: 50%;
        height: 100%;
        padding: 10px 0 25px;
        transform: translateX(100%);
        transition: ease-in 0.4s;
        padding-top: 50px;
    }

    .nav-list {
        flex-direction:column ;
        align-items: center;
        row-gap: 50px;
        
    }

    .nav-link {
        font-size: 20px;
    }

    .hamburger {
        display: block;
    }
}












/* background responsive */
/* background responsive */
/* background responsive */
/* background responsive */
/* background responsive */
@media (max-width: 650px) {
  body {
    background-image: url("mobilehomebackground.png"); /* ✅ mobile version */
    margin: 0;
    height: 100vh;
    background-size:100%;      
    background-repeat: no-repeat;
    background-position: center top 60px; /* adjust gap from header */
    
  }
}











/* on the main background text */
/* on the main background text */
/* on the main background text */
/* on the main background text */
/* on the main background text */



@media (max-width: 1600px) {


        /* on the main background text */
        .hero {
        margin-top: 140px;
        }

        /* Optional: clamp to avoid too small or too big text */
        .backgroundtext h1 {
        font-size: clamp(70px, 7vw, 30px);
        font-weight: 700;
        color: var(--white-color);
        }



        .backgroundtext p {
        margin-top: 30px;
        font-size: clamp(50px, 3vw, 30px);
        font-weight: 100px;
        }      
}











@media (max-width: 1200px) {


        /* on the main background text */
        .hero {
        margin-top: 140px;
        }

        /* Optional: clamp to avoid too small or too big text */
        .backgroundtext h1 {
        font-size: clamp(45px, 7vw, 30px);
        font-weight: 700;
        color: var(--white-color);
        }



        .backgroundtext p {
        margin-top: 30px;
        font-size: clamp(35px, 3vw, 30px);
        font-weight: 100px;
        }      
}














@media (max-width: 900px) {



        /* on the main background text */
        .hero {
        margin-top: 120px;
        direction: rtl;
        width: 100%;
        color: var(--white-color);
        }

        /* Optional: clamp to avoid too small or too big text */
        .backgroundtext h1 {
        font-size: clamp(20px, 7vw, 35px);
        font-weight: 700;
        color: var(--white-color);
        }



        .backgroundtext p {
        margin-top: 20px;
        font-size: clamp(25px, 3vw, 30px);
        font-weight: 100px;
        }      
}










@media (max-width: 650px) {
        /* on the main background text */
        .hero {
        margin-top: 200px;
        direction: rtl;
        width: 100%;
        color: var(--white-color);
        }



        .backgroundtext {
        margin: 0 auto;
        width: 90%;
        
        z-index: 2;
        text-align: center;
        /* Make text scale with background using viewport width */
        font-size: 5vw;               /* 5% of viewport width */
        }

        /* Optional: clamp to avoid too small or too big text */
        .backgroundtext h1 {
        font-size: clamp(35px, 7vw, 40px);
        font-weight: 700;
        color: var(--white-color);
        }



        .backgroundtext p {
        margin-top: 20px;
        font-size: clamp(35px, 2vw, 24px);
        font-weight: 100px;
        
        text-align: center;
        }      
}











/* button */
/* button */
/* button */
/* button */





@media (min-width: 700px) {
.btn {
  font-size: 25px;
  margin-top: 30px;
    background-color: var(--background-grey-color);
    color: var(--white-color);
    padding: 3px 10px 3px 10px;
    border: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: 0.3s;
}
}






@media (max-width: 650px) {
.btn {
  font-size: 25px;
  margin-top: 30px;
    background-color: var(--background-grey-color);
    color: var(--white-color);
    padding: 3px 10px 3px 10px;
    border: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: 0.3s;
}
}










/* responsive for another break point */
/* responsive for another break point */
/* responsive for another break point */
/* responsive for another break point */
/* responsive for another break point */


@media (max-width: 428px) {
          /* Optional: clamp to avoid too small or too big text */
        .backgroundtext h1 {
          margin-top: -50px;
          font-size: clamp(20px, 7vw, 40px);
          font-weight: 700;
          color: var(--white-color);
        }



        .backgroundtext p {
          margin-top: 20px;
          font-size: clamp(25px, 2vw, 24px);
          font-weight: 100px;
          
          text-align: center;
        } 

        .btn {
          font-size: 17px;
          margin-top: 30px;
          background-color: var(--background-grey-color);
          color: var(--white-color);
          padding: 3px 10px 3px 10px;
          border: none;
          border-radius: 10px 10px 0 0;
          cursor: pointer;
          transition: 0.3s;
        }
      }
















/*  Responsive shapes */
/*  Responsive shapes */
/*  Responsive shapes */
/*  Responsive shapes */
/*  Responsive shapes */
/*  Responsive shapes */
@media (max-width: 900px) {
  .features {
    gap: 20px;
    padding: 40px 15px;
    margin-top: 150px;
  }

  .feature {
    width: 45%; /* two per row on tablets */
  }
}

@media (max-width: 650px) {
  .features{
    margin-top: 700px;
    gap: 60px;
  }


  .feature {
    width: 100%; /* stack vertically on phones */
    max-width: 320px;
    
  }

  .feature h3 {
    font-size: 18px;
  }

  .feature p {
    font-size: 13px;
  }

  .shape {
    width: 70px;
    height: 70px;
  }

}










/*  Responsive paragraph that is below shapes */
/*  Responsive paragraph that is below shapes */
/*  Responsive paragraph that is below shapes */
/*  Responsive paragraph that is below shapes */
/*  Responsive paragraph that is below shapes */
/*  Responsive paragraph that is below shapes */
@media (max-width: 768px) {
  .intro-title {
    font-size: 26px;
  }
  .intro-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .intro-title {
    font-size: 22px;
  }
  .intro-text {
    font-size: 14px;
  }
}















/* Responsive for the courses shapes */
/* Responsive for the courses shapes */
/* Responsive for the courses shapes */
/* Responsive for the courses shapes */
/* Responsive for the courses shapes */
@media (max-width: 900px) {

    .courses-section {
    margin-top: 200px;
  }

  .courses-container {
    flex-direction: column;
    align-items: center;
  }
}


@media (max-width: 655px) {

    .courses-section {
    margin-top: 700px;
  }
}




@media (max-width: 575px) {

    .courses-section {
    margin-top: 550px;
  }
}





















/*  Responsive footer */
/*  Responsive footer */
/*  Responsive footer */
/*  Responsive footer */
/*  Responsive footer */
/*  Responsive footer */
@media (max-width: 900px) {
  .footer-container {
    justify-content: center;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    flex: 1 1 100%;
  }

  .socials {
    margin-top: 10px;
  }
}

@media (max-width: 500px) {
  .footer {
    padding: 30px 15px 10px;
  }

  .footer h2 {
    font-size: 20px;
  }

  .footer h3 {
    font-size: 16px;
  }

  .footer p,
  .footer-links ul li a {
    font-size: 13px;
  }

  .socials a {
    font-size: 18px;
  }
}
