.skills-section {
  display: flex;
  flex-wrap: wrap;
  padding: 6rem 5%;
  gap: 5rem;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
}

/* Left Content */
.content-left {
  flex: 1;
  max-width: 45rem;
  min-width: 28rem;
}

.content-left h1 {
  font-size: var(--font-heading);
  color: #222;
  margin-bottom: 1.5rem;
}

.content-left p {
  font-size: var(--font-paragraph);
  color: #444;
}

/* Right Column */
.cloud-column {
  flex: 1;
  min-width: 30rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Toggle Buttons */
.toggle-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.toggle-container button {
  padding: 1rem 2rem;
  background: transparent;
  font-size: var(--font-paragraph);
  font-weight: bold;
  color: #222;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.toggle-container button.active {
  color: rgb(157, 99, 254);
  border-bottom: 2px solid rgb(157, 99, 246);
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem 0.5rem 0 0;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Certificates List */
.cert-list ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cert-list li {
  background: rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 0.8rem;
  font-size: 2rem;
  padding: 1.5rem 2rem;
  color: #333;
  display: flex;
  align-items: center;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
}

.cert-list li i {
  font-size: 2rem;
  color: rgb(157, 99, 246);
  margin-right: 1rem;
  overflow: hidden;
}

/* Tablet (≤1200px) */
@media (max-width: 1200px) {
  .skills-section {
    flex-direction: column;
    align-items: center;
    padding: 5rem 3rem;
  }

  .content-left,
  .cloud-column {
    max-width: 100%;
    width: 100%;
  }

  .toggle-container {
    gap: 1.5rem;
  }
  .toggle-container button {
    font-size: var(--font-paragraph);
  }
  .content-left h1 {
    text-align: center;
    font-size: var(--font-heading);
  }

  .content-left p {
    font-size: var(--font-paragraph);
  }
}

/* Phone (≤768px) */
@media (max-width: 768px) {
  .toggle-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .toggle-container button {
    width: 100%;
    max-width: 20rem;
    font-size: 1.6rem;
    padding: 0.8rem 1.5rem;
  }

  .cert-list li {
    font-size: 2.4rem;
    padding: 1.2rem 1.6rem;
  }

  .content-left h1 {
    font-size: var(--font-heading-span); /* slightly smaller heading */
  }

  .content-left p {
    font-size: 2.3rem;
  }
}
