/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Segoe UI Emoji', sans-serif;
  background-color: #0f0f0f;
  color: #fff;
  line-height: 1.6;
}





/* Navbar Container */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 2em;
  z-index: 1000;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.brand-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #00bfa5;
}

/* Menu Icon */
.menu-icon {
  font-size: 2em;
  color: white;
  cursor: pointer;
  display: none;
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 1.5em;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00bfa5;
}

/* Mobile Sidebar */
@media screen and (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -250px;
    width: 220px;
    height: 100vh;
    background-color: #1a1a1a;
    flex-direction: column;
    padding-top: 80px;
    transition: left 0.3s ease;
  }

  #menu-toggle:checked ~ .menu-icon + .nav-links {
    left: 0;
  }

  .nav-links a {
    padding: 15px 20px;
    border-bottom: 1px solid #2a2a2a;
  }
}




/* Banner */
.banner {
  background-color: #55abe4;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
  margin: 20px auto;
  width: 90%;
  box-shadow: 0 0 20px rgba(100, 191, 165, 1);
  border-radius: 10px;
  margin-bottom: 2em;
}

.banner h1 {
  font-size: 2.5em;
  margin: 0;
  text-shadow: 1px 1px 3px #000;
}

.banner p {
  font-size: 1.2em;
  margin-top: 10px;
  text-shadow: 1px 1px 2px #000;
}

/* Welcome Text */
.welcome-text {
  text-align: center;
  margin: 2em auto;
  max-width: 800px;
}

.welcome-text h1 {
  font-size: 2.5em;
  color: #00bfa5;
}

.welcome-text p {
  font-size: 1.2em;
  color: #ccc;
}

/* Icon Row & Feature Cards */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
  margin: 3em auto;
  max-width: 1200px;
  padding: 20px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: #1f1f1f;
  padding: 15px;
  border-radius: 10px;
  width: 120px;
  color: white;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card span {
  font-size: 2em;
  margin-bottom: 8px;
}

.feature-card p {
  margin-top: 0.5em;
  font-weight: bold;
  color: #00bfa5;
}

.feature-card:hover {
  transform: scale(1.05);
  background: #00bfa5;
}

.feature-card:hover p {
  color: #fff;
}

/* Sections */
section {
  background: #121212;
  color: #ccc;
  padding: 2em;
  margin: 2em auto;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 191, 165, 0.2);
  scroll-margin-top: 100px;
}

section h2 {
  font-size: 1.8em;
  color: #00bfa5;
  margin-bottom: 0.5em;
  text-align: center;
}

section p {
  font-size: 1.1em;
  margin-bottom: 1em;
}

section ul {
  list-style-type: none;
  padding-left: 0;
}

section ul li {
  background: #1f1f1f;
  margin-bottom: 0.5em;
  padding: 0.8em 1em;
  border-radius: 6px;
  transition: background 0.3s ease;
}

section ul li:hover {
  background: #2a2a2a;
}

section ul li strong {
  color: #00bfa5;
}

/* Converter Grid */
.converter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  margin-top: 2em;
}

.converter-grid input {
  padding: 0.5em;
  font-size: 1em;
  width: 100%;
  border-radius: 5px;
  border: none;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.blog-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,191,165,0.2);
  width: 100%;
}

.blog-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.blog-card h3 {
  margin: 1em;
  color: #00bfa5;
}

.blog-card p {
  margin: 0 1em 1em;
  font-size: 0.95em;
  color: #ccc;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 2em;
}

form input,
form textarea {
  padding: 0.8em;
  font-size: 1em;
  border-radius: 5px;
  border: none;
  background: #1f1f1f;
  color: #fff;
}

form button {
  padding: 0.8em;
  background: #00bfa5;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #009e8f;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
  color: #aaa;
}

/* Explore Button */
.explore-btn {
  display: inline-block;
  margin-top: 1.5em;
  padding: 0.8em 1.5em;
  background-color: #00bfa5;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.explore-btn:hover {
  background-color: #009e8f;
  box-shadow: 0 0 10px #00bfa5, 0 0 20px #00bfa5;
}

/* Tool Cards */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  margin-top: 2em;
}

.tool-card {
  background-color: #1a1a1a;
  padding: 1em;
  border-radius: 10px;
  text-align: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 191, 165, 0.2);
  transition: transform 0.3s ease;
}

.tool-card:hover {
  transform: scale(1.05);
  background-color: #00bfa5;
  color: #fff;
}

.tool-card img {
  height: 40px;
  margin-bottom: 0.5em;
}

.tool-card strong {
  color: #00bfa5;
}

.tool-card:hover strong {
  color: #fff;
}

/* AI Assistants Section Links */
#ai-assistants ul li a {
  color: white;
  text-decoration: none;
}

#ai-assistants ul li a strong {
  color: #00bfa5;
}

#ai-assistants ul li a:hover {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  bottom: 5px;
  right: 20px;
  background: #00bfa5;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.back-to-top:hover {
  background: #009e8f;
}

/* Animated Heading */
.animated-heading {
  animation: pulseText 2s infinite;
  color: #fafcfb;
  text-shadow: 1px 1px 3px #000;
}

@keyframes pulseText {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsive Enhancements */
@media screen and (max-width: 768px) {
  .icon-row {
    gap: 1em;
  }

  .feature-card {
    width: 100px;
    padding: 0.8em;
    font-size: 0.9em;
  }

  section {
    padding: 1.5em;
  }

  section h2 {
    font-size: 1.5em;
  }

  .converter-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    text-align: center;
  }

  .blog-card {
    width: 100%;
    margin-bottom: 20px;
  }

  .banner h1 {
    font-size: 1.8em;
  }

  .banner p {
    font-size: 1em;
  }
}

@media screen and (max-width: 400px) {
  .feature-card {
    width: 80px;
    font-size: 0.8em;
  }
}

