body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
  }

header {
    
position:fixed;
width:100%;
background-color: #333;
color: #007bff;
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 99999;


}

header .logo {
font-size: 24px;
font-weight: bold; 
}

header .nav-links {
list-style: none;
display: flex;
gap: 10px;
}

header .nav-links a {
color: #007bff;
text-decoration: none;
margin-right:25px;
}

header .nav-links a:hover {
text-decoration: underline;
}

/* Video Grid */
.video-grid {
    
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
padding: 20px;

}

.video-card {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
overflow: hidden;
}

.video-card video {
width: 100%;
height: auto;
}

.video-card h3 {
margin: 10px;
font-size: 18px;
}

.video-card p {
margin: 0 10px 10px;
color: #666;
}

/* Footer */
footer {
text-align: center;
padding: 10px;
background-color: #333;
color: #fff;
position: fixed;
bottom: 0;
width: 100%;
}
/* Sticky AI Button */
.ai-button {
position: fixed;
bottom: 20px;  /* Position it at the bottom */
left: 20px;    /* Position it to the left */

background-color: #007bff;
color: #fff;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
z-index: 1000; /* Ensure it stays on top */
}

.ai-button:hover {
background-color: #0056b3;
}
.search-icon {
background-color: #007bff;
color: #fff;
border: none;
padding: 12px;
border-radius: 50%;
cursor: pointer;
font-size: 20px;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease;
}

.search-icon:hover {
background-color: #0056b3;
}

/* Hidden Search Bar (initially hidden) */
.search-bar {
display: none;
position: fixed;
bottom: 60px;
right: 20px;
background-color: white;
border-radius: 5px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 10px;
width: 200px;
transition: all 0.3s ease;
}

.search-bar input {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}

.search-bar.active {
display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
.search-bar {
width: 80%;
}
}
