
:root {
  --navy-primary: #0a192f;
  --navy-light: #172a45;
  --white: #ffffff;
  --black: #020c1b;
  --text-slate: #495670;
  --navy-glow: rgba(10, 25, 47, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--white);
  color: var(--navy-primary);
  line-height: 1.6;
}

/* ===================== NAVIGATION ===================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(10, 25, 47, 0.05);
}

#nav-tabs {
  display: flex;
  gap: 25px;
}

#nav-tabs a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-primary);
  transition: var(--transition);
  position: relative;
}

#nav-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy-primary);
}

/* ===================== HERO SECTION ===================== */
#projects-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 10% 60px;
  background: radial-gradient(circle at top right, #f8faff 0%, #ffffff 100%);
}

.hero-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--navy-primary);
}

#projects-hero p {
  font-size: 1.15rem;
  color: var(--text-slate);
  max-width: 700px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* ===================== BUTTONS ===================== */
.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-navy {
  background: var(--navy-primary);
  color: var(--white);
  box-shadow: 0 4px 15px var(--navy-glow);
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===================== PROJECTS GRID ===================== */
#projects-list {
  padding: 80px 10%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.project-card {
  background: var(--navy-primary);
  color: var(--white);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Static Hover: Only Glow and Border Change */
.project-card:hover {
  box-shadow: 0 0 35px var(--navy-glow), 0 0 15px rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
  opacity: 0.9;
}

.project-card:hover img {
  opacity: 1;
}

.project-card h3 {
  font-size: 1.4rem;
  padding: 25px 25px 10px;
  font-weight: 700;
}

.project-card p {
  padding: 0 25px 30px;
  font-size: 0.95rem;
  opacity: 0.8;
  flex-grow: 1;
}

/* ===================== CTA SECTION ===================== */
#projects-contact {
  padding: 100px 10%;
  display: flex;
  justify-content: center;
}

.contact-card {
  background: var(--navy-primary);
  color: var(--white);
  padding: 80px 40px;
  border-radius: 40px;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

#projects-contact h2 { font-size: 2.5rem; margin-bottom: 20px; }
#projects-contact p { margin-bottom: 40px; opacity: 0.85; }

/* ===================== FOOTER ===================== */
footer {
  padding: 40px 10%;
  text-align: center;
  border-top: 1px solid #eee;
  color: var(--text-slate);
  font-size: 0.9rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  #nav-tabs { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; width: 100%; }
}