body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background-color: #101615;
}

nav ul{
    display: flex;
    /* justify-content:space-around; */
    margin: 30px 470px;
    gap: 80px;
    list-style: none;
    color: white;
    font-size: 18px;
    font-weight: bolder;
}

nav{
    position: absolute;
    top: 0px;
    /* background-color: #101615; */
    backdrop-filter: blur(20px);
    /* border: 1px solid white; */
    width: 100%;
    
}

/* .container a{
    width: 100px;
    height: 30px;
    padding: 10px;
    position: absolute;
    top: 260px;
    left: 720px;
    text-decoration: none;
    font-size: 22px;
    border-radius: 50px;
    text-align: center;
    border: 4px solid white;
    background-color: black;
    color: white;
    z-index: 999;
} */

.container a {
    width: 150px;
    height: 50px;
    line-height: 50px;
    display: inline-block;
    position: absolute;
    top: 385px;
    left: 700px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
    background: black; /* Inner button background */
    border-radius: 50px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: 0.5s ease;
}

.container a:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #ff7f00, #ff0000);
    background-size: 400%;
    z-index: -1;
    animation: move-border 3s linear infinite;
}

.container a:after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: black; /* Solid inner background for text visibility */
    border-radius: 50px;
    z-index: -1;
}

.container a:hover{
    scale: 1.04;
}

/* Keyframes for moving gradient */
@keyframes move-border {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}





.logo img{
    width: 500px;
    height: auto;
    position: absolute;
    top: 180px;
    left: 525px;
}

.container {
    position: relative;
    /* height: 100vh; */
    height: 875px;
    overflow: hidden;
    /* border: 1px solid red; */
}

.box1 img {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
}

.box2 img {
    height: auto;
    width: 100vw;
    position: absolute;
    top: 50px;
    transition: transform 1s ease;
}

.box3 img {
    width: 1590px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    transition: transform 1s ease;
}

.box4 img {
    width: 450px;
    position: absolute;
    right: 150px;
    bottom: 60px;
    transition: transform 1s ease;
}

.box5 img {
    width: 100vw;
    position: absolute;
    top: 700px;
    transition: transform 1s ease;
    z-index: 5;
}

.box6 img {
    width: 100vw;
    position: absolute;
    top: 450px;
    transition: transform 1s ease;
}

.about {
    height: 400px;
    margin: 200px auto;
    width: 70%;
    /* border: 1px solid red; */
    color: white;
    font-size: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    line-height: 55px;
}

.about h2{
    color: white;
    align-items: center;
    justify-content: center;
    margin: 50px auto auto 500px;
}

.about p{
    text-align: center;
    line-height: 1.9;
}

.gaming{
    margin: 350px auto;
    /* border: 1px solid red; */
}

.gaming p{
    font-weight: bolder;
    font-size: 30px;
    color: white;
    text-align: center;
}

.gameBox {
    display: flex;
    gap: 60px;
    padding: 0px;
    margin: 40px auto 0px auto;
    width: 90%;
    height: 700px;
    /* border: 1px solid red; */
    flex-wrap: wrap;
    /* justify-content: space-around; */
    justify-content: center;
}

.card {
    /* flex: 0 0 auto; */
    width: 320px;
    height: 320px;
    /* height: 100%;  */
    transition: transform 0.5s ease, opacity 0.3s ease;
    border: 5px solid #ccc;
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    /* border: 1px solid red; */
    justify-content: center;
    align-items: center;
    /* background: #fff; */
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gameBox .card:not(:hover) {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Apply reduced opacity to the non-hovered cards only when hovering over the container */
.gameBox:hover .card:hover img {
    opacity: 0.1;
}

.card:hover {
    transform: scale(1.05); 
    z-index: 1;
}


/* Main content styling */
.content {
    padding: 20px;
    font-family: Arial, sans-serif;
  }
  
  /* Sticky button for chatbot */
  .chatbot-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #00aaff; /* Green button */
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Button stays on top */
    transition: 0.3s ease;
  }
  
  .chatbot-btn:hover {
    background-color: #0055ff;
  }
  
  /* Chatbot overlay (will appear fixed at the right side) */
  .chatbot-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    right: 0;
    width: 400px; /* Fixed width for chatbot */
    height: 100%;
    background-color: white; /* Solid background */
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateX(100%); /* Start off-screen */
    transition: transform 0.3s ease;
    overflow: hidden; /* Prevent any overflow */
    border-radius: 2%;
    opacity: 0.95;
    
  }
  
  /* Chatbot container */
  .chatbot-container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0px;
    
  }
  
  /* Close button */
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  
  /* Styling the iframe for chatbot */
  .chatbot-iframe {
    width: 400px;
    height: 1000px;
    border: none;
    margin: 0;
    padding: 0;
  }
  
  /* Disable scrolling on the body when the chatbot is open */
  body.chatbot-open {
    overflow: hidden;
    height: 100vh; /* Prevent scrolling on the whole page */
  }
  
  /* Optional: You can also add a background for the whole page */
  body {
    transition: background-color 0.3s ease;
  }
  

  .txt {
    display:none;
  }

  .card:hover{
    cursor: pointer;
    color: black;
  }

    .card:hover .txt {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 20px;
        font-weight: bold;
        text-align: center;
    }

    .card:hover .txt p{
        font-size: 30px;
        font-weight: bold;
        text-align: center;
        color: white;
        opacity: 1;
    }

    .card .txt button{
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    }

    .card .txt button:hover {
    background-color: #347337;
    }


    .game-display {
        position: absolute;
        top: 2000px;
        left: 260px;
        width: 1000px;
        height: 600px;
        display: none; /* Initially hidden */
        border:none;
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.8);
    }
    
    #game-frame {
        width: 100%;
        height: 100%;
    }
    
    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 18px;
        background: #ff4d4d;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        z-index: 1000;
    }
    
    .close-btn:hover {
        background: #ff0000;
    }
    
    .gameBox.blur {
        filter: blur(10px); /* Apply blur effect */
        transition: filter 0.3s ease-in-out; /* Smooth transition */
    }

    .heading{
        text-align: center;
        padding: 0.5rem;
        color: white;
      }
      
      
      
      #gaming-highlights {
        text-align: center;
        margin: 20px;
      }
      
      
      .cds-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
        padding-bottom: 0.5rem;
        border-color: white;
        width: 1200px;
        margin-left: 140px;
      }
      
      .cds {
        background-color: #2b2323;
        border: 2px solid #ddd;
        border-radius: 8px;
        width: 30%;
        min-width: 280px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 40px;
      }
      
      .cds:hover{
        transform: scale(1.03);
      }
      .cds img {
        width: 100%;           /* Ensures image takes the full width of the cds */
        height: 200px;         /* Sets a fixed height for the image */
        object-fit: cover;     /* Ensures image covers the space, cropping as necessary */
        display: block;        /* Prevents any unwanted spacing below the image */
      }
      
      .cds-body {
        padding: 15px;
      }
      
      .cds-body h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: white;
      }
      
      .cds-body p {
        font-size: 1rem;
        color:#ffffff;
      }
      
      .cds-footer {
        text-align: center;
        padding: 10px;
        text-decoration: none;
      }
      
      .cds-footer button {
        
        background-color: #e1e6eb;
        color: white;
        border: none;
        padding: 10px;
        width: 100%;
        cursor: pointer;
        border-radius: 4px;
        transition: background-color 0.3s ease;
      }

      .cds-footer button a{
      text-decoration: none;
      font-size: 20px;
      color: black
      }
      
      .cds-footer button:hover {
        background-color: #0056b3;
      }

      .contact h1{
        margin-top: 250px;
        color:white;
        text-align: center;
      }

      form { max-width:420px; margin:50px auto; }

.feedback-input {
  color:white;
  font-family: Helvetica, Arial, sans-serif;
  font-weight:500;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border:2px solid #005ca7;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
}

.feedback-input:focus { border:2px solid #008cff; }

textarea {
  height: 150px;
  line-height: 150%;
  resize:vertical;
}

[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  width: 100%;
  background: linear-gradient(to right, #005bdc, #00a6ff);
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:white;
  font-size:24px;
  padding-top:10px;
  padding-bottom:10px;
  transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
  border: 2px solid #fff;
}
[type="submit"]:hover { background:linear-gradient(to top, #005bdc, #00a6ff); }

.footer-text {
    font-size: 18px;
    letter-spacing: 3px;
    color: #fff;
    text-align: center;
  }
  
  .container a{
    transition: 5s ease;
  }

  html{
scroll-behavior: smooth;
  }

  #overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Semi-transparent black background */
    color: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-family: 'Press Start 2P', cursive; /* Gaming font */
    font-size: 20px; /* Medium font size */
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 1s forwards; /* Smooth fade-in animation */
    border-radius: 10px; /* Rounded corners */
  }
  
  #overlay h1 {
    margin: 0;
    font-size: 24px; /* Reduced text size for better readability */
    text-shadow: 0 0 8px rgba(108, 117, 125, 1), 0 0 16px rgba(108, 117, 125, 1); /* Softer glow effect */
    color: #6c757d; /* Soft grey color for the text */
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  
  /* Media Query for Non-PC Devices (Tablets and below) */
  @media (max-width: 1024px) {
    .main {
      display: none;
    }
  
    #overlay {
      display: flex; /* Make the overlay visible */
      color: #fff;
      font-family: 'Press Start 2P', cursive;
      font-size: 20px; /* Medium font size */
      text-shadow: 0 0 8px rgba(108, 117, 125, 1), 0 0 16px rgba(108, 117, 125, 1); /* Softer glow */
      background: rgba(0, 0, 0, 0.85); /* Slightly transparent background */
      padding: 30px;
      animation: slideIn 1s forwards; /* Slide-in animation */
      border-radius: 15px; /* Rounded corners for smooth appearance */
      opacity: 1; /* Ensure opacity is set to 1 when displayed */
    }
  }
  
  @keyframes slideIn {
    0% {
      transform: translateY(-100%);
    }
    100% {
      transform: translateY(0);
    }
  }
  