* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0f172a;
  color: #e5e7eb;
  scroll-behavior: smooth;
}

/* NAV */
header {
  display: flex;
  justify-content: space-between;
  padding: 20px 8%;
  position: fixed;
  width: 100%;
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-weight: 700;
  color: #38bdf8;
}

nav a {
  margin-left: 20px;
  color: #e5e7eb;
  text-decoration: none;
}

nav a:hover {
  color: #38bdf8;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
}

.hero p {
  margin: 15px 0;
  color: #cbd5f5;
}

.buttons {
  margin-top: 20px;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  margin: 10px;
  display: inline-block;
}

.primary {
  background: #38bdf8;
  color: #0f172a;
}

.secondary {
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

/* SECTIONS */
.section {
  padding: 100px 8%;
  text-align: center;
}

.dark {
  background: #020617;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

/* SKILLS */
.skills-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 20px;
}

.skill-card, .service-card {
  padding: 20px;
  background: #020617;
  border-radius: 15px;
  transition: 0.3s;
}

.skill-card:hover, .service-card:hover {
  transform: translateY(-10px);
  background: #38bdf8;
  color: #020617;
}



/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 25px;
}

.project-card {
  background: #020617;
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

/* CONTACT */
.contact-form {
  max-width: 500px;
  margin: auto;
}

.contact-form input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
}

.socials a {
  margin: 15px;
  font-size: 1.5rem;
  color: #38bdf8;
}

/* FOOTER */
footer {
  padding: 20px;
  text-align: center;
  background: #020617;
}

/* PROJECT CARD DEFAULT */
.project-card {
  background: #020617;
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

/* PROJECT CARD HOVER – FULL BLUE */
.project-card:hover {
  background: #38bdf8; /* SOLID BLUE */
  transform: translateY(-8px);
}

/* TEXT COLOR ON HOVER */
.project-card:hover h3,
.project-card:hover p,
.project-card:hover a {
  color: #020617;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 9999;
  cursor: grab;
}

.whatsapp-float:active {
  cursor: grabbing;
}

.contact-info {
  margin-top: 25px;
}

.contact-item {
  margin: 10px 0;
}

.contact-item a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #38bdf8;
  font-size: 1rem;
  text-decoration: none;
}

.contact-item a:hover {
  color: #22d3ee;
}

.contact-item i {
  font-size: 1.3rem;
}

/* Skill Detail Hidden by Default */
.skill-detail {
  display: none;
  margin-top: 15px;
  line-height: 1.6;
  color: #cbd5f5;
}

/* When active → show detail */
.skill-card.active .skill-detail {
  display: block;
}

/* Skill Detail Text */
.skill-detail p {
  color: #e6f6ff; /* Soft readable text */
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== SKILLS (FINAL, GLOBAL & STABLE) ===== */

.skill-detail {
  display: none;
  margin-top: 15px;
}

.skill-card.active .skill-detail {
  display: block;
}

/* Skill headings (gold, eye-catcher) */
.skill-heading {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #facc15; /* GOLD */
}

/* Skill detail text */
.skill-detail p {
  color: #e6f6ff;
  font-size: 0.95rem;
  line-height: 1.7;
}

.skill-toggle {
  cursor: pointer;
}

