* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e0f1f1;
  background-color: #0f1a20;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  transition: color 0.3s ease;
}

/* Navigation */
.navbar {
  background-color: #1f1f1f;
  color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #82d4f8;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: #cbdde2;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #73e2cb;
}

/* Hero Section */
.hero {
  background-color: #12232e;
  padding: 120px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #f3f8f8;
}

.hero p {
  font-size: 1.2rem;
  color: #a3bbc3;
}

/* Sections */
.section {
  padding: 80px 0;
  border-bottom: 1px solid #1e2b33;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #ffffff;
}

.section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #b4c7cd;
}

/* Profile Section */
.profile-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 600px;
  margin: 0 auto;
}

.profile-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid #33444c;
  transition: border-color 0.3s ease;
}

.profile-image img:hover {
  border-color: #73e2cb;
}

.profile-info h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.profile-subtitle {
  color: #a4b8c2;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.github-link {
  color: #73e2cb;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border: 1px solid #73e2cb;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.3s ease;
}

.github-link:hover {
  background-color: #73e2cb;
  color: #0f1a20;
}

/* Languages Grid */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.language-item {
  background-color: #162c37;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #29414d;
  text-align: center;
  color: #f0f0f0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.language-item:hover {
  border-color: #4ecdc4;
  background-color: #1c3b49;
}

/* Certifications Grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cert-item {
  background-color: #162c37;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #29414d;
  transition: transform 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-5px);
  border-color: #4ecdc4;
}

.cert-item h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cert-item p {
  color: #9cb1b8;
  margin-bottom: 1rem;
}

.cert-year {
  color: #4ecdc4;
  font-weight: bold;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-item {
  background-color: #162c37;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #29414d;
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
  border-color: #4ecdc4;
}

.project-item h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.project-item p {
  color: #a4b8c2;
  margin-bottom: 1rem;
}

.project-tech span {
  display: inline-block;
  background-color: #1e3844;
  color: #73e2cb;
  padding: 0.3rem 0.7rem;
  margin: 0.2rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.btn-link {
  color: #4ecdc4;
  border: 1px solid #4ecdc4;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.btn-link:hover {
  background-color: #4ecdc4;
  color: #0f1a20;
}

/* Contact Section */
.contact-info {
  text-align: center;
  color: #d0e5ea;
}

.contact-link {
  color: #4ecdc4;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
  border-bottom: 1px dashed transparent;
  transition: all 0.3s ease;
}

.contact-link:hover {
  border-color: #4ecdc4;
}

/* Smooth transitions on animations */
.language-item,
.project-item,
.cert-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
