.hero {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #1e293b;
  /* height: 70vh;
  width: 100%;
  overflow: hidden; */
}
html {
  scroll-behavior: smooth;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); */
}
.brancodex {
  color: #22c55e;
}
.bran {
  color: green;
}
.code {
  color: red;
}
.x {
  color: yellow;
}
.job {
  /* color: green; */
  color: #38bdf8;
  text-shadow: 0 0 0 #38bdf8, 0 0 10px gold;
  animation: glow 4s infinite alternate;
}
@keyframes glow {
  0% {
    color: #38bdf8;
    text-shadow: 0 0 0 #38bdf8, 0 0 5px gold;
  }
  100% {
    color: gold;
    text-shadow: 0 0 0 gold, 0 0 10px #38bdf8;
  }
}
.hero-text h1 {
  margin-left: 20px;
  color: white;
  margin-top: 35px;
  margin-bottom: 0;
}
.hero-text h3 {
  margin-left: 20px;
  color: white;
  margin-top: 0;
  margin-top: 20px;
}
.menu-image {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
}
.menu-icon {
  width: 50px;
  height: 50px;
  margin: 10px;
  display: flex;
  position: absolute;
  top: 10px;
  right: 10px;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}
.beng-brandon-che {
  width: 90%;
  height: 70%;
  object-fit: cover;
  margin-right: 20%;
  /* background-color: rgb(5, 5, 43); */
  border-radius: 5px;
  /* padding: 15px; */
}
/* .logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 300px;
  height: 70px;
} */
.contact-btn {
  margin-top: 10px;
}
/* .about-me {
  width: 80%;
  background-color: white;
  position: absolute;
  top: 85%;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  
}
.about-me h2 {
  text-align: center;
  padding: 10px;
  color: black;
}
.about-me p {
  padding: 10px;
  color: black;
  font-size: 1.2em;
} */

.about-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #1e293b;
  border-radius: 1rem;
  margin: 2rem auto;
  max-width: 800px;
}
.section-title {
  color: white;
  font-size: 35px;
  font-weight: bolder;
  padding-bottom: 15px;
}
.about-card {
  background-color: #0f172a;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: #f1f5f9;
  font-size: 1.1rem;
  line-height: 1.7;
}

.glow-btn {
  margin-top: 1.5rem;
  padding: 0.8rem 1.8rem;
  background-color: #6366f1;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 15px #6366f1;
}
.glow-btn:hover {
  background-color: #14b8a6;
  box-shadow: 0 0 25px #14b8a6;
}

.services-section {
  padding: 4rem 2rem;
  background-color: #0f172a;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: #1e293b;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f1f5f9;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.4);
}

.service-card h3 {
  color: #14b8a6;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.service-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Filter Buttons */
.filter-buttons {
  margin: 2rem auto 1rem;
  text-align: center;
}

.filter-btn {
  margin: 0.3rem;
  padding: 0.6rem 1.2rem;
  background-color: transparent;
  border: 2px solid #14b8a6;
  color: #14b8a6;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #14b8a6;
  color: #0f172a;
}

/* Tag Label */
.tag {
  display: inline-block;
  background: #14b8a6;
  color: #0f172a;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #f1f5f9;
  font-size: 3rem;
  cursor: pointer;
}

/* Base Section */
.skills-section {
  padding: 4rem 2rem;
  background-color: #1e293b;
  color: #f1f5f9;
  text-align: center;
  margin-top: 30px;
}
#testimonialModal {
  display: none;
}

.skill {
  margin-bottom: 40px;
  border: 2px solid green;
  padding: 15px;
  border-radius: 7px;
}

.skills-intro {
  color: #94a3b8;
  max-width: 600px;
  margin: auto;
}

/* Skill Container */
.skills-container {
  max-width: 800px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skill-header {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}
/* Bar View */
.skill-bar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-bar {
  flex: 1;
  height: 18px;
  background-color: #334155;
  border-radius: 30px;
  overflow: hidden;
  margin-right: 1rem;
}

.skill-level {
  background: linear-gradient(90deg, #14b8a6, #06b6d4);
  height: 100%;
  padding-left: 10px;
  font-size: 0.75rem;
  line-height: 18px;
  font-weight: bold;
  color: #0f172a;
  border-radius: 30px 0 0 30px;
  transition: width 1s ease;
}
/* Circular View (Mobile) */
.skill-circle {
  display: none;
  position: relative;
  width: 60px;
  height: 60px;
}

.skill-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.skill-circle circle {
  fill: none;
  stroke-width: 8;
  stroke: #334155;
  r: 26;
  cx: 30;
  cy: 30;
}

.skill-circle .value {
  stroke: #14b8a6;
  stroke-dasharray: 164;
  stroke-dashoffset: 164;
  transition: stroke-dashoffset 1s ease;
}
.percent-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f1f5f9;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Responsive Swap */
@media (max-width: 600px) {
  .skill-bar {
    display: none;
  }
  .skill-circle {
    display: block;
  }
}

.testimonials-section {
  padding: 4rem 2rem;
  background-color: #0f172a;
  color: #e2e8f0;
  text-align: center;
}

.add-review-btn {
  margin: 1rem auto;
  background: #14b8a6;
  color: #0f172a;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.add-review-btn:hover {
  background: #0ea5e9;
}

/* Modal Styling */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #1e293b;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  color: #f1f5f9;
}

.modal-content h3 {
  margin-bottom: 1rem;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  background: #334155;
  color: #f1f5f9;
}
.submit-btn,
.close-btn {
  padding: 0.6rem 1rem;
  margin-right: 0.5rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
.submit-btn {
  background: #22c55e;
  color: #0f172a;
}
.close-btn {
  background: #ef4444;
  color: #fff;
}

/* Testimonials List */
.testimonial-list {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.testimonial-card {
  background: #1e293b;
  border-radius: 12px;
  padding: 1rem;
  text-align: left;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.testimonial-card h4 {
  margin: 0;
  font-size: 1rem;
  color: #14b8a6;
}
.testimonial-card p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  color: #cbd5e1;
}

.stars {
  color: gold;
  font-size: 1rem;
}
.testimonial-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-filters button {
  background: #334155;
  color: #f1f5f9;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.testimonial-filters button:hover {
  background: #14b8a6;
}

.card-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.edit-btn,
.delete-btn {
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.edit-btn {
  background-color: #0ea5e9;
  color: #fff;
}

.delete-btn {
  background-color: #ef4444;
  color: #fff;
}
.playground {
  /* margin-bottom: 30px;
  background: url("https://uktechnews.co.uk/wp-content/uploads/2024/08/eyestetix-studio-m0EzHtexapU-unsplash-1024x576.jpg"); */
}
/* .playground::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
} */
.contact-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(to bottom right, #f8fafc, #e0f7fa);
  text-align: center;
}

.contact-container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.contact-intro {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #334155;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group {
  text-align: left;
}

.form-group label {
  font-weight: 600;
  color: #0f172a;
  display: block;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0ea5e9;
}

.contact-btn {
  background-color: #0ea5e9;
  color: white;
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #0284c7;
}

.message-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #10b981;
}
.social-links {
  margin-top: 2.5rem;
  text-align: center;
}

.social-links p {
  margin-bottom: 0.7rem;
  color: #334155;
  font-weight: 500;
}

.social-links .icons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.social-links a {
  font-size: 1.4rem;
  color: #0f172a;
  background-color: #f1f5f9;
  padding: 0.6rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: white;
  background-color: #0ea5e9;
  transform: scale(1.1);
}
.footer-section {
  background-color: #0f172a;
  color: #f1f5f9;
  padding: 3rem 1.5rem 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-brand h3 {
  font-size: 1.6rem;
  color: #0ea5e9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand p {
  margin-top: 0.5rem;
  color: #cbd5e1;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #e2e8f0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #0ea5e9;
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  font-size: 1.2rem;
  color: #f1f5f9;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #0ea5e9;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #334155;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}
