/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: linear-gradient(270deg, #ff6b6b, #ff9f43, #feca57, #48db7f, #9b59b6, #ff6b81);
  background-size: 1200% 1200%;
  animation: gradientShift 20s ease infinite;
  min-height: 100vh;
  line-height: 1.6;
}

/* Gradient Animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  margin: 0 15px;
  color: #fff;
  transition: 0.3s;
}

nav a:hover {
  color: #ffeb3b;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px;
  color: #fff;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* --- Button Fix --- */
.button {
  display: inline-block;
  background: #ff4757;       /* Funky red button */
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.button:hover {
  background: #e84118;       /* Darker red on hover */
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* Cards Section */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 50px;
}

.card {
  background: rgba(255, 255, 255, 0.85);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card h3 {
  margin-bottom: 15px;
  color: #ff4757;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form label {
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
}

.contact-form button {
  background: #ff4757;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #e84118;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.4);
  color: white;
  font-size: 14px;
}
/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent */
  backdrop-filter: blur(10px); /* glass effect */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 45px;
  width: auto;
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00ff99; /* greenish hover */
}

/* Hamburger Button */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Mobile View */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 12px;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent */
  backdrop-filter: blur(10px); /* glass effect */
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo + Text Container */
.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-img {
  height: 45px;
  width: auto;
}

.logo-text {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  background: linear-gradient(90deg, #00ff99, #00e0ff, #a1ffce);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}


/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00ff99; /* greenish hover */
}

/* Hamburger Button */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Mobile View */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 12px;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
/* Blog Section */
.blog-section {
  padding: 60px 20px;
  text-align: center;
}

.blog-section h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.blog-section p {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 40px;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-post p {
  color: #ffffff;      /* bright white for better contrast */
  opacity: 0.95;       /* nearly solid */
}

.blog-post h3 {
  color: #ffffff;      /* white heading */
}

.blog-post a {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #00ff99, #00c6ff);
  color: #000;         /* black text on green/blue button */
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-post a:hover {
  background: linear-gradient(135deg, #00c6ff, #00ff99);
  color: #000;
  transform: translateY(-2px);
}

/* Full Blog Post Page */
.blog-post-full {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px;
  background: rgba(0, 0, 0, 0.6); /* semi-transparent dark box */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.blog-post-full h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
}

.blog-post-full h2, 
.blog-post-full h3 {
  color: #00ff99;
  margin-top: 25px;
}

.blog-post-full p {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #f5f5f5;
  margin-bottom: 18px;
}

.blog-post-full img {
  max-width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

.blog-post-full a {
  color: #00ff99;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.blog-post-full a:hover {
  color: #00c6ff;
}
.blog-meta {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 20px;
}

.blog-post-full img {
  display: block;
  margin: 25px auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.blog-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.blog-navigation a {
  background: linear-gradient(135deg, #00c853, #1de9b6, #00bfa5);
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.2s, background 0.3s;
}

.blog-navigation a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #1de9b6, #00bfa5, #00c853);
}
.related-blogs {
  margin-top: 60px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.related-blogs h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: #fff;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.related-card {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.related-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #00e676;
}

.related-card p {
  font-size: 0.95rem;
  color: #ddd;
  margin-bottom: 15px;
}

.related-card .read-more {
  display: inline-block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  background: linear-gradient(135deg, #00c853, #1de9b6, #00bfa5);
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.related-card .read-more:hover {
  background: linear-gradient(135deg, #1de9b6, #00bfa5, #00c853);
}
.btn-back {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-back:hover {
  background: linear-gradient(135deg, #27ae60, #219150);
  transform: scale(1.05);
}
.footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: white;
  margin-top: 40px;
}

.footer .social-icons {
  margin-top: 10px;
}

.footer .social-icons a img {
  width: 30px;
  height: 30px;
  margin: 0 10px;
  filter: brightness(0) invert(1); /* makes icons white */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer .social-icons a img:hover {
  transform: scale(1.2);
  filter: brightness(0.8) invert(0.9);
}
