/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
body {
  line-height: 1.6;
  color: #222;
  background: #0a192f;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* VIDEO BG */
.video-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  overflow: hidden;
}
.video-bg video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.65) blur(1px);
}
.video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(135deg, #0a192f 80%, rgba(39, 62, 117, 0.15) 100%);
  opacity: 0.7;
  mix-blend-mode: multiply;
  z-index: 2;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  color: #fafbff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  box-shadow: 0 4px 16px rgba(10,25,47,0.14);
  z-index: 10;
  font-weight: bold;
}
.logo {
  font-size: 1.5rem;
  color: #64ffda;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links a {
  text-decoration: none;
  color: #fafbff;
  transition: color 0.3s;
  font-weight: 500;
}
.nav-links a:hover {
  color: #64ffda;
}

.section {
  padding: 140px 10% 80px;
  position: relative;
  z-index: 4;
}
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.home h1 {
  font-size: 3.15rem;
  font-weight: bold;
  color: #fff;
}
.home h1 span {
  color: #64ffda;
}
.home h2 {
  font-size: 1.45rem;
  color: #aab3c5;
  margin-bottom: 20px;
}
.home p {
  font-size: 1.18rem;
  color: #d9e3f0;
}

.buttons {
  margin-top: 55px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 14px rgba(100, 255, 218, 0.15);
}
.primary {
  background: #64ffda;
  color: #0a192f;
}
.primary:hover {
  background: #1de9b6;
  color: #0a192f;
  box-shadow: 0 8px 24px #1de9b6;
}
.secondary {
  background: transparent;
  color: #64ffda;
  border: 2px solid #64ffda;
}
.secondary:hover {
  background: #64ffda;
  color: #0a192f;
}

.about-container {
  display: flex;
  gap: 50px;
  align-items: center;
  background: rgba(10,25,47,0.88);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(100,255,218,0.06);
  padding: 40px 30px;
}
.profile-img {
  width: 230px;
  border-radius: 16px;
  box-shadow: 0 2px 18px #64ffda7a;
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.skills li {
  list-style: none;
  background: #232b42;
  color: #64ffda;
  padding: 10px 18px;
  border-radius: 24px;
  font-weight: 500;
  font-size: 1rem;
}

#projects h2 {
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 45px;
}
.project-card {
  background: rgba(22, 28, 43, 0.9);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(100,255,218,0.05);
  padding: 16px 18px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}
.project-image {
  width: 100%;
  height: 170px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #131b2c;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.project-card:hover .project-image img {
  transform: scale(1.08);
}
.project-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 15px 40px #64ffda44;
}
.project-card h3 {
  color: #fff;
}
.project-card p {
  color: #fff;
}
.project-link {
  display: inline-block;
  margin-top: 10px;
  color: #64ffda;
  text-decoration: none;
  font-weight: 600;
}
.tech {
  color: #fff;
  font-size: 0.95rem;
}

.contact {
  text-align: center;
}
.contact-intro {
  margin-top: 15px;
  font-size: 1.16rem;
  color: #aab3c5;
}
.contact-buttons {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.contact-btn {
  display: inline-block;
  padding: 18px 34px;
  font-size: 1.12rem;
  border-radius: 14px;
  text-decoration: none;
  background: #232b42;
  color: #64ffda;
  font-weight: 500;
  min-width: 200px;
  border: none;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.38s cubic-bezier(0.4, 0, 0.2, 1), background 0.27s ease;
  box-shadow: 0 2px 16px #64ffda33;
}
.contact-btn:hover {
  transform: translateY(-8px);
  background: #64ffda;
  color: #232b42;
  box-shadow: 0 10px 25px #64ffda66;
}
.whatsapp {
  background: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.24);
}
.whatsapp:hover {
  background: #1ebe5d;
  color: #fafbff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* SECTION TITLE */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 48px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: #64ffda;
  border-radius: 2px;
  margin-top: 8px;
}

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #64ffda55, transparent);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0a192f;
  border: 2px solid #64ffda;
  box-shadow: 0 0 8px #64ffda88;
}
.timeline-dot.accent {
  background: #64ffda;
  box-shadow: 0 0 12px #64ffdaaa;
}
.timeline-content {
  background: rgba(22, 28, 43, 0.88);
  border-radius: 14px;
  padding: 22px 26px;
  border: 1px solid rgba(100, 255, 218, 0.08);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.timeline-content:hover {
  border-color: rgba(100, 255, 218, 0.28);
  box-shadow: 0 6px 24px rgba(100,255,218,0.07);
}
.timeline-date {
  font-size: 0.85rem;
  color: #64ffda;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 6px;
}
.timeline-content h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.timeline-content h4 {
  color: #aab3c5;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.timeline-content p {
  color: #c8d3e5;
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.timeline-tags span {
  background: #1a2540;
  color: #64ffda;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(100,255,218,0.15);
}

.volunteer-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64ffda;
  background: rgba(100,255,218,0.1);
  border: 1px solid rgba(100,255,218,0.3);
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.timeline-list li {
  color: #c8d3e5;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.timeline-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #64ffda;
  font-size: 0.8rem;
  top: 2px;
}

footer {
  text-align: center;
  padding: 24px 12px;
  background: rgba(15,23,42,0.92);
  margin-top: 40px;
  color: #aab3c5;
  font-size: 1rem;
  border-radius: 10px;
}

/* Animation classes */
.animated {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fade-in {
  opacity: 1 !important;
  transform: none !important;
}
.slide-up {
  opacity: 1 !important;
  transform: none !important;
}
.pop-in {
  opacity: 1 !important;
  transform: none !important;
}

/* Responsive */
@media (max-width: 900px) {
  .about-container { flex-direction: column; text-align: center; }
  .profile-img { margin-bottom: 18px; }
}
@media (max-width: 640px) {
  .navbar { padding: 12px 4%; flex-direction: column; }
  .section { padding: 120px 6% 60px; }
  .home h1 { font-size: 2.2rem; }
  .about-container { padding: 20px 10px; }
}
