/* ======================
   RESET & GLOBAL
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: radial-gradient(circle at top, #0f172a, #020617);
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.75;
}

/* ======================
   NAVBAR
====================== */
header {
  padding: 20px 70px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 700;
}

.logo span {
  color: #38bdf8;
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav ul li a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
}

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

/* ======================
   HERO
====================== */
.hero {
  padding: 120px 70px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.2;
}

.hero p {
  margin: 20px 0;
  font-size: 22px;
  color: #94a3b8;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

/* ======================
   SECTIONS
====================== */
.section {
  padding: 100px 70px;
}

.section h2 {
  font-size: 42px;
  margin-bottom: 25px;
}

.section h3 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 24px;
}

.section p {
  font-size: 19px;
  color: #dbeafe;
  max-width: 900px;
}

/* ======================
   ABOUT (JUSTIFIED)
====================== */

#about p,
#about ul {
  max-width: 900px;
}

/* About container width + justify */
.about-container {
  max-width: 1000px;   /* increased from ~900px */
}

/* Proper text justification */
.about-container p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
/* About section text size */
#about p {
  font-size: 20px;   /* was ~18–19px */
  line-height: 1.8;
}




#about ul {
  max-width: 900px;
  margin-top: 15px;
  padding-left: 20px;
}

#about li {
  margin-bottom: 10px;
  text-align: left;
  font-size: 18px;
}

/* ======================
   GLASS EFFECT
====================== */
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border-radius: 20px;
}

/* ======================
   SKILLS GRID
====================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.grid div {
  padding: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

/* ======================
   PROJECTS & CERTIFICATES
====================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background: rgba(255,255,255,0.08);
  padding: 25px;
  border-radius: 18px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}
/* Resume section – force perfect center */
#resume p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}
#resume p {
  font-size: 20px;
  margin-bottom: 30px;
}


/* ======================
   CONTACT SECTION
====================== */
.center {
  text-align: center;
}
/* Contact section – center text properly */
#contact p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}
#contact p {
  font-size: 20px;
  margin-bottom: 40px;
  color: #cbd5f5;
}


.contact-icons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #e5e7eb;
  font-size: 18px;
  transition: all 0.3s ease;
}

.contact-icons i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #38bdf8;
}

.contact-icons a:hover {
  transform: translateY(-6px);
  color: #38bdf8;
}

/* ======================
   FOOTER
====================== */
footer {
  padding: 35px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 44px;
  }

  header, .hero, .section {
    padding: 80px 30px;
  }

  nav ul {
    display: none;
  }
}
