/* ------------------------------
   Global Styles
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #0f172a;
  color: #f1f5f9;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ------------------------------
   Navbar
------------------------------ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #38bdf8;
}

/* ------------------------------
   Hero Section
------------------------------ */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
}

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

.hero-text h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #e2e8f0;
}

.hero-text p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.hero-text span {
  color: #38bdf8;
  font-weight: 600;
}

.hero-img img {
  width: 350px;
  border-radius: 50%;
  border: 4px solid #38bdf8;
  transition: transform 0.5s ease;
}

.hero-img img:hover {
  transform: scale(1.05);
}

/* ------------------------------
   About Section
------------------------------ */
section {
  padding: 6rem 8%;
}

#about {
  background-color: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #38bdf8;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-content p {
  color: #cbd5e1;
}

.download-btn {
  display: inline-block;
  background: #38bdf8;
  color: #0f172a;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  transition: 0.3s ease;
}

.download-btn:hover {
  background: #0ea5e9;
  transform: translateY(-3px);
}

/* ------------------------------
   Projects & Certificates
------------------------------ */
.projects, .certificates, .committees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background-color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.card h3 {
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

/* ------------------------------
   Contact Section
------------------------------ */
#contact {
  background-color: #1e293b;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info a {
  color: #38bdf8;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-info a:hover {
  color: #0ea5e9;
}

/* ------------------------------
   Footer
------------------------------ */
footer {
  background-color: #0f172a;
  text-align: center;
  padding: 1rem;
  color: #64748b;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
