@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
}

/* ================= NAVBAR ================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
}

header h1 {
  color: #fff;
  font-weight: 700;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 24px;
  font-weight: 600;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00aaff;
  transition: .3s;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* ================= GLOBAL SECTION ================= */
.page {
  min-height: 100vh;
  padding: 130px 70px 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass {
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  padding: 55px;
  border-radius: 22px;
  max-width: 1000px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* ================= HOME ================= */
body.home {
  background: url("images/hero.jpg") center/cover no-repeat fixed;
}

.hero-content {
  text-align: center;
  color: #fff;
}

.hero-content img {
  width: 240px;
  border-radius: 50%;
  margin-bottom: 25px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.hero-content h2 {
  font-size: 3rem;
}

.hero-content p {
  margin: 12px 0 30px;
  font-size: 1.2rem;
}

.home-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, #0077ff, #00c6ff);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: .3s;
}

.btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

/* ================= CAREER ================= */
body.career {
  background: url("images/bg-career.jpg") center/cover no-repeat fixed;
  color: #fff;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline div {
  padding: 20px 25px;
  background: rgba(255,255,255,0.2);
  border-radius: 16px;
}

/* ================= ACHIEVEMENTS ================= */
body.achievements {
  background: url("images/bg-achievements.jpg") center/cover no-repeat fixed;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 25px;
}

.card {
  padding: 35px 25px;
  background: rgba(255,255,255,0.8);
  border-radius: 20px;
  text-align: center;
  font-weight: 600;
  transition: .3s;
}

.card:hover {
  transform: translateY(-10px);
}

/* ================= STATS ================= */
body.stats {
  background: url("images/bg-stats.jpg") center/cover no-repeat fixed;
}

.stats-grid .card {
  font-size: 1.3rem;
}

/* ================= GALLERY ================= */
body.gallery {
  background: url("images/bg-gallery.jpg") center/cover no-repeat fixed;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 22px;
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  transition: .3s;
}

.gallery-grid img:hover {
  transform: scale(1.06);
}

/* ================= CONTACT ================= */
body.contact {
  background: url("images/bg-contact.jpg") center/cover no-repeat fixed;
  color: #fff;
}

.contact-box p {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 25px;
  background: rgba(0,0,0,0.35);
  color: #fff;
}

/* ================= RESPONSIVE ================= */
@media(max-width: 768px) {
  header { padding: 14px 20px; }
  .page { padding: 120px 20px 60px; }
  .glass { padding: 35px; }
}
