/**
* Template Name: Personal - v2.1.0
* Template URL: https://bootstrapmade.com/personal-free-resume-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --white: #fff;
  --custom-blue: #010e1b;
  --custom-green: #12d640;
  --custom-gray: #dee2e6;
  --custom-yellow: #ffc107;
  --custom-dark-green: #1c7d32;
  --custom-dark-yellow: #9e7f25;
  --custom-dark-blue: #09203a;

  /* New palette */
  --cool-blue: #081f62;
  --gray: #fefefe;
  --dark-green: #064635;
  --navy-blue: #051747;
  --yellow: #ffc107;
  --light-pink: #edc7b7;
  --golden-yellow: #9e7f25;
  /* --dark-blue: #e7e9f0; */
  --dark-blue: #d7d9e2;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--cool-blue);
  position: relative;
  background: transparent;
}

body::before {
  content: '';
  position: fixed;
  background: var(--gray);
  background-size: cover;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
}

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

a {
  color: var(--dark-green);
}

a:hover {
  color: var(--dark-green);
  text-decoration: none;
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: ease-in-out 0s;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 997;
  overflow-y: auto;
}

#header * {
  transition: ease-in-out 0s;
}

#header h1 {
  font-size: 48px;
  margin-top: 0px;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

#header h1 a,
#header h1 a:hover {
  color: var(--navy-blue);
  line-height: 1;
  display: inline-block;
}

#header h2 {
  font-size: 24px;
  margin-top: 20px;
  color: var(--dark-green);
}

#header h2 span {
  color: var(--custom-yellow);
  border-bottom: 2px solid var(--light-pink);
  padding-bottom: 6px;
}

#header img {
  padding: 0;
  margin: 0;
}

#header .social-links {
  margin-top: 40px;
  display: flex;
}

#header .social-links a {
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--cool-blue);
  line-height: 1;
  margin-right: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#header .social-links a:hover {
  background: var(--light-pink);
}

@media (max-width: 992px) {
  #header h1 {
    font-size: 36px;
  }
  #header h2 {
    font-size: 20px;
    line-height: 30px;
  }
  #header .social-links {
    margin-top: 15px;
  }
  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  margin-top: 35px;
}

.nav-menu ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li + li {
  margin-left: 30px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: var(--cool-blue);
  font-size: 19px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.nav-menu a:before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--golden-yellow);
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.nav-menu a:hover:before,
.nav-menu li:hover > a:before,
.nav-menu .active > a:before {
  visibility: visible;
  width: 25px;
}

.nav-menu a:hover,
.nav-menu .active > a,
.nav-menu li:hover > a {
  color: var(--dark-green);
  text-decoration: none;
}

/* Mobile Navigation Styles */
.mobile-nav {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 80%;
  max-width: 400px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1001;
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 100%;
}

.mobile-nav li {
  width: 100%;
}

.mobile-nav a {
  display: block;
  padding: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #e6e6ff;
  color: #004085;
}

.mobile-nav-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #004085;
  border: none;
  border-radius: 50%;
  width: 48px; /* Slightly larger for new icons */
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1002;
  transition: background 0.2s, transform 0.2s;
}

.mobile-nav-toggle:hover {
  background: #005566;
  transform: scale(1.1);
}

.mobile-nav-toggle i {
  font-size: 28px; /* Larger for new icons */
  color: #ffffff;
}

.mobile-nav-toggle .fallback-icon {
  font-size: 28px;
  color: #ffffff;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

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

/* Responsive adjustments */
@media (max-width: 576px) {
  .mobile-nav {
    width: 90%;
    padding: 20px 15px;
  }

  .mobile-nav a {
    font-size: 16px;
    padding: 12px;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-nav-toggle i,
  .mobile-nav-toggle .fallback-icon {
    font-size: 24px;
  }
}

@media (min-width: 992px) {
  .mobile-nav,
  .mobile-nav-toggle,
  .mobile-nav-overlay {
    display: none;
  }
}

/* Header Top */
#header.header-top {
  height: 90px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: var(--dark-blue);
}

#header.header-top .social-links,
#header.header-top h2 {
  display: none;
}

#header.header-top h1 {
  margin-right: auto;
  font-size: 36px;
}

#header.header-top .container {
  display: flex;
  align-items: center;
}

#header.header-top .nav-menu {
  margin: 0;
}

@media (max-width: 768px) {
  #header.header-top {
    height: 60px;
  }
  #header.header-top h1 {
    font-size: 26px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  z-index: 2;
}

section.section-show {
  top: 70px;
  bottom: auto;
  opacity: 1;
  padding-bottom: 0px;
}

section .container {
  background: rgba(0, 0, 0, 0);
  padding: 50px;
}

@media (max-width: 768px) {
  section {
    top: 120px;
  }
  section.section-show {
    top: 80px;
  }
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-blue);
  font-family: 'Poppins', sans-serif;
}

.section-title h2::after {
  content: '';
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--navy-blue);
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: -15px 0 15px 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  color: var(--cool-blue);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #09203a;
  margin-bottom: 20px;
}

.about .lead {
  font-size: 18px;
  line-height: 1.6;
  color: #020a2d;
}

.about .content ul {
  padding-left: 0;
  font-size: 16px;
}

.about .content ul li {
  margin-bottom: 10px;
  color: #172615;
}

.about .content ul li i {
  color: var(--dark-green);
}

/* Timeline for Education */
.about .timeline {
  position: relative;
  padding-left: 30px;
}

.about .timeline:before {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--golden-yellow);
  top: 0;
  bottom: 0;
  left: 10px;
}

.about .timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.about .timeline-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.about .timeline-content:hover {
  transform: translateY(-5px);
}

.about .timeline-content h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.about .timeline-content h4 a {
  color: #071814;
  text-decoration: none;
}

.about .timeline-content h4 a:hover {
  color: var(--dark-green);
}

.about .timeline-content h5 {
  font-size: 18px;
  color: #172615;
  margin-bottom: 10px;
}

.about .timeline-content p {
  font-size: 16px;
  color: #172615;
  margin-bottom: 10px;
}

.about .timeline-content ul {
  font-size: 15px;
  color: #172615;
}

/* Certificates */
.about .certificate-item {
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.about .certificate-item:hover {
  transform: translateY(-5px);
}

.about .certificate-item h5 {
  font-size: 18px;
  margin-bottom: 5px;
}

.about .certificate-item h5 a {
  color: #071814;
  text-decoration: none;
}

.about .certificate-item h5 a:hover {
  color: var(--dark-green);
}

.about .certificate-item p {
  font-size: 14px;
  color: #172615;
  margin-bottom: 0;
}

.about .certificate-item span {
  font-size: 14px;
  color: #666;
}

/* Interests */
.about .interests .icon-box {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.about .interests .icon-box:hover {
  transform: translateY(-5px);
}

.about .interests .icon-box i {
  margin-bottom: 10px;
}

.about .interests .icon-box h3 {
  font-size: 16px;
  color: #09203a;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about .about-me .row {
    flex-direction: column;
    text-align: center;
  }
  .about .about-me .col-lg-4 {
    margin-bottom: 20px;
  }
  .about .timeline:before {
    left: 5px;
  }
  .about .timeline {
    padding-left: 20px;
  }
  .about .interests .icon-box {
    padding: 15px;
  }
  .about .interests .icon-box i {
    font-size: 1.5rem;
  }
}
/*--------------------------------------------------------------
# Experience Section
--------------------------------------------------------------*/
.experience .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #09203a;
  margin-bottom: 20px;
}

/* Timeline for Experience */
.experience .timeline {
  position: relative;
  padding-left: 30px;
}

.experience .timeline:before {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--golden-yellow);
  top: 0;
  bottom: 0;
  left: 10px;
}

.experience .timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.experience .timeline-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.experience .timeline-content:hover {
  transform: translateY(-5px);
}

.experience .timeline-icon {
  position: absolute;
  left: -40px;
  top: 20px;
  font-size: 24px;
  color: var(--dark-green);
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.experience .timeline-content h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.experience .timeline-content h4 a {
  color: #071814;
  text-decoration: none;
}

.experience .timeline-content h4 a:hover {
  color: var(--dark-green);
}

.experience .timeline-content h5 {
  font-size: 18px;
  color: #172615;
  margin-bottom: 10px;
}

.experience .timeline-content p {
  font-size: 16px;
  color: #172615;
  margin-bottom: 10px;
}

.experience .timeline-content ul {
  font-size: 15px;
  color: #172615;
  padding-left: 20px;
}

.experience .timeline-content ul li {
  margin-bottom: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .experience .timeline:before {
    left: 5px;
  }
  .experience .timeline {
    padding-left: 20px;
  }
  .experience .timeline-icon {
    left: -35px;
    top: 15px;
    font-size: 20px;
  }
  .experience .timeline-content h4 {
    font-size: 20px;
  }
  .experience .timeline-content h5 {
    font-size: 16px;
  }
  .experience .timeline-content p {
    font-size: 14px;
  }
  .experience .timeline-content ul {
    font-size: 14px;
  }
}
/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 70px 0 60px;
}

.counts .count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}

.counts .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  color: var(--light-pink);
  border-radius: 50px;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: var(--cool-blue);
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #09203a;
  margin-bottom: 20px;
}

.skills .skill-card {
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.skills .skill-card:hover {
  transform: translateY(-5px);
}

.skills .skill-card h4 {
  font-size: 22px;
  color: #09203a;
  margin-bottom: 15px;
  font-weight: 600;
}

.skills .skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.skills .skill-item {
  flex: 0 0 100px; /* Fixed width for consistency */
  margin: 10px;
}

.skills .skill-item img {
  width: 50px;
  height: 50px;
  object-fit: contain; /* Preserve logo aspect ratios */
  transition: transform 0.3s ease;
}

.skills .skill-item img:hover {
  transform: scale(1.1);
}

.skills .skill-item p {
  font-size: 14px;
  color: #172615;
  margin-top: 5px;
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .skills .skill-card {
    padding: 15px;
  }
  .skills .skill-item {
    flex: 0 0 80px; /* Smaller width on mobile */
    margin: 8px;
  }
  .skills .skill-item img {
    width: 40px;
    height: 40px;
  }
  .skills .skill-item p {
    font-size: 12px;
  }
  .skills .skill-card h4 {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Interests
--------------------------------------------------------------*/
.interests .icon-box {
  display: flex;
  align-items: center;
  padding: 20px;
  background: var(--dark-blue);
  transition: ease-in-out 0.3s;
}

.interests .icon-box i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 1;
}

.interests .icon-box h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
  color: var(--cool-blue);
}

.interests .icon-box:hover {
  background: #c0c0c4;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid rgba(255, 255, 255, 0.12);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
  color: var(--cool-blue);
}

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

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.25);
  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 0 15px;
  padding: 20px 20px 60px 20px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .owl-nav,
.testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.testimonials .owl-dot.active {
  background-color: var(--light-pink) !important;
}

@media (max-width: 767px) {
  .testimonials {
    margin: 30px 10px;
  }
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--cool-blue);
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  color: var(--light-pink);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: rgba(255, 255, 255, 0.15);
  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: var(--golden-yellow);
  border: 2px solid var(--golden-yellow);
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  background: var(--dark-blue);
  padding: 40px 40px;
  transition: all ease-in-out 0.3s;
  margin: 10px;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--light-pink);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
}

.services .icon-box .icon i {
  color: var(--cool-blue);
  font-size: 28px;
}

.services .icon-box .icon::before {
  position: absolute;
  content: '';
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: var(--cool-blue);
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  background: #c0c0c4;
  border-color: var(--light-pink);
}

.services .icon-box:hover .icon {
  background: var(--cool-blue);
}

.services .icon-box:hover .icon i {
  color: var(--light-pink);
}

.services .icon-box:hover .icon::before {
  background: #35e888;
}

.services .icon-box:hover h4 a,
.services .icon-box:hover p {
  color: var(--dark-green);
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #09203a;
  margin-bottom: 20px;
}

/* Filter Buttons */
.portfolio #portfolio-flters {
  padding: 0;
  margin-bottom: 30px;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #09203a;
  margin: 0 5px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  background: var(--golden-yellow);
  color: #fff;
}

/* Portfolio Cards */
.portfolio .portfolio-wrap {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
}

.portfolio .portfolio-wrap:hover {
  transform: translateY(-5px);
}

.portfolio .portfolio-img {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-img img {
  width: 100%;
  height: 200px; /* Fixed height for uniformity */
  object-fit: cover; /* Ensures images are cropped to fit */
  display: block;
}

.portfolio .portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.portfolio .portfolio-wrap:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio .portfolio-overlay h4 {
  color: #fff;
  font-size: 18px;
  text-align: center;
  margin: 0;
  padding: 0 20px;
}

.portfolio .portfolio-info {
  padding: 15px;
}

.portfolio .portfolio-info h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.portfolio .portfolio-info h4 a {
  color: #071814;
  text-decoration: none;
}

.portfolio .portfolio-info h4 a:hover {
  color: var(--dark-green);
}

.portfolio .portfolio-info p {
  font-size: 14px;
  color: #172615;
  margin-bottom: 10px;
}

.portfolio .portfolio-info .badge {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 12px;
}

.portfolio .portfolio-info .bg-ai {
  background: #5578ff;
  color: #fff;
}

.portfolio .portfolio-info .bg-web {
  background: #27ae60;
  color: #fff;
}

.portfolio .portfolio-info .bg-app {
  background: #e80368;
  color: #fff;
}

.portfolio .portfolio-info .bg-code {
  background: #ffbb2c;
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .portfolio .portfolio-img img {
    height: 150px; /* Smaller height on mobile */
  }
  .portfolio .portfolio-info h4 {
    font-size: 18px;
  }
  .portfolio .portfolio-info p {
    font-size: 13px;
  }
  .portfolio #portfolio-flters li {
    font-size: 14px;
    padding: 8px 15px;
    margin: 5px;
  }
  .portfolio .portfolio-overlay h4 {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  padding: 20px;
  width: 100%;
  background: var(--dark-blue);
}

.contact .info-box i.bx {
  font-size: 24px;
  color: var(--navy-blue);
  border-radius: 50%;
  padding: 14px;
  float: left;
  background: rgba(255, 255, 255, 0.1);
}

.contact .info-box h3 {
  font-size: 20px;
  color: #28a745;
  font-weight: 700;
  margin: 10px 0 8px 68px;
}

.contact .info-box p {
  padding: 0;
  color: var(--cool-blue);
  line-height: 24px;
  font-size: 14px;
  margin: 0 0 0 68px;
}

.contact .info-box .social-links {
  margin: 5px 0 0 68px;
  display: flex;
}

.contact .info-box .social-links a {
  font-size: 18px;
  display: inline-block;
  color: var(--cool-blue);
  line-height: 1;
  margin-right: 12px;
  transition: 0.3s;
}

.contact .info-box .social-links a:hover {
  color: var(--dark-green);
}

.contact .php-email-form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.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;
  background: rgba(255, 255, 255, 0.08);
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  background: var(--light-pink);
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  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 var(--light-pink);
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  transition: 0.3s;
  color: var(--cool-blue);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.11);
}

.contact .php-email-form input::-webkit-input-placeholder,
.contact .php-email-form textarea::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::-moz-placeholder,
.contact .php-email-form textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input:-ms-input-placeholder,
.contact .php-email-form textarea:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::-ms-input-placeholder,
.contact .php-email-form textarea::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input {
  padding: 20px 15px;
}

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

.contact .php-email-form button[type='submit'] {
  background: var(--light-pink);
  border: 0;
  padding: 10px 30px;
  color: var(--cool-blue);
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type='submit']:hover {
  background: #15bb62;
}

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

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

/*--------------------------------------------------------------
# Credits
--------------------------------------------------------------*/
.credits {
  position: fixed;
  right: 15px;
  bottom: 15px;
  font-size: 13px;
  color: var(--cool-blue);
  z-index: 1;
}

.credits a {
  color: var(--light-pink);
  transition: 0.3s;
}

.credits a:hover {
  color: var(--cool-blue);
}

@media (max-width: 992px) {
  .credits {
    left: 50%;
    right: 0;
    transform: translateX(-50%);
  }
}

/* Custom css */
.img-responsive {
  width: 100%;
  height: 237px;
}
