/* Reset */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f2f4f8;
  margin: 0;
  padding: 0;

  /* ✅ Flex layout to push footer down */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  background-color: #4A90E2;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  width: 100%;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar h1 {
  margin: 0;
  font-size: 20px;
}

.menu-icon {
  font-size: 24px;
  cursor: pointer;
}

/* Sidebar Navigation */
.nav-links {
  position: fixed;
  top: 0;
  right: -260px;
  width: 250px;
  height: 100%;
  background-color: #4A90E2;
  display: flex;
  flex-direction: column;
  padding-top: 60px;
  transition: right 0.3s ease-in-out;
  z-index: 999;
}

.nav-links.show {
  right: 0;
}

.nav-links a {
  color: white;
  padding: 15px 20px;
  text-decoration: none;
  font-size: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.nav-links a:hover,
.nav-links a.active {
  background-color: rgba(255,255,255,0.2);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: white;
}

/* Section Layout */
section {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);

  /* ✅ Let content grow and push footer */
  flex: 1;
}

section h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 15px;
  border-left: 5px solid #4A90E2;
  padding-left: 10px;
}

section p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}


section iframe {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}




/* Card Grid (Products & Services) */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.project-card h3 {
  margin-top: 0;
  color: #4A90E2;
}

/* Footer */
.footer {
  background-color: #4A90E2;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: auto; /* ✅ Always stick to bottom */
}

.footer p {
  margin: 5px 0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
  section {
    padding: 20px;
  }
  
  .navbar h1 {
    font-size: 18px;
  }
  
  .nav-links a {
    font-size: 16px;
  }
}
