/* ---------- GLOBAL ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f7f7;
  color: #1f1f1f;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- NAVIGATION ---------- */

header {
  background: #111827;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: auto;
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  font-size: 1.4rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav a {
  color: white;
  font-weight: 500;
}

nav a:hover {
  opacity: 0.7;
}

/* ---------- HERO ---------- */

.hero {
  min-height: 85vh;
  max-width: 1200px;
  margin: auto;
  padding: 90px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  max-width: 650px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #555;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero img {
  width: 320px;
  border-radius: 16px;
}

/* ---------- BUTTONS ---------- */

.button,
.btn {
  display: inline-block;
  background: #111827;
  color: white;
  padding: 12px 22px;
  border-radius: 7px;
  margin-right: 10px;
  font-weight: 600;
  transition: 0.2s;
}

.button:hover,
.btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* ---------- SECTIONS ---------- */

section {
  padding: 80px 30px;
}

section:nth-of-type(even) {
  background: white;
}

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

section h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.section-description {
  color: #666;
  margin-bottom: 40px;
}

/* ---------- PROJECTS ---------- */

.projects,
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.project-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 25px;
  transition: 0.25s;
}

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

.project-card h3 {
  margin-bottom: 10px;
}

.project-card p {
  color: #555;
  margin-bottom: 15px;
}

/* ---------- EXPERIENCE ---------- */

.experience-item {
  margin-bottom: 35px;
}

.experience-item h3 {
  font-size: 1.4rem;
}

.experience-item h4 {
  color: #555;
  margin-bottom: 10px;
}

.experience-item ul {
  padding-left: 20px;
}

/* ---------- SKILLS ---------- */

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills span {
  background: #e5e7eb;
  padding: 9px 15px;
  border-radius: 20px;
  font-size: 0.95rem;
}

/* ---------- CONTACT ---------- */

.contact {
  text-align: center;
}

.contact p {
  margin-bottom: 25px;
}

/* ---------- FOOTER ---------- */

footer {
  background: #111827;
  color: white;
  text-align: center;
  padding: 25px;
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 60px;
  }

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

  .hero img {
    width: 230px;
  }
}
/* ---------- Tracker Project Page ---------- */

.navbar {
    margin-bottom: 60px;
}

.navbar a {
    font-size: 16px;
    font-weight: 600;
}

.project-header {
    margin-bottom: 70px;
}

.project-label {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #1e3a8a;
}

.project-header h1 {
    font-size: 52px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.project-intro {
    font-size: 20px;
    max-width: 800px;
    color: #4b5563;
}

.tech-tags {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags span {
    background: #e5e7eb;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.project-section {
    margin-bottom: 80px;
}

.project-section h2 {
    font-size: 32px;
    color: #111827;
    margin-bottom: 15px;
}

.project-section h3 {
    margin-top: 30px;
}

.project-image {
    width: 100%;
    max-width: 850px;
    border-radius: 12px;
    margin: 25px 0;
}

.project-video {
    width: 100%;
    max-width: 850px;
    border-radius: 12px;
    margin-top: 25px;
}

.system-flow {
    max-width: 500px;
    margin: 35px auto;
    text-align: center;
}

.system-flow div {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 15px;
    font-weight: 600;
}

.system-flow span {
    display: block;
    font-size: 25px;
    margin: 8px 0;
}

.results-box {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px 30px;
    max-width: 850px;
    margin-bottom: 25px;
}

.button {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 12px 22px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 600;
}

.button:hover {
    text-decoration: none;
    opacity: 0.9;
}

footer {
    border-top: 1px solid #d1d5db;
    margin-top: 80px;
    padding-top: 25px;
    color: #6b7280;
}
/* =========================================
   AI TRACKER PROJECT PAGE
   ========================================= */

.navbar {
  margin-bottom: 60px;
}

.navbar a {
  font-size: 16px;
  font-weight: 600;
}


/* PROJECT HEADER */

.project-header {
  margin-bottom: 70px;
}

.project-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.project-header h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 18px;
}

.project-intro {
  font-size: 20px;
  max-width: 800px;
  color: #4b5563;
}


/* TECHNOLOGY TAGS */

.tech-tags {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tags span {
  background: #e5e7eb;
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}


/* PROJECT SECTIONS */

.project-section {
  margin-bottom: 80px;
}

.project-section h2 {
  font-size: 32px;
  color: #111827;
  margin-bottom: 15px;
}

.project-section h3 {
  margin-top: 30px;
}

.project-section p {
  max-width: 850px;
}


/* PROJECT IMAGES */

.project-image {
  display: block;
  width: 100%;
  max-width: 850px;
  height: auto;
  border-radius: 12px;
  margin: 25px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


/* DEMO VIDEO */

.project-video {
  display: block;
  width: 100%;
  max-width: 850px;
  height: auto;
  border-radius: 12px;
  margin-top: 25px;
  background: #000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}


/* SYSTEM FLOW DIAGRAM */

.system-flow {
  max-width: 500px;
  margin: 35px 0;
  text-align: center;
}

.system-flow div {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 15px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.system-flow span {
  display: block;
  font-size: 25px;
  margin: 8px 0;
}


/* RESULTS */

.results-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 30px;
  max-width: 850px;
  margin: 20px 0 25px;
}

.results-box h3 {
  margin-top: 0;
}

.results-box li {
  margin-bottom: 10px;
}


/* DOWNLOAD BUTTON */

.button {
  display: inline-block;
  background: #1e3a8a;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.button:hover {
  text-decoration: none;
  opacity: 0.9;
  transform: translateY(-1px);
}


/* PROJECT FOOTER */

footer {
  border-top: 1px solid #d1d5db;
  margin-top: 80px;
  padding-top: 25px;
  color: #6b7280;
}


/* MOBILE PROJECT PAGE */

@media (max-width: 700px) {

  .project-header h1 {
    font-size: 38px;
  }

  .project-intro {
    font-size: 18px;
  }

  .project-section h2 {
    font-size: 27px;
  }

  .project-section {
    margin-bottom: 60px;
  }

}
/* ========================================= */
/* NOV PROJECT IMAGE GRID */
/* ========================================= */

.nov-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.nov-image-grid .project-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    margin-bottom: 8px;
}

.image-caption {
    margin-top: 8px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.65;
}

@media (max-width: 768px) {

    .nov-image-grid {
        grid-template-columns: 1fr;
    }

    .nov-image-grid .project-image {
        height: auto;
    }

}
