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

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/* Hide the main window scrollbar; scrolling still works (wheel, touch, keys, back-to-top). */
html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #272829;
  font-size: 1rem;
  line-height: 1.65;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", system-ui, -apple-system, sans-serif;
  line-height: 1.25;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 24px;
  z-index: 99999;
  background: #149ddd;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.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;
  /* Scroll when nav is tall, but hide the track so it doesn’t sit on the content edge */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#header::-webkit-scrollbar {
  display: none;
}

#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: "Raleway", system-ui, 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 {
  /* Full width on mobile; sidebar offset is applied only at min-width: 1200px (see below) */
  margin-left: 0;
  width: 100%;
  position: relative;
  min-height: 100vh;
  height: auto;
  padding: 100px 24px 72px;
  background: url("../img/pranav_bg.JPG") top center;
  background-size: cover;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  #hero {
    margin-left: 300px;
    width: auto;
  }
}

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

#hero .hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
  box-sizing: border-box;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: clamp(1.75rem, 4vw + 1rem, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

#hero p {
  color: #fff;
}

#hero p.hero-typed-line {
  margin-bottom: 1.25rem;
  /* Scales down on narrow viewports so long typed strings don’t overflow */
  font-size: clamp(0.8125rem, 1.65vw + 0.6rem, 1.625rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
  max-width: 100%;
}

#hero .hero-tagline {
  font-size: clamp(0.875rem, 2.2vw + 0.65rem, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  max-width: 100%;
  line-height: 1.45;
  overflow-wrap: anywhere;
  hyphens: auto;
}

#hero .hero-lead {
  font-size: clamp(0.9375rem, 0.5vw + 0.875rem, 1rem);
  font-weight: 400;
  max-width: 46rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

#hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.35rem;
}

#hero .hero-cta .btn {
  margin: 0;
}

#hero .hero-cta .btn-outline-light:hover {
  color: #040b14;
  background: #fff;
  border-color: #fff;
}

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

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

@media (max-width: 768px) {
  #hero {
    padding: 88px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px));
    min-height: 100vh;
    min-height: 100dvh;
  }

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

  #hero p.hero-typed-line span {
    letter-spacing: 0.5px;
  }

  #hero .hero-lead {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  #hero .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  #hero .hero-cta .btn {
    width: 100%;
    box-sizing: border-box;
  }
}

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

.section-bg {
  background: #f5f8fd;
}

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

.section-title h2 {
  font-size: clamp(1.5rem, 1.2vw + 1.2rem, 2rem);
  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;
}

.section-title > p {
  font-size: 1rem;
  line-height: 1.65;
  color: #5f6b7a;
}

.section-title h3.h2,
.section-title > .h2 {
  font-size: clamp(1.5rem, 1.2vw + 1.2rem, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #173b6c;
}

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

/*--------------------------------------------------------------
# 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: "Open Sans", system-ui, 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: "Raleway", system-ui, 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: .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: 1.3;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Raleway", system-ui, 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;
}

.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-video .video-wrapper {
  position: relative;
  padding-bottom: 100%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.portfolio-details-video .video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

/* Impact & work: grid beside icon so title + body use full column width */
#work .icon-box {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 1rem;
  row-gap: 0.35rem;
  align-items: start;
  margin-bottom: 0;
}

#work .icon-box .icon {
  float: none;
  grid-row: 1 / -1;
  align-self: start;
}

#work .icon-box .title {
  grid-column: 2;
  margin-left: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

#work .icon-box .description {
  grid-column: 2;
  margin-left: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

#work .impact-item--high {
  padding: 1rem 1.1rem 1.15rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(20, 157, 221, 0.22);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 16px rgba(23, 59, 108, 0.05);
}

#work .impact-item--high .impact-detail-list {
  margin: 0;
  padding-left: 1.2rem;
}

#work .impact-item--high .impact-detail-list li {
  margin-bottom: 0.35rem;
}

#work .impact-item--high .impact-detail-list li:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
/* Same soft gradient as Contact / Experience (section-bg tones) */
#resume.section-bg,
#testimonials.testimonials {
  background: linear-gradient(180deg, #f5f8fd 0%, #eef3f9 100%);
}

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

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

/*--------------------------------------------------------------
# Site custom (senior positioning)
--------------------------------------------------------------*/
.skill-group h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #173b6c;
  margin-bottom: 0.75rem;
}

/* Technical skills cards: heading treatment aligned with Expertise card headers */
.skills-tags-grid .skill-group h4 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(20, 157, 221, 0.12);
}

.skills-tags-grid .skill-group h4::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(145deg, #dff3fc 0%, #eef8fc 100%);
  border: 1px solid rgba(20, 157, 221, 0.22);
  box-shadow: 0 1px 2px rgba(23, 59, 108, 0.06);
}

.skill-group p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Expertise: white card area + full-width skills band; avoid white strip below grey */
#expertise.expertise-section {
  padding-bottom: 0;
}

#expertise.expertise-section > .container:first-of-type {
  padding-bottom: 2.75rem;
}

.expertise-skills-band {
  margin-top: 0;
  padding-top: 2.75rem;
  padding-bottom: 3.75rem;
  border-top: 1px solid rgba(20, 157, 221, 0.12);
  background: #f5f8fd;
}

.expertise-skills-band .container {
  padding-bottom: 0;
}

.expertise-skills-band .skills-tags-grid {
  margin-bottom: 0;
}

/* Grid + explicit gap: reliable space between parent cards (Bootstrap row/cols can read flush) */
.expertise-skills-band .skills-tags-grid.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.expertise-skills-band .skills-tags-grid.row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
  flex: initial;
}

/* col-* and .skill-group share the same node — restore card padding after reset above */
.expertise-skills-band .skills-tags-grid.row > [class*="col-"].skill-group {
  padding: 1.5rem 1.55rem 1.6rem;
}

@media (min-width: 768px) {
  .expertise-skills-band .skills-tags-grid.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.25rem;
  }
}

@media (min-width: 1200px) {
  .expertise-skills-band .skills-tags-grid.row {
    gap: 2.25rem 2.75rem;
  }
}

.expertise-skills-band .wakatime-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  vertical-align: middle;
}

.expertise-skills-band .wakatime-badge {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.expertise-skills-band .wakatime-badge:hover {
  opacity: 0.92;
}

.expertise-skills-band .wakatime-badge img {
  display: block;
  height: 20px;
  width: auto;
  max-width: min(100%, 133px);
}

.skills-tags-grid .skill-group {
  margin-bottom: 0;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.55rem 1.6rem;
  border: 1px solid rgba(20, 157, 221, 0.12);
  box-shadow: 0 2px 14px rgba(23, 59, 108, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

ul.skill-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-content: flex-start;
  flex: 1;
}

ul.skill-tags li.skill-tag {
  margin: 0;
  padding: 0.45rem 0.72rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2a3f5c;
  background: rgba(20, 157, 221, 0.08);
  border: 1px solid rgba(20, 157, 221, 0.16);
  border-radius: 6px;
  line-height: 1.4;
}

.featured-card {
  background: #fff;
  border-radius: 6px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 0 20px rgba(23, 59, 108, 0.06);
  border: 1px solid rgba(20, 157, 221, 0.12);
}

.featured-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #173b6c;
  margin-bottom: 0.75rem;
}

.featured-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.featured-card .featured-card-actions {
  margin-top: 1rem;
}

.featured-card .featured-card-thumb {
  max-width: min(100%, 360px);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(20, 157, 221, 0.15);
  box-shadow: 0 4px 14px rgba(23, 59, 108, 0.08);
  line-height: 0;
}

.featured-card .featured-card-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.subsection-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #173b6c;
  margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Core Expertise (card grid)
--------------------------------------------------------------*/
.expertise-section .expertise-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

/* 3+2 on wide viewports avoids a lone card on row 2 (auto-fit often yields 4+1) */
@media (min-width: 900px) {
  .expertise-section .expertise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 560px) and (max-width: 899px) {
  .expertise-section .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.expertise-card,
.about-section .about-card,
.what-section .wi-card,
.current-role .cr-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.4rem 1.45rem 1.5rem;
  border: 1px solid rgba(20, 157, 221, 0.14);
  box-shadow: 0 4px 18px rgba(23, 59, 108, 0.06);
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.expertise-section .expertise-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.expertise-card:hover,
.about-section .about-card:hover,
.what-section .wi-card:hover,
.current-role .cr-card:hover {
  border-color: rgba(20, 157, 221, 0.32);
  box-shadow: 0 8px 28px rgba(23, 59, 108, 0.1);
}

.expertise-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.expertise-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, #dff3fc 0%, #eef8fc 100%);
  color: #149ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
}

.expertise-card__title {
  font-family: "Raleway", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #173b6c;
  margin: 0;
  line-height: 1.35;
  padding-top: 0.35rem;
}

.expertise-card__list {
  margin: 0;
  margin-top: 0.1rem;
  padding-inline-start: 1rem;
  font-size: 0.92rem;
  line-height: 1.58;
  color: #3d4450;
  list-style-position: outside;
}

.expertise-section .expertise-card .expertise-card__list {
  flex: 1;
  margin-left: 0.1rem;
}

.expertise-card__list li {
  margin-bottom: 0.5rem;
  padding-inline-start: 0.15rem;
}

.expertise-card__list li:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About / What I Do / Current Role (card grids)
--------------------------------------------------------------*/
.about-section .about-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.about-section .about-card--photo {
  align-self: start;
  padding: 0.85rem;
}

.about-card__photo-wrap {
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.about-card__photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.about-lead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3d4450;
}

.about-facts {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-fact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  background: #f5f8fd;
  border-radius: 8px;
  border: 1px solid rgba(20, 157, 221, 0.12);
}

.about-fact__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #149ddd;
}

.about-fact__value {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #2c4964;
}

.about-card__body p,
.about-card--prose > p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3d4450;
}

.about-card__body p:last-child,
.about-card--prose > p:last-child {
  margin-bottom: 0;
}

.about-section .about-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 992px) {
  .about-section .about-grid {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    align-items: start;
  }

  .about-section .about-card--photo {
    grid-column: 1;
    grid-row: 1;
  }

  .about-section .about-card--intro {
    grid-column: 2;
    grid-row: 1;
  }
}

.what-section .wi-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .what-section .wi-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: start;
  }
}

/*--------------------------------------------------------------
# Engineering beyond code
--------------------------------------------------------------*/
.beyond-code-section.section-bg {
  background: linear-gradient(180deg, #e8f2fa 0%, #f5f8fd 38%, #f5f8fd 100%);
}

/* Title + subtitle: full-width block like other sections; avoid a narrow column “under” the heading */
.beyond-code-section .beyond-code-section__title > p.beyond-code-section__intro {
  max-width: none;
  margin-top: 0.35rem;
  text-wrap: pretty;
}

@media (min-width: 992px) {
  .beyond-code-section .beyond-code-section__heading {
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .beyond-code-section .beyond-code-section__heading {
    text-wrap: balance;
  }
}

.beyond-code-section .beyond-code-panel {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem 1.45rem 1.55rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(20, 157, 221, 0.18);
  box-shadow: 0 10px 36px rgba(23, 59, 108, 0.08);
  border-left: 4px solid #149ddd;
}

.beyond-code-section .beyond-code-panel__head {
  margin-bottom: 0.35rem;
}

.beyond-code-section .beyond-code-panel__title {
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.2rem);
}

.beyond-code-section .beyond-code-panel__lead {
  margin: 0 0 1.15rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #3d4450;
}

.beyond-code-section .beyond-code-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .beyond-code-section .beyond-code-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
  }
}

.beyond-code-section .beyond-code-grid > li {
  margin: 0;
  position: relative;
  padding: 0.9rem 0.95rem 0.95rem 2.35rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #3d4450;
  background: linear-gradient(135deg, rgba(20, 157, 221, 0.07) 0%, rgba(245, 248, 253, 0.95) 100%);
  border-radius: 9px;
  border: 1px solid rgba(20, 157, 221, 0.14);
}

.beyond-code-section .beyond-code-grid > li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.1rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #149ddd;
  box-shadow: 0 0 0 3px rgba(20, 157, 221, 0.22);
}

.current-role .cr-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .current-role .cr-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }
}

.current-role .cr-card p,
.current-role .cr-card .expertise-card__list {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3d4450;
}

.current-role .cr-card p strong {
  color: #173b6c;
}

.current-role .cr-apart-lead,
.current-role .cr-apart-closing {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3d4450;
}

.current-role .cr-apart-lead {
  margin-bottom: 1.1rem;
}

.current-role .cr-apart-pillars {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.current-role .cr-apart-pillars > li {
  margin: 0;
  padding: 0.65rem 0.8rem 0.7rem 0.85rem;
  background: linear-gradient(90deg, rgba(20, 157, 221, 0.08) 0%, #f5f8fd 12%, #f5f8fd 100%);
  border-radius: 8px;
  border: 1px solid rgba(20, 157, 221, 0.14);
  border-left: 3px solid #149ddd;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.current-role .cr-apart-pillars__title {
  display: block;
  font-family: "Raleway", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #173b6c;
}

.current-role .cr-apart-pillars__text {
  display: block;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #3d4450;
}

.current-role .cr-apart-closing {
  padding-top: 0.15rem;
  border-top: 1px solid rgba(20, 157, 221, 0.15);
}

.booking-widget-wrap {
  background: #f5f8fd;
  border-color: rgba(20, 157, 221, 0.25) !important;
}

/*--------------------------------------------------------------
# Contact (refined layout)
--------------------------------------------------------------*/
#contact.contact-section {
  background: linear-gradient(180deg, #f5f8fd 0%, #eef3f9 100%);
}

#contact .contact-aside-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: #2c4964;
}

#contact .contact-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(20, 157, 221, 0.18);
  box-shadow: 0 4px 18px rgba(23, 59, 108, 0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  position: relative;
}

#contact .contact-link-card:last-of-type {
  margin-bottom: 0;
}

#contact .contact-link-card:hover {
  border-color: rgba(20, 157, 221, 0.45);
  box-shadow: 0 10px 32px rgba(23, 59, 108, 0.12);
  transform: translateY(-2px);
  color: inherit;
}

#contact .contact-link-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #dff3fc;
  color: #149ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.25s ease, color 0.25s ease;
}

#contact .contact-link-card:hover .contact-link-card__icon {
  background: #149ddd;
  color: #fff;
}

#contact .contact-link-card__body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

#contact .contact-link-card__label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #72879e;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

#contact .contact-link-card__value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #173b6c;
  word-break: break-word;
}

#contact .contact-link-card__arrow {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #b8c5d6;
  transition: color 0.2s ease, transform 0.2s ease;
}

#contact .contact-link-card:hover .contact-link-card__arrow {
  color: #149ddd;
  transform: translate(2px, -2px);
}

#contact .contact-social-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

#contact .contact-social-pill__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #72879e;
}

#contact .contact-social-pill__links {
  display: flex;
  gap: 0.5rem;
}

#contact .contact-social-pill__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  color: #173b6c;
  border: 1px solid rgba(20, 157, 221, 0.2);
  font-size: 1.2rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#contact .contact-social-pill__btn:hover {
  background: #149ddd;
  color: #fff;
  border-color: #149ddd;
  transform: translateY(-2px);
}

#contact .contact-form-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(20, 157, 221, 0.14);
  box-shadow: 0 12px 40px rgba(23, 59, 108, 0.1);
  padding: 1.75rem 1.75rem 2rem;
  height: 100%;
}

#contact .contact-form-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #173b6c;
  margin-bottom: 0.35rem;
}

#contact .contact-form-embed {
  min-height: 120px;
}

@media (max-width: 991px) {
  #contact .contact-form-card {
    margin-top: 0.5rem;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 10px;
  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: 8px;
  color: #eaebf0;
}

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