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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: white;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

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

/* HEADER */
header {
  background: #1a1a1a;
  color: white;
  padding: 60px 20px;
}

.header-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-square {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.info-side h1 {
  margin-bottom: 10px;
  font-size: 3rem;
}

.info-side .title {
  font-size: 1.4rem;
  color: #207cb9;
  margin-bottom: 20px;
  font-weight: 500;
}

.info-side .bio {
  line-height: 1.8;
  margin-bottom: 25px;
  opacity: 0.9;
}

.info-side .socials {
  display: flex;
  gap: 20px;
}

.info-side .socials a {
  transition: opacity 0.3s;
}

.info-side .socials a:hover {
  opacity: 0.7;
}

.info-side .socials img {
  filter: brightness(0) invert(1);
}

.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 28px;
  background: #207cb9;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
}

.resume-btn:hover {
  background: #1565c0;
}

/* SKILLS SECTION */
.skills-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.skills-section h2 {
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.skills-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-col h3 {
  color: #207cb9;
  margin-bottom: 15px;
  font-size: 1.3rem;
  border-bottom: 2px solid #207cb9;
  padding-bottom: 10px;
}

.skill-col ul {
  list-style: none;
}

.skill-col ul li {
  padding: 8px 0;
  color: #555;
  position: relative;
  padding-left: 20px;
}

.skill-col ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #207cb9;
  font-weight: bold;
}

/* EXPERIENCE SECTION */
.experience-section {
  padding: 60px 20px;
  background: white;
}

.experience-section h2 {
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 50px;
}

.experience-list {
  max-width: 1000px;
  margin: 0 auto;
}

.exp-item {
  border-left: 3px solid #207cb9;
  padding-left: 30px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.exp-item:last-child {
  border-bottom: none;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.exp-header h3 {
  color: #1a1a1a;
  margin-bottom: 5px;
}

.exp-header .company {
  color: #207cb9;
  font-weight: 600;
}

.exp-header .date {
  color: #888;
  font-size: 0.95rem;
  white-space: nowrap;
}

.exp-item ul {
  margin-left: 20px;
  color: #666;
}

.exp-item ul li {
  margin-bottom: 8px;
}

/* PROJECTS SECTION */
.projects-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.projects-section h2 {
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 50px;
}

.projects-list {
  max-width: 1000px;
  margin: 0 auto;
}

.project-item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  background: white;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s;
}

.project-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.project-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(32, 124, 185, 0.4);
}

.project-info h3 {
  color: #1a1a1a;
  margin-bottom: 10px;
}

.project-info p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.project-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn-link {
  color: #207cb9;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
  display: inline-flex;
  align-items: center;
}

.btn-link:hover {
  opacity: 0.7;
}

.btn-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border: none;
}

.badge {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 10px;
}

.project-item.enterprise {
  border-left: 4px solid #ff9800;
}

/* EDUCATION SECTION */
.education-section {
  padding: 60px 20px;
  background: white;
}

.education-section h2 {
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.edu-item {
  max-width: 800px;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  border-left: 5px solid #207cb9;
}

.edu-item h3 {
  color: #1a1a1a;
  margin-bottom: 10px;
}

.edu-item p {
  color: #666;
}

/* FOOTER */
footer {
  background: #1a1a1a;
  color: white;
  padding: 50px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3 {
  margin-bottom: 15px;
  color: #207cb9;
}

.footer-col h4 {
  margin-bottom: 15px;
  color: white;
}

.footer-col p {
  margin-bottom: 10px;
  opacity: 0.9;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  transition: opacity 0.3s;
}

.footer-socials a:hover {
  opacity: 0.7;
}

.footer-socials img {
  filter: brightness(0) invert(1);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .header-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-square {
    max-width: 250px;
    margin: 0 auto;
  }

  .info-side .socials {
    justify-content: center;
  }

  .info-side h1 {
    font-size: 2.2rem;
  }

  .info-side .title {
    font-size: 1.2rem;
  }

  .project-item {
    grid-template-columns: 1fr;
  }

  .exp-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .skills-columns {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 40px 10px;
  }

  .skills-section,
  .experience-section,
  .projects-section,
  .education-section {
    padding: 40px 10px;
  }

  footer {
    padding: 40px 10px;
  }

  .exp-item {
    padding-left: 20px;
  }

  .project-item {
    padding: 15px;
  }
}
