/* Background Video */
    video.bg-video {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
    } 

    /* Overlay for dark effect */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
        z-index: 0;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      scroll-behavior: smooth;
    }

    body {
      background: linear-gradient(120deg, #e0c3fc, #8ec5fc);
      color: #333;
      padding-top: 60px;
 /*   background-image: url('box.jpg');
        background-size:cover;
        background-position:center;*/
       scroll-behavior: smooth;
      backface-visibility: hidden;
      -webkit-overflow-scrolling: touch;
    }

    h1 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 2rem;
      color: #fff;
      animation: fadeInDown 1s ease;
      margin-top:5%;
      background-color:orange;
       padding: 2rem 2rem;
      border-radius:30px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.883);
      animation: changecolor 10s ease infinite
       , zoomGlow 2s ease infinite alternate;
       border: 1px solid rgba(255, 255, 255, 0.2);
       
    }

    .container {
      margin-top:3%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      animation: fadeInUp 1.5s ease;
    }

    .card {
      margin-top:2%; 
     background: rgba(255, 255, 255, 0.9);
      width: 300px;
      padding: 25px;
      border-radius: 15px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
      position: relative;
      overflow:hidden;
      scroll-margin-top: 100px;
      flex-wrap: wrap;
     animation: rgbPulse 2s infinite;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.2);
   
    }
    .card a{
      text-decoration:none;
    }

    .card::before {
      content: "";
      position: absolute;
      top: -100%;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
      transform: skewY(-10deg);
      transition: 0.5s;
       background: rgba(255, 255, 255, 0.1);
       backdrop-filter: blur(5px);
       -webkit-backdrop-filter: blur(5px);
      border: 1px solid rgba(255, 255, 255, 0.2);
  
    }

    .card p {
      color:black;
    }

    .card:hover::before {
      top: 100%;
    }

    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 30px rgba(0,0,0,0.3);
    }

    .card h2 {
      color: #4a00e0;
      margin-bottom: 15px;
    }

    .card p {
      font-size: 0.95rem;
      line-height: 1.6;
    }

    footer {
      margin-top: 80px;
      background: #333;
      color: #fff;
      text-align: center;
      padding: 30px 10px;
      border-radius: 10px;
    }

    footer a {
      color: #8ec5fc;
      margin: 0 10px;
      text-decoration: none;
      font-weight: bold;
    }

    footer a:hover {
      text-decoration: underline;
    }

    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
@keyframes changecolor {
  0%   { background: rgba(0, 0, 255, 0.9); color: rgba(255, 255, 255, 0.9); }     /* Blue */
  25%  { background: rgba(255, 165, 0, 0.9); color: rgba(255, 255, 255, 0.9); }   /* Orange */
  50%  { background: rgba(255, 0, 0, 0.9); color: rgba(255, 255, 255, 0.9); }     /* Red */
  75%  { background: rgba(255, 255, 255, 0.9); color: rgba(0, 0, 0, 0.9); }       /* White */
  100% { background: rgba(0, 128, 0, 0.9); color: rgba(255, 255, 255, 0.9); }     /* Green */
}
  @keyframes movement
  {
    0%{margin-left:1%}
    25%{margin-left:100%}
    50%{margin-right:50%}
    75%{margin-right:100%}
    100%{margin-right:1%}
  }
  @keyframes zoomGlow {
  0%{
    transform: scale(0.9);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
  }
    
}
   @keyframes rgbPulse {
  0% { filter: drop-shadow(0 0 20px red); } /* Glow with drop-shadow */
  33% { filter: drop-shadow(0 0 20px green); } /* Glow with drop-shadow */
  66% { filter: drop-shadow(0 0 20px blue); } /* Glow with drop-shadow */
  100% { filter: drop-shadow(0 0 20px red); } /* Glow with drop-shadow */
}

    nav {
      background: rgba(8, 14, 25, 0.908);
      padding: 1rem 2rem;
      border-radius: 0%;
      backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
      z-index: 1000;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      margin: 0;
 
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      margin-right:5%;
    }

    .brand {
      color: white;
      font-size: 1.5rem;
      font-weight: bold;
    }

    .toggle {
      font-size: 1.8rem;
      color: white;
      display: none;
      cursor: pointer;
    }

    .menu {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .menu li {
      position: relative;
    }

    .menu li a {
      text-decoration: none;
      color: white;
      font-size: 1rem;
      padding: 0.5rem 1.5rem;
      border-radius: 10px;
      transition: background 0.3s;
      display: block;
    }

    .menu li a:hover {
      background: blue;
      cursor: pointer;
    }

    .submenu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: rgba(226, 227, 229, 0.409);
      backdrop-filter: blur(80px);
      -webkit-backdrop-filter: blur(8px);
      padding: 1rem;
      border-radius: 15px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.883);
      white-space: nowrap;
      z-index: 999;
    }

    .menu li:hover .submenu {
      display: block;
    }

    .submenu a {
      display: block;
      margin-bottom: 0.5rem;
      color: rgb(228, 226, 240);
       text-decoration: none;
    }

    .submenu a:hover {
      text-decoration: none;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .toggle {
        display: block;
      }
     h1{
       font-size: 0.7rem;
        animation: changecolor 10s ease infinite
       , zoomGlow 2s ease infinite alternate;
       
     }
     .nav-container{
       width:100%;
       position:sticky;
      
       
     }
      nav{
        border-radius:0%;
        position: fixed;
        top: 0;
        left: 0;
       width: 100%;
       margin: 0;
      
       
        
        
      }
      .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
       
      }

      .menu.active {
        display: flex;
      }

      .menu li {
        width: 100%;
        text-align:center;
      }

      .menu li a {
        padding: 0.75rem 1rem;
        
      }

      .submenu {
        position: static;
        background:light;
        padding-left: 1rem;
        
      }




      .menu li:hover .submenu {
        display: block;
      }
    
video{  
    will-change: transform, opacity ;
}
}



