



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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
}

/* ================= NAV ================= */
.nav {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
}

.nav-links a:hover {
  color: #0d9488;
}

/* ================= HERO ================= */
.hero {
  background: #f1f5f9;           /* ← Changed to light grey */
  color: #0f172a;
  padding: 60px 24px;            /* ← Reduced padding = shorter section */
}

.hero-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;  /* Text takes more space, image on right */
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #0f172a;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #334155;
}

/* Hero buttons container */
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;               /* space between buttons */
  margin-top: 24px;        /* space above the buttons */
}

/* The buttons themselves */
.hero-links a {
  display: inline-block;
  padding: 12px 28px;      /* vertical + horizontal padding */
  background-color: #1d4ed8;   /* nice blue color */
  color: white !important;     /* <--- WHITE TEXT - this is the most important line */
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 10px;         /* rounded corners */
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.18);
}

/* Hover effect */
.hero-links a:hover {
  background-color: #1d4ed8;   /* darker blue when hovering */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Optional: when button is clicked */
.hero-links a:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}

.hero img {
  width: 260px;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #e2e8f0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* ================= SECTIONS ================= */
section {
  max-width: 1200px;
  margin: auto;
  padding: 55px 20px;
}

section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: #0f172a;
}

/* ================= CARDS ================= */
.card {
  background: #ffffff;
  padding: 22px 24px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.role {
  color: #475569;
  font-weight: 500;
  margin-bottom: 10px;
}

.card ul {
  padding-left: 18px;
}

.card ul li {
  margin-bottom: 6px;
}

/* ================= SKILLS ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.skill {
  background: linear-gradient(135deg, #f1f5f9, #ffffff);
  border-left: 5px solid #0d9488;
  padding: 18px;
  border-radius: 12px;
  font-weight: 600;
}

/* ================= PROJECT LINKS ================= */
.card a {
  display: inline-block;
  margin-top: 8px;
  color: #0d9488;
  font-weight: 600;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* ================= IMAGE GRIDS ================= */
.image-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.image-grid img,
.media-grid img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  background: #ffffff;
}

.media-card video {
  display: block;
  width: 100%;
  border-radius: 14px;
  max-height: 420px;
}

.image-placeholder {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e5e7eb, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ================= ACHIEVEMENTS ================= */
#achievements ul li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* ================= LEADERSHIP ================= */
#leadership ul li {
  margin-bottom: 8px;
}

/* ================= CONTACT ================= */
#contact p {
  margin-bottom: 10px;
}

#contact a {
  color: #0d9488;
  font-weight: 600;
}

/* ================= TECH TAGS ================= */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.tech-tag {
  display: inline-block;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* ================= CTA BUTTON ================= */
.cta-button {
  background: linear-gradient(135deg, #0d9488, #06b6d4) !important;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

.cta-button:hover {
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4) !important;
  transform: translateY(-3px) !important;
}

/* ================= ABOUT SECTION ================= */
#about .card {
  border-left: 5px solid #0d9488;
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

#about .card p {
  margin-bottom: 12px;
}

/* ================= ENHANCED CARDS ================= */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

/* ================= FOOTER ================= */
footer {
  background: #0f172a;
  color: #ffffff;
  text-align: center;
  padding: 18px;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero img {
    margin: 20px auto 0;
  }

  .hero {
    padding: 50px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}

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

  .hero-links a {
    width: 100%;
    text-align: center;
  }
}

.hero-links a {
    background-color: #2563eb !important;
    color: white !important;
}
