/* --- Epic Designer Portfolio Enhancements --- */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(120deg, #f6f8fc 60%, #e0e7ff 100%);
  color: #222;
}

.bg-gradient-primary {
  background: linear-gradient(90deg, #007bff 60%, #00c6ff 100%) !important;
}

.bg-gradient-hero {
  background: linear-gradient(120deg, #007bff 60%, #00c6ff 100%) !important;
}

header {
  min-height: 350px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  animation: fadeInDown 1.2s cubic-bezier(.77,0,.18,1);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: none; }
}

h1, h2, h5, .navbar-brand {
  letter-spacing: 1px;
}

h2 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.card-title {
  font-weight: 600;
}

footer {
  letter-spacing: 1px;
}

img.rounded-circle {
  border: 4px solid #007bff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.navbar-brand {
  font-weight: bold;
  letter-spacing: 2px;
}

.nav-link.active, .nav-link:focus, .nav-link:hover {
  color: #00c6ff !important;
  text-decoration: underline;
}

.btn-primary, .btn-outline-primary {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-outline-primary:hover {
  box-shadow: 0 4px 16px rgba(13,110,253,0.15);
  background: #0056b3;
  color: #fff;
}

.project-card {
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1);
}
.project-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

.badge.bg-primary {
  background: #007bff !important;
}
.badge.bg-secondary {
  background: #6c757d !important;
}

#backToTop {
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  background: #007bff;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 999;
}
#backToTop:hover {
  background: #00c6ff;
}

section {
  scroll-margin-top: 80px;
  animation: fadeInSection 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

/* --- Interactive Circular Skill Progress Bars --- */
.skill-circle {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1);
}
.skill-circle:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 4px 24px rgba(0,123,255,0.12);
}
.skill-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 2rem;
  color: #007bff;
  z-index: 2;
  pointer-events: none;
}
.circle-svg {
  position: absolute;
  top: 0; left: 0;
  width: 90px; height: 90px;
  z-index: 1;
}
.circle-svg .bg {
  fill: none;
  stroke: #e9ecef;
  stroke-width: 8;
}
.circle-svg .progress {
  fill: none;
  stroke: #007bff;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 1.2s cubic-bezier(.77,0,.18,1);
}
.skill-circle[data-skill="CSS"] .progress { stroke: #0dcaf0; }
.skill-circle[data-skill="Python"] .progress { stroke: #f7c873; }
.skill-circle[data-skill="Bootstrap"] .progress { stroke: #7952b3; }
.skill-circle[data-skill="MongoDB"] .progress { stroke: #198754; }
.skill-circle[data-skill="GitHub"] .progress { stroke: #222; }

.skill-circle .percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 30%);
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  z-index: 2;
  pointer-events: none;
}

/* Tooltips for skills */
.skill-circle[title] {
  position: relative;
}
.skill-circle[title]:hover:after {
  content: attr(title);
  position: absolute;
  left: 50%;
  bottom: -2.2rem;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0.95;
  pointer-events: none;
  z-index: 10;
}

.btn-cta {
  background: linear-gradient(90deg, #007bff 60%, #00c6ff 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 4px 16px rgba(0,123,255,0.12);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-cta:hover, .btn-cta:focus {
  background: linear-gradient(90deg, #00c6ff 60%, #007bff 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(0,123,255,0.18);
}

.project-skills {
  font-size: 0.98rem;
  color: #444;
  margin-top: 0.5rem;
  font-style: italic;
}

footer .mb-2 span {
  font-size: 1.08rem;
  color: #b3e0ff;
  font-weight: 500;
}

/* --- End Epic Designer Portfolio Enhancements --- */
