/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  color: #111;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #0d1117;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header h1 {
  color: #f0f0f0;
  font-size: 26px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  padding: 15px 30px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 70px;
    right: 30px;
    width: 200px;
    padding: 20px;
    border-radius: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}



/* Hero */
.hero {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.hero h2 {
  font-size: 28px;
  color: #111;
  margin-bottom: 10px;
}

.hero p {
  color: #444;
  margin-bottom: 20px;
}

.homepage-video {
  text-align: center;
  margin: 40px auto;
  max-width: 800px;
  padding: 0 20px;
}

.homepage-video h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #0077cc;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}



/* Blog Cards */
.blog-cards {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.blog-cards h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #0077cc;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  width: 280px;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #222;
}

.card a {
  text-decoration: none;
  color: #00BFFF;
  font-weight: bold;
}

.card:hover {
  transform: translateY(-5px);
}

/* Newsletter */
.newsletter {
  text-align: center;
  padding: 40px 20px;
  background-color: #e9f2fb;
}

.newsletter h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.newsletter p {
  color: #444;
  margin-bottom: 20px;
}

.newsletter form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter input[type="email"] {
  padding: 12px 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  min-width: 250px;
}

.newsletter button {
  padding: 12px 20px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.newsletter button:hover {
  background-color: #005fa3;
}

/* Projects Section */
.projects {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.projects h2 {
  font-size: 24px;
  color: #0077cc;
  margin-bottom: 10px;
}

.projects img {
  margin-top: 20px;
  max-width: 600px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background-color: #0d1117;
  color: #f0f0f0;
  text-align: center;
  padding: 25px 10px;
  font-size: 14px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  margin: 0 5px;
  filter: brightness(1.2);
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  nav {
    margin-top: 10px;
  }
}

.blog-image{
  display: block;
  max-width: 100%;
  height: 300px;
  margin: 10px auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-icons a {
  color: #f0f0f0;
  font-size: 22px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ff0000; /* Red for YouTube, can style Instagram too */
}
.blog-content {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.blog-content h2 {
  font-size: 26px;
  color: #0077cc;
  margin-bottom: 10px;
}

.blog-content .date {
  color: #888;
  font-size: 14px;
  margin-bottom: 20px;
}

.blog-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 10px;
  margin: 20px 0;
}

.blog-content h3 {
  margin-top: 25px;
  color: #111;
}

.blog-content p {
  margin: 15px 0;
  color: #333;
}


.upcoming {
  text-align: center;
  padding: 20px 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 400px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.upcoming-img{
  width: 100%;
}
.upcoming h2 {
  font-size: 28px;
  color: #0077cc;
  margin-bottom: 20px;
}

.upcoming-text {
  font-size: 16px;
  color: #444;
  margin: 20px 0;
  line-height: 1.6;
}

.upcoming .btn {
  display: inline-block;
  background-color: #0077cc;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.upcoming .btn:hover {
  background-color: #005fa3;
}

html {
  scroll-behavior: smooth;
}





