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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #ddd;
  line-height: 1.6;
  min-height: 100vh;
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

nav {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 240px;
  background-color: #1f1f1f;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  z-index: 1000;
}

.nav-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  align-items: center;
}
.container {
  max-width: 1200px; /* or more */
  width: 100%;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5ab9ea;
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: 1.2px;
  user-select: none;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  flex-grow: 1;
}

.nav-links li a {
  color: #bbb;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a:focus {
  background-color: #5ab9ea;
  color: #121212;
  outline: none;
}


.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding: 2rem 0;
}

.contact-icons a {
  font-size: 1.8rem;
  color: #bbb;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icons a:hover {
  transform: scale(1.4);
  color: #5ab9ea;
}


main {
  margin-left: 240px;
  padding: 2rem 3rem;
  background-color: #181818;
}


section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #fff;
}

h2 {
  font-size: 2rem;
  color: #5ab9ea;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #5ab9ea;
  padding-bottom: 0.5rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
}


.hero {
  padding: 4rem 0;
  text-align: center;
  color: #e0e8ff;
  user-select: none;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-content h2 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1.8rem;
  color: #eef0f3;
}

.btn {
  background-color: #5ab9ea;
  color: #121212;
  padding: 0.8rem 2.2rem;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: #4a9cd9;
  outline: none;
}


.about,
.education,
.experience {
  margin-bottom: 5rem;
  padding: 0 1rem;
  line-height: 1.5;
  color: #ccc;
}

/* .about,
.education {
  max-width: 800px;
  margin: 4rem auto;
}

.education {
  max-width: 700px;
} */

.experience {
  max-width: 900px;
}

.experience-container,
.experiences {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.experience-card {
  background-color: #222;
  border-radius: 10px;
  padding: 1.4rem 1.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  color: #ddd;
  transition: transform 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(90, 185, 234, 0.5);
}

.experience-icon {
  font-size: 2.5rem;
  color: #5ab9ea;
  margin-bottom: 0.8rem;
}


.skills {
  background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  padding: 4rem 1rem;
  color: #f0f0f5;
  border-radius: 10px;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
  margin: 4rem auto 3rem auto;
  max-width: 900px;
}

.skills-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.skills-category {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 2rem;
  flex: 1 1 300px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.skills-category h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #a0e9ff;
  text-align: center;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.skill-item {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #dbefff;
  transition: color 0.3s ease;
}

.skill-item i {
  color: #48a9e6;
  font-size: 1.4rem;
}

.skill-item:hover {
  color: #79c9ff;
  cursor: default;
}


.contact {
  background: url('https://images.unsplash.com/photo-1496317556649-f930d733eea2?auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  padding: 4rem 1rem;
  border-radius: 10px;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.7);
  color: #f7f9fc;
  max-width: 700px;
  margin: 4rem auto 6rem auto;
}

.contact h2.section-title {
  color: #84c5ff;
  text-shadow: 0 0 6px rgba(132, 197, 255, 0.8);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 1.1rem;
  color: #c1d9ff;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  transition: box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 10px #84c5ff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background-color: #48a9e6;
  color: white;
  font-weight: 700;
  padding: 0.9rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 5px 15px rgba(72, 169, 230, 0.6);
}

.contact-form button:hover {
  background-color: #2e81c9;
  box-shadow: 0 8px 18px rgba(46, 129, 201, 0.9);
}


@media (max-width: 900px) {
  nav {
    width: 200px;
  }

  main {
    margin-left: 200px;
    padding: 1.5rem 2rem;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    left: 0;
    height: auto;
    width: 100%;
    background: #111;
    flex-direction: row;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
  }

  .logo {
    margin-bottom: 0;
    font-size: 1.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #1f1f1f;
    width: 100%;
    padding: 1rem 0;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    color: #fff;
    font-size: 1.8rem;
  }

  .contact-icons {
    display: none;
  }

  main {
    margin-left: 0;
    margin-top: 80px;
    padding: 1.5rem;
    max-width: 1000px;
  }
}

  .contact-icons {
    margin-top: 1rem;
    justify-content: flex-end;
  }


