/**
* Template Name: MyResume
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-my-resume/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - Modern black & white vintage palette */
:root { 
  --background-color: #f7f5f0;
  --default-color: #2a2a2a;
  --heading-color: #1a1a1a;
  --accent-color: #1a1a1a;
  --surface-color: #faf8f4;
  --contrast-color: #f7f5f0;
}

/* Nav Menu Colors */
:root {
  --nav-color: #3d3d3d;
  --nav-hover-color: #1a1a1a;
  --nav-mobile-background-color: #f7f5f0;
  --nav-dropdown-background-color: #faf8f4;
  --nav-dropdown-color: #1a1a1a;
  --nav-dropdown-hover-color: #1a1a1a;
}

/* Color Presets */

.light-background {
  --background-color: #ece9e1;
  --surface-color: #faf8f4;
}

.dark-background {
  --background-color: #141414;
  --default-color: #e8e4dc;
  --heading-color: #f7f5f0;
  --surface-color: #1f1f1f;
  --contrast-color: #f7f5f0;
}

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

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

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

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.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(--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
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  min-width: 200px;
}

@media (max-width: 1199px) {
  .header {
    background-color: var(--background-color);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    width: 300px;
    left: -100%;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .header~main {
    margin-left: 160px;
  }

  .header~main .hero {
    margin-left: -160px;
    width: 100vw;
  }
}

.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: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

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

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
  width: 140px;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  font-family: var(--nav-font);
  display: flex;
  align-items: center;
  padding: 10px 18px;
  margin-bottom: 8px;
  font-size: 15px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 20px;
}

.navmenu a span,
.navmenu a:focus span {
  padding: 0 5px 0 7px;
}

@media (min-width: 992px) {

  .navmenu a,
  .navmenu a:focus {
    max-width: 56px;
  }

  .navmenu a span,
  .navmenu a:focus span {
    display: none;
  }
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus,
.navmenu li:hover>a {
  color: var(--contrast-color);
  background: var(--nav-hover-color);
}

.navmenu a:hover,
.navmenu li:hover>a {
  max-width: 100%;
  color: var(--contrast-color);
}

.navmenu a:hover span,
.navmenu li:hover>a span {
  display: block;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# 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% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f7f5f0;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s 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: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

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

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

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

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

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

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

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

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

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

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

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

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

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 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:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

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

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

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

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

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}

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

.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: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  margin-top: 10px;
  width: 100%;
  position: relative;
  text-align: center;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
}

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

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

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

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

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

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

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

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

.resume .resume-item h5 {
  font-size: 16px;
  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(--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;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

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

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

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

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

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

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .service-item .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .service-item .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .service-item .icon svg path {
  transition: 0.5s;
  fill: color-mix(in srgb, var(--default-color), transparent 95%);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

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

.services .service-item:hover {
  box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.1);
}

.services .service-item.item-cyan i {
  color: #5c5c5c;
}

.services .service-item.item-cyan:hover .icon i {
  color: #f7f5f0;
}

.services .service-item.item-cyan:hover .icon path {
  fill: #3d3d3d;
}

.services .service-item.item-orange i {
  color: #4a4a4a;
}

.services .service-item.item-orange:hover .icon i {
  color: #f7f5f0;
}

.services .service-item.item-orange:hover .icon path {
  fill: #2a2a2a;
}

.services .service-item.item-teal i {
  color: #6b6b6b;
}

.services .service-item.item-teal:hover .icon i {
  color: #f7f5f0;
}

.services .service-item.item-teal:hover .icon path {
  fill: #1a1a1a;
}

.services .service-item.item-red i {
  color: #3d3d3d;
}

.services .service-item.item-red:hover .icon i {
  color: #f7f5f0;
}

.services .service-item.item-red:hover .icon path {
  fill: #141414;
}

.services .service-item.item-indigo i {
  color: #525252;
}

.services .service-item.item-indigo:hover .icon i {
  color: #f7f5f0;
}

.services .service-item.item-indigo:hover .icon path {
  fill: #2a2a2a;
}

.services .service-item.item-pink i {
  color: #454545;
}

.services .service-item.item-pink:hover .icon i {
  color: #f7f5f0;
}

.services .service-item.item-pink:hover .icon path {
  fill: #1a1a1a;
}

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

.testimonials .testimonial-item .testimonial-content {
  border-left: 3px solid var(--accent-color);
  padding-left: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

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

.testimonials .testimonial-item .stars i {
  color: #1a1a1a;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.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;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
}

.testimonials .swiper-wrapper {
  height: auto;
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

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

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

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

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

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

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

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

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

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

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

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

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

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

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

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

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

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

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

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

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

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/* Madhava Brightly - monochrome portfolio */
.monochrome {
  --background-color: #f3f3f1;
  --default-color: #202020;
  --heading-color: #080808;
  --accent-color: #090909;
  --surface-color: #fff;
  font-family: "DM Sans", sans-serif;
  background: #f3f3f1;
}
.monochrome h1,.monochrome h2,.monochrome h3,.monochrome h4 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.monochrome .section { padding: 120px 0; }
.monochrome .container { max-width: 1180px; }
.monochrome .header { min-width: 110px; }
.monochrome .navmenu ul { width: 150px; }
.monochrome .navmenu a,.monochrome .navmenu a:focus { background: rgba(255,255,255,.76); border: 1px solid rgba(0,0,0,.08); backdrop-filter: blur(14px); }
.monochrome .navmenu a:hover,.monochrome .navmenu .active,.monochrome .navmenu .active:focus { color: #fff; background: #090909; }
.monochrome .hero { min-height: 100vh; background: #080808; position: relative; overflow: hidden; }
.monochrome .hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter: grayscale(1) contrast(1.08); opacity:.66; }
.hero-shade { position:absolute; inset:0; background: linear-gradient(90deg,rgba(0,0,0,.97) 0%,rgba(0,0,0,.82) 52%,rgba(0,0,0,.45) 100%),linear-gradient(0deg,rgba(0,0,0,.88),transparent 50%); }
.hero-copy { position:relative; z-index:2; max-width:820px; color:#fff; }
.eyebrow { display:block; color:#d8d8d8; font-size:12px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; margin-bottom:28px; }
.hero-copy h1 { color:#fff; font-size:clamp(76px,11vw,164px); line-height:.78; margin:0 0 38px; letter-spacing:-.08em; text-shadow:0 4px 30px rgba(0,0,0,.75); }
.hero-copy h1 span { color:transparent; -webkit-text-stroke:2px #fff; filter:drop-shadow(0 4px 16px rgba(0,0,0,.75)); }
.hero-copy > p { font-size:clamp(20px,2vw,30px); font-weight:500; color:#fff; margin-bottom:35px; text-shadow:0 2px 14px #000; }
.hero-copy .typed { color:#fff; border-bottom:1px solid #fff; }
.hero-actions { display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.primary-btn { display:inline-flex; gap:22px; align-items:center; background:#fff; color:#080808; padding:17px 24px; border-radius:100px; font-weight:600; }
.primary-btn:hover { background:#bdbdbd; color:#080808; transform:translateY(-2px); }
.text-link { color:#fff; border-bottom:2px solid #fff; padding-bottom:4px; font-weight:600; text-shadow:0 2px 10px #000; }
.text-link:hover { color:#ccc; }
.hero-link-field { margin-top:34px; padding:18px; max-width:760px; border:1px solid rgba(255,255,255,.28); background:rgba(0,0,0,.28); backdrop-filter:blur(12px); box-shadow:0 18px 45px rgba(0,0,0,.28); }
.hero-link-field > span { display:block; color:#fff; font-size:11px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; margin-bottom:14px; }
.hero-link-grid { display:flex; gap:10px; flex-wrap:wrap; }
.hero-link-grid a { display:inline-flex; align-items:center; gap:8px; color:#fff; border:1px solid rgba(255,255,255,.55); border-radius:999px; padding:10px 14px; font-size:12px; font-weight:700; letter-spacing:.06em; background:rgba(255,255,255,.08); }
.hero-link-grid a:hover { background:#fff; color:#080808; border-color:#fff; transform:translateY(-2px); }
.hero-copy .social-links { display:flex; gap:10px; margin-top:55px; }
.hero-copy .social-links a { width:42px; height:42px; border:2px solid #fff; border-radius:50%; display:grid; place-items:center; color:#fff; background:rgba(0,0,0,.25); }
.hero-copy .social-links a:hover { background:#fff; color:#000; }
.scroll-cue { position:absolute; z-index:2; right:34px; bottom:34px; color:#fff; display:flex; align-items:center; gap:12px; font-size:11px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; transform:rotate(90deg); transform-origin:right bottom; text-shadow:0 2px 8px #000; }
.section-fade { background:linear-gradient(135deg,#fff 0%,#e7e7e5 100%); }
.section-heading { display:flex; gap:30px; align-items:baseline; padding-bottom:42px; margin-bottom:60px; border-bottom:1px solid #bdbdbd; }
.section-heading h2 { font-size:clamp(46px,7vw,92px); margin:0; }
.section-number { font-size:12px; letter-spacing:.18em; font-weight:600; color:#777; }
.lead-copy { font:500 clamp(36px,5vw,68px)/1.05 "Space Grotesk",sans-serif; letter-spacing:-.055em; color:#080808; max-width:770px; }
.about .col-lg-5 > p { font-size:18px; line-height:1.75; color:#555; }
.quick-facts { margin-top:38px; border-top:1px solid #bbb; }
.quick-facts div { display:flex; justify-content:space-between; gap:20px; padding:15px 0; border-bottom:1px solid #ccc; font-size:13px; }
.quick-facts span { color:#777; }.quick-facts strong { text-align:right; color:#111; }
.achievement-note { margin-top:28px; padding:24px; background:#080808; color:#ddd; box-shadow:12px 12px 0 #c8c8c6; }
.achievement-note span { display:block; color:#aaa; font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; margin-bottom:10px; }
.achievement-note p { margin:0; line-height:1.65; font-size:14px; }.achievement-note strong { color:#fff; }
.dark-panel { color:#ddd; background:radial-gradient(circle at 80% 10%,#333 0%,#101010 38%,#050505 100%); }
.section-heading.light { border-color:#444; }.section-heading.light h2 { color:#fff; }.section-heading.light .section-number { color:#888; }
.skill-grid { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid #383838; }
.skill-card { min-height:340px; padding:28px; border-right:1px solid #383838; transition:.35s ease; }
.skill-card:last-child { border:0; }.skill-card:hover { background:#fff; transform:translateY(-8px); color:#222; }.skill-card:hover h3,.skill-card:hover i { color:#080808; }
.skill-card > span { font-size:11px; color:#777; letter-spacing:.15em; }.skill-card i { display:block; color:#fff; font-size:36px; margin:62px 0 30px; }
.skill-card h3 { color:#fff; font-size:26px; }.skill-card p { color:#999; line-height:1.7; font-size:14px; }.skill-card:hover p { color:#555; }
.skill-marquee { display:flex; overflow:hidden; gap:38px; margin-top:65px; white-space:nowrap; color:#777; font:500 12px "Space Grotesk"; letter-spacing:.16em; }
.skill-marquee span:after { content:"·"; margin-left:38px; color:#fff; }
.project-list { border-top:1px solid #bcbcbc; }
.project-card { display:grid; grid-template-columns:120px 1fr 60px; gap:30px; padding:52px 16px; border-bottom:1px solid #bcbcbc; transition:.3s; }
.project-card:hover { background:#fff; padding-left:30px; padding-right:30px; }.project-index,.project-year { color:#777; font-size:11px; letter-spacing:.14em; text-transform:uppercase; }
.project-card h3 { font-size:clamp(32px,4vw,56px); margin:10px 0 18px; }.project-card p { color:#555; max-width:720px; line-height:1.75; }
.tags { display:flex; gap:8px; flex-wrap:wrap; margin-top:22px; }.tags span { border:1px solid #aaa; border-radius:50px; padding:6px 12px; font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
.project-links { display:flex; gap:18px; flex-wrap:wrap; margin-top:22px; }.project-links a { color:#111; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; border-bottom:1px solid #111; }.project-links a:hover { color:#777; border-color:#777; }
.project-arrow { font-size:26px; }.education { background:linear-gradient(145deg,#d8d8d5,#fff); }
.education-card { background:#080808; color:#fff; padding:65px; display:grid; grid-template-columns:1fr 2fr .5fr; gap:30px; align-items:start; box-shadow:25px 25px 0 #bbb; }
.education-card h2 { color:#fff; font-size:clamp(44px,6vw,82px); line-height:.98; }.education-card p { color:#aaa; }.education-year { font:500 28px/1.4 "Space Grotesk"; text-align:right; color:#888; }
.contact-wrap { padding:30px 0; }.contact-wrap h2 { color:#fff; font-size:clamp(60px,10vw,140px); line-height:.86; margin:35px 0 65px; }.contact-wrap h2 span { color:#555; }
.contact-email { color:#fff; font-size:clamp(22px,3vw,42px); border-bottom:1px solid #555; padding-bottom:12px; display:inline-flex; gap:24px; }.contact-email:hover { color:#aaa; }
.contact-details { display:flex; gap:30px; flex-wrap:wrap; margin-top:80px; padding-top:25px; border-top:1px solid #333; }.contact-details a,.contact-details span { color:#888; font-size:13px; }
.monochrome .footer { background:#050505; color:#777; border-top:1px solid #222; padding:25px 0; font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.monochrome .scroll-top { background:#fff; color:#000; border:1px solid #bbb; }
@media(max-width:991px){.monochrome .section{padding:85px 0}.skill-grid{grid-template-columns:repeat(2,1fr)}.skill-card:nth-child(2){border-right:0}.skill-card{border-bottom:1px solid #383838}.education-card{grid-template-columns:1fr}.education-year{text-align:left}.hero-shade{background:rgba(0,0,0,.84)}}
@media(max-width:600px){.hero-copy h1{font-size:66px}.hero-link-field{padding:14px}.hero-link-grid a{width:100%;justify-content:center}.skill-grid{grid-template-columns:1fr}.skill-card{border-right:0;min-height:auto}.project-card{grid-template-columns:1fr;padding:35px 5px}.project-arrow{display:none}.education-card{padding:36px 25px;box-shadow:10px 10px 0 #bbb}.section-heading{gap:15px;margin-bottom:40px}.contact-details{flex-direction:column;gap:12px}}

/* Premium interface refresh */
.monochrome {
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.95), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(0,0,0,.12), transparent 28%),
    linear-gradient(135deg, #f8f8f5 0%, #dcdcd8 100%);
}
.monochrome .header { padding-left:22px; pointer-events:none; }
.monochrome .navmenu { pointer-events:auto; }
.monochrome .navmenu ul { width:64px; }
.monochrome .navmenu a,.monochrome .navmenu a:focus {
  width:58px; height:58px; padding:0; justify-content:center; color:#111;
  background:rgba(255,255,255,.82); border:1px solid rgba(0,0,0,.12);
  box-shadow:0 14px 36px rgba(0,0,0,.12); backdrop-filter:blur(18px);
}
.monochrome .navmenu a i { margin:0; font-size:21px; }
.monochrome .navmenu a:hover,.monochrome .navmenu .active,.monochrome .navmenu .active:focus {
  transform:translateX(8px) scale(1.02); background:#050505; color:#fff; box-shadow:0 18px 44px rgba(0,0,0,.3);
}
.monochrome .hero { display:flex; align-items:center; min-height:100vh; padding:92px 0 70px; isolation:isolate; }
.monochrome .header~main .hero { width:auto; margin-left:0; }
.monochrome .hero:before,.monochrome .hero:after {
  content:""; position:absolute; z-index:1; border-radius:50%; pointer-events:none; filter:blur(4px);
}
.monochrome .hero:before { width:420px; height:420px; right:8%; top:8%; background:radial-gradient(circle,rgba(255,255,255,.22),transparent 66%); }
.monochrome .hero:after { width:620px; height:620px; left:-12%; bottom:-24%; background:radial-gradient(circle,rgba(255,255,255,.18),transparent 70%); }
.monochrome .hero > img { filter:grayscale(1) contrast(1.22) brightness(.62); opacity:.9; transform:scale(1.03); }
.hero-shade { background:
  linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.76) 43%, rgba(0,0,0,.38) 100%),
  radial-gradient(circle at 70% 28%, rgba(255,255,255,.18), transparent 30%),
  linear-gradient(0deg, rgba(0,0,0,.9), transparent 55%);
}
.hero-layout { position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(320px,.8fr); gap:48px; align-items:center; }
.hero-copy { max-width:880px; padding:34px; border:1px solid rgba(255,255,255,.16); background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.025)); box-shadow:0 26px 90px rgba(0,0,0,.34); backdrop-filter:blur(18px); }
.eyebrow { color:#fff; opacity:.86; }
.hero-copy h1 { font-size:clamp(72px,10vw,150px); margin-bottom:32px; }
.hero-copy h1 span { -webkit-text-stroke:2px rgba(255,255,255,.92); text-shadow:none; }
.hero-copy > p { max-width:740px; letter-spacing:-.02em; }
.primary-btn,.showcase-btn {
  border:1px solid #fff; box-shadow:0 18px 35px rgba(0,0,0,.24), inset 0 0 0 1px rgba(0,0,0,.08);
  transition:transform .28s ease, box-shadow .28s ease, background .28s ease;
}
.primary-btn:hover,.showcase-btn:hover { transform:translateY(-4px); box-shadow:0 24px 46px rgba(0,0,0,.32); }
.text-link { display:inline-flex; align-items:center; min-height:48px; }
.hero-link-field { border-radius:28px; padding:20px; background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.32); }
.hero-link-grid a { min-height:42px; border-color:rgba(255,255,255,.48); box-shadow:inset 0 1px 0 rgba(255,255,255,.12); }
.hero-link-grid a i { font-size:15px; }
.hero-copy .social-links { margin-top:30px; }
.hero-copy .social-links a { width:46px; height:46px; transition:.25s ease; }
.hero-copy .social-links a:hover { transform:translateY(-4px) rotate(-4deg); }
.hero-showcase {
  color:#fff; padding:30px; border-radius:34px; border:1px solid rgba(255,255,255,.2);
  background:linear-gradient(160deg,rgba(255,255,255,.18),rgba(255,255,255,.04));
  box-shadow:0 26px 80px rgba(0,0,0,.38); backdrop-filter:blur(20px);
}
.showcase-label { display:inline-flex; padding:9px 13px; border:1px solid rgba(255,255,255,.32); border-radius:999px; font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:#111; background:#fff; }
.hero-showcase h2 { color:#fff; margin:28px 0; font-size:clamp(30px,3vw,52px); line-height:.98; }
.showcase-stack { display:grid; gap:12px; margin:28px 0; }
.showcase-stack div { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:16px; border:1px solid rgba(255,255,255,.16); background:rgba(0,0,0,.2); }
.showcase-stack span { color:#fff; font:700 26px "Space Grotesk",sans-serif; letter-spacing:-.04em; }
.showcase-stack p { margin:0; color:#cfcfcf; font-size:13px; text-align:right; }
.showcase-btn { display:flex; justify-content:center; align-items:center; gap:12px; width:100%; color:#050505; background:#fff; border-radius:999px; padding:15px 20px; font-weight:800; }
.section-fade { background:linear-gradient(135deg,#fafaf8 0%,#e7e7e3 55%,#d0d0ca 100%); }
.section-heading { border-bottom:0; position:relative; }
.section-heading:after { content:""; position:absolute; left:0; bottom:0; width:100%; height:1px; background:linear-gradient(90deg,#050505,transparent); }
.lead-copy { text-wrap:balance; }
.quick-facts,.achievement-note,.skill-card,.project-card,.education-card {
  border-radius:0 34px 0 34px;
}
.quick-facts { padding:8px 20px; background:rgba(255,255,255,.58); border:1px solid rgba(0,0,0,.08); box-shadow:0 16px 40px rgba(0,0,0,.08); }
.achievement-note { border:1px solid rgba(255,255,255,.12); box-shadow:14px 14px 0 rgba(0,0,0,.12), 0 22px 44px rgba(0,0,0,.18); }
.dark-panel { background:radial-gradient(circle at 12% 0%,#333,transparent 30%),linear-gradient(135deg,#050505 0%,#151515 48%,#030303 100%); }
.skill-grid { gap:16px; border:0; }
.skill-card { border:1px solid #303030; background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.015)); box-shadow:0 18px 50px rgba(0,0,0,.22); }
.skill-card:hover { background:#fff; transform:translateY(-10px) scale(1.015); box-shadow:0 30px 70px rgba(0,0,0,.28); }
.project-list { display:grid; gap:18px; border:0; }
.project-card { border:1px solid rgba(0,0,0,.09); background:rgba(255,255,255,.72); box-shadow:0 16px 42px rgba(0,0,0,.08); }
.project-card:hover { background:#050505; color:#fff; border-color:#050505; transform:translateY(-6px); padding-left:30px; padding-right:30px; box-shadow:0 26px 70px rgba(0,0,0,.24); }
.project-card:hover h3,.project-card:hover p,.project-card:hover .project-arrow { color:#fff; }
.project-card:hover .project-index,.project-card:hover .project-year { color:#aaa; }
.project-card:hover .tags span { color:#fff; border-color:#555; }
.project-card:hover .project-links a { color:#fff; border-color:#fff; }
.tags span { background:rgba(255,255,255,.46); }
.education-card { box-shadow:20px 20px 0 rgba(0,0,0,.15), 0 26px 70px rgba(0,0,0,.22); }
.contact-email { background:#fff; color:#050505; border:0; border-radius:999px; padding:18px 24px; font-weight:800; }
.contact-email:hover { background:#d8d8d8; color:#050505; transform:translateY(-3px); }
@media(max-width:1199px){.hero-layout{grid-template-columns:1fr}.hero-showcase{max-width:760px}.monochrome .header{padding-left:15px}}
@media(max-width:991px){.hero-copy{padding:24px}.hero-shade{background:rgba(0,0,0,.78)}.monochrome .navmenu ul{width:140px}.monochrome .navmenu a,.monochrome .navmenu a:focus{justify-content:flex-start;width:100%;padding:10px 18px}.monochrome .navmenu a span{display:inline-block}.monochrome .navmenu a:hover{transform:translateX(0) scale(1)}}
@media(max-width:600px){.monochrome .hero{padding:78px 0 54px}.hero-copy{padding:18px;border-radius:24px}.hero-copy h1{font-size:58px}.hero-actions{gap:14px}.primary-btn{width:100%;justify-content:center}.text-link{width:100%;justify-content:center;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:14px 20px;background:rgba(255,255,255,.08)}.hero-link-field{padding:14px}.hero-link-grid a{width:calc(50% - 5px);justify-content:center}.hero-showcase{padding:22px;border-radius:24px}.showcase-stack div{display:block}.showcase-stack p{text-align:left;margin-top:4px}.project-card:hover{padding-left:18px;padding-right:18px}.contact-email{font-size:18px;width:100%;justify-content:center}}
@media(max-width:420px){.hero-link-grid a{width:100%}}

/* Final visual polish */
.monochrome .hero {
  min-height: 100svh;
  padding: 78px 0 54px;
}
.monochrome .hero > img {
  filter: grayscale(1) contrast(1.3) brightness(.56);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.78) 43%, rgba(0,0,0,.42) 100%),
    radial-gradient(circle at 72% 22%, rgba(255,255,255,.2), transparent 27%),
    radial-gradient(circle at 22% 78%, rgba(255,255,255,.14), transparent 32%),
    linear-gradient(0deg, rgba(0,0,0,.93), transparent 54%);
}
.hero-layout {
  grid-template-columns: minmax(0, 1.34fr) minmax(310px, .66fr);
  gap: 30px;
}
.hero-copy {
  max-width: none;
  padding: 28px;
  border-radius: 0 42px 0 42px;
  border-color: rgba(255,255,255,.28);
  background:
    linear-gradient(135deg, rgba(0,0,0,.64), rgba(255,255,255,.08)),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.02));
  box-shadow: 0 28px 90px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.16);
}
.hero-copy:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0 32px 0 32px;
  pointer-events: none;
}
.hero-copy > * {
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 9px 13px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
}
.hero-copy h1 {
  font-size: clamp(58px, 6.8vw, 108px);
  line-height: .82;
  margin-bottom: 22px;
  text-shadow: 0 12px 36px rgba(0,0,0,.7);
}
.hero-copy h1 span {
  -webkit-text-stroke: 1.5px rgba(255,255,255,.96);
}
.hero-copy > p {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(18px, 1.7vw, 25px);
}
.hero-actions {
  gap: 14px;
}
.primary-btn,
.text-link,
.showcase-btn {
  min-height: 52px;
  border-radius: 999px;
  letter-spacing: .01em;
}
.primary-btn {
  padding: 0 23px;
}
.text-link {
  padding: 0 21px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
  color: #fff;
  text-shadow: none;
  transition: transform .28s ease, background .28s ease, color .28s ease, border-color .28s ease;
}
.text-link:hover {
  transform: translateY(-4px);
  border-color: #fff;
  background: #fff;
  color: #050505;
}
.hero-link-field {
  max-width: none;
  margin-top: 22px;
  padding: 16px;
  border-radius: 24px;
  border-color: rgba(255,255,255,.42);
  background: rgba(0,0,0,.36);
  box-shadow: 0 18px 54px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.12);
}
.hero-link-field > span {
  margin-bottom: 12px;
  color: rgba(255,255,255,.9);
}
.hero-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.hero-link-grid a {
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 10px 12px;
  border-color: rgba(255,255,255,.44);
  background: rgba(255,255,255,.09);
  white-space: nowrap;
}
.hero-link-grid a:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.hero-copy .social-links {
  margin-top: 22px;
}
.hero-copy .social-links a {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.06);
}
.hero-showcase {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 0 36px 0 36px;
  border-color: rgba(255,255,255,.28);
  background:
    linear-gradient(145deg, rgba(0,0,0,.66), rgba(255,255,255,.09)),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02));
  box-shadow: 0 28px 90px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.15);
}
.hero-showcase:before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -92px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 66%);
}
.hero-showcase > * {
  position: relative;
  z-index: 1;
}
.hero-showcase h2 {
  margin: 22px 0;
  font-size: clamp(27px, 2.7vw, 42px);
}
.showcase-stack {
  gap: 10px;
  margin: 22px 0;
}
.showcase-stack div {
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}
.showcase-stack span {
  font-size: 24px;
}
.showcase-btn {
  padding: 0 18px;
}
.scroll-cue {
  opacity: .72;
}
.project-card {
  position: relative;
  overflow: hidden;
}
.project-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #050505;
  transform: scaleY(.25);
  transform-origin: center;
  transition: transform .3s ease, background .3s ease;
}
.project-card:hover:before {
  transform: scaleY(1);
  background: #fff;
}
.project-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #111;
  border-radius: 999px;
}
.project-card:hover .project-links a:hover {
  background: #fff;
  color: #050505;
}
.contact-wrap {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 0 44px 0 44px;
  padding: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

@media (max-width: 1199px) and (min-width: 992px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
    gap: 24px;
  }
  .hero-copy {
    padding: 24px;
  }
  .hero-copy h1 {
    font-size: clamp(56px, 6.4vw, 88px);
  }
  .hero-link-grid a {
    font-size: 11px;
    padding-inline: 10px;
  }
  .hero-showcase {
    max-width: none;
    padding: 22px;
  }
  .hero-showcase h2 {
    font-size: 30px;
  }
}

@media (max-width: 991px) {
  .monochrome .hero {
    padding: 86px 0 58px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-showcase {
    max-width: none;
  }
  .hero-copy h1 {
    font-size: clamp(58px, 13vw, 100px);
  }
}

@media (max-width: 640px) {
  .hero-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-copy:before {
    inset: 9px;
    border-radius: 0 22px 0 22px;
  }
  .contact-wrap {
    padding: 24px;
    border-radius: 0 28px 0 28px;
  }
}

@media (max-width: 420px) {
  .hero-link-grid {
    grid-template-columns: 1fr;
  }
}

/* First-screen readability boost */
.hero-copy h1,
.hero-copy > p,
.hero-copy .typed {
  color: #fff;
  opacity: 1;
}
.hero-copy h1 span {
  color: rgba(255,255,255,.96);
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.75));
}
.hero-link-grid a,
.hero-copy .social-links a {
  color: #fff;
}
.hero-copy {
  background: linear-gradient(145deg, rgba(0,0,0,.82), rgba(0,0,0,.56));
}
.hero-showcase {
  background: linear-gradient(145deg, rgba(0,0,0,.86), rgba(0,0,0,.54));
}

@media (max-width: 700px) {
  .monochrome .hero {
    align-items: flex-start;
    padding: 70px 0 44px;
  }
  .monochrome .hero > img {
    opacity: .58;
    filter: grayscale(1) contrast(1.45) brightness(.32);
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.96) 100%),
      radial-gradient(circle at 78% 18%, rgba(255,255,255,.16), transparent 28%);
  }
  .hero-copy {
    padding: 18px;
    border-color: rgba(255,255,255,.38);
    background: linear-gradient(145deg, rgba(0,0,0,.84), rgba(0,0,0,.68));
    box-shadow: 0 24px 70px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.16);
  }
  .eyebrow {
    margin-bottom: 15px;
    padding: 8px 11px;
    color: #fff;
    font-size: 10px;
    background: rgba(0,0,0,.42);
  }
  .hero-copy h1 {
    font-size: clamp(52px, 12vw, 74px);
    margin-bottom: 16px;
    text-shadow: 0 12px 30px rgba(0,0,0,.82);
  }
  .hero-copy > p {
    margin-bottom: 17px;
    font-size: 18px;
  }
  .hero-actions {
    gap: 10px;
  }
  .primary-btn,
  .text-link {
    min-height: 48px;
  }
  .hero-link-field {
    margin-top: 16px;
    padding: 13px;
    background: rgba(0,0,0,.58);
  }
  .hero-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-link-grid a {
    min-height: 38px;
    padding: 8px 9px;
    font-size: 10px;
    letter-spacing: .025em;
    background: rgba(255,255,255,.1);
  }
  .hero-copy .social-links {
    margin-top: 16px;
  }
  .hero-copy .social-links a {
    width: 40px;
    height: 40px;
  }
  .hero-showcase {
    padding: 18px;
    background: linear-gradient(145deg, rgba(0,0,0,.82), rgba(0,0,0,.58));
  }
  .hero-showcase h2 {
    font-size: 25px;
  }
  .scroll-cue {
    display: none;
  }
}

@media (min-width: 521px) and (max-width: 700px) {
  .hero-actions {
    flex-wrap: nowrap;
  }
  .primary-btn,
  .text-link {
    width: auto;
    flex: 1 1 0;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .hero-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* GitHub Pages contrast finish */
body.monochrome {
  background:
    radial-gradient(circle at 14% 6%, #fff 0 9%, transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(0,0,0,.18), transparent 30%),
    linear-gradient(135deg, #fff 0%, #ecece8 42%, #b9b9b2 100%);
}
.monochrome .hero {
  background: #000;
}
.monochrome .hero > img {
  opacity: .62;
  filter: grayscale(1) contrast(1.72) brightness(.3);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.99) 0%, rgba(0,0,0,.88) 38%, rgba(0,0,0,.5) 100%),
    radial-gradient(circle at 72% 20%, rgba(255,255,255,.24), transparent 24%),
    radial-gradient(circle at 15% 70%, rgba(255,255,255,.12), transparent 30%),
    linear-gradient(0deg, #000, transparent 52%);
}
.hero-copy,
.hero-showcase,
.contact-wrap {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,.5);
  background:
    linear-gradient(150deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.88) 52%, rgba(255,255,255,.1) 100%);
  box-shadow:
    0 34px 110px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -1px 0 rgba(255,255,255,.08);
}
.hero-copy:after,
.hero-showcase:after,
.contact-wrap:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.18), transparent 26%, transparent 76%, rgba(255,255,255,.1));
  mix-blend-mode: screen;
}
.hero-copy h1 {
  color: #fff;
  text-shadow:
    0 3px 0 rgba(255,255,255,.08),
    0 18px 38px rgba(0,0,0,.86);
}
.hero-copy h1 span {
  color: #fff;
  -webkit-text-stroke: 0;
}
.hero-copy > p,
.hero-showcase h2,
.contact-wrap h2 {
  text-shadow: 0 12px 28px rgba(0,0,0,.9);
}
.primary-btn,
.showcase-btn,
.contact-email {
  background: linear-gradient(180deg, #fff, #dcdcdc);
  border-color: #fff;
  color: #050505;
  box-shadow: 0 16px 35px rgba(0,0,0,.4), inset 0 1px 0 #fff;
}
.primary-btn:hover,
.showcase-btn:hover,
.contact-email:hover {
  background: #050505;
  color: #fff;
  border-color: #fff;
}
.text-link,
.hero-link-grid a,
.hero-copy .social-links a {
  border-color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.text-link:hover,
.hero-link-grid a:hover,
.hero-copy .social-links a:hover {
  background: #fff;
  color: #050505;
}
.hero-link-field,
.showcase-stack div {
  background: rgba(0,0,0,.58);
  border-color: rgba(255,255,255,.38);
}
.showcase-label {
  background: #fff;
  color: #050505;
  box-shadow: 0 12px 30px rgba(0,0,0,.34);
}
.section-fade {
  background:
    linear-gradient(135deg, #fff 0%, #f4f4f0 38%, #d1d1c9 100%);
}
.section-heading h2,
.lead-copy,
.project-card h3,
.education-card h2 {
  color: #020202;
}
.quick-facts,
.project-card {
  background: rgba(255,255,255,.88);
  border-color: rgba(0,0,0,.14);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}
.project-card:hover {
  background: #020202;
  color: #fff;
  border-color: #020202;
}
.dark-panel {
  background:
    radial-gradient(circle at 14% 0%, rgba(255,255,255,.18), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.1), transparent 26%),
    linear-gradient(135deg, #000 0%, #101010 50%, #000 100%);
}
.skill-card {
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
}
.education {
  background:
    radial-gradient(circle at 20% 10%, #fff, transparent 28%),
    linear-gradient(145deg, #bebeb6, #fff);
}

@media (max-width: 700px) {
  .monochrome .hero > img {
    opacity: .48;
    filter: grayscale(1) contrast(1.8) brightness(.24);
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.98) 100%),
      radial-gradient(circle at 78% 18%, rgba(255,255,255,.18), transparent 28%);
  }
  .hero-copy,
  .hero-showcase {
    background: linear-gradient(150deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.9) 62%, rgba(255,255,255,.08) 100%);
  }
}
