body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #0f172a;
  color: #ffffff;
  transition: background 0.5s, color 0.5s;
}


body.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}
 
nav {
  background-color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.5s;
}

.navbar.dark-mode {
  background-color: #1e1e1e !important;
}

.card.dark-mode {
  background-color: #2a2a2a;
  color: #ffffff;
}

.btn123{
  align-items: center;
  justify-content: center;
  display: block;
  font-size: 30px;
}

.bt{
  margin-left: 700px;
}

.cyber{

  font-size: 25px;
}
.dk p{
  margin-left: 300px;
}


.logo .icon {
  fill: #0d6efd;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  color: #00bcd4;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 16px;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #38a169;
  border-bottom: 2px solid #38a169;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: white;
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background-color: #1e293b;
    width: 100%;
    display: none;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to top, #1a202c, #2d3748);
  font-weight: 600;
  color: #fff;
  transition: background 0.5s;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #38a169;
  color: #fff;
  padding: 12px 24px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.cta-button:hover,
.cta-button.pulse {
  background-color: #2f855a;
  transform: scale(1.07);
  box-shadow: 0 8px 20px rgba(56,161,105,0.2);
  animation: pulse 0.5s;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1.07); }
}

.about, .features, .contact, .work {
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  font-weight: 600;
}

.work {
  background: linear-gradient(to right, #1a202c, #2d3748);
}

.work:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.about h2, .features h2, .contact h2, .work h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #a0aec0;
}

.about p,
.features p,
.contact p,
.work p {
  font-size: 18px;
  color: #d1d5db;
  line-height: 1.6;
}

.feature-boxes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.feature {
  background-color: #1e293b;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.logo:hover .icon {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
}

.logo .icon {
  width: 18px;
  height: 18px;
  fill: #007bff; 
}

.icon{
    width: 14px;
  height: 14px;
  fill: #007bff;
  position: relative;
  top: -4px;
  /* vertical-align: super; */
  margin-left: 4px;
}
/* .bg-gradient { background: linear-gradient(to right, #1a202c, #2d3748); }
.sup-icon { width: 16px; height: 16px; fill: #007bff; vertical-align: super; margin-left: 4px; } */


.feature h3 {
  color: #00bcd4;
  margin-bottom: 10px;
}

footer {
  background-color: #0f172a;
  color: #aaa;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 14px;
}

/* Animation */
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(.77,0,.18,1), transform 0.6s cubic-bezier(.77,0,.18,1);
}

.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .feature-boxes {
    flex-direction: column;
    align-items: center;
  }
}

/* Card grid and cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  margin-bottom: 40px; 
}

.card {
  background-color: #1f2e4a;
  border-left: 5px solid #00bcd4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.2);
}

.card h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  line-height: 1.5;
  color: #e0f7fa;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  text-decoration: none;
  padding: 6px 12px;
  color: #17a2b8;
  border: 1px solid #17a2b8;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.card a:hover {
  background-color: #17a2b8;
  color: #fff;
  text-decoration: none;
}

.cta-box {
  background-color: #112233;
  padding: 15px;
  text-align: center;
  border-radius: 6px;
  margin-top: 30px;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}

.cta-box a {
  color: #00bcd4;
  text-decoration: underline;
  font-weight: bold;
}

.cta-box:hover {
  color: #00bcd4;
  transform: translateY(-8px);
}


