@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #6366f1;
  --primary-light: #818cf8;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --background-color: #f8fafc;
  --card-background: rgba(255, 255, 255, 0.9);
  --text-color: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --success-color: #10b981;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  padding: 2rem;
  background-image: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.05) 90%);
}

.container {
  max-width: 900px;
  margin: 2rem auto;
  background: var(--card-background);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gradient);
  z-index: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  animation: slideDown 0.8s ease-out;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

header h1 {
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  display: inline-block;
}

header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

h2:hover::after {
  width: 80px;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}

button {
  display: inline-block;
  width: auto;
  padding: 1rem 2.5rem;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 2rem auto 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color), var(--primary-color));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(99, 102, 241, 0.4);
}

button:hover::before {
  opacity: 1;
}

button:active {
  transform: translateY(0);
}

#results-container {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border-color);
  animation: fadeIn 0.6s ease-out;
}

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.loader::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#output-content {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header Styles */
.header-content {
  text-align: center;
  padding: 2rem 0;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo i {
  font-size: 2.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

/* Loader Styles */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loader-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.loader-content {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 90%;
  width: 400px;
}

.spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.5rem;
  border: 4px solid rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-content p {
  margin: 0;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Skills and Resources Styles */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.skill-card {
  background: var(--card-background);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.skill-header h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.skill-level {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: 500;
}

/* Resources Dropdown */
.resources-dropdown {
  margin-top: 1rem;
  position: relative;
}

.resources-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  background: none;
  border: none;
  padding: 0.5rem 0;
  cursor: pointer;
  font-size: 0.95rem;
  width: 100%;
  text-align: left;
}

.resources-toggle i.fa-chevron-down {
  transition: transform 0.3s ease;
  margin-left: auto;
}

.resources-toggle i.rotated {
  transform: rotate(180deg);
}

.resources-list {
  display: none;
  margin-top: 0.5rem;
  background: rgba(248, 250, 252, 0.8);
  border-radius: 8px;
  padding: 0.5rem 0;
  border: 1px solid rgba(99, 102, 241, 0.1);
  max-height: 300px;
  overflow-y: auto;
}

.resource-item {
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  font-size: 0.95rem;
}

.resource-item:hover {
  background: rgba(99, 102, 241, 0.05);
  color: var(--primary-color);
}

.resource-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-color);
  min-width: 80px;
  display: inline-block;
  text-transform: capitalize;
}

.resource-title {
  flex: 1;
  margin: 0 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-item i {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.resource-item:hover i {
  opacity: 1;
}

/* Different border colors based on resource type */
.resource-item[data-type="documentation"] {
  border-left-color: #6366f1;
}

.resource-item[data-type="tutorial"] {
  border-left-color: #10b981;
}

.resource-item[data-type="video"] {
  border-left-color: #ec4899;
}

.resource-item[data-type="article"] {
  border-left-color: #f59e0b;
}

/* Roadmap Steps */
.roadmap-steps {
  margin: 2rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.roadmap-step {
  position: relative;
  padding: 1.5rem 0 1.5rem 2.5rem;
  border-left: 2px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.roadmap-step:last-child {
  border-left-color: transparent;
}

.roadmap-step:hover {
  transform: translateX(5px);
}

.roadmap-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, 
    rgba(99, 102, 241, 0.2) 0%, 
    rgba(99, 102, 241, 0.2) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.roadmap-step:hover:not(:last-child)::after {
  background: linear-gradient(to bottom, 
    var(--primary-color) 0%, 
    var(--secondary-color) 100%
  );
  opacity: 1;
}

.roadmap-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1rem;
}

.roadmap-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.75rem;
  top: 3rem;
  bottom: -2rem;
  width: 2px;
  background: rgba(99, 102, 241, 0.2);
  z-index: 1;
}

.step-number {
  position: absolute;
  left: -1.25rem;
  top: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  border: 3px solid white;
  transition: all 0.3s ease;
}

.roadmap-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.step-content {
  flex: 1;
  background: white;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.roadmap-step:hover .step-content::before {
  opacity: 1;
}

.step-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.step-content h4 {
  margin: 0 0 0.75rem 0;
  color: var(--text-color);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-content h4::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  margin-right: 0.25rem;
}

.step-description {
  color: var(--text-muted);
  margin: 0 0 1.25rem 0;
  line-height: 1.7;
  font-size: 1rem;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(99, 102, 241, 0.1);
  padding-left: 1.25rem;
  margin-left: 0.25rem;
}

.roadmap-step:hover .step-description {
  border-left-color: rgba(99, 102, 241, 0.3);
}

.step-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(99, 102, 241, 0.2);
  flex-wrap: wrap;
  gap: 1rem;
  transition: all 0.3s ease;
}

.roadmap-step:hover .step-footer {
  border-top-color: rgba(99, 102, 241, 0.3);
}

.step-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.05);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.step-duration i {
  color: var(--primary-color);
  font-size: 0.9em;
  opacity: 0.8;
}

.roadmap-step:hover .step-duration {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  border-color: rgba(99, 102, 241, 0.2);
}

/* Coming Soon Notification */
.coming-soon-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.coming-soon-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.coming-soon-notification::before {
  content: '🚀';
  font-size: 1.1em;
}

/* Error Message */
.error-message {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #991b1b;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: fadeIn 0.3s ease-out;
}

.error-message i {
  font-size: 1.25rem;
  margin-top: 0.125rem;
  color: #ef4444;
}

.error-message h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.error-message p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form Styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  flex: 1;
  position: relative;
  margin-bottom: 1.5rem;
}

.form-field label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.form-field i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.form-field.focused .input-with-icon i {
  color: var(--primary-color);
}

.optional {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: normal;
  margin-left: 0.5rem;
}

/* Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--gradient);
  color: #fff !important; /* White text for better contrast */
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 2rem auto 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Add a dark overlay on hover for better text visibility */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

/* Disabled state */
.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Add a dark overlay on hover to make text more visible */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-text {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.btn-text:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Results Section */
.results-section {
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.results-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.results-section h2.section-title {
  color: var(--primary-color);
  margin: 0 0 2rem 0;
  padding-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid rgba(99, 102, 241, 0.1);
  position: relative;
}

.results-section h2.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.results-section h2 i {
  color: var(--accent-color);
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  padding: 0.5rem;
}

/* Results Actions */
.results-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);}

/* Responsive adjustments */
@media (max-width: 768px) {
  .results-section {
    padding: 1.5rem;
  }
  
  .results-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .results-actions .btn {
    width: 100%;
  }
}

.results-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.output-section {
  margin-bottom: 2.5rem;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.output-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Skills Grid */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.skill-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.15);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.skill-header h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
}

.skill-level {
  font-size: 0.85rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 500;
  white-space: nowrap;
}

.skill-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.skill-tag i {
  color: var(--success-color);
  font-size: 1.2rem;
}

/* Resources Dropdown */
.resources-dropdown {
  position: relative;
  margin-top: 0.75rem;
  background: rgba(99, 102, 241, 0.03);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.roadmap-step:hover .resources-dropdown {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.15);
}

.resources-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  color: var(--primary-color);
  background: transparent;
  border: none;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.resources-toggle:hover {
  color: var(--secondary-color);
  background: rgba(99, 102, 241, 0.05);
}

.resources-toggle i:first-child {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.resources-toggle .fa-chevron-down {
  transition: transform 0.3s ease;
  font-size: 0.8em;
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.resources-toggle:hover .fa-chevron-down {
  color: var(--secondary-color);
}

.resources-toggle .rotated {
  transform: rotate(180deg);
}

.resources-list {
  display: none;
  background: white;
  border-radius: 0 0 8px 8px;
  padding: 0.5rem 0;
  border-top: 1px dashed rgba(99, 102, 241, 0.2);
  max-height: 300px;
  overflow-y: auto;
  animation: fadeIn 0.3s ease-out;
  margin: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.resource-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem 0.75rem 1.25rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  border-left: 3px solid transparent;
  margin: 0.25rem 0.5rem;
  border-radius: 6px;
}

.resource-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.resource-item:hover {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transform: translateX(2px);
  border-left-color: var(--primary-color);
}

.resource-item:hover::before {
  opacity: 1;
}

/* Add subtle background based on resource type */
.resource-item[data-type="article"] {
  border-left-color: #3b82f6; /* Blue for articles */
}

.resource-item[data-type="video"] {
  border-left-color: #ec4899; /* Pink for videos */
}

.resource-item[data-type="course"] {
  border-left-color: #10b981; /* Green for courses */
}

.resource-item[data-type="documentation"] {
  border-left-color: #8b5cf6; /* Purple for documentation */
}

.resource-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 90px;
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-align: center;
  transition: all 0.2s ease;
}

/* Style resource types based on their type */
.resource-item[data-type="article"] .resource-type {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.resource-item[data-type="video"] .resource-type {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.resource-item[data-type="course"] .resource-type {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.resource-item[data-type="documentation"] .resource-type {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.resource-title {
  flex: 1;
  margin: 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-color);
  transition: color 0.2s ease;
}

.resource-item:hover .resource-title {
  color: var(--primary-color);
}

.resource-item i {
  color: var(--text-muted);
  font-size: 0.85rem;
  opacity: 0.8;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.resource-item:hover i {
  opacity: 1;
  color: var(--primary-color);
  transform: translateX(2px);
}

.progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 1s ease-in-out;
}

/* Roadmap Steps */
.roadmap-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.roadmap-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.roadmap-step:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  margin: 0 0 0.5rem;
  color: var(--text-color);
}

.step-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.step-meta i {
  margin-right: 0.25rem;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: scale(1.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  margin-top: 4rem;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

footer p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

footer .creator {
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 1.05rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-links a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
  background: rgba(99, 102, 241, 0.2);
}

/* Floating Shapes */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
  filter: blur(40px);
}

.shape-1 {
  background: var(--primary-color);
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.shape-2 {
  background: var(--secondary-color);
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
}

.shape-3 {
  background: var(--accent-color);
  width: 150px;
  height: 150px;
  top: 50%;
  right: 10%;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }
  
  .container {
    padding: 1rem;
    margin: 0.5rem auto;
  }
  
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-section {
    padding: 1.5rem 1rem;
  }
  
  .skills-container {
    grid-template-columns: 1fr;
  }
  
  .roadmap-step {
    padding: 1.25rem;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 1rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Form Group Animation */
.form-group {
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add delay to form groups */
.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }