/* ====== General Reset & Base ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Sora', 'Roboto', sans-serif;
  background-color: #1e1e1e;
  color: #fafafa;
  line-height: 1.6;
}


body {
  font-family: 'Sora', 'Roboto', sans-serif;
  background-color: #1e1e1e;
  color: #fafafa;
  line-height: 1.6;
}

/* ====== Container ====== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

/* ====== Header ====== */
.header {
  background-color: #1e1e1e;
  padding: 1rem 0;
  
  
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.logo {
  font-size: 40px;
  font-weight: bold;
  color: #fafafa; /* Edit your brand color */
  
}
/* === Navigation Links with Hover + Active Underline === */
.nav-link {
  position: relative;
  padding: 0.5rem;
  text-decoration: none;
  color: #333; /* <-- Change to your preferred text color */
  font-weight: 500;
}

/* Hover underline effect */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #4ade80; /* <-- Change to your brand color */
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Keeps underline on the active page */
.nav-link.active::after {
  width: 100%;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #4ADE80;
  font-weight: 500;
}


/* ====== Hero Section ====== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 32px;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.hero-text h2 {
  font-size: 40px;
  margin-bottom: 1rem;
  font-weight: bold;
}

.hero-text p {
  margin-bottom: 1.5rem;
  font-size: 32px;
  
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #4ADE80;
  color:#1e1e1e;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid #4ADE80;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-left: 300px;
  width: 240px;
  height: 40px;
  text-align: center;
  line-height: 1;
}

.btn:hover {
  background-color: transparent;
  border: 2px solid #4ADE80;
  color: #fafafa;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ====== Skills ====== */
.skills h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 30px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.skill-item {
  flex: 1 1 250px;
  text-align: center;
  padding: 1rem;
  border: 1px solid #434242;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.skill-item img {
  width: 80px;
  margin-bottom: 1rem;
}

.skill-item h3 {
  margin-bottom: 0.5rem;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ====== Footer ====== */
.footer {
  margin-top: 20px;
  background-color: #101010;
  color: #fafafa;
  padding: 2rem 1rem;
  text-align: center;
}

.footer a {
  color: #4ade80; /* soft green link color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}

.social-links {
  margin-top: 1rem;
}

.social-links img {
  width: 30px;
  height: 30px;
  margin: 0 10px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}
.footer p:last-of-type {
  margin-top: 2rem; /* space before the copyright line */
  font-size: 0.9rem;
  opacity: 0.7;
}
