   /* Body */
body {
    background: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
/* Navbar */
header {
    background: #0a0a0a;
    padding: 15px 20px;
    border-bottom: 1px solid #222;
     position: sticky; /* 👈 This makes it stick */
    top: 0;           /* 👈 Stick to top of viewport */
    z-index: 1000;    /* 👈 Keeps it above other content */
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}
.logo {
    width: 180px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}
nav a {
    color: #00bfa6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
nav a.active,
nav a:hover {
    color: #ffffff;
}




/* Footer */
.footer {
    background-color: #0a0a0a;
    color: #ccc;
    padding: 40px 20px 20px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}
.footer-left h3 {
    color: #00bfa6;
    margin-bottom: 10px;
}
.footer-left p {
    margin: 8px 0;
    font-size: 0.95rem;
}
.footer-left i {
    margin-right: 8px;
    color: #00bfa6;
}
.footer-social h4 {
    color: #00bfa6;
    margin-bottom: 10px;
}
.footer-social .social-icons a {
    color: #00bfa6;
    margin-right: 12px;
    font-size: 1.3rem;
    transition: color 0.3s, transform 0.3s;
}
.footer-social .social-icons a:hover {
    color: #ffffff;
    transform: scale(1.2);
}
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #222;
    padding-top: 10px;
    color: #777;
    font-size: 0.9rem;
}


.blog-post-container {
      max-width: 900px;
      margin: 60px auto;
      padding: 0 20px;
      background: #1c1c1c;
      border-radius: 10px;
      box-shadow: 0 0 15px rgba(0, 191, 166, 0.1);
    }


  .blog-post-image {
  width: 100%;
  max-height: 500px; /* 👈 reduced height */
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}


    .blog-post-content {
      padding: 30px;
    }


    .blog-post-content h1 {
      color: #00bfa6;
      margin-bottom: 15px;
    }


    .blog-post-content .meta {
      color: #aaa;
      font-size: 0.9rem;
      margin-bottom: 25px;
    }


    .blog-post-content p {
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 20px;
      color: #eee;
    }


    @media (max-width: 768px) {
      .blog-post-content {
        padding: 20px;
      }
    }






/* backbutton */




.floating-back-button {
    position: fixed; /* Always visible */
    bottom: 20px;    /* Distance from bottom */
    left: 20px;      /* Distance from left */
    background: rgba(0, 191, 166, 0.1);
    color: #00ffd1;
    padding: 12px 20px;
    border: 2px solid rgba(0, 255, 213, 0.4);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 12px rgba(0, 255, 213, 0.4);
    z-index: 10000;
    transition: all 0.3s ease;
}


.floating-back-button:hover {
    background: rgba(0, 255, 213, 0.25);
    color: white;
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.6), 0 0 30px rgba(0, 255, 213, 0.4);
    transform: scale(1.05);
}










/* Responsive Nav Toggle Button */
    .nav-toggle {
      display: none;
      font-size: 1.6rem;
      color: #00bfa6;
      background: none;
      border: none;
      cursor: pointer;
    }


    @media (max-width: 768px) {
      .nav-toggle {
        display: block;
        position: absolute;
        right: 30px;
        top: 25px;
        z-index: 1001;
      }


      nav ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: #0a0a0a;
        flex-direction: column;
        width: 200px;
        border: 1px solid #222;
        border-radius: 8px;
        padding: 15px;
        gap: 15px;
        z-index: 1000;
      }


      nav ul.active {
        display: flex;
      }
    }






   
    /* Adjust logo size for mobile */
@media (max-width: 768px) {
  .logo {
    width: 180px; /* same as blog page */
    height: auto;
  }
}




@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }


  .footer-left,
  .footer-social {
    flex: 1 1 100%;
  }


  .footer-left p,
  .footer-left h3,
  .footer-social h4 {
    text-align: center;
  }


  .footer-social .social-icons {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }


  .footer-social .social-icons a {
    margin: 8px;
  }
}

/* table css post */

.comparison-table {
  overflow-x: auto;
  margin: 20px 0;
}

/* Table Styling */
.comparison-table table {
  width: 70%;
  border-collapse: collapse;
  border: 1px solid rgb(255, 255, 255);
  font-size: 16px;
}

/* Table Cells */
.comparison-table th,
.comparison-table td {
  border: 1px solid #ffffff;
  padding: 12px;
  text-align: left;
}

.comparison-table th {
  background-color: #49c685;
  color: #000000;
}

.comparison-table tr:nth-child(even),
.comparison-table tr:nth-child(odd) {
  background-color: #000000;
}

/* Center the table only on desktop view */
@media (min-width: 992px) {
  .comparison-table {
    display: flex;
    justify-content: center;
  }

  .comparison-table table {
    margin: 0 auto;
  }
}

/* Post Image */
.post-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 1rem auto;
  display: block;
  border-radius: 8px;
}
