* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
  padding: 1rem 2rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: #333;
  color: white;
}

.hero-text {
  max-width: 500px;
  margin-right: 2rem;
}

.profile-img {
  max-width: 300px;
  border-radius: 50%;
  margin-top: 1rem;
}

.socials a {
  display: inline-block;
  margin-top: 1rem;
  margin-right: 1rem;
  color: #00bcd4;
  text-decoration: none;
}

.content-section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.project-card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-card img {
  width: 100%;
  border-radius: 5px;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #222;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #333;
    position: absolute;
    top: 60px;
    left: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    margin-right: 0;
  }

  .profile-img {
    margin: 2rem 0;
  }
}
 
/* === Skills Section === */
.colorlib-skills {
  padding: 7em 0;
  clear: both;
}

.colorlib-narrow-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
}


.skill-item {
  padding: 0 15px;
  margin-bottom: 30px;
}

.skill {
  height: 100%;
  padding: 20px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-radius: 4px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.skill-name {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.skill-percentage {
  font-weight: 600;
  color: #666;
  font-size: 15px;
}

.skill-bar-container {
  background-color: #f5f5f5;
  height: 8px;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.skill-bar {
  height: 100%;
  border-radius: 5px;
  position: relative;
  transition: width 1s ease-in-out;
}



/* Responsive adjustments */
@media (max-width: 767px) {
  .colorlib-skills {
    padding: 4em 0;
  }
  
  .skill-item {
    padding: 0 10px;
    margin-bottom: 20px;
  }
  
  .skill {
    padding: 15px;
  }
  
  .skill-name {
    font-size: 15px;
  }
  
  .skill-percentage {
    font-size: 14px;
  }
  
  .skill-bar-container {
    height: 6px;
  }
}



.skills-border-box {
  border: 3px solid #ccc;
  border-radius: 15px;
  padding: 40px;
  background-color: #fafafa;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.skill-item {
  margin-bottom: 25px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 8px;
}

.skill-bar-container {
  background-color: #e0e0e0;
  height: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.skill-bar {
  height: 10px;
  border-radius: 8px;
  transition: width 1.2s ease-in-out;
}

.bar-csharp    { background-color: #9C27B0; }
.bar-api       { background-color: #009688; }
.bar-html5     { background-color: #FF5722; }
.bar-css3      { background-color: #03A9F4; }
.bar-sqlserver { background-color: #00758F; }
.bar-angular   { background-color: #DD0031; }
.bar-efcore    { background-color: #4CAF50; }
.bar-ado       { background-color: #FFC107; }
.bar-github    { background-color: #333333; }
.bar-js        { background-color: #F7DF1E; }





/* Services Section */
#services {
  padding: 6em 0;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .heading-meta {
  text-transform: uppercase;
  color: #ff5722;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 14px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
  font-size: 3rem;
  color: #ff5722;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.service-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
}









.education-section {
  background-color: #fff;
  padding: 6em 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .heading-meta {
  text-transform: uppercase;
  color: #3f51b5;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
}

.section-header .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
}

.education-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.education-icon {
  font-size: 3rem;
  color: #3f51b5;
  margin-bottom: 1rem;
}

.education-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #222;
}

.education-content h3 span {
  color: #3f51b5;
}

.education-content h4 {
  font-size: 18px;
  color: #555;
  margin-bottom: 1rem;
}

.education-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .education-card {
    padding: 2rem;
  }

  .education-content h3 {
    font-size: 20px;
  }

  .education-content h4 {
    font-size: 16px;
  }
}









#experience {
  background-color: #f9f9f9;
  padding: 60px 20px;
  border-radius: 120px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 40px auto;
  font-family: 'Segoe UI', sans-serif;
  transition: all 0.3s ease-in-out;
}

#experience h2 {
  font-size: 32px;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

#experience h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: #5c6bc0;
  display: block;
  margin: 10px auto 0;
  border-radius: 3px;
}

#experience p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

#experience p strong {
  color: #2c3e50;
  font-size: 17px;
}






.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  background-color: #fff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.project-images {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Maintain landscape shape */
  overflow: hidden;
  border-radius: 8px;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-images img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none;
  border-radius: 8px;
  transition: opacity 0.4s ease;
}

.project-images img.active {
  display: block;
}

.project-images button.prev,
.project-images button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  z-index: 2;
}

.project-images button.prev {
  left: 10px;
}

.project-images button.next {
  right: 10px;
}

.project-images button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}


.project-images button.prev {
  left: 10px;
}

.project-images button.next {
  right: 10px;
}


.project-card h3 {
  margin-top: 15px;
  font-size: 20px;
  color: #333;
}

.project-card p {
  color: #555;
  line-height: 1.5;
}



.project-tools {
  margin-top: 10px;
}

.project-tools ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.project-tools li {
  font-size: 14px;
  color: #333;
}









.contact-section {
  padding: 200px 300px;
  background: #f9f9f9;
  text-align: center;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-section p {
  font-size: 1.1rem;
  color: #555;
}

.contact-details {
  margin-top: 30px;
}

.contact-button {
  display: inline-block;
  padding: 12px 25px;
  margin-bottom: 15px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #0056b3;
}

.phone {
  font-size: 1.2rem;
  color: #222;
}





.about-section {
  padding: 100px 200px;
  background: #ffffff;
  text-align: center;
  color: #333;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1a1a1a;
  position: relative;
}

.about-section h2::after {
  content: '';
  display: block;
  margin: 12px auto 0;
  width: 60px;
  height: 3px;
  background-color: #007bff;
}

.about-section .intro,
.about-section .mission {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
}

.about-section strong {
  color: #007bff;
}





