/* -------------------------------------------------
   ROOT VARIABLES
------------------------------------------------- */
:root {
  --bg-900: #071026;
  --bg-800: #0b1220;
  --card: rgba(255, 255, 255, 0.03);
  --glass: rgba(255, 255, 255, 0.04);
  --accent-1: #6ee7b7; /* mint */
  --accent-2: #34d399; /* aqua */
  --muted: #9fb4d1;
  --radius: 16px;
  --container-w: 1200px;
}

/* -------------------------------------------------
   BASE RESET
------------------------------------------------- */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------
   SKILL SECTION BACKGROUND ONLY
------------------------------------------------- */
body.skills-page {
  background: radial-gradient(1200px 600px at 10% 10%, #071026 0%, #061022 30%, #061225 100%);
  color: #e6eef8;
  padding: 3.5rem 1rem;
}

/* -------------------------------------------------
   MAIN CONTAINER
------------------------------------------------- */
.container-main {
  max-width: var(--container-w);
  margin: 0 auto;
}

/* -------------------------------------------------
   SECTION HEADER
------------------------------------------------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-header h2 {
  font-weight: 700;
  margin: 0;
  font-size: 1.5rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* -------------------------------------------------
   SKILLS GRID
------------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------
   SKILL CARD
------------------------------------------------- */
.skill-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: 0.36s ease;
  backdrop-filter: blur(6px) saturate(120%);
}

/* Gradient Border Halo */
.skill-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  opacity: 0;
  transform: scale(0.98);
  transition: 0.36s;
  z-index: -2;
}

.skill-card:hover::before {
  opacity: 0.16;
  transform: scale(1);
}

/* Floating Light Effect */
.skill-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(110, 231, 183, 0.03), transparent 30%);
  opacity: 0;
  transition: 0.35s;
}

.skill-card:hover::after {
  opacity: 1;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.55);
  border-color: rgba(110, 231, 183, 0.12);
}

/* -------------------------------------------------
   SKILL HEAD
------------------------------------------------- */
.skill-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}

/* Skill Icon */
.skill-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent-1);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
}

.skill-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  background: conic-gradient(var(--accent-1), var(--accent-2));
  opacity: 0;
  filter: blur(8px);
  transition: 0.36s;
}

.skill-card:hover .skill-icon::before {
  opacity: 0.12;
}

.skill-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.skill-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

/* -------------------------------------------------
   TAGS
------------------------------------------------- */
.skill-tags {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

/* -------------------------------------------------
   PROGRESS BAR
------------------------------------------------- */
.progress-wrap {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}

.progress {
  flex: 1;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  transition: width 0.9s ease;
}

.skill-meta {
  min-width: 100px;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

/* -------------------------------------------------
   NON-TECH SKILLS SECTION (WHITE BACKGROUND)
------------------------------------------------- */
.edu-section {
  background: #f5f7fa;
  padding: 70px 0;
}

.edu-title {
  font-size: 2.4rem;
  color: #222;
  margin-bottom: 2rem;
  text-align: center;
}

.edu-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  transition: 0.4s ease;
  overflow: hidden;
}

.edu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.1);
}

.edu-icon {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  font-size: 32px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.edu-card:hover .edu-icon {
  transform: rotate(8deg) scale(1.1);
}

.edu-list li {
  margin-bottom: 8px;
  color: #555;
  line-height: 1.5;
}

/* -------------------------------------------------
   MODERN EDUCATION SECTION (UNIQUE DESIGN)
------------------------------------------------- */
.edu-section {
  background: linear-gradient(180deg, #f0f4ff, #ffffff);
  padding: 90px 0;
}

.edu-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 3rem;
  text-align: center;
}

/* Education Card */
.edu-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: 0.45s ease;
  box-shadow: 0 4px 20px rgba(0, 40, 120, 0.05);
}

/* Animated Border Shine */
.edu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(130deg, #3b82f6, transparent 40%);
  opacity: 0;
  transform: translate(-20%, -20%);
  transition: 0.5s ease;
}

.edu-card:hover::before {
  opacity: 0.18;
  transform: translate(0);
}

/* Hover Lift + Extra Shadow */
.edu-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

/* Icon Circle */
.edu-icon {
  height: 75px;
  width: 75px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #fff;
  margin-bottom: 18px;
  transition: 0.4s ease;
}

.edu-card:hover .edu-icon {
  transform: rotate(10deg) scale(1.15);
}

/* Title */
.edu-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

/* List */
.edu-list li {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

/* Bullet Arrow */
.edu-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.1rem;
  color: #3b82f6;
  font-weight: bold;
}
