* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: #333;
}

.macbook-container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  perspective: 2000px;
  animation: floatIn 1s ease-out;
  position: relative;
  max-height: 95vh;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.macbook-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #1a1a1a;
  border-radius: 12px 12px 0 0;
  border: 14px solid #1a1a1a;
  border-bottom: 0;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.4),
    inset 0 0 0 2px rgba(255,255,255,0.1);
  overflow: hidden;
  transform: rotateX(2deg);
  transition: transform 0.5s ease;
  max-height: calc(100vh - 80px);
}

.macbook-screen:hover {
  transform: rotateX(0deg);
}

.macbook-camera {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #333, #000);
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
}

.screen-content {
  width: 100%;
  height: 100%;
  background: #f5f5f7;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.screen-content::-webkit-scrollbar {
  width: 10px;
}

.screen-content::-webkit-scrollbar-track {
  background: #e8e8e8;
}

.screen-content::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 5px;
}

.screen-content::-webkit-scrollbar-thumb:hover {
  background: #666;
}

.macbook-base {
  width: 100%;
  height: 25px;
  background: linear-gradient(to bottom, #c8c8c8, #a8a8a8);
  border-radius: 0 0 12px 12px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.macbook-base::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(to bottom, #888, #666);
  border-radius: 2px;
}

.macbook-notch {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 6px;
  background: linear-gradient(to bottom, #a8a8a8, #888);
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

header {
  background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
  border-bottom: 1px solid #d0d0d0;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  position: relative;
}

.browser-controls {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dot:hover {
  opacity: 0.7;
}

.dot.red {
  background: #ff5f56;
  border: 1px solid #e0443e;
}

.dot.yellow {
  background: #ffbd2e;
  border: 1px solid #dea123;
}

.dot.green {
  background: #27c93f;
  border: 1px solid #1dad2b;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #667eea;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #667eea;
}

.nav-links a:hover::after {
  width: 100%;
}

.intro-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.intro-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.terminal-window {
  max-width: 1000px;
  width: 100%;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: terminalSlideIn 0.5s ease-out 0.3s both;
}

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

.terminal-header {
  background: #2d2d2d;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #3d3d3d;
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.terminal-title {
  color: #999;
  font-size: 0.85rem;
  flex: 1;
  text-align: center;
}

.terminal-body {
  padding: 1.5rem;
  color: #0f0;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.terminal-line {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.prompt {
  color: #4af;
  font-weight: bold;
}

.command {
  color: #f92672;
}

.typing-animation {
  overflow: hidden;
  border-right: 2px solid #0f0;
  white-space: nowrap;
  animation: typing 2s steps(20) 0.5s both, blink 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #0f0;
  }
}

.terminal-output {
  margin: 0.5rem 0 1rem 1.5rem;
  color: #ccc;
}

.output-line {
  margin: 0.25rem 0;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.skill-tag {
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: fadeInUp 0.5s ease-out both;
  cursor: pointer;
  transition: transform 0.2s;
}

.skill-tag:hover {
  transform: translateY(-3px) scale(1.05);
}

.skill-tag[data-color="blue"] {
  background: rgba(70, 130, 255, 0.2);
  color: #4682ff;
  border: 2px solid #4682ff;
  animation-delay: 2s;
}

.skill-tag[data-color="green"] {
  background: rgba(76, 209, 55, 0.2);
  color: #4cd137;
  border: 2px solid #4cd137;
  animation-delay: 2.1s;
}

.skill-tag[data-color="purple"] {
  background: rgba(155, 89, 182, 0.2);
  color: #9b59b6;
  border: 2px solid #9b59b6;
  animation-delay: 2.2s;
}

.skill-tag[data-color="orange"] {
  background: rgba(255, 153, 51, 0.2);
  color: #ff9933;
  border: 2px solid #ff9933;
  animation-delay: 2.3s;
}

.skill-tag[data-color="pink"] {
  background: rgba(255, 118, 117, 0.2);
  color: #ff7675;
  border: 2px solid #ff7675;
  animation-delay: 2.4s;
}

.skill-tag[data-color="cyan"] {
  background: rgba(0, 184, 212, 0.2);
  color: #00b8d4;
  border: 2px solid #00b8d4;
  animation-delay: 2.5s;
}

.skill-tag[data-color="yellow"] {
  background: rgba(253, 203, 110, 0.2);
  color: #fdcb6e;
  border: 2px solid #fdcb6e;
  animation-delay: 2.6s;
}

.skill-tag[data-color="red"] {
  background: rgba(235, 77, 75, 0.2);
  color: #eb4d4b;
  border: 2px solid #eb4d4b;
  animation-delay: 2.7s;
}

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

.cursor-blink {
  animation: cursorBlink 1s infinite;
  color: #0f0;
}

@keyframes cursorBlink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.interactive-line {
  margin-top: 1rem;
  animation: fadeIn 1s ease-in 3s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

section h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  position: relative;
  color: #333;
}

section h3::after {
  content: "";
  display: block;
  margin: 0.75rem auto;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #667eea, #764ba2);
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  align-items: start;
}

.right-side-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

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

.profile-pic {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: block;
  border: 5px solid #f0f0f0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.profile-info h4 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.profile-role {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #f0f0f0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-text {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-text p {
  margin-bottom: 1.25rem;
  color: #555;
  line-height: 1.8;
}

.hackathon-celebration-box {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 1.15rem 1.15rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
  height: fit-content;
}

.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ffeb3b;
  animation: confetti-fall 3s infinite ease-in-out;
}

.confetti:nth-child(1) {
  left: 10%;
  background: #ff4081;
  animation-delay: 0s;
  animation-duration: 2.5s;
}

.confetti:nth-child(2) {
  left: 20%;
  background: #4caf50;
  animation-delay: 0.3s;
  animation-duration: 2.8s;
}

.confetti:nth-child(3) {
  left: 30%;
  background: #2196f3;
  animation-delay: 0.6s;
  animation-duration: 3.2s;
}

.confetti:nth-child(4) {
  left: 40%;
  background: #ff9800;
  animation-delay: 0.9s;
  animation-duration: 2.7s;
}

.confetti:nth-child(5) {
  left: 50%;
  background: #e91e63;
  animation-delay: 1.2s;
  animation-duration: 3.5s;
}

.confetti:nth-child(6) {
  left: 60%;
  background: #9c27b0;
  animation-delay: 1.5s;
  animation-duration: 2.9s;
}

.confetti:nth-child(7) {
  left: 70%;
  background: #00bcd4;
  animation-delay: 1.8s;
  animation-duration: 3.1s;
}

.confetti:nth-child(8) {
  left: 80%;
  background: #8bc34a;
  animation-delay: 2.1s;
  animation-duration: 2.6s;
}

.confetti:nth-child(9) {
  left: 90%;
  background: #ffc107;
  animation-delay: 2.4s;
  animation-duration: 3.3s;
}

.confetti:nth-child(10) {
  left: 85%;
  background: #ff5722;
  animation-delay: 2.7s;
  animation-duration: 2.4s;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(400px) rotate(360deg);
    opacity: 0;
  }
}

.hackathon-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hackathon-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  animation: bounce 2s infinite;
}

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

.hackathon-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hackathon-event {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #ffeb3b;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hackathon-description {
  font-size: 0.85rem;
  opacity: 0.95;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}


#work-experience {
  background: white;
  padding: 3rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  margin: 3rem auto;
}

.work-intro {
  text-align: center;
  max-width: 600px;
  margin: 0.5rem auto 3rem;
  color: #666;
  font-size: 1.1rem;
}

.timeline-container {
  position: relative;
  padding: 2rem 0;
  margin: 0 auto;
  max-width: 1100px;
}

.timeline-container::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #667eea, #764ba2);
  border-radius: 2px;
}

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

.timeline-icon {
  position: absolute;
  left: 15px;
  width: 60px;
  height: 60px;
  background: #fff;
  border: 4px solid #667eea;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.timeline-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.timeline-content-wrapper {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.timeline-content {
  flex: 1;
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

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

.timeline-slideshow {
  flex: 0 0 280px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  background: #e0e0e0;
}

.slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow-image.active {
  opacity: 1;
}

.timeline-date {
  font-size: 0.85rem;
  color: #999;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.timeline-content h4 {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 0.75rem;
}

.timeline-content h4 span {
  color: #667eea;
  font-weight: 600;
}

.timeline-content ul {
  list-style: none;
  margin-top: 1rem;
}

.timeline-content ul li {
  margin-bottom: 0.75rem;
  color: #555;
  padding-left: 1.5rem;
  position: relative;
}

.timeline-content ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

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

.achievement-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  height: 520px;
  display: flex;
  flex-direction: column;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #667eea, #764ba2);
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.achievement-card:hover .achievement-list::-webkit-scrollbar-thumb {
  background: #5a67d8;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.achievement-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

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

.achievement-card h4 {
  text-align: center;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Add scroll indicator */
.achievement-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9));
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-top: 0.5rem;
}

/* Custom scrollbar styling */
.achievement-list::-webkit-scrollbar {
  width: 6px;
}

.achievement-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.achievement-list::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 10px;
}

.achievement-list::-webkit-scrollbar-thumb:hover {
  background: #5a67d8;
}

.achievement-item {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #667eea;
  transition: all 0.3s;
}

.achievement-item:hover {
  background: #f0f2f5;
  transform: translateX(5px);
}

.achievement-name {
  font-weight: 700;
  color: #333;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.achievement-org {
  color: #667eea;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.achievement-item p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.project-carousel {
  position: relative;
  margin-top: 2rem;
  padding: 10px 0;
}

.projects-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.projects-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease-in-out;
}

.projects-track .project-card {
  flex: 0 0 calc((100% - 4rem) / 3); /* shows EXACTLY 3 cards */
}

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

.project-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.8s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.project-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-info {
  padding: 1.5rem;
}

.project-info h4 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: #333;
}

.project-info p {
  color: #666;
  line-height: 1.6;
}



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

.blog-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-8px);
}

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-info {
  padding: 1.5rem;
}

.blog-info h4 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: #333;
}

.blog-info p {
  color: #666;
  line-height: 1.6;
}

#testimonials {
  text-align: center;
  padding: 3rem 1.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.testimonial {
  flex: 0 0 100%;
  background: #f8f9fa;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 2.5rem;
  box-sizing: border-box;
  text-align: left;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.profile {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #667eea;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.testimonial-header h4 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.testimonial-header p {
  color: #667eea;
  font-size: 0.9rem;
}

.testimonial-text-wrapper {
  position: relative;
  min-height: 100px;
}

.testimonial-text {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-text-full {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

.read-more-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(to right, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #667eea;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.3rem;
  color: #667eea;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s;
  z-index: 2;
}

.nav-btn:hover {
  background: #667eea;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.left-btn {
  left: -60px;
}

.right-btn {
  right: -60px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.75rem;
}

.dot {
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
}

.dot.active {
  background: #667eea;
  width: 35px;
  border-radius: 6px;
}

.dot:hover {
  border-color: #667eea;
}

.contact-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: #666;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form button {
  background: linear-gradient(to right, #667eea, #764ba2);
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.contact-form button:disabled {
  background-color: #a0aec0;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
}

.form-status p {
  margin: 0;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 500;
}

footer {
  background: linear-gradient(to bottom, #2d2d2d, #1a1a1a);
  color: #ccc;
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
}

footer p {
  margin-bottom: 0.75rem;
}

footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  margin: 0 0.75rem;
  transition: color 0.2s;
}

footer a:hover {
  color: #764ba2;
}

@media (max-width: 1024px) {
  .left-btn {
    left: 10px;
  }
  .right-btn {
    right: 10px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 1rem 0.5rem;
  }

  .macbook-container {
    transform: scale(0.95);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-content-wrapper {
    flex-direction: column;
  }

  .timeline-slideshow {
    flex: 0 0 220px;
    height: 220px;
  }

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

  .nav-links {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .terminal-window {
    margin: 1rem;
  }

  .testimonial {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .macbook-screen {
    border-width: 8px;
  }

  section h3 {
    font-size: 1.5rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .profile-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }
}
