/* ========== RESET & BASE ========== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
  background: #f9fbfc;
  text-align: center;
  transition: background 0.4s ease;
}

header {
  padding: 50px 20px 20px;
  border-bottom: 1px solid #ddd;
  background: linear-gradient(135deg, #e3f2fd, #fdfbff);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 15px;
}

header p {
  max-width: 650px;
  margin: 0 auto 25px;
  line-height: 1.6;
  color: #555;
}

nav {
  margin-bottom: 10px;
}

/* ========== NAVIGATION ========== */
.tablink {
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
  margin: 0 10px;
  color: #007bff;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tablink:hover {
  background-color: #d7ebff;
  transform: translateY(-2px);
}

.tablink.active {
  background-color: #007bff;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* ========== CONTENT AREA ========== */
.tabcontent {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 30px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.tabcontent.active-tab {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 0.6s ease;
}

.tabcontent {
  line-height: 1.8;
}

.tabcontent h3 {
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.tabcontent ul li {
  margin-bottom: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== BUTTONS ========== */
.btn-primary {
  background-color: #007bff;
  color: white;
  font-weight: 500;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.btn-primary:hover {
  background-color: #005fcc;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

/* ========== POPUP ========== */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup.show {
  display: flex;
  animation: popupFade 0.4s ease;
}

@keyframes popupFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 400px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  text-align: center;
  animation: scaleUp 0.4s ease;
}

@keyframes scaleUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.4rem;
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #007bff;
}

/* ========== FOOTER & SOCIAL ========== */
footer {
  border-top: 1px solid #ddd;
  padding: 30px 0;
  margin-top: 40px;
  background: #f6f9ff;
}

.social-links a {
  margin: 0 8px;
  color: #333;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #007bff;
  transform: scale(1.2);
}

/* ========== FORMS ========== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  resize: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(74, 119, 255, 0.3);
}

.contact-form button {
  align-self: flex-start;
  background-color: #007bff;
  color: white;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #005fcc;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}
 
 /* ========== TOOLS ========== */
 .inline-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.inline-tools img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.inline-tools img:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 15px auto;
}

.tools img {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tools img:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

 @media (max-width: 600px) {
  .tools img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
}
