/* ===== Global Style ===== */
* { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ===== Navbar Fixed ===== */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: linear-gradient(90deg,#000000,#2b0000);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Active Menu Item */
.nav-link.active {
  color: #ffd166 !important;
}

/* ===== Hero Section ===== */
.hero {

  background: linear-gradient(90deg,#1a0000,#000);
  color: white;
  padding: 120px 0 140px 0;
}
.hero h1 span {
  color: #ffd166;
}

/* ===== Section Layout ===== */
section {
  padding: 90px 0;
}
.section-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-divider {
  width: 100px;
  height: 4px;
  background: #800000;
  margin: 10px auto 30px;
}

/* ===== Buttons ===== */
.btn-maroon {
  background-color: #800000;
  color: white;
}
.btn-maroon:hover {
  background-color: #5a0000;
  color: white;
}
.btn-yellow {
  background-color: #ffd166;
  color: #000;
  font-weight: bold;
}
.btn-yellow:hover {
  background-color: #e3b74f;
  color: black;
}
.btn-sharp {
  border-radius: 3px;
}

/* ===== Skill Boxes ===== */
.skill-box {
  background: #111;
  color: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

/* ===== Cards ===== */
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
}

/* ===== Scroll to Top Button ===== */
#scrollTopBtn {
  z-index: 1000;
}

/* ===== Reveal Animation ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: .8s ease-in-out; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* ===== Icon Pill ===== */
.icon-pill {
  display: inline-block;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background:#111;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
html, body {
  scroll-padding-top: 90px; /* Scroll offset fix */
}