@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
  --background-color: rgb(1, 1, 34);
  --text-color: #fff;
  --shadow-color: white;
  --custom-color:#FFD700 ;
}

.light-mode {
  --background-color: #f4f4f4;
  --text-color: #333;
  --shadow-color: #666;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

body {
  position: relative;
  color: var(--text-color);
  width: 100%;
  min-height: 100vh;
  background-color: var(--background-color);
  transition: all 0.3s ease;
}



.div{
  margin-bottom: 120px;
}







header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px;
  position: relative;
}

 

.theme-toggle {
  cursor: pointer;
  font-size: 24px;
  margin-right: 20px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

 .navbar ul {
  display: flex;
  align-items: center;
  gap: 20px;
}



.navbar ul li a {
  color: var(--text-color);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

 .navbar ul li a:hover {
  text-decoration: underline;
  filter: drop-shadow(0 0 10px var(--shadow-color));
}

 .button {
  margin-right: 20px;
}

 .button .btn {
  width: 120px;
  padding: 8px;
  background-color: transparent;
  border: 2px solid var(--text-color);
  outline: none;
  box-shadow: 0 0 10px var(--shadow-color);
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-color);
  transition: 0.4s;
}


 .button .btn:hover {
  transform: scale(1.1);
  border-radius: 20px;
  box-shadow: 0 5px 14px var(--shadow-color);
}

.hero {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  padding-top: 60px;
}









.logo p{
  font-size: 30px;
  font-weight: bold;
  float: left;
  color: white;
  text-transform: capitalize;
  letter-spacing: 1.5px;
  cursor: pointer;
  font-family: "Playwrite CU", cursive;
  font-size: 30px;
  font-weight: bold;
  margin-left: 10px;
}

.logo p:hover{
  box-sizing: border-box;
  color: var(--custom-color);
  text-shadow: 0 0 50px var(--custom-color),
               0 0 110px var(--custom-color),
               0 0 165px var(--custom-color),
               0 0 220px var(--custom-color);
               /* 0 0 270px goldenrod; */
  animation: animate 5s linear infinite;
}
@keyframes animation {
  0%{
      filter: hue-rotate(0deg);
  }
  100%{
      filter: hue-rotate(360deg);
  }
  
}



.dynamic-text{
  font-family: "Russo One", sans-serif;
  margin-left:0px;
  line-height: 70px;
  height: 80px;
  overflow: hidden;
}
.dynamic-text li{
  list-style: none;
  font-size: 50px;
  font-weight: 400;
  color: var(--custom-color);
  position: relative;
  top: 0;
  animation: slide 3s steps(2) infinite;
 
}
@keyframes slide {
  0%{
      top: 0;
  }
  100%{
      top:-160px;
  }
  
}
.dynamic-text li span{
  position: relative;
}
.dynamic-text li span::after{
  content:"" ;
  position: absolute;
  left: 0;
  background-color:#010122;
  height: 100%;
  width:100%;
  border-left:2px solid var(--custom-color);
  animation: typing 1.5s steps(18) infinite , reverseTyping 1.5s steps(18) infinite , blinkCursor 1s step-end infinite;
}
@keyframes typing {
 
  0% {
      left: 0;
  }
  50% {
      left: 100%; /* Fully typed out */
  }
  80% {
      left: 100%; /* Hold for 1s after typing completes */
  }
}
@keyframes reverseTyping {
  80% {
      left: 100%;
  }
  99% {
      left: 0; /* Text is "erased" from right to left */
     
  }
  100%{
      left: 0;
      border-left: none;
      
  }
}
@keyframes blinkCursor {
  0%, 50%, 100% {
      border-left: 2px solid var(--custom-color); /* Visible cursor */
  }
  25%, 75% {
  
      border-left: 2px solid transparent;
  }
}



.right {
  margin-left: 100px;
  margin-top: 10px;
  width: 40%;
}

.right h2 {
  font-size: 34px;
  font-weight: bold;
  color: yellowgreen;
}

.right h1 {
  font-size: 40px;
  font-weight: bold;
}

.right p {
  color: gray;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
}

.right .buttton {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}



.right .buttton .h-btn {
  width: 130px;
  padding: 10px;
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
  box-shadow: 0 0 10px var(--shadow-color);
  outline: none;
  cursor: pointer;
  font-size: 17px;
  transition: 0.4s;
}

.h-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 9px 12px var(--shadow-color);
  border-radius: 23px;
  filter: drop-shadow(0 0 10px var(--custom-color));
}



.left {
  margin-right: 140px;
  margin-top: -10px;
}







.left .image {
  width: 400px;
  height: 300px;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 9px 15px var(--custom-color); */
  border-radius: 2%;
  background-color: transparent;
}

.left .image img {
  width: 400px;
  height: 300px;
  border-radius: 2%;
}

















@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
/* 
   .navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    padding: 20px;
  }

   .navbar.active {
    display: block;
  }

   .navbar ul {
    flex-direction: column;
    align-items: center;
  }

   .navbar ul li {
    margin: 10px 0;
  }
 */


  
  .hero {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

   .right {
    margin: 20px;
    width: 100%;
  }

  .hero .left {
    margin: 20px;
  }

  .right .social-media {
    margin: 40px auto;
  }

  .right .buttton {
    justify-content: center;
  }
}






















/* :root {
  --background-color: #0d1b2a;  /* Darker background */
  /* --text-color: #e0e0e0;  /* Light grey text */
  /* --shadow-color: #c1c1c1;  Soft shadow */ */
  /* --custom-color: #42a5f5;  /* Light blue accents */
/* } * */

footer {
  background-color: var(--background-color);
  padding: 40px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: var(--text-color);
  margin-top: 2000px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer-nav, .footer-contact, .footer-social {
  width: 30%;
  text-align: left;
}

.footer-nav h3, .footer-contact h3, .footer-social h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--custom-color); /* Applying custom color to headers */
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul li {
  margin: 8px 0;
}

ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: normal;
}

ul li a:hover {
  color: var(--custom-color); /* Hover color change */
}

.footer-contact p {
  margin: 5px 0;
}

.footer-bottom {
  font-size: 14px;
  color: var(--text-color);
  margin-top: 20px;

  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.footer-bottom .designer {
  font-weight: bold;
}

/* Further adjust position of the company section */
.footer-nav {
  margin-left: 120px;
}

.footer-contact {
  margin-right: 20px;
}

.footer-social {
  margin-left: 60px;  /* Adjusted to move Company section closer to center */
}

/* Responsive Styles */

/* When the screen width is less than 1024px */
@media (max-width: 1024px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav, .footer-contact, .footer-social {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-nav {
    margin-left: 0;
  }

  .footer-contact {
    margin-right: 0;
  }

  .footer-social {
    margin-left: 0;
  }
}

/* When the screen width is less than 768px */
@media (max-width: 768px) {
  footer {
    padding: 20px 10px;
  }

  .footer-nav h3, .footer-contact h3, .footer-social h3 {
    font-size: 18px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

/* When the screen width is less than 480px */
@media (max-width: 480px) {
  .footer-nav h3, .footer-contact h3, .footer-social h3 {
    font-size: 16px;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .footer-nav, .footer-contact, .footer-social {
    padding: 10px 0;
  }
}
