* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 95%;
  
}


body {
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}


body {
  font-family: 'Georgia', 'Times New Roman', Times, serif, cursive;
  background: #f4f4f4;
  color: #333;
  font-weight: bold;
  background-image: url(IMAGES/cyber-vTem-logo.png );
  background-clip: cover;
  background-repeat: repeat;
  background-size: 100%;
  background-attachment: fixed;
  color: #fff;
backdrop-filter: opacity(100%) blur(100px) saturate(100px);
}

header {
  margin: 0px;
  padding: 20px;
  background: #282C4E;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}


.logo-img {
  margin: 3px;
  padding: 3px;
  border-radius: 90px;
  width: 100px;
  height: 100px;
  box-shadow: 4px 5px 4px 5px black;
  border: 2px solid #fff;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}

figure {
  margin: 10px;
  padding: 10px;
  font-size: 2rem;
  font-weight: bolder;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vector-img {
  border-radius: 10%;
  border: 3px solid #000;
  box-shadow: 2px 3px 2px 3px wheat;
}

.about-head-color {
  color: #fff;
}

.links {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.source {
  margin: 5px;
  padding: 5px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.source {
  display: flex;
  -webkit-line-clamp: 2; /* number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 1rem; /* Optional spacing between items */
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
  scrollbar-width: none; /* hide scrollbar on Firefox */
}

.source::-webkit-scrollbar {
  display: none; /* hide scrollbar on Chrome/Safari */
}

#nav-links {
  margin: 5px;
  padding: 5px;
  
  list-style: none;
  display: flex;
  gap: 1rem;
}

 #nav-links:hover {
  border: 2px solid #fff;
  border-radius: 20px;
}
a {
  color: #fff;
  text-decoration: none;
}
.hero {
  padding: 2rem;
  text-align: center;
  background-image: url( IMAGES/cyber-security-laptop.jpg);
  background-clip: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  color: #fff;
backdrop-filter: opacity(100%) blur(100px) saturate(100px);
 font-size: 1.1rem;
 font-weight: bolder;
}
.hero input {
  margin-top: 1rem;
  padding: 0.5rem;
  width: 80%;
  max-width: 400px;
}

 .marquee {
   padding: 10px;
  color: #fff;
  border: 2px solid ;
  box-shadow: 2px 3px 2px 3px wheat;
  border-radius: 10px;
 }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem;
   border-radius: 20px;

}
.resource-card {
  text-align: center;
  background: #42445A;
  color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 10px;
  padding: 1.5rem;
  transition: 0.3s ease;
  border: 2px solid #0f172a;
  border-radius: 20px;
  box-shadow: 2px 3px 2px 3px wheat;
  column-gap: 3px;
  row-gap: 3px;
  font-weight: bolder;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}
.resource-card:hover {
  box-shadow: 2px 3px 2px 3px #fff;
}

.view-live {
  margin: 4px;
  padding: 5px;
  color: yellow;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 1px 2px 1px 2px wheat;
}

.title-header {
  font-weight: bolder;
  font-size: 1rem;
  color: yellow;
}


footer {
  background: #282C4E;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.category-drop {
  margin: 0px;
  padding: 0px;
  background: #fff;
  box-shadow: 4px 5px 4px 5px black;
  border: 2px solid #fff;
  border-radius: 60px;
}

#searchBtn {
  margin: px;
  padding: 5px;
  width: 90px;
  height: 50px;
  font-weight: bold;
  font-size: 1.5rem;
  background: #0f172a ;
  color: #fff;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
border: 2px solid #fff;
box-shadow: 2px 3px 2px 3px wheat;
}

#search {
  margin: 0px;
  padding: 5px;
  width: 2000px;
  height: 50px;
  background: #42445A;
  color: #fff;
  border-radius: 20px;
  border-left: none;
  border-top-left-radius: 20px;
 border-bottom-left-radius: 20px;
 border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
  box-shadow: 3px 2px 3px 2px wheat;
  border: 2px solid #fff;
}

.search-bar {
  margin: 0px;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  
 
}

.road-map {
  margin: 20px;
  padding: 10px;
  text-align: center;
  color: #fff;
  background-color: #051934F7;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  box-shadow:inset 2px 3px 2px 3px wheat;
}

.Road-maps {
  margin: 10px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 2px 3px 2px 3px black;
}

#roadmapImg {
  display: none;
}

.img-roadmap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.roadmapBtn {
  margin: 10px;
  padding: 10px;
  text-align: center;
  background: #436788;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 2px 2px 2px 2px wheat;
  width: 400px;
  font-weight: bolder;
}

.appBtn {
  margin: 10px;
  padding: 10px;
  text-align: center;
  background: #436788;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 2px 2px 2px 2px wheat;
  width: 250px;
  font-weight: bolder;
}

.roadmap-header {
  font-weight: bold;
  font-size: 2rem;
}

a {
  text-decoration: none;
  color: #fff;
  
}

.backtoTop {
  position: fixed;
  margin: 8px;
  padding: 4px;
  left: 0px;
  right: 395px;
  bottom: 2px;
  z-index: 1000;
  border-radius: 60px;
  width: 54px;
  height: 50px;
  font-size: 2rem; 
  box-shadow: 2px 2px 2px 2px wheat;
  background-color: #42445A;
}

.ai {
  position: fixed;
  margin: 8px;
  padding: 4px;
  left: 550px;
  right: 0px;
  bottom: 1px;
  z-index: 1000;
  border-radius: 60px;
  width: 52px;
  height: 50px;
  font-size: 2rem; 
  box-shadow: 2px 2px 2px 2px wheat;
  background-color: #42445A;
  color: #fff;
}



.ai-body {
  position: fixed;
  margin: 10px;
  padding: 10px;
  
  
  left: 0px;
  right: 10px;
  bottom: 10px;
  z-index: 1000;
  font-size: 2rem; 
}

#news {
  margin: px;
  padding: px;
  
}

.news-container {
  margin: 0;
  padding: 0;
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    width: 95%;
    padding: 3px;
    word-wrap: wrap;
}
/* .news-container {
    /* Use flexbox for a single row */
   /* display: flex;
    /* Prevent wrapping to a new line */
  /*  flex-wrap: nowrap;
    /* Enable horizontal scrolling */
    
    /* Optional: Add a subtle scrollbar and space between articles */
   /* gap: 20px;
} */

/* Ensure the articles don't shrink too much */
.news-article {
    flex-shrink: 1;
    width: 300px; /* Or a fixed width */
}


.news-article {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    
    width: 70%;
    height: 50%;
    text-wrap: nowrap;
    text-overflow: auto;
    
}

.article-image {
    width: 80%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Truncate the title to one or two lines */
.news-article h1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Set to 2 to show up to two lines of text */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Truncate the description to a specific number of lines */
.news-article p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* Adjust this number to show more or less lines */
    overflow: hidden;
    text-overflow: ellipsis;
}


.news-article h1 {
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-article p {
    flex-grow: 1;
    font-size: 0.9em;
    color: #555;
    
    
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #282C4E;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.read-more:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr;
    }
}


.about-body {
  margin: 10px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  overflow: hidden;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: rem;
  font-weight: bold;
}

.about-head-color {
  font-size: 1rem;
  color: #fff;
}

.about-head-color2 {
  font-size: 1.9rem;
  color: #FF0300;
}

.star {
  margin: 5px;
  padding: 5px;
  border: 2px solid #fff;
  border-radius: 20px;
  color: #fff;
  background: #282C4E;
  text-align: center;
}


