
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

a {
  color: #149ddd;
  text-decoration: none;
}

a:hover {
  color: #37b3ed;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}




.social-links a svg {
  vertical-align: middle;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover svg {
  transform: scale(1.15);
  opacity: 0.85;
}

.social-links a {
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/*--------------------------------------------------------------
# Bounce Animation 
--------------------------------------------------------------*/



.btn-bounce{
  animation:none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-bounce:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
  
  
/*--------------------------------------------------------------
# Scroll Animation 
--------------------------------------------------------------*/

.scroll-down {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 30px;
  border: 2px solid rgb(192, 192, 192);
  position: absolute;
  left: 50%;
  bottom: 20px;
  border-radius: 50px;
  cursor: pointer;
}
.scroll-down::before,
.scroll-down::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  height: 10px;
  width: 10px;
  transform: translate(-50%, -100%) rotate(45deg);
  border: 2px solid black;
  border-top: transparent;
  border-left: transparent;
  animation: scroll-down 1s ease-in-out infinite;
}
.scroll-down::before {
  top: 30%;
  animation-delay: 0.3s;
  /* animation: scroll-down 1s ease-in-out infinite; */
}

@keyframes scroll-down {
  0% {
    /* top:20%; */
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    top: 90%;
    opacity: 0;
  }
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 9999;
  background: #149ddd;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #2eafec;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: #040b14;
  overflow-y: auto;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid #2c2f3f;
}

#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #212431;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: #149ddd;
  color: #fff;
  text-decoration: none;
}

#main {
  margin-left: 300px;
}


.container,
.container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }

  #main {
    margin-left: 0;
  }

  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
  
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  padding: 30px 0 0 0;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover>a i {
  color: #149ddd;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #149ddd;
  color: #fff;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at top right, rgba(20, 157, 221, 0.16), transparent 28%),
    linear-gradient(110deg, rgba(7, 18, 34, 0.86) 0%, rgba(9, 20, 38, 0.72) 36%, rgba(255, 255, 255, 0.08) 100%),
    url("../img/hero-bg.jpg") top center;
  background-size: cover;
  animation: loopBackground 50s linear infinite;
}

#hero:before {
  content: "";
  background: linear-gradient(90deg, rgba(7, 18, 34, 0.28) 0%, rgba(7, 18, 34, 0.08) 45%, rgba(7, 18, 34, 0.18) 100%);
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2px);
  z-index: 1;
}

#hero .hero-shell {
  position: relative;
  z-index: 2;
}

#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
  max-width: 880px;
}

#hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#hero h1 {
  margin: 0 0 14px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.06;
  color: #ffffff;
}

#hero .hero-typed-line {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 28px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

#hero .hero-typed-line span {
  color: #ffffff;
  padding-bottom: 4px;
  letter-spacing: 0.4px;
  border-bottom: 3px solid #149ddd;
}

#hero .hero-lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.75;
}

#hero .hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

#hero .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

#hero .hero-btn i {
  font-size: 17px;
}

#hero .hero-btn-primary {
  background: #149ddd;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(20, 157, 221, 0.24);
}

#hero .hero-btn-primary:hover {
  background: #23aae9;
  color: #ffffff;
  transform: translateY(-2px);
}

#hero .hero-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

#hero .hero-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-2px);
}

#hero .hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 840px;
  margin-bottom: 18px;
}

#hero .hero-proof-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(12, 25, 44, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  transition: all 0.3s ease;
}

#hero .hero-proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 157, 221, 0.44);
  background: rgba(13, 30, 54, 0.72);
}

#hero .hero-proof-value {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

#hero .hero-proof-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#hero .hero-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#hero .hero-link-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  transition: all 0.3s ease;
}

#hero .hero-link-row a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

#hero a.scroll-down {
  z-index: 2;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

#hero a.scroll-down div {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
}

#hero a div {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
}

@keyframes loopBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 0;
  }
}

@media (min-width: 1200px) {
  #hero {
    width: calc(100% - 300px);
    margin-left: 300px;
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  #hero {
    padding: 88px 0 90px;
  }

  #hero .hero-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #hero {
    min-height: auto;
    padding: 84px 0 92px;
    background-position: center center;
  }

  #hero .hero-kicker {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  #hero h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  #hero .hero-typed-line {
    font-size: 19px;
    line-height: 1.5;
  }

  #hero .hero-lead {
    font-size: 15px;
    line-height: 1.7;
  }

  #hero .hero-cta-group {
    gap: 10px;
  }

  #hero .hero-btn {
    width: 100%;
    justify-content: center;
  }

  #hero .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  #hero .hero-proof-value {
    font-size: 24px;
  }

  #hero .hero-link-row a {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Thank you Section
--------------------------------------------------------------*/
#mail {
  width: 100%;
  height: 100vh;
  background: #ADD8E6;
  background-size: cover;
}

#mail:before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#mail .mail-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

#mail h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #000000;
}

#mail p {
  color: #000000;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

#mail p span {
  color: #000000;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #149ddd;
}

@media (min-width: 1024px) {
  #mail {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #mail h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #mail h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}



/*--------------------------------------------------------------
# SPAM Section
--------------------------------------------------------------*/
#spmail {
  width: 100%;
  height: 100vh;
  background: #ff0000;
  background-size: cover;
}

#spmail:before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#spmail .spmail-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

#spmail h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #000000;
}

#spmail p {
  color: #000000;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

#spmail p span {
  color: #000000;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #149ddd;
}

@media (min-width: 1024px) {
  #spmail {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #spmail h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #spmail h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #173b6c;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #149ddd;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}



/*--------------------------------------------------------------
# information box
--------------------------------------------------------------*/
.info-box {
    background-color: #e0f7e0; /* Light green background */
	border: 1px solid #b0d4b0; /* Slightly darker border */
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
	margin: 20px 0;
	font-family: Arial, sans-serif;
	font-size: 14px;
	text-align: center;
}

.info-box h3 {
	margin: 0;
	color: #4a7a4a; /* Darker green text */
	text-align: center;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #173b6c;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: #149ddd;
  line-height: 0;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts {
  padding-bottom: 30px;
}

.facts .count-box {
  padding: 30px;
  width: 100%;
}

.facts .count-box i {
  display: block;
  font-size: 44px;
  color: #149ddd;
  float: left;
  line-height: 0;
}

.facts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #050d18;
  margin-left: 60px;
}

.facts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #122f57;
}

.facts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #122f57;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.facts .count-box a:hover {
  color: #1f5297;
}

/*--------------------------------------------------------------
# Akills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #050d18;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #dce8f8;
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #149ddd;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #050d18;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #1f5297;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #050d18;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #e4edf9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 6px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #1f5297;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #149ddd;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(20, 157, 221, 0.75);
  transition: 0.3s;
  width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: rgba(20, 157, 221, 0.95);
}

.portfolio .portfolio-wrap .portfolio-links a+a {
  border-left: 1px solid #37b3ed;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #149ddd;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #149ddd;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(5, 13, 24, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
}

.services .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #149ddd;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid #149ddd;
}

.services .icon i {
  color: #fff;
  font-size: 24px;
  line-height: 0;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #149ddd;
}

.services .title {
  margin-left: 80px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: #343a40;
}

.services .title a:hover {
  color: #149ddd;
}

.services .description {
  margin-left: 80px;
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #c3e8fa;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: #fff;
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid #fff;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #149ddd;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #149ddd;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 130px;
}

.contact .info {
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .info i {
  font-size: 20px;
  color: #149ddd;
  float: left;
  width: 44px;
  height: 44px;
  background: #dff3fc;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #050d18;
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #173b6c;
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #149ddd;
  color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #149ddd;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .php-email-form label {
  padding-bottom: 8px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #149ddd;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #37b3ed;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: #f9f9f9;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  background: #040b14;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #eaebf0;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}



/* ====== POLISH PATCH (Academic / PhD / NIW) ====== */

/* Social SVG icons centered inside 36x36 circles */
#header .profile .social-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
#header .profile .social-links a svg{
  width:18px;
  height:18px;
  display:block;
}

/* More professional resume button (no constant bounce) */
.btn-bounce{
  animation:none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-bounce:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}


/* Resume timeline polish */
.resume .resume-item{
  padding: 0 0 18px 18px;
  border-left: 2px solid rgba(31, 82, 151, .45);
}
.resume .resume-item::before{
  width:14px;
  height:14px;
  left:-8px;
  border:2px solid rgba(31, 82, 151, .75);
}
.resume .resume-item ul li{ padding-bottom:6px; }

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 3px solid rgba(20, 157, 221, .35);
  outline-offset: 2px;
  border-radius: 6px;
}



/*--------------------------------------------------------------
# RESUME BUTTON POLISHED
--------------------------------------------------------------*/
.btn-resume-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 22px;
  border-radius: 8px;

  background: #0563bb;
  color: #fff !important;
  border: 1px solid #0563bb;

  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;

  transition: transform 0.2s ease, box-shadow 0.2s ease;

  animation: btnPulse 3s ease-in-out infinite;
}

.btn-resume-primary i {
  transition: transform 0.2s ease;
}

/* 🔥 THIS is the important override */
.btn-resume-primary:hover,
.btn-resume-primary:focus,
.btn-resume-primary:active {
  color: #fff !important;
  background: #0563bb;
  border-color: #0563bb;
  text-decoration: none !important;

  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.btn-resume-primary:hover i {
  transform: translateY(2px);
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 99, 187, 0.35);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(5, 99, 187, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(5, 99, 187, 0);
  }
}

/*--------------------------------------------------------------
# Publications (Cards + Filters) ✅ FINAL
--------------------------------------------------------------*/

#publications #pub-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 2px 15px;
  display: inline-block;
}

#publications #pub-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

#publications #pub-flters li:hover,
#publications #pub-flters li.filter-active {
  color: #149ddd;
}

#publications .pub-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

#publications .pub-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: rgba(20, 157, 221, 0.45);
}

#publications .pub-card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

#publications .pub-badge {
  display: inline-block;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.65);
}

#publications .pub-badge.journal {
  background: rgba(25, 135, 84, 0.10);
  color: #198754;
  border-color: rgba(25, 135, 84, 0.35);
}

#publications .pub-badge.conference {
  background: rgba(20, 157, 221, 0.12);
  color: #149ddd;
  border-color: rgba(20, 157, 221, 0.35);
}

#publications .pub-title {
  display: block;
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 6px;
}

#publications .pub-authors { color: #555; }
#publications .pub-meta { color: #444; }

#publications .pub-meta a {
  border-bottom: 1px dashed rgba(20, 157, 221, 0.55);
}

#publications .pub-meta a:hover {
  border-bottom-style: solid;
}

#publications .pub-group-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #173b6c;
  position: relative;
  padding-left: 14px;
}

#publications .pub-group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: #149ddd;
}

#publications .pub-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

#publications .pub-badge.status.published {
  background: rgba(25, 135, 84, 0.10);
  color: #198754;
  border-color: rgba(25, 135, 84, 0.35);
}

#publications .pub-badge.status.accepted {
  background: rgba(255, 193, 7, 0.14);
  color: #9a6700;
  border-color: rgba(255, 193, 7, 0.35);
}

#publications .pub-badge.status.under_review {
  background: rgba(108, 117, 125, 0.12);
  color: #495057;
  border-color: rgba(108, 117, 125, 0.35);
}


/* =========================
   Research Profile Section
   ========================= */

.research-profile {
  padding: 60px 0;
}

.research-profile-shell {
  background: var(--pf-bg-soft, #f7f9fc);
  border: 1px solid rgba(20, 37, 63, 0.08);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(16, 24, 40, 0.07);
}

.research-profile-intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.research-profile-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(20, 157, 221, 0.10);
  color: #0b6ea8;
  border: 1px solid rgba(20, 157, 221, 0.15);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

.research-profile-intro h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1b2a41;
  margin-bottom: 10px;
}

.research-profile-intro p {
  color: #667085;
  margin-bottom: 0;
  line-height: 1.75;
}

.research-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.research-profile-card {
  background: #fff;
  border: 1px solid rgba(20, 37, 63, 0.08);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 12px 35px rgba(16, 24, 40, 0.07);
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: center;
}

.research-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
}

.rp-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef7fc 0%, #f8fbff 100%);
  color: var(--pf-primary, #149ddd);
  font-size: 1.35rem;
  border: 1px solid rgba(20, 157, 221, 0.12);
}

.rp-value {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
  color: #1b2a41;
  margin-bottom: 10px;
}

.rp-label {
  font-size: 1rem;
  font-weight: 800;
  color: #1b2a41;
  margin-bottom: 6px;
}

.rp-note {
  color: #667085;
  font-size: .92rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .research-profile-grid {
    grid-template-columns: 1fr;
  }

  .research-profile-shell {
    padding: 22px;
  }

  .rp-value {
    font-size: 2rem;
  }
}


/* ===== PATCH: polish improvements (safe, minimal) ===== */

/* 1) smoother input interactions */
.dynamic-toolbar .form-control,
.dynamic-toolbar .form-select {
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

/* 2) slightly reduce hover jump (more stable feel) */
.metric-card:hover,
.featured-card:hover,
.pub-card-dyn:hover {
  transform: translateY(-3px);
}

/* 3) better keyboard focus visibility */
.pub-btn-dyn:focus-visible,
.btn-resume-primary:focus-visible,
.metric-card:focus-within {
  outline: 2px solid rgba(20,157,221,0.6);
  outline-offset: 2px;
}

/* 4) fix invalid rgba typo from old CSS */
.btn-bounce:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

/* 5) clamp long abstracts for cleaner cards */
.pub-abstract-dyn {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 6) make cert CTA responsive (prevents overflow/mess) */
@media (max-width: 768px) {
  .cert-cta-card {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
}

/* 7) slightly normalize featured shadow (less aggressive) */
.featured-card {
  box-shadow: 0 12px 30px rgba(20, 157, 221, 0.06);
}




/* Optional nice-to-have */
html{ scroll-behavior:smooth; }


/* ===== Academic Service card button + section highlight patch ===== */
.research-profile-card {
  position: relative;
  overflow: hidden;
}

.research-profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,157,221,0.04), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.research-profile-card:hover::after,
.research-profile-card.is-active::after {
  opacity: 1;
}

.rp-note {
  margin-bottom: 14px;
}

.rp-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(20, 157, 221, 0.18);
  border-radius: 999px;
  background: rgba(20, 157, 221, 0.08);
  color: #149ddd;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.rp-jump-btn:hover,
.rp-jump-btn:focus-visible {
  background: #149ddd;
  color: #fff;
  border-color: #149ddd;
  box-shadow: 0 10px 24px rgba(20, 157, 221, 0.22);
  transform: translateY(-1px);
}

.rp-jump-btn i {
  font-size: 1rem;
}

.resume-title.section-flash,
.resume-item.section-flash {
  position: relative;
  z-index: 1;
  animation: rpSectionGlow 2.1s ease;
}

.resume-title.section-flash::before,
.resume-item.section-flash::before {
  content: "";
  position: absolute;
  inset: -10px -14px;
  border-radius: 18px;
  background: radial-gradient(circle at center, rgba(255,208,74,0.28) 0%, rgba(255,208,74,0.14) 42%, rgba(255,208,74,0) 78%);
  pointer-events: none;
  z-index: -1;
}

@keyframes rpSectionGlow {
  0% {
    transform: translateY(10px) scale(.985);
    filter: saturate(1.08);
  }
  35% {
    transform: translateY(0) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

.resume-title.section-flash,
.resume-item.section-flash {
  animation: rpSectionGlow 2.8s cubic-bezier(.22, .8, .24, 1);
}

.resume-title.section-flash::before,
.resume-item.section-flash::before {
  inset: -14px -18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at center, rgba(255,208,74,0.40) 0%, rgba(255,208,74,0.24) 34%, rgba(255,208,74,0.08) 58%, rgba(255,208,74,0) 78%);
  box-shadow:
    0 0 0 1px rgba(255,208,74,0.30),
    0 0 0 12px rgba(255,208,74,0.10),
    0 22px 48px rgba(255,196,46,0.24);
  animation: rpSectionHalo 2.8s ease;
}

.resume-title.section-flash::after,
.resume-item.section-flash::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 1px solid rgba(255,208,74,0.42);
  box-shadow:
    0 0 0 8px rgba(255,208,74,0.14),
    0 0 34px rgba(255,196,46,0.26);
  pointer-events: none;
  z-index: -1;
  animation: rpSectionRing 2.8s ease;
}

@keyframes rpSectionHalo {
  0% {
    opacity: 0;
    transform: scale(.94);
  }
  20% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: .12;
    transform: scale(1);
  }
}

@keyframes rpSectionRing {
  0% {
    opacity: 0;
    transform: scale(.96);
  }
  18% {
    opacity: .95;
    transform: scale(1.012);
  }
  100% {
    opacity: 0;
    transform: scale(1.03);
  }
}

.rp-back-btn {
  position: fixed;
  right: 24px;
  bottom: 86px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd24a, #ffb300);
  color: #3f2a00;
  box-shadow: 0 14px 34px rgba(255, 179, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.95);
  transition: opacity .35s ease, visibility .35s ease, transform .35s ease, box-shadow .35s ease, filter .35s ease;
  pointer-events: none;
  isolation: isolate;
}

.rp-back-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255,210,74,0.44), rgba(255,210,74,0));
  opacity: 0;
  z-index: -1;
  transition: opacity .35s ease;
}

.rp-back-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.rp-back-btn.is-visible::before {
  opacity: 1;
}

.rp-back-btn.is-visible.is-attention {
  animation: rpBackBtnPulse 1.9s ease-in-out infinite;
}

.rp-back-btn:hover,
.rp-back-btn:focus-visible {
  transform: translateY(-3px) scale(1.045);
  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.45);
  filter: saturate(1.05);
}

.rp-back-btn span {
  font-size: .94rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.rp-back-btn i {
  font-size: 1rem;
}

@keyframes rpBackBtnPulse {
  0% {
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.34), 0 0 0 0 rgba(58,160,255,0.46);
  }
  70% {
    box-shadow: 0 16px 38px rgba(13, 110, 253, 0.42), 0 0 0 14px rgba(58,160,255,0);
  }
  100% {
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.34), 0 0 0 0 rgba(58,160,255,0);
  }
}

@media (max-width: 767px) {
  .rp-back-btn {
    right: 14px;
    bottom: 88px;
    min-height: 46px;
    padding: 9px 14px;
    z-index: 9999;
  }

  .rp-back-btn span {
    display: inline;
    font-size: .84rem;
  }
}


.verify-btn {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #0d6efd;
  border: 1px solid #0d6efd;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.verify-btn:hover {
  background-color: #0d6efd;
  color: #fff;
  transform: translateY(-1px);
}


.rp-back-btn-dashboard {
  background: linear-gradient(135deg, #ffd24a, #ffb300);
  color: #3f2a00;
  box-shadow: 0 14px 34px rgba(255, 179, 0, 0.34);
}

.rp-back-btn-dashboard::before {
  background: radial-gradient(circle at center, rgba(255,210,74,0.44), rgba(255,210,74,0));
}


.about-modern {
  background: #fff;
}

.about-modern .section-title p {
  max-width: 520px;
}

.about-modern .about-simple-row {
  align-items: center;
}

.about-modern .about-photo-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 10px;
  max-width: 320px;
}

.about-modern .about-photo-card img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.about-modern .about-simple-content {
  padding-top: 0;
}

.about-modern .about-summary {
  font-size: 16px;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 0;
  max-width: 760px;
}

@media (max-width: 991px) {
  .about-modern .about-photo-card {
    max-width: 280px;
  }
}


  #hero .hero-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #hero {
    min-height: auto;
    padding: 84px 0 92px;
    background-position: center center;
  }

  #hero .hero-kicker {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  #hero h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  #hero .hero-typed-line {
    font-size: 19px;
    line-height: 1.5;
  }

  #hero .hero-lead {
    font-size: 15px;
    line-height: 1.7;
  }

  #hero .hero-cta-group {
    gap: 10px;
  }

  #hero .hero-btn {
    width: 100%;
    justify-content: center;
  }

  #hero .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  #hero .hero-proof-value {
    font-size: 24px;
  }

  #hero .hero-link-row a {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Thank you Section
--------------------------------------------------------------*/
#mail {
  width: 100%;
  height: 100vh;
  background: #ADD8E6;
  background-size: cover;
}

#mail:before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#mail .mail-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

#mail h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #000000;
}

#mail p {
  color: #000000;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

#mail p span {
  color: #000000;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #149ddd;
}

@media (min-width: 1024px) {
  #mail {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #mail h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #mail h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}



/*--------------------------------------------------------------
# SPAM Section
--------------------------------------------------------------*/
#spmail {
  width: 100%;
  height: 100vh;
  background: #ff0000;
  background-size: cover;
}

#spmail:before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#spmail .spmail-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

#spmail h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #000000;
}

#spmail p {
  color: #000000;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

#spmail p span {
  color: #000000;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #149ddd;
}

@media (min-width: 1024px) {
  #spmail {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #spmail h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #spmail h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #173b6c;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #149ddd;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}



/*--------------------------------------------------------------
# information box
--------------------------------------------------------------*/
.info-box {
    background-color: #e0f7e0; /* Light green background */
	border: 1px solid #b0d4b0; /* Slightly darker border */
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
	margin: 20px 0;
	font-family: Arial, sans-serif;
	font-size: 14px;
	text-align: center;
}

.info-box h3 {
	margin: 0;
	color: #4a7a4a; /* Darker green text */
	text-align: center;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #173b6c;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: #149ddd;
  line-height: 0;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts {
  padding-bottom: 30px;
}

.facts .count-box {
  padding: 30px;
  width: 100%;
}

.facts .count-box i {
  display: block;
  font-size: 44px;
  color: #149ddd;
  float: left;
  line-height: 0;
}

.facts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #050d18;
  margin-left: 60px;
}

.facts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #122f57;
}

.facts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #122f57;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.facts .count-box a:hover {
  color: #1f5297;
}

/*--------------------------------------------------------------
# Akills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #050d18;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #dce8f8;
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #149ddd;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #050d18;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #1f5297;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #050d18;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #e4edf9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 6px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #1f5297;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #149ddd;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(20, 157, 221, 0.75);
  transition: 0.3s;
  width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: rgba(20, 157, 221, 0.95);
}

.portfolio .portfolio-wrap .portfolio-links a+a {
  border-left: 1px solid #37b3ed;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #149ddd;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #149ddd;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(5, 13, 24, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
}

.services .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #149ddd;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid #149ddd;
}

.services .icon i {
  color: #fff;
  font-size: 24px;
  line-height: 0;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #149ddd;
}

.services .title {
  margin-left: 80px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: #343a40;
}

.services .title a:hover {
  color: #149ddd;
}

.services .description {
  margin-left: 80px;
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #c3e8fa;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: #fff;
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid #fff;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #149ddd;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #149ddd;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 130px;
}

.contact .info {
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .info i {
  font-size: 20px;
  color: #149ddd;
  float: left;
  width: 44px;
  height: 44px;
  background: #dff3fc;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #050d18;
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #173b6c;
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #149ddd;
  color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #149ddd;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .php-email-form label {
  padding-bottom: 8px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #149ddd;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #37b3ed;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: #f9f9f9;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  background: #040b14;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #eaebf0;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}



/* ====== POLISH PATCH (Academic / PhD / NIW) ====== */

/* Social SVG icons centered inside 36x36 circles */
#header .profile .social-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
#header .profile .social-links a svg{
  width:18px;
  height:18px;
  display:block;
}

/* More professional resume button (no constant bounce) */
.btn-bounce{
  animation:none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-bounce:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}


/* Resume timeline polish */
.resume .resume-item{
  padding: 0 0 18px 18px;
  border-left: 2px solid rgba(31, 82, 151, .45);
}
.resume .resume-item::before{
  width:14px;
  height:14px;
  left:-8px;
  border:2px solid rgba(31, 82, 151, .75);
}
.resume .resume-item ul li{ padding-bottom:6px; }

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 3px solid rgba(20, 157, 221, .35);
  outline-offset: 2px;
  border-radius: 6px;
}



/*--------------------------------------------------------------
# RESUME BUTTON POLISHED
--------------------------------------------------------------*/
.btn-resume-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 22px;
  border-radius: 8px;

  background: #0563bb;
  color: #fff !important;
  border: 1px solid #0563bb;

  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;

  transition: transform 0.2s ease, box-shadow 0.2s ease;

  animation: btnPulse 3s ease-in-out infinite;
}

.btn-resume-primary i {
  transition: transform 0.2s ease;
}

/* 🔥 THIS is the important override */
.btn-resume-primary:hover,
.btn-resume-primary:focus,
.btn-resume-primary:active {
  color: #fff !important;
  background: #0563bb;
  border-color: #0563bb;
  text-decoration: none !important;

  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.btn-resume-primary:hover i {
  transform: translateY(2px);
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 99, 187, 0.35);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(5, 99, 187, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(5, 99, 187, 0);
  }
}

/*--------------------------------------------------------------
# Publications (Cards + Filters) ✅ FINAL
--------------------------------------------------------------*/

#publications #pub-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 2px 15px;
  display: inline-block;
}

#publications #pub-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

#publications #pub-flters li:hover,
#publications #pub-flters li.filter-active {
  color: #149ddd;
}

#publications .pub-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

#publications .pub-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: rgba(20, 157, 221, 0.45);
}

#publications .pub-card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

#publications .pub-badge {
  display: inline-block;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.65);
}

#publications .pub-badge.journal {
  background: rgba(25, 135, 84, 0.10);
  color: #198754;
  border-color: rgba(25, 135, 84, 0.35);
}

#publications .pub-badge.conference {
  background: rgba(20, 157, 221, 0.12);
  color: #149ddd;
  border-color: rgba(20, 157, 221, 0.35);
}

#publications .pub-title {
  display: block;
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 6px;
}

#publications .pub-authors { color: #555; }
#publications .pub-meta { color: #444; }

#publications .pub-meta a {
  border-bottom: 1px dashed rgba(20, 157, 221, 0.55);
}

#publications .pub-meta a:hover {
  border-bottom-style: solid;
}

#publications .pub-group-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #173b6c;
  position: relative;
  padding-left: 14px;
}

#publications .pub-group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: #149ddd;
}

#publications .pub-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

#publications .pub-badge.status.published {
  background: rgba(25, 135, 84, 0.10);
  color: #198754;
  border-color: rgba(25, 135, 84, 0.35);
}

#publications .pub-badge.status.accepted {
  background: rgba(255, 193, 7, 0.14);
  color: #9a6700;
  border-color: rgba(255, 193, 7, 0.35);
}

#publications .pub-badge.status.under_review {
  background: rgba(108, 117, 125, 0.12);
  color: #495057;
  border-color: rgba(108, 117, 125, 0.35);
}


/* =========================
   Research Profile Section
   ========================= */

.research-profile {
  padding: 60px 0;
}

.research-profile-shell {
  background: var(--pf-bg-soft, #f7f9fc);
  border: 1px solid rgba(20, 37, 63, 0.08);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(16, 24, 40, 0.07);
}

.research-profile-intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.research-profile-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(20, 157, 221, 0.10);
  color: #0b6ea8;
  border: 1px solid rgba(20, 157, 221, 0.15);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

.research-profile-intro h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1b2a41;
  margin-bottom: 10px;
}

.research-profile-intro p {
  color: #667085;
  margin-bottom: 0;
  line-height: 1.75;
}

.research-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.research-profile-card {
  background: #fff;
  border: 1px solid rgba(20, 37, 63, 0.08);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 12px 35px rgba(16, 24, 40, 0.07);
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: center;
}

.research-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
}

.rp-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef7fc 0%, #f8fbff 100%);
  color: var(--pf-primary, #149ddd);
  font-size: 1.35rem;
  border: 1px solid rgba(20, 157, 221, 0.12);
}

.rp-value {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
  color: #1b2a41;
  margin-bottom: 10px;
}

.rp-label {
  font-size: 1rem;
  font-weight: 800;
  color: #1b2a41;
  margin-bottom: 6px;
}

.rp-note {
  color: #667085;
  font-size: .92rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .research-profile-grid {
    grid-template-columns: 1fr;
  }

  .research-profile-shell {
    padding: 22px;
  }

  .rp-value {
    font-size: 2rem;
  }
}


/* ===== PATCH: polish improvements (safe, minimal) ===== */

/* 1) smoother input interactions */
.dynamic-toolbar .form-control,
.dynamic-toolbar .form-select {
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

/* 2) slightly reduce hover jump (more stable feel) */
.metric-card:hover,
.featured-card:hover,
.pub-card-dyn:hover {
  transform: translateY(-3px);
}

/* 3) better keyboard focus visibility */
.pub-btn-dyn:focus-visible,
.btn-resume-primary:focus-visible,
.metric-card:focus-within {
  outline: 2px solid rgba(20,157,221,0.6);
  outline-offset: 2px;
}

/* 4) fix invalid rgba typo from old CSS */
.btn-bounce:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

/* 5) clamp long abstracts for cleaner cards */
.pub-abstract-dyn {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 6) make cert CTA responsive (prevents overflow/mess) */
@media (max-width: 768px) {
  .cert-cta-card {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
}

/* 7) slightly normalize featured shadow (less aggressive) */
.featured-card {
  box-shadow: 0 12px 30px rgba(20, 157, 221, 0.06);
}




/* Optional nice-to-have */
html{ scroll-behavior:smooth; }


/* ===== Academic Service card button + section highlight patch ===== */
.research-profile-card {
  position: relative;
  overflow: hidden;
}

.research-profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,157,221,0.04), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.research-profile-card:hover::after,
.research-profile-card.is-active::after {
  opacity: 1;
}

.rp-note {
  margin-bottom: 14px;
}

.rp-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(20, 157, 221, 0.18);
  border-radius: 999px;
  background: rgba(20, 157, 221, 0.08);
  color: #149ddd;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.rp-jump-btn:hover,
.rp-jump-btn:focus-visible {
  background: #149ddd;
  color: #fff;
  border-color: #149ddd;
  box-shadow: 0 10px 24px rgba(20, 157, 221, 0.22);
  transform: translateY(-1px);
}

.rp-jump-btn i {
  font-size: 1rem;
}

.resume-title.section-flash,
.resume-item.section-flash {
  position: relative;
  z-index: 1;
  animation: rpSectionGlow 2.1s ease;
}

.resume-title.section-flash::before,
.resume-item.section-flash::before {
  content: "";
  position: absolute;
  inset: -10px -14px;
  border-radius: 18px;
  background: radial-gradient(circle at center, rgba(255,208,74,0.28) 0%, rgba(255,208,74,0.14) 42%, rgba(255,208,74,0) 78%);
  pointer-events: none;
  z-index: -1;
}

@keyframes rpSectionGlow {
  0% {
    transform: translateY(10px) scale(.985);
    filter: saturate(1.08);
  }
  35% {
    transform: translateY(0) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

.resume-title.section-flash,
.resume-item.section-flash {
  animation: rpSectionGlow 2.8s cubic-bezier(.22, .8, .24, 1);
}

.resume-title.section-flash::before,
.resume-item.section-flash::before {
  inset: -14px -18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at center, rgba(255,208,74,0.40) 0%, rgba(255,208,74,0.24) 34%, rgba(255,208,74,0.08) 58%, rgba(255,208,74,0) 78%);
  box-shadow:
    0 0 0 1px rgba(255,208,74,0.30),
    0 0 0 12px rgba(255,208,74,0.10),
    0 22px 48px rgba(255,196,46,0.24);
  animation: rpSectionHalo 2.8s ease;
}

.resume-title.section-flash::after,
.resume-item.section-flash::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 1px solid rgba(255,208,74,0.42);
  box-shadow:
    0 0 0 8px rgba(255,208,74,0.14),
    0 0 34px rgba(255,196,46,0.26);
  pointer-events: none;
  z-index: -1;
  animation: rpSectionRing 2.8s ease;
}

@keyframes rpSectionHalo {
  0% {
    opacity: 0;
    transform: scale(.94);
  }
  20% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: .12;
    transform: scale(1);
  }
}

@keyframes rpSectionRing {
  0% {
    opacity: 0;
    transform: scale(.96);
  }
  18% {
    opacity: .95;
    transform: scale(1.012);
  }
  100% {
    opacity: 0;
    transform: scale(1.03);
  }
}

.rp-back-btn {
  position: fixed;
  right: 24px;
  bottom: 86px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd24a, #ffb300);
  color: #3f2a00;
  box-shadow: 0 14px 34px rgba(255, 179, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.95);
  transition: opacity .35s ease, visibility .35s ease, transform .35s ease, box-shadow .35s ease, filter .35s ease;
  pointer-events: none;
  isolation: isolate;
}

.rp-back-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255,210,74,0.44), rgba(255,210,74,0));
  opacity: 0;
  z-index: -1;
  transition: opacity .35s ease;
}

.rp-back-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.rp-back-btn.is-visible::before {
  opacity: 1;
}

.rp-back-btn.is-visible.is-attention {
  animation: rpBackBtnPulse 1.9s ease-in-out infinite;
}

.rp-back-btn:hover,
.rp-back-btn:focus-visible {
  transform: translateY(-3px) scale(1.045);
  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.45);
  filter: saturate(1.05);
}

.rp-back-btn span {
  font-size: .94rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.rp-back-btn i {
  font-size: 1rem;
}

@keyframes rpBackBtnPulse {
  0% {
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.34), 0 0 0 0 rgba(58,160,255,0.46);
  }
  70% {
    box-shadow: 0 16px 38px rgba(13, 110, 253, 0.42), 0 0 0 14px rgba(58,160,255,0);
  }
  100% {
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.34), 0 0 0 0 rgba(58,160,255,0);
  }
}

@media (max-width: 767px) {
  .rp-back-btn {
    right: 14px;
    bottom: 88px;
    min-height: 46px;
    padding: 9px 14px;
    z-index: 9999;
  }

  .rp-back-btn span {
    display: inline;
    font-size: .84rem;
  }
}


.verify-btn {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #0d6efd;
  border: 1px solid #0d6efd;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.verify-btn:hover {
  background-color: #0d6efd;
  color: #fff;
  transform: translateY(-1px);
}


.rp-back-btn-dashboard {
  background: linear-gradient(135deg, #ffd24a, #ffb300);
  color: #3f2a00;
  box-shadow: 0 14px 34px rgba(255, 179, 0, 0.34);
}

.rp-back-btn-dashboard::before {
  background: radial-gradient(circle at center, rgba(255,210,74,0.44), rgba(255,210,74,0));
}


.about-modern {
  background: #fff;
}

.about-modern .section-title p {
  max-width: 680px;
}

.about-modern .about-photo-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 10px;
}

.about-modern .about-photo-card img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.about-modern .content {
  padding-top: 0;
}

.about-modern .about-summary {
  font-size: 16px;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 18px;
}

.about-modern .about-summary strong {
  color: #173b6c;
  font-weight: 700;
}

.about-modern .about-inline-link {
  color: #173b6c;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 157, 221, 0.28);
  transition: all 0.25s ease;
}

.about-modern .about-inline-link:hover {
  color: #149ddd;
  border-bottom-color: rgba(20, 157, 221, 0.7);
}

.about-modern .about-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.about-modern .about-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: #f8fbfe;
  border: 1px solid rgba(20, 157, 221, 0.12);
  color: #173b6c;
  font-size: 13px;
  font-weight: 600;
}

.about-modern .about-quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-modern .about-fact {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-modern .about-fact-full {
  grid-column: 1 / -1;
}

.about-modern .about-fact .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.about-modern .about-fact .value {
  font-size: 15px;
  color: #173b6c;
  font-weight: 600;
}

.about-modern .about-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-modern .about-profile-links a,
.about-modern .about-fact .value a {
  color: #149ddd;
  text-decoration: none;
}

.about-modern .about-profile-links a:hover,
.about-modern .about-fact .value a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .about-modern .about-quick-facts {
    grid-template-columns: 1fr;
  }
}



/* Refined About Section */
.about-modern {
  background: #fff;
}

.about-modern .section-title.section-title-minimal {
  margin-bottom: 24px;
  text-align: left;
}

.about-modern .section-title.section-title-minimal h2 {
  margin-bottom: 0;
}

.about-modern .about-simple-row {
  align-items: center;
}

.about-modern .about-photo-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(23, 59, 108, 0.08);
  border-radius: 20px;
  padding: 12px;
  max-width: 340px;
  box-shadow: 0 14px 34px rgba(23, 59, 108, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.about-modern .about-photo-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(20, 157, 221, 0);
  transition: border-color 0.35s ease;
  pointer-events: none;
}

.about-modern .about-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(23, 59, 108, 0.12);
}

.about-modern .about-photo-card:hover::after {
  border-color: rgba(20, 157, 221, 0.18);
}

.about-modern .about-photo-card img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.about-modern .about-photo-card:hover img {
  transform: scale(1.018);
}

.about-modern .about-simple-content {
  padding-top: 0;
  position: relative;
}

.about-modern .about-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding-left: 14px;
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6b7280;
}

.about-modern .about-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #149ddd;
  box-shadow: 0 0 0 0 rgba(20, 157, 221, 0.18);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.about-modern .about-simple-content:hover .about-kicker::before {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 0 6px rgba(20, 157, 221, 0.08);
}

.about-modern .about-summary {
  margin-bottom: 0;
  max-width: 840px;
  font-size: 16.2px;
  line-height: 1.82;
  color: #4b5563;
}

.about-modern .about-summary strong {
  color: #173b6c;
  font-weight: 700;
}

.about-modern .about-inline-link {
  color: #173b6c;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 157, 221, 0.22);
  transition: color 0.25s ease, border-color 0.25s ease, background-size 0.25s ease;
  background-image: linear-gradient(rgba(20, 157, 221, 0.08), rgba(20, 157, 221, 0.08));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: 0 100%;
}

.about-modern .about-inline-link:hover {
  color: #149ddd;
  border-bottom-color: rgba(20, 157, 221, 0.6);
  background-size: 100% 100%;
}

@media (max-width: 1199px) {
  .about-modern .about-photo-card {
    max-width: 315px;
  }

  .about-modern .about-summary {
    font-size: 15.9px;
  }
}

@media (max-width: 991px) {
  .about-modern .section-title.section-title-minimal {
    text-align: center;
    margin-bottom: 20px;
  }

  .about-modern .about-photo-card {
    max-width: 290px;
    margin: 0 auto 8px;
  }

  .about-modern .about-simple-content {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .about-modern .about-summary {
    font-size: 15.2px;
    line-height: 1.78;
  }

  .about-modern .about-kicker {
    font-size: 10.5px;
    letter-spacing: 0.07em;
    margin-bottom: 10px;
  }

  .about-modern .about-photo-card:hover,
  .about-modern .about-photo-card:hover img {
    transform: none;
  }
}

/* About section — toned down to plain professional text */
.about-modern {
  padding-top: 44px;
  padding-bottom: 44px;
}

.about-modern .section-title.section-title-minimal {
  margin-bottom: 18px;
}

.about-modern .section-title.section-title-minimal h2 {
  letter-spacing: 0;
}

.about-modern .about-simple-row {
  align-items: center;
}

.about-modern .about-photo-card {
  background: transparent;
  border: 1px solid rgba(23, 59, 108, 0.08);
  box-shadow: 0 8px 22px rgba(23, 59, 108, 0.06);
  padding: 10px;
  transform: none;
}

.about-modern .about-photo-card::after,
.about-modern .about-photo-card:hover::after {
  display: none;
}

.about-modern .about-photo-card:hover {
  transform: none;
  box-shadow: 0 8px 22px rgba(23, 59, 108, 0.06);
}

.about-modern .about-photo-card img,
.about-modern .about-photo-card:hover img {
  transform: none;
}

.about-modern .about-simple-content {
  padding-top: 0;
}

.about-modern .about-kicker {
  margin-bottom: 10px;
  padding-left: 0;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.about-modern .about-kicker::before,
.about-modern .about-simple-content:hover .about-kicker::before {
  display: none;
}

.about-modern .about-summary {
  max-width: 820px;
  font-size: 15.8px;
  line-height: 1.72;
  color: #4b5563;
}

.about-modern .about-summary strong {
  color: #223b63;
  font-weight: 700;
}

.about-modern .about-inline-link,
.about-modern .about-inline-link:hover,
.about-modern .about-inline-link:focus {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
  background: none;
  transition: none;
}

@media (max-width: 991px) {
  .about-modern {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .about-modern .section-title.section-title-minimal {
    margin-bottom: 16px;
    text-align: center;
  }

  .about-modern .about-photo-card {
    max-width: 270px;
    margin: 0 auto 6px;
  }
}

@media (max-width: 767px) {
  .about-modern .about-summary {
    font-size: 15px;
    line-height: 1.68;
  }
}
