/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jul 2026 – custom dark professional styling
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --heading-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Global Colors – dark professional palette */
/* :root {
  --background-color: #060818;    
  --default-color: #d0d4e4;       
  --heading-color: #f5f7ff;      
  --accent-color: #3b82f6;        
  --surface-color: #0b1024;       
  --contrast-color: #ffffff;      
} */

:root {
  --background-color: #060818;    /* Main background: deep navy/charcoal */
  --default-color: #d0d4e4;       /* Primary text: soft light grey */
  --heading-color: #f5f7ff;       /* Headings: near-white for strong contrast */
  --accent-color: #2563eb;        /* Accent: richer, more saturated professional blue */
  --surface-color: #0b1024;       /* Cards/sections: slightly lighter than background */
  --contrast-color: #ffffff;      /* Contrast text on accent/surfaces */
}

/* Nav Menu Colors */
:root {
  --nav-color: #9ca3c5;
  --nav-hover-color: #f5f7ff;
  --nav-mobile-background-color: #050716;
  --nav-dropdown-background-color: #050716;
  --nav-dropdown-color: #9ca3c5;
  --nav-dropdown-hover-color: #f5f7ff;
}

/* Section presets */
.light-background {
  --background-color: #0b1024;
  --surface-color: #101632;
}

.dark-background {
  --background-color: #050716;
  --default-color: #e5e7f5;
  --heading-color: #f9fafc;
  --surface-color: #101632;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.2s ease;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
}

/* PHP Email Form Messages */
.php-email-form .error-message {
  display: none;
  background: #ef4444;
  color: #ffffff;
  text-align: left;
  padding: 12px;
  margin-bottom: 18px;
  font-weight: 500;
  border-radius: 6px;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #22c55e;
  text-align: center;
  padding: 12px;
  margin-bottom: 18px;
  font-weight: 500;
  border-radius: 6px;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 12px;
  margin-bottom: 18px;
  border-radius: 6px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  margin: 0 8px -4px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

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

/*--------------------------------------------------------------
# Global Header (sidebar)
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 24px 18px;
  width: 280px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .profile-img img {
  margin: 10px auto 18px;
  display: block;
  width: 110px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 16px;
}

.header .logo h1 {
  font-size: 22px;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--heading-color);
}

.header .social-links {
  margin: 0 0 18px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 38px;
  height: 38px;
  transition: 0.2s ease;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

@media (min-width: 1200px) {
  .header ~ main,
  .header ~ #footer {
    margin-left: 280px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  transition: background-color 0.2s ease;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 8px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 10px 8px;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.2s ease;
  width: 100%;
  border-radius: 6px;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 19px;
  margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.2s ease;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: var(--nav-dropdown-color);
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 6px 10px;
  margin: 6px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(24, 30, 60, 0.3);
}

.navmenu .dropdown > .dropdown-active {
  display: block;
  background-color: rgba(24, 30, 60, 0.2);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 13px;
  padding: 28px 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.footer .copyright p {
  margin-bottom: 4px;
}

.footer .credits {
  margin-top: 2px;
  font-size: 12px;
  text-align: center;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 28px);
  left: calc(50% - 28px);
  border: 6px solid var(--surface-color);
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  animation: animate-preloader 1.2s linear infinite;
}

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 18px;
  bottom: -18px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 42px;
  height: 42px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.scroll-top i {
  font-size: 22px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 18%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 18px;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.page-title h1 {
  font-size: 22px;
  font-weight: 600;
}

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

.page-title .breadcrumbs ol li + li {
  padding-left: 8px;
}

.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 65%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 48px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 32px;
  position: relative;
}

.section-title h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 12px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 72px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
} */

.hero img {
  position: absolute;
  inset: 0;
  /* display: block; */
  width: 100%;
  height: 100%;
  object-fit: cover;       /* show entire image */
  object-position: center;   /* center inside hero */
  z-index: 1;
  background-color: #050716; /* fallback around the image */
}

.hero:before {
  content: "";
  background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.18), transparent 55%),
              color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 600;
}

.hero p {
  margin: 0;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.hero p span {
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 20px;
}

.hero .social-links a {
  font-size: 20px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  line-height: 1;
  margin-right: 16px;
  transition: 0.2s ease;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero {
    padding: 72px 0 48px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 600;
  font-size: 22px;
}

.about .content p.fst-italic {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

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

.about .content ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

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

.about .content ul i {
  font-size: 14px;
  margin-right: 4px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 18px;
  width: 100%;
  background-color: var(--surface-color);
  border-radius: 10px;
  text-align: center;
}

.stats .stats-item img {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}

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

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
  font-size: 13px;
}

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

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 88%);
  height: 8px;
  border-radius: 999px;
}

.skills .progress-bar {
  width: 1px;
  height: 8px;
  transition: 0.9s;
  background-color: var(--accent-color);
  border-radius: 999px;
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 12px;
}

.resume .resume-item {
  padding: 0 0 16px 18px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 1.4;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 6px;
}

.resume .resume-item h5 {
  font-size: 14px;
  padding: 4px 10px;
  display: inline-block;
  font-weight: 500;
  margin-bottom: 8px;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--surface-color), transparent 10%);
}

.resume .resume-item ul {
  padding-left: 18px;
  font-size: 14px;
}

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

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

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50px;
  left: -8px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  margin: 0 8px 6px;
  line-height: 1;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.2s ease-in-out;
  background-color: color-mix(in srgb, var(--surface-color), transparent 15%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 12px;
    margin: 0 4px 6px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--surface-color);
}

.portfolio .portfolio-content img,
.portfolio .portfolio-content video {
  transition: 0.3s;
  border-radius: 12px;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.45), rgba(0, 0, 0, 0.7));
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 500;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
  border-radius: 999px;
}

.portfolio .portfolio-content .portfolio-info p {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
  padding: 18px;
  background-color: var(--surface-color);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transition: 0.3s;
  border: 1px solid var(--accent-color);
  margin-right: 16px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 22px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 1.6;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

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

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

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

.testimonials .testimonial-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 4px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 12px 16px 12px;
  padding: 18px;
  background-color: var(--surface-color);
  position: relative;
  border-radius: 10px;
  box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.25);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.35);
  padding: 24px;
  border-radius: 12px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 18px;
  }
}

.contact .info-item {
  margin-bottom: 14px;
}

.contact .info-item i {
  font-size: 18px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.2s ease-in-out;
  margin-right: 10px;
}

.contact .info-item span {
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
  border-radius: 12px;
}

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

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 82%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  padding: 22px;
  box-shadow: 0px 0 24px rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  background-color: var(--surface-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
}

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

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

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

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

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 20px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 18px;
  border-radius: 10px;
  background-color: var(--surface-color);
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 12px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 12px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.2s ease;
  font-size: 14px;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 600;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 18px;
  border-radius: 12px;
}

.service-details h3 {
  font-size: 20px;
  font-weight: 600;
}

.service-details h4 {
  font-size: 18px;
  font-weight: 600;
}

.service-details p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

.service-details ul li {
  padding: 4px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 18px;
  margin-right: 6px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section
--------------------------------------------------------------*/
.starter-section {
  background-color: var(--surface-color);
  border-radius: 16px;
}

.certificate-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  height: 280px;              /* fixed, consistent height */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.certificate-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* keeps full certificate visible, no cropping */
  padding: 10px;
}