/* About Page Styles */

/* About Hero Section - Minimalist Layout */
.about-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-color: var(--primary-black);
  overflow: hidden; /* This causes navbar overflow on mobile */
  display: flex;
  flex-direction: column;
}

/* CRITICAL FIX: Override the hero overflow for navbar positioning */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important; /* Force full viewport width */
  z-index: 2000 !important;
  overflow: visible !important; /* Override hero overflow */
}

/* Fix navbar overflow issue on mobile for about page */
@media (max-width: 992px) {
  .navbar {
    width: 100vw !important; /* Force full viewport width */
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: visible !important; /* Allow menu to be visible */
  }
}

/* Background Image */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.4); /* Dark filter to make video much darker */
  /* Performance optimizations */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}

/* Gentle panning animation for background - removed for video */

/* Text Content Block */
.hero-text-block {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 40px 120px; /* Extra bottom padding for scroll indicator */
  position: relative;
  z-index: 2;
}

.hero-text-content {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  position: relative;
}

.hero-text-content::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--electric-blue),
    transparent
  );
  border-radius: 2px;
}

.hero-text-content::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-purple),
    transparent
  );
  border-radius: 1px;
}

.hero-headline {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--pure-white);
  margin: 0 0 30px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
}

.hero-headline::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -20px;
  width: 6px;
  height: 6px;
  background: var(--electric-blue);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--electric-blue);
}

.hero-headline::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -20px;
  width: 4px;
  height: 4px;
  background: var(--neon-purple);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-purple);
}

.hero-description {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--light-gray);
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 0 20px;
}

.hero-description::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 212, 255, 0.3),
    transparent
  );
  border-radius: 1px;
}

.hero-description::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(128, 0, 255, 0.3),
    transparent
  );
  border-radius: 1px;
}

/* Section line styling */
.section-line {
  width: 80px;
  height: 3px;
  background: var(--cyber-gradient);
  margin: 15px auto 25px;
  border-radius: 2px;
}

/* Enhanced team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background: rgba(15, 15, 20, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.team-image {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.team-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

/* Achievements section */
.achievements-section {
  padding: 80px 0;
  background-color: var(--primary-black);
  position: relative;
}

.achievements-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--electric-blue),
    transparent
  );
  opacity: 0.5;
}

/* Workshops section */
.workshops-section {
  padding: 80px 0;
  background-color: var(--primary-black);
  position: relative;
}

.workshops-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-purple),
    transparent
  );
  opacity: 0.5;
}

/* Section Separator */
.section-separator {
  padding: 0;
  margin: 20px 0;
}

.separator-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-purple),
    transparent
  );
  opacity: 0.7;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.achievement-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 280px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.achievement-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.achievement-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.achievement-card:hover .achievement-card-image img {
  transform: scale(1.05);
}

.achievement-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 30%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 2;
  transition: background 0.4s ease;
}

.achievement-card:hover .achievement-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.achievement-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.achievement-card:hover .achievement-content {
  transform: translateY(-5px);
}

.achievement-badge {
  display: inline-block;
  background: var(--cyber-gradient);
  color: var(--pure-white);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  align-self: flex-start;
}

.achievement-content h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--pure-white);
}

.achievement-content p {
  font-family: var(--font-secondary);
  color: var(--light-gray);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

/* Workshops Grid and Cards */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.workshop-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 350px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.workshop-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(128, 0, 255, 0.2);
}

.workshop-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.workshop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.workshop-card:hover .workshop-card-image img {
  transform: scale(1.05);
}

.workshop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 30%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 2;
  transition: background 0.4s ease;
}

.workshop-card:hover .workshop-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.workshop-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.workshop-card:hover .workshop-content {
  transform: translateY(-5px);
}

.workshop-badge {
  display: inline-block;
  background: linear-gradient(90deg, #9c27b0, #673ab7);
  color: var(--pure-white);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  align-self: flex-start;
}

.workshop-content h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--pure-white);
}

.workshop-content p {
  font-family: var(--font-secondary);
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

/* Media Queries for Achievements Section */
@media screen and (max-width: 1200px) {
  .achievements-grid,
  .workshops-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .achievements-grid,
  .workshops-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .achievement-card {
    height: 250px;
  }

  .workshop-card {
    height: 320px;
  }

  .achievement-content,
  .workshop-content {
    padding: 20px;
  }

  .achievement-content h3,
  .workshop-content h3 {
    font-size: 1.3rem;
  }

  .workshop-content p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .achievements-grid,
  .workshops-grid {
    grid-template-columns: 1fr;
  }

  .achievement-card {
    height: 220px;
  }

  .workshop-card {
    height: 300px;
  }

  .achievement-content,
  .workshop-content {
    padding: 15px;
  }

  .achievement-content h3,
  .workshop-content h3 {
    font-size: 1.2rem;
  }

  .achievement-badge,
  .workshop-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .workshop-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* Mission & Vision Section */
.mission-vision {
  padding: 120px 0 80px;
  background-color: var(--primary-black);
  position: relative;
  z-index: 10;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.mission-card,
.vision-card {
  background: rgba(15, 15, 20, 0.7);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  transition: all 0.4s ease;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.mission-card .card-icon {
  color: var(--electric-blue);
}

.vision-card .card-icon {
  color: var(--neon-purple);
}

.mission-card h3,
.vision-card h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--pure-white);
}

.mission-card p,
.vision-card p {
  font-family: var(--font-secondary);
  color: var(--light-gray);
  line-height: 1.6;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

/* Team Members Section */
.team-members {
  padding: 80px 0;
  background-color: rgba(10, 10, 12, 0.7);
}

.team-info {
  padding: 20px;
  text-align: center;
  background: rgba(15, 15, 20, 0.9);
  border-radius: 0 0 15px 15px;
}

.team-info h4 {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--pure-white);
  margin-bottom: 8px;
}

.team-role {
  font-family: var(--font-secondary);
  color: var(--electric-blue);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 11, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-overlay .social-links {
  display: flex;
  gap: 20px;
}

.team-overlay .social-link {
  background: var(--primary-black);
  color: var(--pure-white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.team-overlay .social-link:hover {
  background: var(--electric-blue);
  color: var(--primary-black);
  transform: scale(1.1);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* NoScript Notice */
.noscript-notice {
  background: var(--electric-blue);
  color: var(--primary-black);
  text-align: center;
  padding: 15px;
  font-weight: bold;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--pure-white);
  z-index: 3;
  animation: fade-in-out 2s ease-in-out infinite;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-arrow {
  font-size: 1.5rem;
  margin-bottom: 8px;
  animation: bounce 2s infinite;
}

.scroll-text {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 300;
  font-family: var(--font-secondary);
}

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

@keyframes fade-in-out {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Team Modal Styles */
.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.team-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--primary-black);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 212, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-blue);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--electric-blue);
  color: var(--primary-black);
  transform: scale(1.1);
}

/* Modern Profile Modal Card */
.modal-profile-card {
  display: flex;
  gap: 0;
  padding: 0;
  background: rgba(15, 15, 20, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  min-height: 500px;
  overflow: hidden;
}

/* Left Side - Profile Photo */
.profile-left {
  flex-shrink: 0;
  width: 45%;
}

.profile-photo-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1),
    rgba(147, 51, 234, 0.1)
  );
  border-radius: 24px 0 0 24px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
  background: var(--primary-black);
}

/* Right Side - Content */
.profile-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
}

/* Profile Header */
.profile-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.profile-name {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--pure-white);
  margin: 0 0 8px 0;
  background: linear-gradient(135deg, #00d4ff, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.profile-title {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 500;
  color: var(--electric-blue);
  background: rgba(0, 212, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* About Section */
.profile-about {
  flex: 1;
}

.profile-about h3,
.profile-skills h3,
.profile-connect h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.profile-about h3::after,
.profile-skills h3::after,
.profile-connect h3::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--electric-blue),
    rgba(147, 51, 234, 0.8)
  );
  border-radius: 1px;
}

.about-text {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Skills Section */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.2),
    rgba(147, 51, 234, 0.2)
  );
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--pure-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-secondary);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.skill-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.skill-pill:hover {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.3),
    rgba(147, 51, 234, 0.3)
  );
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.skill-pill:hover::before {
  left: 100%;
}

/* Connect Section */
.connect-links {
  display: flex;
  gap: 16px;
}

.connect-link {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.connect-link.linkedin {
  background: linear-gradient(
    135deg,
    rgba(0, 119, 181, 0.2),
    rgba(0, 119, 181, 0.1)
  );
  border: 1px solid rgba(0, 119, 181, 0.3);
  color: #0077b5;
}

.connect-link.instagram {
  background: linear-gradient(
    135deg,
    rgba(225, 48, 108, 0.2),
    rgba(255, 77, 64, 0.1)
  );
  border: 1px solid rgba(225, 48, 108, 0.3);
  color: #e1306c;
}

.connect-link.email {
  background: linear-gradient(
    135deg,
    rgba(234, 88, 12, 0.2),
    rgba(234, 88, 12, 0.1)
  );
  border: 1px solid rgba(234, 88, 12, 0.3);
  color: #ea580c;
}

.connect-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.connect-link.linkedin:hover {
  background: linear-gradient(135deg, #0077b5, #005885);
  color: white;
  box-shadow: 0 12px 30px rgba(0, 119, 181, 0.4);
}

.connect-link.instagram:hover {
  background: linear-gradient(135deg, #e1306c, #fd1d1d, #fcb045);
  color: white;
  box-shadow: 0 12px 30px rgba(225, 48, 108, 0.4);
}

.connect-link.email:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: white;
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.4);
}

.connect-link i {
  font-size: 1.2rem;
}

.modal-body {
  padding: 30px;
}

.modal-section {
  margin-bottom: 30px;
}

.modal-section h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pure-white);
  margin: 0 0 15px 0;
  position: relative;
  padding-left: 20px;
}

.modal-section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--electric-blue);
  border-radius: 2px;
}

.modal-section p {
  font-family: var(--font-secondary);
  color: var(--light-gray);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

.expertise-list,
.experience-list,
.education-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.expertise-item,
.experience-item,
.education-item {
  background: rgba(15, 15, 20, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.expertise-item:hover,
.experience-item:hover,
.education-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(15, 15, 20, 0.7);
  transform: translateY(-2px);
}

.expertise-title,
.experience-title,
.education-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pure-white);
  margin: 0 0 8px 0;
}

.expertise-description,
.experience-description,
.education-description {
  font-family: var(--font-secondary);
  color: var(--light-gray);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgba(0, 212, 255, 0.1);
  color: var(--electric-blue);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: var(--electric-blue);
  color: var(--primary-black);
  transform: scale(1.05);
}

/* Responsive Profile Modal */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    margin: 10px;
  }

  .modal-profile-card {
    flex-direction: column;
    gap: 0;
    padding: 0;
    min-height: auto;
  }

  .profile-left {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .profile-photo-container {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    padding: 8px;
    margin: 0 auto;
  }

  .profile-photo {
    border-radius: 12px;
  }

  .profile-right {
    padding: 24px;
  }

  .profile-header {
    text-align: center;
  }

  .profile-name {
    font-size: 2rem;
  }

  .profile-title {
    font-size: 0.9rem;
  }

  .profile-about h3,
  .profile-skills h3,
  .profile-connect h3 {
    text-align: center;
  }

  .profile-about h3::after,
  .profile-skills h3::after,
  .profile-connect h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-text {
    text-align: center;
  }

  .skills-container {
    justify-content: center;
  }

  .connect-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .modal-content {
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }

  .modal-container {
    padding: 0;
  }

  .modal-profile-card {
    padding: 0;
    border-radius: 0;
  }

  .profile-photo-container {
    width: 250px;
    height: 250px;
    border-radius: 16px;
    padding: 6px;
    margin: 0 auto;
  }

  .profile-photo {
    border-radius: 10px;
  }

  .profile-right {
    padding: 20px;
  }

  .profile-name {
    font-size: 1.75rem;
  }

  .profile-title {
    font-size: 0.8rem;
    padding: 4px 12px;
  }

  .profile-about h3,
  .profile-skills h3,
  .profile-connect h3 {
    font-size: 1rem;
  }

  .about-text {
    font-size: 0.9rem;
  }

  .skill-pill {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .connect-link {
    width: 44px;
    height: 44px;
  }

  .connect-link i {
    font-size: 1.1rem;
  }
}

/* Mobile hamburger menu styles are now defined above */

/* Responsive design for smaller screens */
@media (max-width: 992px) {
  .hero-text-block {
    padding: 0 20px 100px;
  }

  .hero-text-content::before {
    width: 100px;
    top: -35px;
  }

  .hero-text-content::after {
    width: 60px;
    bottom: -35px;
  }

  .hero-headline {
    font-size: 3.2rem;
    margin-bottom: 25px;
  }

  .hero-description {
    font-size: 1.1rem;
    padding: 0 15px;
  }

  .hero-description::before,
  .hero-description::after {
    height: 50%;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .achievements-grid,
  .workshops-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  /* Hamburger styles handled by main media query above */
}

@media (max-width: 768px) {
  .hero-text-block {
    padding: 20px 15px 90px;
  }

  .hero-text-content::before {
    width: 80px;
    top: -30px;
  }

  .hero-text-content::after {
    width: 50px;
    bottom: -30px;
  }

  .hero-headline {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .hero-description::before,
  .hero-description::after {
    height: 40%;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .achievements-grid,
  .workshops-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-text-block {
    padding: 15px 10px 80px;
  }

  .hero-headline {
    font-size: 2.4rem;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 0.95rem;
    padding: 0;
  }

  .mission-card,
  .vision-card {
    padding: 25px;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .achievements-grid,
  .workshops-grid {
    grid-template-columns: 1fr;
  }

  .achievement-card {
    height: 250px;
  }

  .workshop-card {
    height: 320px;
  }

  .achievement-content,
  .workshop-content {
    padding: 20px;
  }

  .achievement-content h3,
  .workshop-content h3 {
    font-size: 1.3rem;
  }

  .workshop-content p {
    font-size: 0.9rem;
  }
}
