* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fafafa;
  color: #222;
  line-height: 1.6;
}

/* NAVBAR */
header {
  width: 100%;
  position: fixed;
  top: 0; left: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}


.nav-right {
  margin-right: 20px; 
}

.nav-left img {
  height: 60px;
  margin-left: 20px;
}

.navBar {
  display: flex;
  gap: 30px;
}

.navBar a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #222;
}

.navBar a:hover {
  color: #FFD700;
}

.resume-btn {
  background: linear-gradient(90deg, #ffbb00, #ffd700);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  width: 130px;
}

.resume-btn:hover {
 background: linear-gradient(90deg, #ffd700, #ffbb00);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  background: #222;
  height: 3px;
  width: 25px;
  border-radius: 2px;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* HERO */
.hero-section {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  color: white;
}

.Greetings {
  font-size: 32px;
  margin-bottom: 10px;
}

.feliks-name {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 15px;
}

.feliks-name span {
  color: #ffc400;
}

.feliks-desc {
  font-size: 20px;
  font-weight: 400;
}

.profilepicture img {
  margin-top: 30px;
  width: 200px;
  border-radius: 50%;
  border: 4px solid #fff;
}

.hero-resume-btn {
  width: 300px;
  height: 70px;
  margin-top: 30px;
  padding: 12px 24px;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(90deg, #ffbb00, #ffd700);
  color: #000;
  transition: all 0.3s ease;
}

.hero-resume-btn:hover {
  background: linear-gradient(90deg, #ffd700, #ffbb00);
  transform: translateY(-2px);
}

/* EDUCATION */
.education-section {
  padding: 50px 20px;
  text-align: center;
  background: #f9f9f9;
}

.university-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.edu-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  width: 300px;
}

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

.education-section h1 {
  margin-bottom: 40px;
  color: #222;
}

.edu-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #1f4fa0;
}

.edu-card h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #555;
}

.edu-card p {
  font-size: 14px;
  color: #777;
}

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

.experience-section h1 {
  text-align: center;
  margin-bottom: 40px;
}

.experience-item {
  display: flex;
  gap: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

.exp-logo img {
  border-radius: 10px;
  width: 280px;
  object-fit: cover;
}

.exp-content {
  flex: 1;
}

.job-title {
  color: #1f4fa0;
  font-size: 22px;
  margin-bottom: 5px;
}

.company-name {
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
}

.job-period {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.job-desc {
  padding-left: 18px;
  font-size: 15px;
}

/* CERTIFICATION */
.certification-section {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.certification-section h1 {
  margin-bottom: 40px;
  color: #222;
}

.certification-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.cert-card {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

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

.cert-card img {
  width: 100%;
  height: 180px; 
  object-fit: contain; 
  margin-bottom: 15px;
  border-radius: 8px;
  background: #666;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cert-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1f4fa0;
}

.cert-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 5px;
}

.btn-certification {
  display: inline-block;
  margin-top: 10px; 
  padding: 10px 16px;
  background: linear-gradient(90deg, #ffbb00, #ffd700);
  color: #222;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
  text-align: center;
  width: 300px;
}

.btn-certification:hover {
  background: linear-gradient(90deg, #ffd700, #ffbb00);
  transform: translateY(-2px);
}

/*PROJECT */
.projects-section {
  padding: 60px 20px;
  text-align: center;
  background: #f5f5f5;
}

.projects-section h1 {
  margin-bottom: 40px;
  color: #222;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.project-card {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
}

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

.project-card img {
  width: 100%;
  height: 200px; 
  object-fit: cover; 
  border-radius: 8px;
  padding-bottom: 10px;
}

.project-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #1f4fa0;
}

.project-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.project-btn {
  display: inline-block;
  margin-top: auto; 
  padding: 10px 16px;
  background: linear-gradient(90deg, #ffbb00, #ffd700);
  color: #222;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
  text-align: center;
}

.project-btn:hover {
  background: linear-gradient(90deg, #ffd700, #ffbb00);
  transform: translateY(-2px);
}

/* PUBLICATION */
.publication {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.publication h1 {
  margin-bottom: 40px;
  color: #222;
}

.publication-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 0 auto;
  max-width: 700px;
}

.publication-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1f4fa0;
}

.publication-card p {
  font-size: 16px;
  color: #555;
  margin: 5px 0;
}

.pub-btn {
  display: inline-block;
  margin-top: 10px; 
  padding: 10px 16px;
  background: linear-gradient(90deg, #ffbb00, #ffd700);
  color: #222;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
  text-align: center;
  width: 300px;
}

.pub-btn:hover {
  background: linear-gradient(90deg, #ffd700, #ffbb00);
  transform: translateY(-2px);
}

/* CONTACT */
.contact-section {
  padding: 60px 20px;
  background: #1e1e1e;
  color: #fff;
  text-align: center;
}

.contact-section h1 {
  margin-bottom: 40px;
  color: #ffc400;
}

.contact-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-card {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.contact-card img {
  width: 40px;
  margin-bottom: 10px;
}

.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(255,215,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .experience-item {
    flex-direction: column;
    text-align: center;
  }
  .exp-logo img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .navBar { display: none; flex-direction: column; gap: 15px; background: #fff; position: absolute; top: 70px; left: 0; right: 0; padding: 20px; }
  .navBar.active { display: flex; }
  .nav-toggle { display: block; }
  .feliks-name { font-size: 40px; }
  .feliks-desc { font-size: 18px; }
  .projects-container {
    grid-template-columns: 1fr 1fr; 
  }
}

@media (max-width: 480px) {
  .feliks-name { font-size: 32px; }
  .feliks-desc { font-size: 16px; }
  .profilepicture img { width: 150px; }
  .projects-container {
    grid-template-columns: 1fr; 
  }
}
