/* ============================================
   Global Styles & Variables
   ============================================ */

:root {
  --primary: #3b82f6;
  --primary-dark: #1e40af;
  --secondary: #8b5cf6;
  --accent: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  
  --text-dark: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   Navigation / Header
   ============================================ */

.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.nav-brand .material-icons {
  font-size: 2rem;
}

.brand-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: slideUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  font-weight: 300;
  animation: slideUp 0.8s ease 0.2s both;
}

.hero-icon {
  animation: float 3s ease-in-out infinite;
  display: inline-block;
}

.hero-icon .material-icons {
  font-size: 4rem;
  animation: slideUp 0.8s ease 0.4s both;
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ============================================
   Main Container & Section Header
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 300;
}

/* ============================================
   Role Selector
   ============================================ */

.role-selector-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.role-selector-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: white;
}

.role-selector-icon .material-icons {
  font-size: 1.75rem;
}

.role-select {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-white);
  color: var(--text-dark);
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  transition: var(--transition);
  min-width: 300px;
  max-width: 400px;
}

.role-select:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.role-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* ============================================
   Custom Dropdown Styles
   ============================================ */

.custom-dropdown {
  position: relative;
  min-width: 300px;
  max-width: 400px;
}

.dropdown-toggle {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-white);
  color: var(--text-dark);
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.dropdown-toggle:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), var(--shadow-sm);
}

.dropdown-toggle.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), var(--shadow-md);
  border-radius: 12px 12px 0 0;
}

.dropdown-toggle .material-icons {
  font-size: 1.5rem;
  transition: var(--transition);
}

.dropdown-toggle.active .material-icons {
  transform: rotate(180deg);
}

.dropdown-text {
  flex: 1;
  text-align: left;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border: 2px solid var(--primary);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 100;
}

.dropdown-menu.active {
  max-height: 400px;
  overflow-y: auto;
}

.dropdown-item {
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.05));
  padding-left: 2rem;
}

.dropdown-item:first-child {
  color: var(--text-light);
  font-weight: 400;
  font-style: italic;
}

.dropdown-item:first-child:hover {
  background: transparent;
  color: var(--text-light);
  padding-left: 1.5rem;
}

.role-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
}

.role-icon.medical {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.role-icon.finance {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}

.role-icon.education {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.role-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.role-description {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  margin-left: auto;
}

/* ============================================
   Pathway Container & Cards
   ============================================ */

.pathway-container {
  animation: fadeIn 0.5s ease;
}

.job-data-container {
  animation: fadeIn 0.5s ease;
  margin-top: 2rem;
}

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

.pathway-card {
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.pathway-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pathway-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pathway-icon {
  font-size: 3rem;
  opacity: 0.9;
}

.pathway-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  margin: 0;
}

.pathway-overview {
  padding: 1.5rem 2rem;
  font-size: 1.05rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  font-weight: 300;
}

.pathway-content {
  padding: 2rem;
}

.pathway-section {
  margin-bottom: 2.5rem;
}

.pathway-section:last-child {
  margin-bottom: 0;
}

.pathway-section h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
}

.mini-icon {
  font-size: 1.5rem !important;
  color: var(--primary);
}

/* Skills List */
.skills-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.skills-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.skills-list li:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  transform: translateX(5px);
}

.bullet-icon {
  color: var(--success);
  font-size: 1.25rem !important;
  flex-shrink: 0;
}

/* Roles Grid */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.role-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
  cursor: pointer;
}

.role-badge:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.role-badge .material-icons {
  font-size: 1.25rem;
}

/* Job Data */
.job-data {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1.5rem;
}

.job-data ul {
  list-style: none;
}

.job-data li {
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--bg-white);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.job-data li:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.job-data a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.job-data a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

.job-data strong {
  color: var(--text-dark);
  font-weight: 600;
}

.job-data p {
  padding: 0.75rem 0;
  color: var(--text-light);
}

/* ============================================
   Resources Section
   ============================================ */

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.resource-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.resource-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  color: white;
  margin-bottom: 1.5rem;
}

.resource-icon .material-icons {
  font-size: 2rem;
}

.resource-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.resource-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.resource-card ul {
  list-style: none;
}

.resource-card li {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.resource-card li:last-child {
  border-bottom: none;
}

.resource-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resource-card a:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.resource-card a::after {
  content: '→';
  opacity: 0;
  transition: var(--transition);
}

.resource-card a:hover::after {
  opacity: 1;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.info-card .material-icons {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.info-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.info-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.info-card a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

.contact-form {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: var(--bg-white);
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
  box-shadow: var(--shadow-md);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  color: var(--primary) !important;
  margin-bottom: 0 !important;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: white !important;
  transform: translateY(-3px) !important;
}

.social-link .material-icons {
  font-size: 1.25rem;
}

.footer-bottom {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }
  
  .nav-link {
    font-size: 0.85rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero {
    padding: 3rem 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .role-select {
    min-width: 100%;
    max-width: 100%;
  }
  
  .custom-dropdown {
    min-width: 100%;
    max-width: 100%;
  }
  
  .pathway-header {
    flex-direction: column;
    text-align: center;
  }
  
  .pathway-icon {
    margin: 0;
  }
  
  .skills-list {
    grid-template-columns: 1fr;
  }
  
  .roles-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 2rem 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .nav-brand {
    gap: 0.5rem;
  }
  
  .brand-text {
    font-size: 1.1rem;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pathway-header {
    padding: 1.5rem;
  }
  
  .pathway-header h2 {
    font-size: 1.3rem;
  }
  
  .role-selector-wrapper {
    flex-direction: column;
  }
  
  .role-selector-icon {
    width: 40px;
    height: 40px;
  }
  
  .role-selector-icon .material-icons {
    font-size: 1.5rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

