.img-fluid.my-5{
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 4px solid #fff;
  transition: transform 0.3s ease;
}

.img-fluid.my-5:hover {
  transform: scale(1.05);
}

.fitcen{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Header section styling */
header.bg-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Smooth section transitions */
section {
  transition: all 0.3s ease;
}

/* Improved link styling */
a {
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: none;
}

/* Certificate and heading links */
.cert-item h5 a,
.exp-item h5 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.cert-item h5 a:hover,
.exp-item h5 a:hover {
  color: #007bff;
  border-bottom-color: #007bff;
}

.icon {
  transition: transform 0.3s ease;
}


.icon:hover {
  transform: scale(1.5);
}

#web-dev-icon:hover {
  color:rgb(149, 111, 220)!important;
}

#ml-icon:hover {
  color: rgb(185, 20, 91)!important;
}

#tools-icon:hover {
  color: rgb(255, 165, 0)!important;
}

#soft-icon:hover {
  color: rgb(50, 205, 50)!important;
}

#role {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  min-height: 1.2em;
}

body{
  font-family: "Montserrat", sans-serif;
}

.hero-actions,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-contact {
  text-align: center;
}

/* Text justification for all body text */
.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

/* Improved section spacing and styling */
section {
  padding: 1rem 0;
}

section h2 {
  margin-bottom: 2rem;
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d4ff);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.section-kicker {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 760px;
}

.case-study-grid {
  display: grid;
  gap: 1.5rem;
}

.case-study-card,
.cert-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.case-study-card {
  padding: 1.5rem;
}

.case-study-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.75rem 0 1rem;
}

.case-study-topline,
.cert-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.case-study-label,
.case-study-metric {
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
}

.case-study-label {
  background: #e7f1ff;
  color: #0056b3;
}

.case-study-metric {
  background: #e8f8ef;
  color: #11723a;
}

.case-study-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-study-details li {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.85rem 0;
}

.case-study-details li:first-child {
  border-top: 0;
}

.stack-list,
.case-study-links,
.cert-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stack-list {
  margin-top: 0.5rem;
}

.stack-list span {
  background: #f1f3f5;
  border-radius: 6px;
  color: #343a40;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
}

.case-study-links {
  margin-top: 1rem;
}

.case-study-links a,
.cert-links a {
  font-weight: 700;
}

.cert-grid {
  display: grid;
  gap: 1rem;
}

.cert-card {
  padding: 1.25rem;
}

.cert-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.cert-card p {
  color: #6c757d;
  margin: 0.75rem 0 0;
}

.cert-links {
  margin-top: 0.75rem;
}

/* Experience and Certification item styling */
.exp-item, .cert-item {
  padding: 0.5rem 0;
}

.exp-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.exp-header h5 {
  margin-right: auto;
}

/* Badge styling improvements */
.badge {
  font-weight: 500;
  padding: 0.4em 0.8em;
}

/* Timeline improvements */
ul.timeline-3 > li p,
ul.timeline-4 > li p {
  text-align: justify;
}

/* Skills section text justify */
#about p {
  text-align: justify;
}

/* Skills section spacing */
#about .col-lg-3,
#about .col-md-6 {
  padding: 15px 25px;
}

#about .mb-5 {
  margin-bottom: 2rem !important;
}

#about h5 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

#about .about {
  height: 100px;
}

@media (min-width: 992px) {
  #about .container.mb-5 {
    max-width: 1140px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-contact {
    text-align: left;
  }
}

/* Responsive improvements */
@media (max-width: 991.98px) {
  .exp-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  ul.timeline-3,
  ul.timeline-4 {
    padding-left: 10px;
  }
  
  ul.timeline-3:before,
  ul.timeline-4:before {
    left: 19px;
  }
  
  ul.timeline-3 > li:before,
  ul.timeline-4 > li:before {
    left: 10px;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 0.5rem 0;
  }
  
  section h2 {
    font-size: 1.5rem;
  }
  
  .exp-item h5, .cert-item h5 {
    font-size: 1rem;
  }
  
  ul.timeline-3 > li,
  ul.timeline-4 > li {
    padding-left: 15px;
    margin: 15px 0;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 575.98px) {
  .lead {
    font-size: 1rem;
  }
  
  #role {
    min-height: 2.4em;
  }

  section h2 {
    font-size: 1.3rem;
  }
  
  .badge {
    font-size: 0.7rem;
  }
}

.pixe {
  font-family: "Pixelify Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.navcurs{
  padding-left: 15px;
  font-family: "Rubik Doodle Shadow", system-ui;
  font-weight: 100;
}

.brushe{
  font-family: "Nanum Brush Script", sans-serif;
  font-size:24px;
}

.about > .material-icons-outlined {
  font-size: 50px;
}

.notsel {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

ul.timeline-3 {
  list-style-type: none;
  position: relative;
  padding-left: 30px;
}
ul.timeline-3:before {
  content: " ";
  background: linear-gradient(180deg, #22c0e8, #0077b6);
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 3px;
  height: 100%;
  z-index: 400;
  border-radius: 2px;
}
ul.timeline-3 > li {
  margin: 25px 0;
  padding-left: 25px;
}
ul.timeline-3 > li:before {
  content: " ";
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 3px solid #22c0e8;
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
  box-shadow: 0 2px 8px rgba(34, 192, 232, 0.3);
}

ul.timeline-4 {
  list-style-type: none;
  position: relative;
  padding-left: 30px;
}
ul.timeline-4:before {
  content: " ";
  background: linear-gradient(180deg, #22e822, #00a000);
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 3px;
  height: 100%;
  z-index: 400;
  border-radius: 2px;
}
ul.timeline-4 > li {
  margin: 25px 0;
  padding-left: 25px;
}
ul.timeline-4 > li:before {
  content: " ";
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 3px solid #22e822;
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
  box-shadow: 0 2px 8px rgba(34, 232, 34, 0.3);
}

.smed{
  margin: auto;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.social-links {
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  margin-right: 0 !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.smed:hover{
  transform: scale(1.15);
  box-shadow: 0 5px 20px rgba(55, 238, 238, 0.4);
}

html {
  scroll-behavior: smooth;
}

/* Match the roomier 110% browser zoom feel on larger screens. */
@media (min-width: 768px) {
  html {
    font-size: 110%;
  }
}
