* {
  font-size: 14px;
  font-weight: 700;
  transition: .3s;
}
body {
  font-family: 'Space Mono', monospace;
  background: #000814;
  color: white;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}
.container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
}
/* Navbar */

/* شكل الـ navbar */
.navbar2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  color: white;
}

/* اللينكات */
.menu {
  display: flex;
  color: white;
  gap: 50px;
  list-style: none;
}

/* زر الموبايل */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}
.navbar {
  width: 100%;
  height: 90px;
  background: #020d2b;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.menu a {
  text-decoration: none;
  color: white;
  font-size: 20px;
  font-weight: 700;
  transition: .3s;
}

.menu a.active {
  color: #5b75ff;
}

.menu a:hover {
  color: #5b75ff;
}

/* About Us */
.aboutus {
   background: #020d2b;
  padding: 90px 5%;
}
.aboutus h2{
  font-size: 40px;
}
.aboutus p{
  font-size: 20px;
  font-weight: 100;
  margin-left: 30px;
}
/* Footer */
.footer {
  background: #23326f;
  padding: 70px 5% 30px;
}
.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-box h3 {
  font-size: 32px;
  margin-bottom: 30px;
}

.footer-box p {
  font-size: 20px;
  color: #d8d8d8;
  line-height: 1.8;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 20px;
}

.footer-box ul li a {
  text-decoration: none;
  color: white;
  transition: .3s;
    font-size: 18px;
}

.footer-box ul li a:hover {
  color: #8aa0ff;
}

.social-icons {
  display: flex;
  gap: 25px;
}

.social-icons a {
  color: white;
  font-size: 30px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 30px;
  text-align: center;
  font-size: 18px;
}
/* Floating Buttons */
.whatsapp-btn {
  position: fixed;
  bottom: 150px;
  right: 25px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 100px;
  text-decoration: none;
  z-index: 999;
}
.chatbotToggle {
  position: fixed;
  bottom: 50px;
  right: 25px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  z-index: 999;
  cursor: pointer;
}
.chatBotImage{
    display: flex;
    align-items: center;
    justify-content: center;
      width: 100px;
    height: 100px;
    object-fit: contain;
}

.whatsapp-icon{
    display: flex;
    align-items: center;
    justify-content: center;
      width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
}
/* Chatbot Modal */
/* ===== CHAT BUTTON ===== */

.chatbot-toggle{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #0f172a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0,0,0,.3);
}

/* ===== CHAT BOX ===== */

.chatbot-container{
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 380px;
    height: 500px;
    background: #162033;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.4);
    display: none;
    flex-direction: column;
    z-index: 999;
}

/* ===== HEADER ===== */

.chatbot-header{
    background: #2563eb;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3{
    color: white;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.chat-actions{
    display: flex;
    align-items: center;
    gap: 18px;
}

.chat-actions button{
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 15px;
}

#closeChat{
    color: white;
    font-size: 22px;
    cursor: pointer;
}

/* ===== BODY ===== */

.chatbot-body{
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* BOT MESSAGE */

.bot-message{
    background: #374151;
    color: white;
    padding: 18px;
    border-radius: 10px;
    font-size: 22px;
    line-height: 1.6;
    width: 85%;
}

/* OPTIONS BUTTONS */

.chat-option{
    width: 100%;
    background: transparent;
    border: 2px solid #2563eb;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: left;
    font-size: 19px;
    cursor: pointer;
    transition: .3s;
}

.chat-option:hover{
    background: #2563eb;
}
/* ========================= */
/* MOBILE RESPONSIVE */
/* ========================= */

@media (max-width: 768px){

  *{
    box-sizing: border-box;
  }

  body{
    overflow-x: hidden;
  }

  /* NAVBAR */

  .navbar{
    height: 80px;
    padding: 0 15px;
  }

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

  .navbar2{
    padding: 0;
    position: relative;
  }

  .logo img{
    width: 50px;
    height: 50px;
  }

  .hamburger{
    display: block;
    margin-left: 0;
    font-size: 30px;
    cursor: pointer;
    color: white;
    margin-left: 260px;
  }

  .menu{
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    background: #020d2b;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 20px;
    gap: 20px;
    z-index: 9999;
  }

  .menu.active{
    display: flex;
  }

  .menu a{
    font-size: 18px;
    color: white;
  }

  /* PROJECTS */

  .projects{
    padding: 120px 20px 60px;
  }

  .projects h2{
    font-size: 34px;
    line-height: 1.4;
  }

  .projects h2 p{
    font-size: 15px;
    line-height: 1.8;
    margin-top: 15px;
  }

  /* CATEGORY */

  .category-title{
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-top: 50px;
  }

  .category-title h2{
    font-size: 28px;
  }

  .Icon{
    width: 70px;
    height: 70px;
    margin-right: 0;
  }

  /* GRID */

  .projects-grid{
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 35px;
  }

  /* CARD */

  .project-card{
    width: 100%;
  }

  .project-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .card-content{
    padding: 20px;
  }

  .card-top{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .card-top h3{
    font-size: 22px;
  }

  .card-top span{
    font-size: 12px;
    padding: 6px 12px;
  }

  .card-content p{
    font-size: 14px;
    line-height: 1.8;
    margin-top: 18px;
  }

  .card-content br{
    display: none;
  }

  /* FOOTER */

  .footer{
    padding: 50px 20px 25px;
  }

  .footer-container{
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-box h3{
    font-size: 24px;
    margin-bottom: 15px;
  }

  .footer-box p{
    font-size: 15px;
  }

  .footer-box ul li a{
    font-size: 15px;
  }

  .social-icons a{
    font-size: 24px;
  }

  .footer-bottom{
    font-size: 14px;
  }

  /* WHATSAPP */

  .whatsapp-btn{
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 100px;
  }

  .whatsapp-icon{
    width: 60px;
    height: 60px;
  }

  /* CHATBOT */

  .chatbotToggle{
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 25px;
  }

  .chatBotImage{
    width: 70px;
    height: 70px;
  }

  .chatbot-container{
    width: 92%;
    height: 500px;
    right: 4%;
    bottom: 95px;
  }

  .bot-message{
    width: 100%;
    font-size: 16px;
  }

  .chat-option{
    font-size: 15px;
    padding: 12px;
  }

}