/* ===================================
   PORTFOLIO STYLES - Jinam Shah
   =================================== */

/* Google Font */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* Global Styles */
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

.navbar-brand {
  font-size: 1.5rem;
}

.text-primary {
  color: #2563eb !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.bg-white-50 {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Navbar */
.nav-link {
  color: #1e293b;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #2563eb;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: #2563eb;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero-section {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-section h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -2px;
}

.tracking-wider {
  letter-spacing: 0.1em;
}

/* Profile Image */
.profile-image-container {
  position: relative;
  display: inline-block;
}

.profile-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
  border: 5px solid white;
  transition: all 0.3s ease;
}

.profile-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3);
}

.profile-image-container::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.1;
}

.profile-image-container::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981, #0ea5e9);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.1;
}

/* Social Links */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: #1e293b;
  border: 2px solid #e2e8f0;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
  transform: translateY(-3px);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #2563eb;
  border: none;
}

.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline-secondary {
  border: 2px solid #e2e8f0;
  color: #1e293b;
}

.btn-outline-secondary:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: white;
}

.btn-outline-primary {
  border: 2px solid #2563eb;
}

.btn-outline-primary:hover {
  background: #2563eb;
  color: white;
}

/* Sections */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  padding-bottom: 1rem;
  border-bottom: 4px solid #2563eb;
  display: inline-block;
}

.leading-relaxed {
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Experience Section */
.experience-section {
  background: #f8fafc;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card {
  border-radius: 12px;
  transition: all 0.3s ease;
}

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

/* Awards Section */
.award-card {
  padding: 2rem 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  height: 100%;
  transition: all 0.3s ease;
}

.award-card:hover {
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.award-icon {
  font-size: 3rem;
  color: #f59e0b;
}

.award-card:nth-child(3) .award-icon {
  color: #0ea5e9;
}

.award-card:nth-child(4) .award-icon {
  color: #2563eb;
}

/* Skills Section */
.skills-section {
  background: #f8fafc;
}

.skill-category {
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  height: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.skill-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.skill-badge:hover {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
  transform: translateY(-2px);
}

/* Interests Section */
.interest-card {
  padding: 2rem 1.5rem;
  text-align: center;
  background: #f8fafc;
  border-radius: 12px;
  height: 100%;
  transition: all 0.3s ease;
}

.interest-card:hover {
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.interest-icon {
  font-size: 2.5rem;
  color: #2563eb;
}

.interest-card:nth-child(2) .interest-icon {
  color: #f59e0b;
}

.interest-card:nth-child(3) .interest-icon {
  color: #10b981;
}

.interest-card:nth-child(4) .interest-icon {
  color: #0ea5e9;
}

/* Footer */
.footer {
  background: #1e293b;
}

.footer a:hover {
  color: white;
}

footer h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

footer h5 {
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===================================
   PROJECTS PAGE
   =================================== */

.projects-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Search */
.search-container {
  position: relative;
}

.search-input {
  padding-left: 2.5rem;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid #e2e8f0;
  background: white;
  color: #1e293b;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.filter-btn.active {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

/* Project Cards */
.project-card {
  transition: all 0.3s ease;
}

.project-image {
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #e2e8f0;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #f8fafc;
  color: #1e293b;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

.badge {
  font-weight: 500;
  padding: 0.35rem 0.65rem;
}

/* ===================================
   JOURNEY PAGE
   =================================== */

/* Hero */
.journey-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.journey-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.95;
}

.hero-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  opacity: 0.9;
}

.scroll-indicator {
  animation: bounce 2s infinite;
  font-size: 2rem;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Timeline */
.timeline-section {
  background: white;
  padding: 80px 0;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #2563eb, #10b981);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: white;
  border: 3px solid #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #2563eb;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
  z-index: 2;
}

.timeline-item:nth-child(2) .timeline-marker {
  border-color: #f59e0b;
  color: #f59e0b;
}

.timeline-item:nth-child(3) .timeline-marker {
  border-color: #0ea5e9;
  color: #0ea5e9;
}

.timeline-item:nth-child(4) .timeline-marker {
  border-color: #10b981;
  color: #10b981;
}

.timeline-content {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateX(5px);
}

.timeline-date {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #2563eb;
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.813rem;
}

.tag.success {
  background: #10b981;
  color: white;
  border-color: #10b981;
}

.tag.primary {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

/* Values Section */
.values-section {
  background: #f8fafc;
}

.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.value-card:nth-child(2) .value-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.value-card:nth-child(3) .value-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Quote Section */
.quote-section {
  background: white;
  padding: 80px 0;
}

.quote-card {
  position: relative;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.quote-mark {
  font-size: 4rem;
  color: #2563eb;
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 2rem;
}

blockquote {
  margin: 0;
  position: relative;
  z-index: 1;
}

blockquote p {
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.8;
  color: #1e293b;
  margin-bottom: 2rem;
}

.quote-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quote-author strong {
  font-size: 1.125rem;
}

.quote-author span {
  font-size: 0.938rem;
  color: #64748b;
}

/* Looking Forward */
.forward-section {
  background: white;
}

.forward-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.forward-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.forward-list i {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.forward-list strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.forward-list p {
  color: #64748b;
  font-size: 0.938rem;
}

.forward-image img {
  border-radius: 16px;
}

/* Disclaimer */
.disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-left: 4px solid #0ea5e9;
  border-radius: 8px;
}

.disclaimer-box i {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
}

.cta-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-card p {
  color: white;
  opacity: 0.95;
}

/* ===================================
   HEADING ADJUSTMENTS
   =================================== */

.card-body h4 {
  font-size: 1rem;
  font-weight: 600;
}

.award-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

.skill-category h3 {
  font-size: 0.75rem;
}

.interest-card h3 {
  font-size: 1.25rem;
}

/* Visually hidden for accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 991px) {
  .hero-section h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .profile-image {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 80px 0 60px;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section h2 {
    font-size: 1.25rem;
  }

  .profile-image {
    width: 200px;
    height: 200px;
  }

  .filter-buttons {
    justify-content: flex-start;
  }

  .project-image {
    height: 180px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .timeline-item {
    padding-left: 70px;
  }

  blockquote p {
    font-size: 1.125rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ===================================
   CO-OP OPPORTUNITIES SECTIONS
   =================================== */

/* Badge under profile image */
.coop-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.coop-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
  color: white;
}

.coop-badge i,
.coop-badge span {
  color: white;
}

.coop-badge i {
  color: white;
}

/* Full banner section */
.opportunities-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
}

.opportunities-section h2 {
  color: white;
}

.opportunities-section p {
  color: white;
  opacity: 0.95;
}

.opportunities-section .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
