/**
* Template Name: iPortfolio - v3.8.1
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  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;
}

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

  #main {
    margin-left: 0;
  }
}

/*--------------------------------------------------------------
# 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: 40px;
  height: 40px;
  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 {
  width: 100%;
  height: 100vh;
  background: url("../img/abc-bg.jpg") center 20%;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#hero:before {
  content: "";
  background: rgba(5, 13, 24, 0.45);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 720px;
  width: 100%;
  padding: 0 40px;
}

#hero .hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

#hero .hero-qualifications {
  margin: 0 0 18px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

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

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-hero-primary {
  background: #149ddd;
  color: #fff;
}

.btn-hero-primary:hover {
  background: #37b3ed;
  color: #fff;
}

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

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* background-attachment: fixed handled in mobile block above */

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

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

  #hero .hero-qualifications {
    font-size: 20px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-hero {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# 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;
}

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

.professional-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.highlight-card {
  padding: 22px;
  border-radius: 12px;
  background: #f5f8fd;
  box-shadow: 0 10px 30px rgba(17, 37, 68, 0.08);
}

.highlight-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #173b6c;
}

.highlight-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.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: 10px;
}

.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;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 37, 68, 0.12);
}

.portfolio .portfolio-wrap img {
  min-height: 260px;
  object-fit: cover;
}

.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 .portfolio-info-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(4, 11, 20, 0.72);
  color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.portfolio .portfolio-info-card h4 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #fff;
}

.portfolio .portfolio-info-card p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-wrap:hover .portfolio-info-card {
  transform: translateY(-46px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #128C7E;
  color: #fff;
}

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

/*--------------------------------------------------------------
# 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;
  -webkit-animation: animate-loading 1s linear infinite;
  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;
}

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

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

@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;
  }
}

/*--------------------------------------------------------------
# About - GitHub Stats
--------------------------------------------------------------*/
.about .github-stats-wrap {
  margin-top: 16px;
}

.about .github-stats-img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid #e4edf9;
}

/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/
.blog .blog-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(17, 37, 68, 0.09);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

.blog .blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(17, 37, 68, 0.16);
}

.blog .blog-header {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog .blog-icon {
  font-size: 54px;
  color: rgba(255, 255, 255, 0.92);
}

/* Blog header gradient backgrounds */
.java-bg     { background: linear-gradient(135deg, #f89820, #d4620a); }
.aws-bg      { background: linear-gradient(135deg, #FF9900, #c97700); }
.spring-bg   { background: linear-gradient(135deg, #6DB33F, #3d8b27); }
.testing-bg  { background: linear-gradient(135deg, #e74c3c, #b03a2e); }
.ml-bg       { background: linear-gradient(135deg, #9b59b6, #6c3483); }
.reactive-bg { background: linear-gradient(135deg, #149ddd, #0e7bb5); }

.blog .blog-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog .blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

/* Blog tag colors */
.java-tag     { background: rgba(248, 152, 32, 0.12); color: #b34f00; }
.aws-tag      { background: rgba(255, 153, 0,  0.12); color: #a06200; }
.spring-tag   { background: rgba(109, 179, 63, 0.12); color: #2e6e1a; }
.testing-tag  { background: rgba(231, 76, 60,  0.12); color: #922b21; }
.ml-tag       { background: rgba(155, 89, 182, 0.12); color: #5b2c6f; }
.reactive-tag { background: rgba(20, 157, 221, 0.12); color: #0a6fa1; }

.blog .blog-title {
  font-size: 16px;
  font-weight: 700;
  color: #050d18;
  margin-bottom: 8px;
  line-height: 1.45;
}

.blog .blog-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}

.blog .blog-meta i {
  margin-right: 4px;
}

.blog .blog-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog .blog-read-more {
  font-size: 13px;
  font-weight: 600;
  color: #149ddd;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog .blog-read-more:hover {
  gap: 8px;
  color: #0a6fa1;
}

.blog .blog-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 36px;
  border-radius: 999px;
  background: #149ddd;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-top: 20px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.blog .blog-view-all i {
  font-size: 20px;
}

.blog .blog-view-all:hover {
  background: #0a6fa1;
  color: #fff;
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Certifications Section
--------------------------------------------------------------*/
.certifications .cert-platform-label {
  font-size: 18px;
  font-weight: 700;
  color: #173b6c;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.certifications .cert-platform-label i {
  color: #149ddd;
  font-size: 20px;
}

.certifications .cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17, 37, 68, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.certifications .cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(17, 37, 68, 0.14);
}

.certifications .cert-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
  color: #fff;
}

.certifications .cert-card-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: #050d18;
  margin-bottom: 4px;
}

.certifications .cert-card-content p {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
}

.certifications .cert-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #2EC866;
}

.certifications .cert-view-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  border: 2px solid #149ddd;
  color: #149ddd;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.certifications .cert-view-profile:hover {
  background: #149ddd;
  color: #fff;
}

/* Cert icon gradient colors */
.java-cert    { background: linear-gradient(135deg, #f89820, #d4620a); }
.sql-cert     { background: linear-gradient(135deg, #00adb5, #007a82); }
.problem-cert { background: linear-gradient(135deg, #149ddd, #0a6fa1); }
.se-cert      { background: linear-gradient(135deg, #2EC866, #1a7a43); }
.sei-cert     { background: linear-gradient(135deg, #9b59b6, #6c3483); }
.cpp-cert     { background: linear-gradient(135deg, #3498db, #1a5276); }
.python-cert  { background: linear-gradient(135deg, #f39c12, #c07a00); }

/* Badges row */
.certifications .badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  padding: 10px 0;
}

.certifications .badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 80px;
}

.certifications .badge-item .badge-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certifications .badge-item .badge-icon:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.certifications .badge-item span {
  font-size: 13px;
  font-weight: 600;
  color: #173b6c;
  text-align: center;
}

/*--------------------------------------------------------------
# Hero Particles Animation
--------------------------------------------------------------*/
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(20, 157, 221, 0.45);
  animation: heroFloat var(--dur, 12s) linear var(--delay, 0s) infinite;
  bottom: -20px;
  width: var(--size, 6px);
  height: var(--size, 6px);
  left: var(--left, 50%);
}

@keyframes heroFloat {
  0%   { transform: translateY(0) scale(1);    opacity: 0.8; }
  50%  { opacity: 0.5; }
  100% { transform: translateY(-110vh) scale(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles { display: none; }
}

/*--------------------------------------------------------------
# Hero – Outline GitHub Button
--------------------------------------------------------------*/
.btn-hero-outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-hero-outline i {
  font-size: 18px;
}

/*--------------------------------------------------------------
# Portfolio – Project Cards (replaces image-based cards)
--------------------------------------------------------------*/
.proj-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(17, 37, 68, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  cursor: pointer;
}

.proj-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(17, 37, 68, 0.18);
}

.proj-header {
  height: 120px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  position: relative;
  flex-shrink: 0;
}

.proj-icon {
  font-size: 50px;
  color: rgba(255, 255, 255, 0.92);
}

.proj-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.proj-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proj-body h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #09090B;
  margin-bottom: 8px;
  line-height: 1.4;
}

.proj-body p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.proj-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f0f5fc;
  color: #3F3F46;
  letter-spacing: 0.03em;
  border: 1px solid #e4edf9;
}

.proj-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.proj-link-github {
  background: #18181B;
  color: #fff;
}

.proj-link-github:hover {
  background: #2563EB;
  color: #fff;
  transform: translateY(-1px);
}

.proj-link-work {
  background: #f0f5fc;
  color: #173b6c;
  border: 1px solid #e4edf9;
  font-size: 12px;
  padding: 6px 14px;
  cursor: default;
}

/* Project header gradient colors — one per tech domain */
.java-spring-bg { background: linear-gradient(135deg, #134e5e 0%, #71b280 100%); }
.python-ml-bg   { background: linear-gradient(135deg, #3a1c71 0%, #d76d77 50%, #ffaf7b 100%); }
.fullstack-bg   { background: linear-gradient(135deg, #0f3443 0%, #34e89e 100%); }
.csharp-bg      { background: linear-gradient(135deg, #283e51 0%, #4b79a1 100%); }
.ai-bg          { background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%); }
.reactive-bg    { background: linear-gradient(135deg, #149ddd 0%, #0a6fa1 100%); }
.ml-sci-bg      { background: linear-gradient(135deg, #373B44 0%, #4286f4 100%); }
.wso2-bg        { background: linear-gradient(135deg, #b34f00 0%, #e67c00 100%); }
.odoo-bg        { background: linear-gradient(135deg, #6a0dad 0%, #c471ed 100%); }
.ts-bg          { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); }

/* GitHub CTA at bottom of portfolio */
.portfolio-github-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 36px;
  border-radius: 999px;
  background: #18181B;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-top: 20px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.portfolio-github-cta i {
  font-size: 20px;
}

.portfolio-github-cta:hover {
  background: #2563EB;
  color: #fff;
  transform: translateY(-2px);
}

/* Updated filter bar for new categories */
.portfolio #portfolio-flters {
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  font-size: 13px;
}

@media (max-width: 576px) {
  .portfolio #portfolio-flters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 12px;
    gap: 2px;
  }
}

/*--------------------------------------------------------------
# Certifications – extra platform badge colors
--------------------------------------------------------------*/
.linkedin-cert  { background: linear-gradient(135deg, #0A66C2 0%, #0077B5 100%); }
.udemy-cert     { background: linear-gradient(135deg, #a435f0 0%, #7719aa 100%); }
.uni-cert       { background: linear-gradient(135deg, #2980b9 0%, #1a5276 100%); }
.ops-cert       { background: linear-gradient(135deg, #27ae60 0%, #1a7a43 100%); }
.hackathon-cert { background: linear-gradient(135deg, #e67e22 0%, #d35400 100%); }

.cert-linkedin-badge { color: #0A66C2; }
.cert-udemy-badge    { color: #a435f0; }
.cert-uni-badge      { color: #2980b9; }
.cert-hackathon-badge{ color: #e67e22; }

.cert-linkedin { color: #0A66C2 !important; }
.cert-other    { color: #173b6c !important; }

.cert-linkedin i, .cert-other i {
  color: inherit !important;
}

/*--------------------------------------------------------------
# Volunteering & Leadership Section
--------------------------------------------------------------*/
.volunteering .vol-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(17, 37, 68, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

.volunteering .vol-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(17, 37, 68, 0.16);
}

.volunteering .vol-icon {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  flex-shrink: 0;
}

.volunteering .vol-icon i {
  font-size: 40px;
  color: rgba(255,255,255,0.92);
}

/* Vol icon gradients */
.karate-bg   { background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%); }
.captain-bg  { background: linear-gradient(135deg, #d35400 0%, #f39c12 100%); }
.teaching-bg { background: linear-gradient(135deg, #134e5e 0%, #71b280 100%); }
.iesl-bg     { background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%); }
.blog-bg     { background: linear-gradient(135deg, #18181B 0%, #3F3F46 100%); }
.colors-bg   { background: linear-gradient(135deg, #6a0dad 0%, #9b59b6 100%); }

.volunteering .vol-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.volunteering .vol-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f0f5fc;
  color: #173b6c;
  border: 1px solid #e4edf9;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.volunteering .vol-body h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #09090B;
  margin-bottom: 6px;
  line-height: 1.4;
}

.volunteering .vol-org {
  font-size: 13px;
  color: #149ddd;
  font-weight: 600;
  margin-bottom: 10px;
}

.volunteering .vol-org i {
  margin-right: 4px;
}

.volunteering .vol-body p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 12px;
}

.volunteering .vol-achievement {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #d35400;
  margin-top: auto;
}

.volunteering .vol-achievement i {
  font-size: 14px;
}

.volunteering .vol-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #149ddd;
  margin-top: auto;
  transition: color 0.2s;
}

.volunteering .vol-link:hover {
  color: #0a6fa1;
}

/*--------------------------------------------------------------
# High-end animation enhancements
--------------------------------------------------------------*/

/* Staggered section title reveal */
.section-title h2 {
  animation: none;
}

[data-aos="fade-up"] {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth skill bar fill */
.skills .progress-bar {
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Glowing pulse on count boxes */
.facts .count-box {
  transition: transform 0.3s ease;
}

.facts .count-box:hover {
  transform: translateY(-4px);
}

/* Resume timeline dot pulse */
.resume .resume-item::before {
  transition: background 0.3s ease, transform 0.3s ease;
}

.resume .resume-item:hover::before {
  background: #149ddd;
  transform: scale(1.3);
}

/* Section heading underline grow */
.section-title h2::after {
  transition: width 0.6s ease;
}

/* Profile image hover glow */
#header .profile img {
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

#header .profile img:hover {
  box-shadow: 0 0 0 4px #149ddd, 0 0 20px rgba(20, 157, 221, 0.4);
  transform: scale(1.03);
}

/* Social link enhanced hover */
#header .profile .social-links a {
  transition: background 0.3s ease, transform 0.2s ease;
}

#header .profile .social-links a:hover {
  transform: translateY(-2px) scale(1.1);
}

/* Enhanced contact info hover */
.contact .info .address:hover i,
.contact .info .email:hover i,
.contact .info .phone:hover i {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Volunteering card achievement highlight */
.volunteering .vol-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #149ddd;
  transition: width 0.4s ease;
  border-radius: 0 0 14px 14px;
}

.volunteering .vol-card {
  position: relative;
}

.volunteering .vol-card:hover::after {
  width: 100%;
}

/* Certification card number counter style */
.cert-platform-label {
  border-left: 4px solid #149ddd;
  padding-left: 12px;
}

/* Smooth footer appearance */
#footer {
  transition: opacity 0.3s ease;
}

/*--------------------------------------------------------------
# Sidebar Collapse Toggle
--------------------------------------------------------------*/
.sidebar-toggle {
  display: none;
  position: absolute;
  top: 16px;
  right: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e4edf9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.14);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  color: #173b6c;
  font-size: 14px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sidebar-toggle:hover {
  background: #149ddd;
  color: #fff;
  border-color: #149ddd;
  transform: scale(1.1);
}

@media (min-width: 1200px) {
  .sidebar-toggle { display: flex; }

  #header {
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }

  #header.sidebar-collapsed {
    width: 72px;
  }

  #header.sidebar-collapsed .profile h1,
  #header.sidebar-collapsed .profile .social-links,
  #header.sidebar-collapsed .nav-menu a span {
    opacity: 0;
    width: 0;
    overflow: hidden;
    display: none;
  }

  #header.sidebar-collapsed .profile {
    padding: 8px 0;
  }

  #header.sidebar-collapsed .profile img {
    width: 42px;
    margin: 8px auto;
  }

  #header.sidebar-collapsed .nav-menu a {
    justify-content: center;
    padding: 14px 0;
  }

  #header.sidebar-collapsed .nav-menu a i {
    font-size: 22px;
    padding-right: 0;
    margin: 0;
  }

  #header.sidebar-collapsed #footer {
    display: none;
  }

  #header.sidebar-collapsed .sidebar-toggle {
    right: -14px;
  }

  body.sidebar-collapsed #main {
    margin-left: 72px;
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #main {
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/*--------------------------------------------------------------
# GitHub Stats Strip (replaces broken image)
--------------------------------------------------------------*/
.github-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  background: #f8faff;
  border-radius: 12px;
  border: 1px solid #e4edf9;
}

.github-strip-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-direction: column;
  text-align: center;
  min-width: 60px;
}

.github-strip-stat i {
  font-size: 20px;
  color: #149ddd;
}

.gs-num {
  font-size: 22px;
  font-weight: 800;
  color: #09090B;
  line-height: 1;
}

.gs-lbl {
  font-size: 11px;
  color: #777;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gs-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 999px;
  background: #18181B;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.25s ease;
  white-space: nowrap;
}

.gs-cta i {
  font-size: 18px;
}

.gs-cta:hover {
  background: #149ddd;
  color: #fff;
}

@media (max-width: 767px) {
  .github-strip { justify-content: center; }
  .gs-cta { margin-left: 0; }
}

/*--------------------------------------------------------------
# Resume Company Logos
--------------------------------------------------------------*/
.resume-co-logo {
  margin-bottom: 8px;
}

.co-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.co-badge:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}

/* Company brand colors */
.xventure-co    { background: linear-gradient(135deg, #1e3c72, #2a5298); }
.persistent-co  { background: linear-gradient(135deg, #f7971e, #d35400); }
.teatang-co     { background: linear-gradient(135deg, #27ae60, #1a7a43); }
.axiata-co      { background: linear-gradient(135deg, #c0392b, #922b21); }
.haycarb-co     { background: linear-gradient(135deg, #795548, #5d4037); }
.ansell-co      { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }
.academy-co     { background: linear-gradient(135deg, #149ddd, #0a6fa1); }
/* University colors */
.westminster-co { background: linear-gradient(135deg, #c0392b, #7b241c); }
.peradeniya-co  { background: linear-gradient(135deg, #27ae60, #1e8449); }
.walasmulla-co  { background: linear-gradient(135deg, #2980b9, #1a5276); }

/*--------------------------------------------------------------
# Education Transcript Accordion
--------------------------------------------------------------*/
.edu-transcript {
  margin-top: 14px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e4edf9;
}

.edu-transcript summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  cursor: pointer;
  background: #f0f5fc;
  font-size: 13.5px;
  font-weight: 700;
  color: #173b6c;
  user-select: none;
  transition: background 0.2s;
  list-style: none;
}

.edu-transcript summary::-webkit-details-marker { display: none; }

.edu-transcript summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  margin-left: auto;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.edu-transcript[open] summary::after {
  transform: rotate(180deg);
}

.edu-transcript summary:hover {
  background: #e4edf9;
}

.edu-transcript summary i {
  color: #149ddd;
  font-size: 16px;
}

.transcript-wrap {
  padding: 16px;
  background: #fff;
  overflow-x: auto;
}

.transcript-note {
  font-size: 12.5px;
  color: #555;
  margin-bottom: 12px;
  font-style: italic;
}

.transcript-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.transcript-table th {
  background: #f0f5fc;
  color: #173b6c;
  font-weight: 700;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 2px solid #e4edf9;
}

.transcript-table td {
  padding: 6px 10px;
  border-bottom: 1px solid #f0f5fc;
  color: #444;
}

.transcript-table tr:last-child td {
  border-bottom: none;
}

.transcript-table tr:hover td {
  background: #f8faff;
}

/* Section separator rows */
.t-section td {
  background: #eef3fb !important;
  color: #173b6c !important;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 10px 4px !important;
}

/* Grade colors */
.g-a  { color: #1a7a43; font-weight: 700; }
.g-b  { color: #1e3c72; font-weight: 700; }
.g-c  { color: #b34f00; font-weight: 700; }

/* MSc type badges */
.t-core { color: #149ddd; font-weight: 700; font-size: 11px; }
.t-opt  { color: #888; font-weight: 600; font-size: 11px; }

/*--------------------------------------------------------------
# Skill Bar Styling
--------------------------------------------------------------*/
/* Percentage counter hover glow */
.skills .progress .skill .val {
  transition: color 0.3s ease;
}

.skills .progress:hover .skill .val {
  color: #149ddd;
}

/* Category headings with left-accent bar */
.skills .skills-content h4 {
  position: relative;
  padding-left: 14px;
  color: #173b6c;
  margin: 20px 0 10px;
}

.skills .skills-content h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: #149ddd;
  border-radius: 2px;
}

/*--------------------------------------------------------------
# Certifications v2 — Image Thumbnail Cards
--------------------------------------------------------------*/
.cert-card-v2 {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17, 37, 68, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: calc(100% - 0px);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.cert-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(17, 37, 68, 0.16);
}

.cert-img-link {
  position: relative;
  display: block;
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
}

.cert-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.cert-thumb-sm {
  height: 120px;
}

.cert-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 157, 221, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transition: all 0.3s ease;
}

.cert-zoom-overlay i {
  font-size: 22px;
}

.cert-img-link:hover .cert-thumb {
  transform: scale(1.05);
}

.cert-img-link:hover .cert-zoom-overlay {
  background: rgba(20, 157, 221, 0.72);
  opacity: 1;
}

.cert-v2-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.cert-v2-body-sm {
  padding: 12px 14px;
  gap: 8px;
}

.cert-v2-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cert-v2-row .cert-card-icon {
  border-radius: 8px;
  flex-shrink: 0;
}

.cert-v2-info h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #09090B;
  margin-bottom: 2px;
  line-height: 1.3;
}

.cert-v2-info p {
  font-size: 11.5px;
  color: #888;
  margin: 0;
}

/* Testimonial profile photo improvements */
.testimonials .testimonial-img {
  object-fit: cover;
  width: 90px;
  height: 90px;
}

/*--------------------------------------------------------------
# Education Logo Images (replace text badges for universities/schools)
--------------------------------------------------------------*/
.edu-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 3px;
  border: 1px solid #e4edf9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.edu-logo-img:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

/* School logo — slightly rounded square */
.edu-logo-school {
  border-radius: 50%;
  padding: 4px;
  background: #fff;
}

/* Accommodate wide university wordmark logos (Westminster) */
.edu-logo-img[alt="University of Westminster"] {
  width: 88px;
  height: 44px;
  border-radius: 6px;
}

/* Activities line in education */
.edu-activities {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
}

/* mt-2 on nested details */
.edu-transcript.mt-2 {
  margin-top: 8px;
}

/*--------------------------------------------------------------
# Company Logo Images (replace text co-badge for employers)
--------------------------------------------------------------*/
.co-logo-img {
  height: 44px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px 6px;
  border: 1px solid #e4edf9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.co-logo-img:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

/* Wide logos (e.g. Axiata wordmark) */
.co-logo-wide {
  max-width: 140px;
  height: 40px;
}

/*==============================================================
  COMPREHENSIVE MOBILE RESPONSIVE STYLES
  Breakpoints: 1199 (sidebar), 991 (tablet), 768 (mobile), 576 (xs)
==============================================================*/

/*--------------------------------------------------------------
# Blog — Blogger platform additions
--------------------------------------------------------------*/
/* Platform section labels */
.blog-platform-label {
  font-size: 18px;
  font-weight: 700;
  color: #173b6c;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid #149ddd;
  padding-left: 12px;
}

.blog-platform-label i {
  color: #149ddd;
  font-size: 22px;
}

.blog-platform-blogger {
  border-left-color: #FF5722;
}

.blog-platform-blogger i {
  color: #FF5722;
}

/* Blogger "Read on Blogger" link colour */
.blogger-read-more {
  color: #FF5722;
}

.blogger-read-more:hover {
  color: #d84315;
}

/* Blogger CTA button */
.blog-view-all-blogger {
  background: #FF5722;
}

.blog-view-all-blogger:hover {
  background: #d84315;
}

/* New gradient headers for Blogger topics */
.hadoop-bg     { background: linear-gradient(135deg, #1a237e 0%, #283593 100%); }
.cloud-comp-bg { background: linear-gradient(135deg, #0277BD 0%, #01579B 100%); }
.graph-bg      { background: linear-gradient(135deg, #006064 0%, #00838F 100%); }
.shell-bg      { background: linear-gradient(135deg, #212121 0%, #424242 100%); }
.unix-bg       { background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%); }

/* Tag colour pills for Blogger topics */
.hadoop-tag { background: rgba(26, 35, 126, 0.10); color: #1a237e; }
.cloud-tag  { background: rgba(2, 119, 189, 0.10);  color: #0277BD; }
.graph-tag  { background: rgba(0, 96, 100, 0.10);   color: #006064; }
.shell-tag  { background: rgba(66, 66, 66, 0.10);   color: #424242; }
.unix-tag   { background: rgba(27, 94, 32, 0.10);   color: #1B5E20; }

/* ── Hero ── */
@media (min-width: 1024px) {
  #hero { background-attachment: fixed; }
}

@media (max-width: 1199px) {
  /* When sidebar hides, hero needs to account for no left margin */
  #hero .hero-container { padding: 0 30px; }
}

@media (max-width: 768px) {
  #hero {
    background-attachment: scroll;
    background-position: center 15%; /* keep face in frame */
    justify-content: center;
    min-height: 100vh;
    padding: 80px 0 40px; /* top padding for hamburger */
  }

  /* Stronger overlay on mobile for text readability */
  #hero:before {
    background: rgba(5, 13, 24, 0.62);
  }

  #hero .hero-container {
    text-align: center;
    padding: 0 20px;
    max-width: 100%;
  }

  #hero .hero-eyebrow {
    font-size: 10px;
    padding: 6px 10px;
    letter-spacing: 0.03em;
    white-space: normal;
    display: inline-block;
    max-width: 100%;
    line-height: 1.5;
  }

  #hero h1 {
    font-size: 38px;
    line-height: 46px;
  }

  #hero .hero-qualifications {
    font-size: 13px;
    line-height: 1.6;
    max-width: 100%;
  }

  #hero p {
    font-size: 20px;
    margin-bottom: 28px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn-hero {
    min-width: 120px;
    padding: 10px 18px;
    font-size: 13px;
  }

  .hero-particles span { display: none; }
}

@media (max-width: 576px) {
  #hero {
    background-position: 65% 15%; /* bias right to keep person visible */
  }

  #hero h1 { font-size: 32px; line-height: 40px; }

  #hero .hero-qualifications {
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  #hero h1 { font-size: 27px; line-height: 34px; }
  #hero .hero-eyebrow { font-size: 9px; }
}

/* ── About ── */
@media (max-width: 768px) {
  .about .content h3 { font-size: 20px; }

  .github-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .github-strip-stat { flex-direction: row; gap: 8px; }
  .gs-cta { width: 100%; justify-content: center; }
}

/* ── Facts ── */
@media (max-width: 768px) {
  .facts .count-box {
    padding: 20px 15px;
    text-align: center;
  }

  .facts .count-box i { float: none; display: block; margin: 0 auto 8px; }
  .facts .count-box span { margin-left: 0; display: block; }
  .facts .count-box p { margin-left: 0; }
}

/* ── Skills ── */
@media (max-width: 768px) {
  .skills .skills-content { padding: 0 5px; }
  .skills .progress .skill { font-size: 13px; }
}

/* ── Resume ── */
@media (max-width: 768px) {
  .resume-co-logo { margin-bottom: 6px; }

  .co-logo-img {
    height: 36px;
    max-width: 80px;
  }

  .co-logo-wide {
    max-width: 110px;
    height: 32px;
  }

  .edu-logo-img {
    width: 36px;
    height: 36px;
  }

  .edu-logo-img[alt="University of Westminster"] {
    width: 72px;
    height: 36px;
  }

  .resume .resume-item h4 { font-size: 15px; }
  .resume .resume-item h5 { font-size: 14px; }

  .transcript-table { font-size: 12px; }
  .transcript-table th,
  .transcript-table td { padding: 5px 7px; }
}

/* ── Portfolio ── */
@media (max-width: 768px) {
  .portfolio #portfolio-flters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    border-radius: 12px;
  }

  .portfolio #portfolio-flters li {
    font-size: 12px;
    padding: 7px 10px 6px;
  }

  .proj-card { height: auto; }

  .proj-header { height: 100px; }
  .proj-icon { font-size: 42px; }

  .proj-body h4 { font-size: 14.5px; }
  .proj-body p { font-size: 13px; }

  .portfolio-github-cta {
    font-size: 13px;
    padding: 11px 24px;
  }
}

/* ── Blog ── */
@media (max-width: 768px) {
  .blog .blog-card { height: auto; margin-bottom: 20px; }
  .blog .blog-header { height: 110px; }
  .blog .blog-view-all { font-size: 13px; padding: 11px 24px; }
}

/* ── Certifications ── */
@media (max-width: 768px) {
  /* HackerRank certs: 2-col on tablet */
  .cert-card-v2 { height: auto; }

  .cert-img-link { height: 130px; }
  .cert-thumb-sm { height: 100px; }

  .cert-v2-info h4 { font-size: 12.5px; }
  .cert-v2-info p { font-size: 11px; }

  .badges-row { gap: 18px; }
  .badge-item .badge-icon { width: 56px; height: 56px; font-size: 24px; }

  .cert-view-profile { font-size: 13px; padding: 9px 18px; }
}

@media (max-width: 576px) {
  /* Force 1-col on very small screens for certs */
  .certifications .col-lg-3,
  .certifications .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ── Services ── */
@media (max-width: 768px) {
  .services .title { font-size: 16px; }
  .services .description { font-size: 13px; }
}

/* ── Volunteering ── */
@media (max-width: 768px) {
  .volunteering .vol-card { height: auto; }
  .volunteering .vol-icon { height: 70px; }
  .volunteering .vol-icon i { font-size: 34px; }
  .volunteering .vol-body h4 { font-size: 14.5px; }
}

/* ── Testimonials ── */
@media (max-width: 768px) {
  .testimonials .testimonial-item p {
    font-size: 14px;
    margin: 0 8px 30px;
    padding: 16px;
  }

  .testimonials .testimonial-img {
    width: 70px;
    height: 70px;
  }
}

/* ── Contact ── */
@media (max-width: 768px) {
  .contact .info { padding: 20px; }
  .contact .info h4 { font-size: 18px; }
  .contact iframe { height: 250px !important; }
}

/* ── Section titles ── */
@media (max-width: 768px) {
  .section-title h2 { font-size: 26px; }
  .section-title p { font-size: 14px; }
}

/* ── Professional highlights ── */
@media (max-width: 576px) {
  .professional-highlights { grid-template-columns: 1fr; }
}

/* ── GitHub strip on very small screens ── */
@media (max-width: 480px) {
  .github-strip { padding: 12px 14px; }
  .gs-num { font-size: 18px; }
  .gs-lbl { font-size: 10px; }
}

/* ── Sidebar toggle: hide on mobile (uses existing hamburger) ── */
@media (max-width: 1199px) {
  .sidebar-toggle { display: none !important; }
}

/* ── Resume: stack columns on mobile ── */
@media (max-width: 768px) {
  .resume .row > .col-lg-6:first-child {
    margin-bottom: 0;
  }
}

/* ── Cert platform label ── */
@media (max-width: 576px) {
  .cert-platform-label { font-size: 15px; }
}

/* ── Vol card achievement ── */
@media (max-width: 576px) {
  .volunteering .vol-achievement { font-size: 11px; }
}

/* ── Edu transcript table scrollable on mobile ── */
@media (max-width: 576px) {
  .transcript-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .edu-transcript summary { font-size: 12.5px; }
}

/* ── Footer on mobile ── */
@media (max-width: 1199px) {
  #footer { position: static; width: auto; padding: 10px 15px; }
}

/* ── Ensure nav items don't overflow on mobile ── */
@media (max-width: 480px) {
  .hero-eyebrow { font-size: 9px; letter-spacing: 0.02em; }
  #hero h1 { font-size: 26px; line-height: 32px; }
}
