 :root {
  --primary-color: #222;
  --primary-dark: #111;
  --accent-color: #0077ff;
  --accent-dark: #0055aa;
  --dark-bg: #181818;
  --light-bg: #232323;
  --text-dark: #f5f5f5;
  --text-light: #fff;
  --gray-light: #222;
  --gray-medium: #333;
  --gray-dark: #111;
  --box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}


/* Popup Chatbot Widget */
#chatbot-popup {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
}

#chatbot-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
#chatbot-toggle:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.chatbot-avatar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

#chatbot-window {
  width: 420px;
  max-width: 95vw;
  height: 600px;
  background: var(--dark-bg);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  position: absolute;
  bottom: 80px;
  right: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid var(--accent-color);
}
#chatbot-window.hidden {
  display: none;
}
.chatbot-header {
  display: flex;
  align-items: center;
  background: var(--primary-color);
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--gray-medium);
  position: relative;
}
.chatbot-avatar-header {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.7rem;
  border: 2px solid var(--accent-color);
}
.chatbot-title {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 1.1rem;
  flex: 1;
}
#chatbot-close, #chatbot-clear {
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 1.3rem;
  margin-left: 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
#chatbot-close:hover, #chatbot-clear:hover {
  color: var(--accent-dark);
}
.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: var(--dark-bg);
}
.message {
  display: flex;
  align-items: flex-end;
  margin-bottom: 1.1rem;
}
.message.user .message-avatar {
  display: none;
}
.message.bot .message-avatar {
  margin-right: 0.7rem;
}
.message-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-color);
}
.message-content {
  background: var(--gray-medium);
  color: var(--text-light);
  padding: 0.7rem 1.1rem;
  border-radius: 14px;
  max-width: 75%;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.message.user .message-content {
  background: var(--accent-color);
  color: #fff;
  margin-left: auto;
}
.chat-input {
  display: flex;
  padding: 0.7rem 1rem;
  background: var(--primary-color);
  border-top: 1px solid var(--gray-medium);
}
.chat-input input {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--gray-medium);
  font-size: 1rem;
  margin-right: 0.7rem;
  background: var(--gray-light);
  color: var(--text-light);
}
.chat-input input:focus {
  outline: 2px solid var(--accent-color);
}
.chat-input button {
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.chat-input button:hover {
  background: var(--accent-dark);
}

.chatbot-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1rem 0.25rem;
  background: var(--light-bg);
  border-top: 1px solid var(--gray-medium);
}

.quick-prompt {
  flex: 1 1 calc(33% - 0.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 119, 255, 0.4);
  background: rgba(0, 119, 255, 0.12);
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-prompt:hover {
  transform: translateY(-2px);
  background: rgba(0, 119, 255, 0.22);
}

.chatbot-booking {
  padding: 0.85rem 1rem 1.2rem;
  background: var(--light-bg);
  border-top: 1px solid var(--gray-medium);
  display: flex;
  justify-content: center;
}

.book-meeting-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,119,255,0.85), rgba(102,51,255,0.85));
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-meeting-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0,0,0,0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Navigation */
header {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-light);
}

.logo span {
  color: var(--accent-color);
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.9)), url('/images/photo_bw.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.hero h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.cta-button {
  background-color: var(--accent-color);
  color: var(--text-light);
  border: none;
  padding: 0.8rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(0,0,0,0.35);
  font-weight: 500;
  transition: all 0.3s ease;
}

.ghost-button:hover {
  background: rgba(0,0,0,0.55);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 5rem 2rem;
}

.section.accent {
  background-color: var(--gray-light);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

.about-summary {
  text-align: left;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.about-summary strong {
  color: var(--accent-color);
  font-weight: 600;
}

/* Value Propositions Section */
.value-props-section {
  margin: 3rem 0;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.08), rgba(102, 51, 255, 0.08));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.value-props-section h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.value-props-section h3 i {
  color: var(--accent-color);
}

.value-props-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.value-prop-card {
  padding: 1.75rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.value-prop-card:hover {
  transform: translateY(-4px);
  background: rgba(0,0,0,0.35);
  border-color: rgba(0, 119, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.value-prop-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.value-prop-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.value-prop-card p {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-highlights {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2.5rem;
}

.highlight-card {
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.12), rgba(102, 51, 255, 0.12));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.22);
}

.highlight-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.highlight-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.highlight-card p {
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.availability-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.availability-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding-left: 0;
}

.availability-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
}

.availability-list i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.availability-cta {
  padding: 2rem;
  border-radius: 18px;
  background: rgba(17,17,17,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.availability-cta p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.75);
}

.availability-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.availability-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,119,255,0.85), rgba(102,51,255,0.85));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.availability-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.45);
}

.availability-button.ghost {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: none;
}

.tech-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  text-align: center;
}

.tech-icon-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: rgba(0,0,0,0.25);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}

.tech-stack-title {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--accent-color);
}

.tech-stack-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.technical-skills-title {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}

.tech-badge {
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  flex-direction: column !important;
  padding: 1.2rem 1rem !important;
  gap: 0.4rem !important;
}

.tech-badge small {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 400;
}

.tech-badge-primary {
  background: linear-gradient(135deg, rgba(52,152,219,0.2), rgba(41,128,185,0.2)) !important;
  border-color: rgba(52,152,219,0.3) !important;
}

.tech-badge-cloud {
  background: linear-gradient(135deg, rgba(243,156,18,0.2), rgba(230,126,34,0.2)) !important;
  border-color: rgba(243,156,18,0.3) !important;
}

.tech-badge-ai {
  background: linear-gradient(135deg, rgba(155,89,182,0.2), rgba(142,68,173,0.2)) !important;
  border-color: rgba(155,89,182,0.3) !important;
}

.tech-badge-data {
  background: linear-gradient(135deg, rgba(26,188,156,0.2), rgba(22,160,133,0.2)) !important;
  border-color: rgba(26,188,156,0.3) !important;
}

.tech-badge-robotics {
  background: linear-gradient(135deg, rgba(231,76,60,0.2), rgba(192,57,43,0.2)) !important;
  border-color: rgba(231,76,60,0.3) !important;
}

.tech-badge-engineering {
  background: linear-gradient(135deg, rgba(149,165,166,0.2), rgba(127,140,141,0.2)) !important;
  border-color: rgba(149,165,166,0.3) !important;
}

.tech-badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,119,255,0.4);
}

.tech-badge:active {
  transform: translateY(-1px) scale(1.02);
}

.ideal-roles-section {
  margin-top: 4rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
  border-radius: 20px;
  border: 2px solid rgba(0,119,255,0.2);
}

.ideal-roles-section h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--accent-color);
  justify-content: center;
}

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

.role-card {
  padding: 1.5rem;
  background: rgba(0,119,255,0.08);
  border-left: 4px solid var(--accent-color);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0,119,255,0.25);
}

.role-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
  color: var(--text-light);
}

.role-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.roles-footer {
  text-align: center;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Tech Modal Styles */
.tech-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(6px);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.tech-modal.hidden {
  display: none;
  opacity: 0;
}

.tech-modal-content {
  background: linear-gradient(145deg, var(--dark-bg), var(--light-bg));
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 550px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  border: 2px solid var(--accent-color);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: modalSlideIn 0.3s ease;
}

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

.tech-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tech-modal-close:hover {
  background: rgba(255,0,0,0.3);
  transform: rotate(90deg);
}

.tech-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.tech-modal-header i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.tech-modal-header h3 {
  font-size: 2rem;
  color: var(--text-light);
  margin: 0;
}

.tech-modal-body {
  display: grid;
  gap: 1.5rem;
}

.tech-detail-section h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 0.8rem;
}

.tech-detail-section h4 i {
  font-size: 1.1rem;
}

.tech-detail-section p {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-size: 1.05rem;
}

.tech-detail-section ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.6rem;
}

.tech-detail-section ul li {
  padding: 0.6rem 1rem;
  background: rgba(0,119,255,0.1);
  border-left: 3px solid var(--accent-color);
  border-radius: 6px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.media-card {
  display: block;
  padding: 1.8rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(0,0,0,0.65), rgba(0,0,0,0.45));
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 190px;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.35);
}

.media-icon {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.media-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.media-card p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.audio-player-container {
  max-width: 600px;
  margin: 2rem auto;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(231, 76, 60, 0.1));
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.audio-player-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    rgba(52, 152, 219, 0.05) 0%, 
    rgba(231, 76, 60, 0.05) 50%, 
    rgba(52, 152, 219, 0.05) 100%);
  background-size: 200% 200%;
  animation: gradientFlow 10s ease infinite;
  z-index: 0;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.audio-player-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.audio-player-container.playing {
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.5), 0 0 40px rgba(231, 76, 60, 0.3);
  transform: translateY(-5px);
}

.audio-player-container.playing::before {
  animation: gradientFlow 5s ease infinite;
}

.audio-player-container h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.audio-player-container h3::after {
  content: '🔊';
  margin-left: 8px;
  font-size: 1.2rem;
}

.audio-player {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.audio-player:hover {
  background: rgba(255, 255, 255, 0.3);
}

.audio-player audio {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 50px;
}

.audio-player audio:focus {
  outline: none;
}

.audio-description {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: var(--gray-dark);
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* Customize audio controls */
audio::-webkit-media-controls-panel {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  color: white;
}

audio::-webkit-media-controls-play-button {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
  color: white;
  font-weight: bold;
}

/* Skills Section */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-category {
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
  border: 2.5px solid transparent;
  transition: border 0.3s, box-shadow 0.3s, background 0.3s;
}
.skill-category[data-skill="cloud"] { border-top: 4px solid #2196f3; }
.skill-category[data-skill="web"] { border-top: 4px solid #e53935; }
.skill-category[data-skill="ai"] { border-top: 4px solid #43a047; }

.skill-category.active, .skill-category:focus-within, .skill-category:hover {
  background: linear-gradient(120deg, #fff 80%, #f5f5f5 100%);
  color: #222;
  border: 2.5px solid var(--accent-color);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.skill-list li {
  background: #222;
  color: #fff;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  border: 1px solid #333;
  margin-bottom: 0.7rem;
  transition: background 0.2s, color 0.2s;
}
.skill-category.active .skill-list li, .skill-category:focus-within .skill-list li, .skill-category:hover .skill-list li {
  background: #fff;
  color: #222;
}

.skill-category {
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.skill-category:nth-child(1)::before {
  background: linear-gradient(90deg, #3498db, #2980b9);
}

.skill-category:nth-child(2)::before {
  background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.skill-category:nth-child(3)::before {
  background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.skill-category:nth-child(4)::before {
  background: linear-gradient(90deg, #9b59b6, #8e44ad);
}

.skill-category h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--dark-bg);
  padding-bottom: 0.8rem;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.skill-category h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: 3px;
}

.skill-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.skill-list li {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.skill-list li:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: white;
}

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

.skill-category:nth-child(1) .skill-list li:hover {
  background-color: #3498db;
}

.skill-category:nth-child(2) .skill-list li:hover {
  background-color: #e74c3c;
}

.skill-category:nth-child(3) .skill-list li:hover {
  background-color: #2ecc71;
}

.skill-category:nth-child(4) .skill-list li:hover {
  background-color: #9b59b6;
}

/* Experience Section */
.experience-carousel {
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  background: rgba(10, 26, 10, 0.95);
  border-radius: 18px;
  box-shadow: 0 0 32px #00ff4160;
  overflow: hidden;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  padding: 3rem 0 1rem;
  background: transparent;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.carousel-track::before {
  content: '';
  position: absolute;
  top: 30px;
  right: 5%;
  left: 5%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
  z-index: 1;
}

.carousel-slide {
  min-width: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: relative;
  background: linear-gradient(90deg, #101c14 60%, #0a1a0a 100%);
  box-shadow: 0 0 24px #00ff4130;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 4px solid white;
  top: 21px;
  right: 50%;
  transform: translateX(50%);
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
  z-index: 2;
}

.experience-card {
  background: rgba(10, 26, 10, 0.98);
  border-radius: 12px;
  box-shadow: 0 0 32px #00ff4140;
  padding: 2rem;
  margin: 2.5rem 1rem 0;
  position: relative;
  border-top: 4px solid #00ff41;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: calc(100% - 2.5rem);
  color: #00ff41;
  border: 1.5px solid #00ff41;
  font-family: 'Roboto Mono', monospace;
  text-shadow: 0 0 8px #00ff41cc, 0 0 2px #00ff41cc;
}

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

.card-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #00ff41;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px #00ff41cc);
  right: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.experience-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
  padding-right: 110px; /* Make space for the date */
  margin-top: 1rem;
}

.experience-card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.experience-card .date {
  font-size: 0.95rem;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background-color: var(--gray-light);
  border-radius: 20px;
  position: absolute;
  top: 20px;
  right: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border-left: 3px solid var(--accent-color);
}

.card-details p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.experience-highlights {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

.experience-highlights li {
  margin-bottom: 0.7rem;
  position: relative;
  line-height: 1.5;
}

.experience-highlights li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.carousel-button {
  background: linear-gradient(90deg, #00ff41 60%, #008f2a 100%);
  color: #101c14;
  border: none;
  padding: 0.7rem 1.3rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 120px;
  justify-content: center;
  box-shadow: 0 0 12px #00ff41cc;
}

.carousel-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
  z-index: -1;
}

.carousel-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-button:hover::before {
  width: 100%;
}

.carousel-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.carousel-button:disabled::before {
  display: none;
}

.carousel-indicators {
  display: flex;
  gap: 0.8rem;
  margin: 0 1rem;
}

.carousel-indicators .indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.carousel-indicators .indicator::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.carousel-indicators .indicator:hover {
  background-color: #bbb;
}

.carousel-indicators .indicator.active {
  background-color: #00ff41;
  box-shadow: 0 0 8px #00ff41cc;
  transform: scale(1.1);
}

.carousel-indicators .indicator.active::after {
  border-color: var(--primary-color);
}

/* Chat Section */
.chat-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.chat-messages {
  height: 400px;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.message {
  margin-bottom: 1.5rem;
  max-width: 80%;
}

.message.user {
  align-self: flex-end;
}

.message.bot {
  align-self: flex-start;
}

.message-content {
  padding: 1rem;
  border-radius: 8px;
  background-color: var(--gray-light);
}

.message.user .message-content {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.chat-input {
  display: flex;
  border-top: 1px solid var(--gray-medium);
  padding: 1rem;
}

.chat-input input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid var(--gray-medium);
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}

.chat-input button {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.chat-input button:hover {
  background-color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 3rem 2rem;
  margin-top: auto;
}

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

.contact-info h3,
.social-links h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.contact-info h3::after,
.social-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.contact-info a,
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 0.8rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-info a:hover,
.social-links a:hover {
  transform: translateX(4px);
  color: var(--accent-color);
}

.copyright {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-medium);
}

/* Responsive styles */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 1rem;
  }
  
  nav ul li {
    margin: 0 0.8rem;
  }
  
  .hero {
    height: 400px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .quick-prompt {
    flex: 1 1 100%;
  }

  .availability-grid {
    grid-template-columns: 1fr;
  }

  .availability-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tech-icon-grid span {
    font-size: 0.95rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .carousel-track::before {
    left: 0;
    right: 0;
  }
  
  .experience-card {
    padding: 1.5rem;
    margin: 2.5rem 0.5rem 0;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    right: 10px;
    top: -25px;
  }
  
  .experience-card h3 {
    font-size: 1.2rem;
    padding-right: 0;
    margin-top: 2rem;
  }
  
  .experience-card h4 {
    font-size: 1rem;
  }
  
  .experience-card .date {
    top: auto;
    right: auto;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
  }
  
  .carousel-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .experience-highlights li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
