/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  background: linear-gradient(145deg, #111, #1a1a1a);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin: 2rem auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 159, 0, 0.1));
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 60%;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #ff9f00, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideIn 1s ease-out;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: #e6e6e6;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  width: 280px;
  height: 280px;
  margin-left: 2rem;
  flex-shrink: 0;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff9f00, #ff6b6b);
  z-index: 0;
  animation: rotate 10s linear infinite;
}

.hero-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  position: relative;
  z-index: 1;
  animation: fadeIn 1.5s ease-in-out;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 100%;
  overflow-x: auto;
}

.stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
  text-align: center;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat .number {
  font-size: 2rem;
  font-weight: bold;
  color: #ff9f00;
  display: block;
  margin-bottom: 0.5rem;
}

.stat .label {
  font-size: 0.9rem;
  color: #ccc;
}

/* ===== ANALYTICS CTA STRIP ===== */
.impact-strip {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 159, 0, 0.12);
  border-radius: 20px;
  text-align: center;
}

.impact-tagline {
  color: #ccc;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.impact-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #ff9f00, #ff6b6b);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 159, 0, 0.3);
}

.impact-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 159, 0, 0.5);
}

body.light-mode .impact-strip {
  background: #fff;
  border-color: #eee;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body.light-mode .impact-tagline {
  color: #666;
}

/* ===== HOME SQL TERMINAL SECTION ===== */
.home-sql-section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 3rem 2rem;
  text-align: center;
}

.home-sql-section h2 {
  background: linear-gradient(135deg, #ff9f00, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.home-sql-section .section-subtitle {
  text-align: center;
  color: #999;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.home-sql-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.sql-terminal {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #2d2d2d;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.terminal-title {
  font-size: 0.8rem;
  color: #999;
  font-family: 'Courier New', Courier, monospace;
}

.terminal-body {
  background: #1a1a2e;
  padding: 1.5rem;
  min-height: 250px;
  max-height: 400px;
  overflow-y: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  scrollbar-width: thin;
  scrollbar-color: #ff9f00 rgba(255, 255, 255, 0.05);
}

.terminal-body::-webkit-scrollbar {
  width: 6px;
}

.terminal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.terminal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff9f00, #ff6b6b);
  border-radius: 3px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffb733, #ff8585);
}

.terminal-output {
  margin-bottom: 1rem;
}

.terminal-line {
  color: #b8b8b8;
  padding: 2px 0;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.5;
}

.terminal-line.command { color: #ff9f00; }
.terminal-line.error { color: #ff6b6b; }
.terminal-line.success { color: #4caf50; }
.terminal-line.info { color: #64b5f6; }

.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-prompt {
  color: #ff9f00;
  font-weight: 700;
  white-space: nowrap;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #e6e6e6;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  outline: none;
  caret-color: #ff9f00;
}

.terminal-input::placeholder { color: #555; }

.terminal-table {
  color: #b8b8b8;
  white-space: pre;
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.4;
  overflow-x: auto;
  display: block;
}

.sql-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.sql-chip {
  padding: 8px 16px;
  background: rgba(255, 159, 0, 0.08);
  border: 1px solid rgba(255, 159, 0, 0.2);
  border-radius: 20px;
  color: #ff9f00;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.sql-chip:hover {
  background: #ff9f00;
  color: #fff;
  transform: translateY(-2px);
}

body.light-mode .sql-terminal {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-mode .home-sql-section .section-subtitle {
  color: #777;
}

@media (max-width: 768px) {
  .home-sql-section {
    padding: 2rem 1rem;
  }

  .terminal-body {
    font-size: 0.8rem;
    padding: 1rem;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .sql-chips {
    gap: 0.4rem;
  }

  .sql-chip {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .terminal-body {
    font-size: 0.78rem;
  }
}

/* Dashboard Section */
.dashboard {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 1200px;
}

/* Gradient Text for Section Headings */
.dashboard h2,
.skills h2,
.certifications h2,
.projects h2,
.github-activity h2,
.testimonials > h2,
.contact-home > h2 {
  background: linear-gradient(135deg, #ff9f00, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 159, 0, 0.15));
}

.dashboard h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.dashboard-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.dashboard-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 159, 0, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  max-width: 350px;
  display: flex;
  flex-direction: column;
}

.dashboard-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 159, 0, 0.15);
  border-color: rgba(255, 159, 0, 0.3);
}

.dashboard-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dashboard-item:hover img {
  transform: scale(1.08);
}

.dashboard-content {
  padding: 1rem;
  flex-grow: 1;
}

.dashboard-content h3 {
  color: #ff9f00;
  margin-bottom: 1rem;
}

.dashboard-content p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.dashboard-link {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ff9f00;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
  margin: 0;
  white-space: nowrap;
}

.dashboard-link:hover {
  background: #28a745;
}

.dashboard-links {
  display: flex;
  flex-direction: row;
  gap: 5px;
  margin: 0.5rem 0 1rem 0;
  flex-wrap: wrap;
}

/* Skills Section */
.skills {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skills h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Floating Tag Cloud */
.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 1rem 0;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: rgba(255, 159, 0, 0.06);
  border: 1px solid rgba(255, 159, 0, 0.18);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e6e6e6;
  cursor: default;
  position: relative;
  animation: floatBob 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.25s);
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.skill-pill i {
  font-size: 1.15rem;
  color: #ff9f00;
  transition: transform 0.3s ease;
}

.skill-pill:hover {
  animation-play-state: paused;
  background: rgba(255, 159, 0, 0.18);
  border-color: #ff9f00;
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 8px 25px rgba(255, 159, 0, 0.3), 0 0 15px rgba(255, 159, 0, 0.1);
  color: #fff;
}

.skill-pill:hover i {
  transform: scale(1.2);
}

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

/* Certifications Section */
.certifications {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 900px;
}

.certifications h2 {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 2rem;
}

.cert-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cert-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cert-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 159, 0, 0.1), transparent);
  pointer-events: none;
  transition: left 0.6s ease;
}

.cert-card:hover::after {
  left: 120%;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 159, 0, 0.2);
  background: rgba(255, 159, 0, 0.1);
}

.cert-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 159, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon i {
  font-size: 1.8rem;
  color: #ff9f00;
}

.cert-content {
  flex: 1;
}

.cert-content h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  color: #ff9f00;
}

.cert-issuer {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.cert-date {
  font-size: 0.8rem;
  opacity: 0.6;
}

.cert-actions {
  display: flex;
  gap: 1rem;
}

.view-cert,
.download-cert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.cert-actions i {
  font-size: 1rem;
}

.view-cert:hover,
.download-cert:hover {
  background: #ff9f00;
  color: white;
}

/* Featured Projects on Home */
.projects {
  padding: 2rem;
  max-width: 100%;
  overflow-x: hidden;
}

.projects h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.projects .project-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.projects .project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 1rem;
}

.projects .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.projects .project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.projects .project-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.projects .project-content h3 {
  color: #ff9f00;
  margin-bottom: 1rem;
}

.projects .project-content p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.projects .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.projects .project-tags span {
  background: rgba(255, 159, 0, 0.1);
  color: #ff9f00;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

.projects .project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ff9f00;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
  margin: 0 1rem 1rem 1rem;
}

.projects .project-link:hover {
  background: #28a745;
}

/* Typewriter */
.typewriter-line {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #e6e6e6;
  margin-bottom: 1.5rem;
}

.typewriter-text {
  color: #ff9f00;
  font-weight: 700;
  border-right: 3px solid #ff9f00;
  padding-right: 2px;
  animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
  50% { border-color: transparent; }
}

body.light-mode .typewriter-line {
  color: #555;
}

/* Particle Canvas */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== TESTIMONIALS - GRID LAYOUT ===== */
.testimonials {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1100px;
  margin: 2rem auto;
}

.testimonials > h2 {
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
  font-weight: 800;
}

.testimonials > p.section-subtitle {
  color: #999;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  border-radius: 20px;
  box-sizing: border-box;
  position: relative;
  border: 1px solid rgba(255, 159, 0, 0.12);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 159, 0, 0.12);
}

.testimonial-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff9f00, #ff6b6b, #ff9f00);
  background-size: 200% 100%;
  animation: glowSlide 3s ease-in-out infinite;
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.8rem 2rem 0;
}

.reviewer-avatar-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9f00, #ff6b6b);
  padding: 3px;
  flex-shrink: 0;
}

.reviewer-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9f00;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
}

.reviewer-meta {
  flex: 1;
  text-align: left;
}

.reviewer-meta h4 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 2px;
  font-weight: 700;
}

.reviewer-meta > span {
  color: #aaa;
  font-size: 0.82rem;
  display: block;
}

.reviewer-org {
  color: #888 !important;
  font-size: 0.78rem !important;
  margin-top: 2px;
}

.reviewer-org i {
  color: #ff9f00;
  margin-right: 4px;
  font-size: 0.7rem;
}

.reviewer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.25);
  border-radius: 20px;
  font-size: 0.7rem;
  color: #28a745;
  font-weight: 700;
  white-space: nowrap;
  align-self: flex-start;
}

.testimonial-stars {
  padding: 1rem 2rem 0;
  text-align: left;
}

.testimonial-stars i {
  color: #ff9f00;
  font-size: 0.85rem;
  margin-right: 2px;
}

.testimonial-body {
  padding: 0.5rem 2rem 2rem;
  position: relative;
}

.testimonial-body .quote-icon {
  font-size: 1.8rem;
  color: rgba(255, 159, 0, 0.15);
  margin-bottom: 0.3rem;
  display: block;
}

.testimonial-body p {
  font-style: italic;
  color: #ccc;
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}


/* ===== CONTACT SECTION - CENTERED FORM ===== */
.contact-home {
  max-width: 700px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  text-align: center;
}

.contact-home > h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  color: #999;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 159, 0, 0.12);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: #ff9f00;
  font-size: 0.95rem;
  z-index: 1;
  pointer-events: none;
}

.input-icon.textarea-icon {
  top: 16px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #e6e6e6;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  font-family: inherit;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
  border-color: #ff9f00;
  background: rgba(255, 159, 0, 0.05);
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
  color: #666;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #ff9f00, #ff6b6b);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 159, 0, 0.3);
  align-self: center;
}

.contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 159, 0, 0.5);
}

.contact-submit i {
  transition: transform 0.3s;
}

.contact-submit:hover i {
  transform: translateX(4px);
}

/* Dark Mode - Home */
body.dark-mode .project-card {
  background-color: #2d2d2d;
}

body.dark-mode .project-card p {
  color: #dcdcdc;
}

body.dark-mode .dashboard-item {
  background: #222;
}

body.dark-mode .dashboard-item h3 {
  color: #fff;
}

body.dark-mode .dashboard-item p {
  color: #dcdcdc;
}

body.dark-mode .testimonial-card p {
  color: #dcdcdc;
}

/* Light Mode - Home */
body.light-mode .hero {
  background: linear-gradient(145deg, #f8f9fa, #fff);
  color: #333;
}

body.light-mode .hero-content p {
  color: #666;
}

body.light-mode .stat {
  background: rgba(0, 0, 0, 0.05);
}

body.light-mode .stat .label {
  color: #666;
}

body.light-mode .skills {
  background: rgba(0, 0, 0, 0.03);
}

body.light-mode .skill-pill {
  background: rgba(255, 159, 0, 0.05);
  border-color: rgba(255, 159, 0, 0.15);
  color: #444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-mode .skill-pill:hover {
  background: rgba(255, 159, 0, 0.12);
  color: #222;
  box-shadow: 0 8px 25px rgba(255, 159, 0, 0.2);
}

body.light-mode .project-card {
  background-color: #fff;
  color: #333;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body.light-mode .project-card p {
  color: #666;
}

body.light-mode .project-link {
  background-color: #007bff;
}

body.light-mode .project-link:hover {
  background-color: #0056b3;
}

body.light-mode .dashboard-item {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #eaeaea;
}

body.light-mode .dashboard-item:hover {
  border-color: rgba(255, 159, 0, 0.3);
  box-shadow: 0 15px 40px rgba(255, 159, 0, 0.1);
}

body.light-mode .dashboard-item h3 {
  color: #333;
  font-weight: 600;
}

body.light-mode .dashboard-item p {
  color: #555;
}

body.light-mode .cert-card {
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body.light-mode .cert-card:hover {
  background: rgba(255, 159, 0, 0.05);
}

/* Light Mode - Testimonials */
body.light-mode .testimonial-card {
  background: #fff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  border-color: #e8e8e8;
}

body.light-mode .reviewer-avatar {
  background: #fff;
}

body.light-mode .reviewer-meta h4 {
  color: #222;
}

body.light-mode .testimonial-body p {
  color: #555;
}

body.light-mode .testimonials > p.section-subtitle {
  color: #777;
}

/* Light Mode - Contact */
body.light-mode .contact-form-wrapper {
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: #e8e8e8;
}

body.light-mode .contact-subtitle {
  color: #777;
}

body.light-mode .contact-form-wrapper input,
body.light-mode .contact-form-wrapper textarea {
  background: #f5f5f5;
  border-color: #e0e0e0;
  color: #333;
}

body.light-mode .contact-form-wrapper input:focus,
body.light-mode .contact-form-wrapper textarea:focus {
  border-color: #ff9f00;
  background: rgba(255, 159, 0, 0.03);
}

body.light-mode .contact-form-wrapper input::placeholder,
body.light-mode .contact-form-wrapper textarea::placeholder {
  color: #999;
}

/* GitHub Activity Heatmap Embed */
.github-activity {
  padding: 3rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 2rem auto;
}

.github-activity h2 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.github-activity .section-subtitle {
  color: #999;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.github-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.github-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 159, 0, 0.1);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 140px;
}

.github-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 159, 0, 0.15);
}

.github-stat-card i {
  font-size: 1.8rem;
  color: #ff9f00;
  margin-bottom: 0.75rem;
  display: block;
}

.github-stat-card .gh-number {
  font-size: 2rem;
  font-weight: 700;
  color: #ff9f00;
  display: block;
}

.github-stat-card .gh-label {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.25rem;
  display: block;
}

body.light-mode .github-stat-card {
  background: #fff;
  border-color: #eee;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.github-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2rem;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  border: 2px solid #ff9f00;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.github-profile-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff9f00, #ff6b6b);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.github-profile-link:hover::before {
  opacity: 1;
}

.github-profile-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 159, 0, 0.35);
  border-color: transparent;
}

.github-profile-link i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.github-profile-link:hover i {
  transform: scale(1.15);
}

body.light-mode .github-profile-link {
  color: #333;
}

body.light-mode .github-profile-link:hover {
  color: #fff;
}

/* Tech Stack Marquee */
.tech-marquee {
  overflow: hidden;
  padding: 1.5rem 0;
  margin: 1rem auto;
  max-width: 1200px;
  position: relative;
}

.tech-marquee::before,
.tech-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee::before {
  left: 0;
  background: linear-gradient(to right, #121212, transparent);
}

.tech-marquee::after {
  right: 0;
  background: linear-gradient(to left, #121212, transparent);
}

body.light-mode .tech-marquee::before {
  background: linear-gradient(to right, #f9f9f9, transparent);
}

body.light-mode .tech-marquee::after {
  background: linear-gradient(to left, #f9f9f9, transparent);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ccc;
  white-space: nowrap;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-item i {
  font-size: 1.2rem;
  color: #ff9f00;
}

body.light-mode .tech-item {
  background: #fff;
  color: #333;
  border-color: #eee;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Responsive - Home */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .hero-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .hero-image {
    margin-left: 0;
    width: 220px;
    height: 220px;
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero,
  .dashboard,
  .projects,
  .skills {
    padding: 1rem;
  }

  .project-grid,
  .dashboard-grid {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .project-card,
  .dashboard-item {
    width: 90%;
    max-width: 400px;
  }

  .skill-cloud {
    gap: 10px;
  }

  .skill-pill {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .cert-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .cert-icon {
    margin: 0 auto;
  }

  .cert-actions {
    justify-content: center;
  }

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

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .testimonial-header {
    flex-wrap: wrap;
    padding: 1.2rem 1.2rem 0;
  }

  .testimonial-body {
    padding: 0.5rem 1.2rem 1.5rem;
  }

  .testimonial-stars {
    padding: 0.8rem 1.2rem 0;
  }

  .reviewer-badge {
    margin-top: 6px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat {
    width: 100%;
    max-width: 200px;
  }

  .dashboard h2,
  .skills h2,
  .certifications h2,
  .projects h2,
  .github-activity h2 {
    font-size: 1.5rem;
  }

  .testimonials > h2,
  .contact-home > h2 {
    font-size: 1.6rem;
  }

  .dashboard {
    padding: 2rem 1rem;
  }

  .dashboard h2 {
    margin-bottom: 1.5rem;
  }

  .certifications {
    padding: 2rem 1rem;
  }

  .certifications h2 {
    margin-bottom: 1.5rem;
  }

  .github-stat-card {
    padding: 1rem 1.5rem;
    min-width: 110px;
  }

  .github-profile-link {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .cert-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .view-cert,
  .download-cert {
    justify-content: center;
    min-height: 44px;
  }
}

/* ====== OPEN TO WORK BANNER ====== */
.open-to-work-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #ff9f00, #ff6b6b);
  padding: 8px 20px;
  text-align: center;
}

.otw-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.otw-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  animation: otw-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes otw-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
}

.otw-text {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.otw-cta {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.3s;
}

.otw-cta:hover {
  background: rgba(255, 255, 255, 0.35);
}

.otw-close {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 8px;
  line-height: 1;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
  flex-shrink: 0;
  margin-left: 4px;
}

.otw-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Push body content down to account for fixed banner */
body {
  padding-top: 40px;
}

body.light-mode .open-to-work-banner {
  background: linear-gradient(135deg, #ff9f00, #ff6b6b);
}
