/*
Template Name: Tunis - Personal Portfolio
Author: celtano
Author URI: http://themeforest.net/user/celtano
Description: Tunis - Personal Portfolio
Version: 1.0
*/

/*------------------------------------------------------------------
[Table of contents]
	+ General
	    - Miscellaneous
		- Light Body
		- Buttons
		- Page Title
	+ Header
		- Desktop Navigation
		- Mobile Navigation
	+ Pages
		- Homepage
		+ About
		    - Personal Info List
			- Box Stats
			- Resume
			- Skills
		+ Portfolio
		    - Grid
		    + Slideshow
                - Embedded Videos
                - Carousel
                - Navigation
        + Contact
            - Left Side
            - Contact Form
		+ Blog
            - Latest Posts
            - Pagination
	- Responsive Design Styles
-------------------------------------------------------------------*/

/* [ GENERAL ] */
/*================================================== */

/*** Miscellaneous ***/

html {
  overflow-x: hidden;
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  background-color: #111;
}

.poppins-font {
  font-family: 'Poppins', sans-serif;
}

.open-sans-font {
  font-family: 'Open Sans', sans-serif;
}

hr.separator {
  border-top: 1px solid #252525;
  margin: 70px auto 55px;
  max-width: 40%;
}

.ft-wt-600 {
  font-weight: 600;
}

.mb-30 {
  margin-bottom: 30px;
}

.no-transform {
  transform: none !important;
}

.custom-title {
  padding-bottom: 22px;
  font-size: 26px;
}

/*** Light Body ***/

body.light {
  color: #666;
  background-color: #fff;
}

body.home.light .home-details h1 span,
body.light .button .button-text {
  color: #666;
}

body.light .button:hover .button-text {
  color: #fff;
}

body.home.light .home-details h6 {
  color: #777;
}

body.light .preloader .black_wall {
  background-color: #eee;
}

body.light .preloader {
  background-color: #fff;
}

body.light .title-section h1 {
  color: #666;
}

body.light .title-bg {
  color: rgba(30, 37, 48, 0.07);
}

body.light.about .box-stats {
  border: 1px solid #ddd;
}

body.light.about .c100,
body.light.about .resume-box .time {
  background-color: #eee;
}

body.light.about .resume-box .time,
body.light.about .resume-box p {
  color: #666;
}

body.light.about .resume-box .place:before {
  background-color: #666;
}

body.light.about  .resume-box li:after {
  border-left: 1px solid #ddd;
}

body.light.about .c100 > span {
  color: #666;
}

body.light.about .c100:after {
  background-color: #fff;
}

body.light.portfolio .slideshow figure {
  background-color: #fff;
}

body.light.portfolio .slideshow ul > li:after {
  background: rgba(255,255,255,0.77);
}

body.light.portfolio .slideshow {
  background: rgba(0,0,0,0.7);
}

body.light.contact .contactform input[type=text],
body.light.contact .contactform input[type=email],
body.light.contact .contactform textarea {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #666;
}

body.light.contact  ul.social li a {
  color: #666;
  background: #eee;
}

body.light.contact  ul.social li a:hover {
  color: #fff;
}

body.light.blog .post-content {
  background-color: #f2f2f2;
}

body.light.blog .post-content .entry-header h3 a {
  color: #666;
}

body.light.blog .page-link {
  color: #666;
  background-color: #eee;
  border: 1px solid #eee;
}

body.light.blog-post .meta {
  color: #888;
}

body.light.blog .page-item.active .page-link {
  color: #fff;
}

body.light hr.separator {
  border-top: 1px solid #ddd;
}

@media (min-width: 992px) {
  body.light .header ul.icon-menu li.icon-box {
    background-color: #eee;
  }

  body.light .header ul.icon-menu li.icon-box i {
    color: #666;
  }

  body.light .header ul.icon-menu li.icon-box.active,
  body.light .header ul.icon-menu li.icon-box:hover,
  body.light .header ul.icon-menu li.icon-box.active i,
  body.light .header ul.icon-menu li.icon-box:hover i {
    color: #fff;
  }
}

@media (max-width: 991px) {

  body.light .main-img-mobile {
    border: 4px solid #eee;
  }

  body.light #menuToggle {
    border: 1px solid #ddd;
  }

  body.light #menuToggle,
  body.light #menu {
    background: #eee;
  }

  body.light #menuToggle > span,
  body.light #menuToggle input:checked ~ span {
    background: #666;
  }

  body.light #menu li a {
    color: #666;
  }

  body.light #menu li:after {
    background: #ddd;
  }

  body.light.portfolio .slideshow nav {
    background: #eee;
    border-bottom: 1px solid #ddd;
  }

  body.light.portfolio .slideshow nav span img {
    display: none;
  }

  body.light.portfolio .slideshow nav span.nav-next {
    background-image: url("../img/projects/navigation/right-arrow.png");
    background-size: cover;
  }

  body.light.portfolio .slideshow nav span.nav-prev {
    background-image: url("../img/projects/navigation/left-arrow.png");
    background-size: cover;
  }

  body.light.portfolio .slideshow nav span.nav-close {
    background-image: url("../img/projects/navigation/close-button.png");
    background-size: cover;
  }

  body.light.portfolio .slideshow nav span.nav-next,
  body.light.portfolio .slideshow nav span.nav-prev {
    top: 51px;
  }

  body.light.portfolio .slideshow {
    background: #fff;
  }
}

@media (max-width: 576px) {
  body.light .title-section {
    background: #eee;
    border-bottom: 1px solid #ddd;
  }

  body.light #menuToggle {
    border: 0;
  }

  body.light.portfolio .slideshow nav span.nav-next,
  body.light.portfolio .slideshow nav span.nav-prev {
    top: 31px;
  }
}
/*** Buttons ***/
.button {
  overflow: hidden;
  display: inline-block;
  line-height: 1.4;
  border-radius: 35px;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
  user-select: none;
  transition: 250ms all ease-in-out;
  text-transform: uppercase;
  text-decoration: none !important;
  position: relative;
  z-index: 1;
  padding: 16px 70px 16px 35px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background-color: transparent;
  outline: none !important;
}

.button .button-text {
  position: relative;
  z-index: 2;
  color: #fff;
  transition: .3s ease-out all;
}

.button:before {
  z-index: -1;
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateX(100%);
  transition: .3s ease-out all;
}

.button:hover .button-text {
  color: #ffffff;
}

.button:hover:before {
  transform: translateX(0);
}

.button-icon {
  position: absolute;
  right: -1px;
  top: -1px;
  bottom: 0;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 19px;
  color: #ffffff;
  border-radius: 50%;
}

/*** Page Title ***/

.title-section {
  margin: 0 auto;
  width: 100%;
  position: relative;
  padding: 80px 0;
}

.title-section h1 {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
}

.title-bg {
  font-size: 110px;
  left: 0;
  letter-spacing: 10px;
  line-height: 0.7;
  position: absolute;
  right: 0;
  top: 50%;
  text-transform: uppercase;
  font-weight: 800;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.07);
}

/* [ HEADER ] */
/*================================================== */

/*** Desktop Navigation ***/

@media (min-width: 992px) {

  /*** Navigation ***/

  .header {
    position: fixed;
    right: 30px;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    height: calc(100vh - 200px);
    top: 100px;
    opacity: 1;
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
  }

  .header.hide-header {
    z-index: 0 !important;
    opacity: 0;
  }

  .header ul.icon-menu {
    margin: 0;
    padding: 0;
  }

  .header ul.icon-menu li.icon-box {
    width: 50px;
    height: 50px;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    margin: 20px 0;
    border-radius: 50%;
    background: #2b2a2a;
  }

  .header ul.icon-menu li.icon-box i {
    color: #ddd;
    font-size: 19px;
    transition: .3s;
  }

  .header ul.icon-menu li.icon-box.active,
  .header ul.icon-menu li.icon-box:hover,
  .header ul.icon-menu li.icon-box.active i,
  .header ul.icon-menu li.icon-box:hover i {
    color: #fff;
  }

  .header .icon-box h2 {
    font-size: 15px;
    font-weight: 500;
  }

  .header .icon-box a {
    display: block;
    padding: 0;
    width: 50px;
    height: 50px;
  }

  .header .icon-box i {
    position: absolute;
    pointer-events: none;
  }

  .header .icon-menu i {
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
    text-align: center;
    font-size: 35px;
    top: 15px;
  }

  .header .icon-box h2 {
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    color: #fff;
    line-height: 50px;
    font-weight: 500;
    transition: all .3s;
    border-radius: 30px;
    text-transform: uppercase;
    padding: 0 25px 0 30px;
    height: 50px;
  }

  .header .icon-box a:hover h2 {
    opacity: 1;
    right: 27px;
    margin: 0;
    text-align: center;
    border-radius: 30px 0 0 30px;
  }
}

/* [ Pages ] */
/*================================================== */

/*** Homepage ***/

.home .color-block {
  position: fixed;
  height: 200%;
  width: 100%;
  transform: rotate(-15deg);
  left: -83%;
  top: -50%;
}

.home .bg {
  background-image: url(http://via.placeholder.com/610x1020);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  height: calc(100vh - 80px);
  z-index: 111;
  border-radius: 30px;
  left: 40px;
  top: 40px;
  box-shadow: 0 0 7px rgba(0,0,0,.9);
}

.home .container-home {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.home .home-details > div {
  max-width: 550px;
  margin: 0 auto;
}

.home .home-details h1 {
  font-size: 51px;
  line-height: 62px;
  font-weight: 700;
  margin: 18px 0 10px;
  position: relative;
  padding-left: 70px;
}

.home .home-details h1:before {
  content: '';
  position: absolute;
  left: 0;
  top: 29px;
  height: 4px;
  width: 40px;
  border-radius: 10px;
}

.home .home-details h1 span {
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.home .home-details h6 {
  color: #eee;
  font-size: 22px;
  font-weight: 400;
  display: block;
}

.home .home-details p {
  margin: 15px 0 28px;
  font-size: 16px;
  line-height: 35px;
}

/*** About ***/

.about .main-content {
  padding-bottom: 20px;
}

/* Personal Info List */

.about .about-list li:not(:last-child) {
  padding-bottom: 20px;
}

.about .about-list .title {
  opacity: .8;
  text-transform: capitalize;
}

.about .about-list .value {
  font-weight: 600;
}

/* Box Stats */

.about .box-stats {
  padding: 20px 30px 25px 40px;
  border-radius: 5px;
  border: 1px solid #252525;
}

.about .box-stats.with-margin {
  margin-bottom: 30px;
}

.about .box-stats h3 {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: 50px;
  font-weight: 700;
}

.about .box-stats p {
  padding-left: 45px;
}

.about .box-stats p:before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 30px;
  height: 1px;
  background: #777;
}

/* Resume */

.about .resume-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about .resume-box li {
  position: relative;
  padding: 0 20px 0 60px;
  margin: 0 0 50px;
}

.about .resume-box li:after {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  bottom: 0;
  border-left: 1px solid #333;
}

.about .resume-box .icon {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  right: 0;
  line-height: 40px;
  text-align: center;
  z-index: 1;
  border-radius: 50%;
  color: #fff;
  background-color: #252525;
}

.about .resume-box .time {
  color: #fff;
  font-size: 12px;
  padding: 1px 10px;
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 20px;
  font-weight: 600;
  background-color: #252525;
  opacity: .8;
}

.about .resume-box h5 {
  font-size: 18px;
  margin: 7px 0 10px;
}

.about .resume-box p {
  margin: 0;
  color: #eee;
  font-size: 14px;
}

.about .resume-box .place {
  opacity: .8;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding-left: 26px;
}

.about .resume-box .place:before {
  position: absolute;
  content: '';
  width: 10px;
  height: 2px;
  background-color: #fff;
  left: 7px;
  top: 9px;
  opacity: .8;
}

/* Skills */

.about .c100 {
  float: none !important;
  margin: 0 auto;
  background-color: #252525;
}

.about .c100 > span {
  color: #fff;
}

.about .c100:after {
  background-color: #111;
}

/*** Portfolio ***/
.portfolio .main-content {
  padding-bottom: 60px;
  margin-top: -15px;
}

/* Grid */

.portfolio .grid-gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portfolio .grid-gallery figure {
  margin: 0;
}

.portfolio .grid-gallery figure img {
  display: block;
  width: 100%;
  border-radius: 5px;
  transition: .3s;
}

.portfolio .grid-wrap {
  margin: 0 auto;
}

.portfolio .grid {
  margin: 0 auto;
}

.portfolio .grid li {
  width: 33.333333%;
  float: left;
  cursor: pointer;
  padding: 15px;
}

.portfolio .grid figure {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-radius: 5px;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.portfolio .grid figure img {
  display: block;
  position: relative;
}

.portfolio .grid li a {
  overflow: hidden;
}

.portfolio .grid li figure div {
  position: absolute;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.portfolio .grid li figure div span {
  margin: 0;
  text-transform: uppercase;
  color: #fff;
  font-size: 18px;
}

/* Slideshow */

.portfolio .slideshow {
  position: fixed;
  background: rgba(0,0,0,0.85);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1111;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
  transition: opacity 0.5s, visibility 0s 0.5s;
  text-align: left;
}

.portfolio .slideshow-open .slideshow {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.portfolio .slideshow ul {
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translate3d(0,0,150px);
  transform: translate3d(0,0,150px);
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}

.portfolio .slideshow ul.animatable > li {
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}

.portfolio .slideshow-open .slideshow ul {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.portfolio .slideshow ul > li {
  width: 660px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -280px 0 0 -330px;
  visibility: hidden;
}

.portfolio .slideshow ul > li.show {
  visibility: visible;
}

.portfolio .slideshow ul > li:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.7);
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  z-index: 111;
  border-radius: 10px;
}

.portfolio .slideshow ul > li.current:after {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s, visibility 0s 0.3s;
  transition: opacity 0.3s, visibility 0s 0.3s;
}

.portfolio .slideshow figure {
  width: 100%;
  height: 100%;
  background: #252525;
  padding: 30px;
  overflow: auto;
  border-radius: 10px;
}

.portfolio .slideshow a {
  text-decoration: underline;
}

.portfolio .slideshow figcaption {
  margin-bottom: 15px;
}

.portfolio .slideshow figcaption h3 {
  text-transform: uppercase;
  padding: 10px 0 20px;
  font-weight: 700;
  text-align: center;
  font-size: 33px;
}

/* Embedded Videos */

.portfolio .slideshow .videocontainer,
.portfolio .slideshow .responsive-video {
  max-width: 100%;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}

.portfolio .slideshow .videocontainer {
  position: relative;
  padding-bottom: 56.20%;
  padding-top: 0;
  height: 0;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
  display: block;
  margin: 0;
  border-radius: 4px;
}

.portfolio .slideshow .videocontainer iframe,
.portfolio .slideshow .videocontainer object,
.portfolio .slideshow .videocontainer embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Carousel */

.portfolio .slideshow .carousel-indicators {
  bottom: 0;
  background: rgba(0,0,0,.4);
  padding: 10px 0;
  margin: 0;
}

.portfolio .slideshow .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 7px;
  background-color: #fff;
  opacity: 1;
}

/* Navigation */

.portfolio .slideshow nav span {
  position: fixed;
  z-index: 1000;
  text-align: center;
  cursor: pointer;
  padding: 200px 30px;
  color: #fff;
}

.portfolio .slideshow nav span.nav-prev,
.portfolio .slideshow nav span.nav-next {
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 41px;
  line-height: 58px;
}

.portfolio .slideshow nav span.nav-prev {
  left: 0;
}

.portfolio .slideshow nav span.nav-next {
  right: 0;
}

.portfolio .slideshow nav span.nav-close {
  top: 30px;
  right: 30px;
  padding: 0;
}

/*** Contact ***/
.contact .main-content {
  padding-bottom: 85px;
}
/* Left Side */

.contact .custom-span-contact {
  font-weight: 600;
  padding-left: 50px;
  line-height: 21px;
  padding-top: 5px;
}

.contact .custom-span-contact i {
  left: 0;
  top: 10px;
  font-size: 33px;
}

.contact .custom-span-contact i.fa-phone-square {
  font-size: 39px;
  top: 7px;
}

.contact .custom-span-contact span {
  text-transform: uppercase;
  opacity: .8;
  font-weight: 400;
}

.contact ul.social {
  margin-left: -5px;
}

.contact ul.social li {
  display: inline-block;
}

.contact ul.social li a {
  display: inline-block;
  height: 40px;
  width: 40px;
  line-height: 42px;
  text-align: center;
  color: #fff;
  transition: .3s;
  font-size: 17px;
  margin: 0 6px;
  background: #2b2a2a;
  border-radius: 50%;
}
/* Form */
.contact .contactform input[type=text],
.contact .contactform input[type=email] {
  border: 1px solid #111;
  width: 100%;
  background: #252525;
  color: #fff;
  padding: 11px 26px;
  margin-bottom: 30px;
  border-radius: 30px;
  outline: none !important;
  transition: .3s;
}

.contact .contactform textarea {
  border: 1px solid #111;
  background: #252525;
  color: #fff;
  width: 100%;
  padding: 12px 26px;
  margin-bottom: 20px;
  height: 160px;
  overflow: hidden;
  border-radius: 30px;
  outline: none !important;
  transition: .3s;
}

.contact .contactform .form-message {
  margin: 24px 0;
}

.contact .contactform .output_message {
  display: block;
  color: #fff;
  height: 46px;
  line-height: 46px;
  border-radius: 30px;
}

.contact .contactform .output_message.success {
  background: #28a745;
}

.contact .contactform .output_message.success:before {
  font-family: FontAwesome;
  content: "\f14a";
  padding-right: 10px;
}

.contact .contactform .output_message.error {
  background: #dc3545;
}

.contact .contactform .output_message.error:before {
  font-family: FontAwesome;
  content: "\f071";
  padding-right: 10px;
}

/*** Blog ***/

.blog .main-content {
  padding-bottom: 85px;
}

/* Latest Posts */

.blog .post-container {
  display: block;
}

.blog .post-content {
  background-color: #252525;
  padding: 20px 25px 25px 25px;
  border-radius: 0 0 5px 5px;
}

.blog .post-content .entry-header h3 {
  line-height: 26px;
  cursor: pointer;
}

.blog .post-content .entry-header h3 a {
  text-decoration: none;
  transition: .5s;
}

.blog .post-thumb {
  border-radius: 5px 5px 0 0;
  cursor: pointer;
}

.blog .post-thumb a {
  border-radius: 5px 5px 0 0;
}

.blog .post-container:hover img {
  transform: scale(1.2);
}

.blog .post-thumb a img {
  border-radius: 5px 5px 0 0;
  transition: .3s;
}

.blog .post-content .entry-content p {
  margin: 15px 0 5px;
}

.blog .post-content .entry-header h3 a {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

/* pagination */

.blog .pagination {
  margin-bottom: 30px;
}

.blog .page-link {
  color: #fff;
  background-color: #252525;
  border: 1px solid #252525;
  padding: 0;
  margin: 0 10px;
  border-radius: 50% !important;
  width: 43px;
  height: 43px;
  line-height: 43px;
  text-align: center;
  transition: .3s;

}

.blog .page-link:focus,
.blog .page-link:active{
  box-shadow: none !important;
}

.blog .page-link:hover {
  color: #fff !important;
}

/* Blog Post */

.blog-post article {
  max-width: 700px;
  margin: 0 auto;
}

.blog-post article h1 {
  font-weight: 600;
  margin: 13px 0 20px;
}

.blog-post article img {
  border-radius: 5px;
  margin-bottom: 20px;
}

.blog-post .meta {
  color: #eee;
  font-size: 13px;
}

.blog-post .meta span {
  padding-right: 15px;
}

.blog-post .meta i {
  padding-right: 3px;
}

/* [ RESPONSIVE DESIGN STYLES ] */

@media (min-width: 1351px) {
  .portfolio .container-portfolio .grid {
    text-align: left;
  }
}

@media (max-width: 1350px) and (min-width: 992px) {
  .container {
    max-width: calc(100% - 195px);
  }

  .portfolio .container-portfolio {
    max-width: calc(100% - 195px);
  }
}

@media (max-width: 1200px) {
  .home .home-details h1 {
    padding-left: 0;
  }
  .home .home-details h1:before {
    display: none;
  }
}

@media (max-width: 1200px) and (min-width: 992px) {
  .home .home-details h1 {
    font-size: 42px;
    line-height: 52px;
  }
}

@media (max-width: 1100px) and (min-width: 992px) {
  .home .home-details > div {
    max-width: 450px;
  }
}

@media (min-width: 1600px) {
  .home .home-details > div {
    max-width: 600px;
  }
}

@media (min-width: 992px) {
  .home .home-details-container {
    width: 100%;
    height: 100vh;
  }

  body.home {
    overflow: hidden;
  }
}

/* Mobile  Navigation */

@media (max-width: 991px) {

  body.home {
    padding: 25px;
  }

  body.home .main-container {
    padding: 30px 0 !important;
  }

  .home .home-details-container {
    margin: 0 auto;
  }

  .home .home-details {
    padding: 0;
  }

  .main-img-mobile {
    border-radius: 50%;
    width: 270px;
    height: 270px;
    border: 4px solid #252525;
    margin: 0 auto 25px;
    display: block;
  }

  .home .home-details h1 {
    font-size: 38px;
    line-height: 48px;
    margin: 29px 0 13px;
  }

  .home .home-details p {
    margin: 10px 0 23px;
    font-size: 15px;
    line-height: 30px;
  }

  #menuToggle {
    display: inline-block;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1111;
    user-select: none;
    padding: 19px 0 0 16px;
    width: 54px;
    height: 54px;
    border-radius: 5px;
    background: #252525;
  }

  #menuToggle input {
    display: flex;
    width: 54px;
    height: 54px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    top: 0;
    left: 0;
  }

  #menuToggle > span {
    display: flex;
    width: 23px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #ffffff;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 5px 0;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
  }

  #menuToggle > span:first-child {
    transform-origin: 0 0;
  }

  #menuToggle > span:nth-last-child(2) {
    transform-origin: 0 100%;
  }

  #menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(4px, 0);
    background: #fff;
  }

  #menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  #menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(2px, 4px);
  }

  #menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding-top: 60px;
    background-color: #252525;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0 0;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  }

  #menuToggle input:checked ~ ul {
    transform: none;
  }

  #menu li {
    position: relative;
    padding-left: 30px;
  }

  #menu li:after {
    position: absolute;
    content: '';
    height: 1px;
    width: calc(100% - 60px);
    background: #333;
    left: 30px;
  }

  #menu li:last-child:after {
    display: none;
  }

  #menu li.active a span {
    font-weight: 600;
  }

  #menu li a {
    color: #fff;
    text-transform: uppercase;
    transition-delay: 2s;
    font-size: 26px;
    display: block;
    text-decoration: none;
    padding: 14px 0;
    position: relative;
  }

  #menu li a span {
    position: absolute;
    left: 50px;
    font-weight: 400;
  }

  .portfolio .grid li {
    width: 50%;
  }

  .portfolio .grid li figure div {
    display: none !important;
  }

  .portfolio .slideshow {
    background: #252525;
  }

  .portfolio .slideshow nav span {
    padding: 0;
  }

  .portfolio .slideshow ul > li {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
  }

  .portfolio .slideshow ul > li:after {
    display: none;
  }

  .portfolio .slideshow figure {
    padding: 125px 30px 30px;
    border-radius: 0;
    max-width: 720px;
    margin: 0 auto;
  }

  .portfolio .slideshow nav span.nav-prev,
  .portfolio .slideshow nav span.nav-next {
    top: 35px;
    width: 32px;
    height: 32px;
  }

  .portfolio .slideshow nav span.nav-next {
    right: 30px;
  }

  .portfolio .slideshow nav span.nav-prev {
    left: 30px;
  }

  .portfolio .slideshow nav span.nav-prev img,
  .portfolio .slideshow nav span.nav-next img {
    width: 32px;
    height: 32px;
  }

  .portfolio .slideshow nav span:before {
    display: none;
  }

  .portfolio .slideshow nav span.nav-close {
    top: 35px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 32px;
    height: 32px;
    display: block;
    line-height: 0;
  }

  .portfolio .slideshow nav span.nav-close img {
    width: 32px;
    height: 32px;
  }

  .portfolio .slideshow nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 102px;
    background: #252525;
    z-index: 1;
    border-bottom: 1px solid #333;
  }

  .contact .main-content {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .home .home-details p {
    font-size: 14px;
    line-height: 28px;
  }
}

@media (max-width: 576px) {

  body {
    font-size: 14px;
  }

  .title-section.revealator-delay1 {
    transform: none !important;
    opacity: 1 !important;
  }

  #menuToggle {
    right: 10px;
    top: 4px;
    padding: 19px 0 0 13px;
    width: 49px;
    height: 49px;
  }

  .home #menuToggle {
    right: 25px;
    top: 25px;
    padding: 17px 0 0 13px;
  }

  #menu li {
    padding-left: 25px;
  }

  #menu li a {
    font-size: 18px;
  }

  #menu li:after {
    width: calc(100% - 50px);
    left: 25px;
  }

  #menu li a span {
    left: 35px;
  }

  .main-content {
    padding-top: 85px;
  }

  .main-content > .container {
    padding: 0 25px;
  }

  .main-img-mobile {
    width: 230px;
    height: 230px;
  }

  .home .home-details h1 {
    font-size: 29px;
    line-height: 39px;
    margin: 18px 0 13px;
  }

  .home .home-details h6 {
    font-size: 19px;
  }

  .title-section {
    padding: 16px 25px 14px;
    background: #252525;
    border-bottom: 1px solid #333;
    margin-bottom: 36px;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 11;
    top: 0;
  }

  .title-section h1 {
    font-size: 26px;
  }

  .title-bg {
    display: none;
  }

  .custom-title {
    font-size: 21px;
  }

  .about .main-content {
    padding-bottom: 0;
  }

  .about .resume-box h5 {
    font-size: 17px;
  }

  .about .box-stats {
    padding: 15px 20px 20px 25px;
  }

  .about .c100 {
    transform: scale(.8);
  }

  .about .box-stats.with-margin {
    margin-bottom: 25px;
  }

  .about .box-stats h3 {
    font-size: 40px;
  }

  .about .box-stats p {
    padding-left: 0;
  }

  .about .box-stats p:before {
    display: none;
  }

  .portfolio .main-content {
    padding-bottom: 10px;
    margin-top: -12px;
  }

  .portfolio .grid li {
    width: 100%;
  }

  .portfolio .main-content > .container {
    padding: 0 10px;
  }

  .portfolio .slideshow figure {
    padding: 85px 25px 25px;
  }

  .portfolio .slideshow figcaption h3 {
    font-size: 25px;
  }

  .portfolio .slideshow nav span.nav-prev,
  .portfolio .slideshow nav span.nav-next {
    top: 9px;
    width: 20px;
    height: 20px;
  }

  .portfolio .slideshow nav span.nav-next {
    right: 20px;
  }

  .portfolio .slideshow nav span.nav-prev {
    left: 20px;
  }

  .portfolio .slideshow nav span.nav-prev img,
  .portfolio .slideshow nav span.nav-next img {
    width: 20px;
    height: 20px;
  }

  .portfolio .slideshow nav span.nav-close {
    top: 21px;
    width: 20px;
    height: 20px;
  }

  .portfolio .slideshow nav span.nav-close img {
    width: 20px;
    height: 20px;
  }

  .portfolio .slideshow nav {
    height: 62px;
  }

  .blog .main-content {
    padding-bottom: 55px;
  }

  .blog-post article h1 {
    font-size: 25px;
  }

  .separator.mt-1 {
    margin-top: 35px !important;
  }
}
<<<<<<< HEAD

/* Home page refresh */
.home .container-home {
  min-height: 100vh;
  padding: 40px 0 !important;
  position: relative;
  overflow: hidden;
}

.home .home-shell {
  position: relative;
  z-index: 2;
}

.home .home-hero {
  min-height: 100vh;
  padding: 40px 0;
}

.home .home-visual {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: 32px 18px 76px;
}

.home .home-visual:before {
  content: '';
  position: absolute;
  inset: 50px 0 58px 24px;
  background: linear-gradient(135deg, rgba(255, 180, 0, 0.2), rgba(255, 180, 0, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
}

.home .home-visual-frame {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(17, 17, 17, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: 18px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  margin-top: 40px;
}

.home .home-portrait {
  display: block;
  width: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
}

.home .home-visual-card {
  position: absolute;
  max-width: 240px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(24, 24, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.home .experience-card {
  left: -10px;
  bottom: 28px;
}

.home .growth-card {
  right: -26px;
  top: 10px;
}

.home .metric-value {
  display: block;
  font-size: 38px;
  line-height: 1;
  font-weight: 700;
  color: #ffb400;
  margin-bottom: 8px;
}

.home .metric-label {
  display: block;
  color: #d7d7d7;
  font-size: 14px;
  line-height: 1.7;
}

.home .home-details > div {
  max-width: 680px;
}

.home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 180, 0, 0.08);
  border: 1px solid rgba(255, 180, 0, 0.2);
  color: #ffcf53;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.home .hero-kicker:before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb400;
  box-shadow: 0 0 0 6px rgba(255, 180, 0, 0.14);
}

.home .home-details h1 {
  padding-left: 0;
  margin: 0 0 22px;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -1.4px;
  text-transform: none !important;
}

.home .home-details h1:before {
  display: none;
}

.home .home-details h1 span {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
  color: #d8d8d8;
}

.home .hero-summary {
  margin: 0 0 30px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.9;
  color: #d2d2d2;
}

.home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.home .button-ghost {
  background: rgba(255, 255, 255, 0.04);
}

.home .button-ghost:before {
  background: rgba(255, 180, 0, 0.2);
}

.home .hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.home .hero-highlights li {
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.8;
}

.home .highlight-title {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 1400px) {
  .home .home-details h1 {
    font-size: 52px;
  }
}

@media (max-width: 1200px) {
  .home .home-details h1 {
    font-size: 46px;
  }

  .home .hero-highlights {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  body.home {
    overflow-y: auto;
  }

  .home .home-details {
    padding-left: 32px;
  }

  .home .home-details-container {
    height: auto;
  }
}

@media (max-width: 991px) {
  body.home {
    padding: 24px 18px;
  }

  body.home .main-container {
    padding: 100px 0 24px !important;
  }

  .home .color-block {
    display: none !important;
  }

  .home .home-hero {
    min-height: auto;
    padding: 0;
    row-gap: 34px;
  }

  .home .home-visual {
    max-width: 520px;
    padding: 0 0 54px;
  }

  .home .home-portrait {
    min-height: 420px;
  }

  .home .growth-card {
    right: -8px;
    top: 28px;
  }

  .home .experience-card {
    left: 10px;
    bottom: 10px;
  }

  .home .home-details {
    padding: 0;
    text-align: left !important;
  }

  .home .home-details h1 {
    font-size: 38px;
    line-height: 1.14;
    margin-bottom: 18px;
  }

  .home .home-details h1 span {
    font-size: 17px;
  }

  .home .hero-summary {
    font-size: 15px;
    line-height: 1.85;
  }

  .home .hero-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  body.home {
    padding: 20px 14px;
  }

  body.home .main-container {
    padding-top: 86px !important;
  }

  .home .home-visual {
    padding-bottom: 22px;
  }

  .home .home-visual:before,
  .home .home-visual-card {
    display: none;
  }

  .home .home-visual-frame {
    padding: 12px;
    border-radius: 24px;
  }

  .home .home-portrait {
    min-height: 320px;
    border-radius: 18px;
  }

  .home .hero-kicker {
    font-size: 11px;
    letter-spacing: 1.2px;
  }

  .home .home-details h1 {
    font-size: 31px;
    line-height: 1.2;
  }

  .home .home-details h1 span {
    font-size: 15px;
  }

  .home .hero-actions {
    gap: 14px;
  }

  .home .button,
  .home .button-ghost {
    width: 100%;
  }

  .home .hero-highlights li {
    padding: 16px 16px 14px;
  }
}

/* About page refresh */
.about .main-content {
  padding-bottom: 70px;
}

.about .about-hero-row {
  margin-bottom: 30px;
}

.about .about-intro-card,
.about .about-panel,
.about .about-stats-panel {
  padding: 34px 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about .about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 180, 0, 0.08);
  border: 1px solid rgba(255, 180, 0, 0.2);
  color: #ffcf53;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

.about .about-kicker:before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb400;
}

.about .about-intro-card h2 {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.16;
}

.about .about-intro-card p {
  margin: 0 0 16px;
  color: #d2d2d2;
  font-size: 16px;
  line-height: 1.9;
}

.about .about-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.about .about-profile-grid {
  margin-top: 26px;
}

.about .about-actions-row {
  margin-top: 6px;
}

.about .about-sections-row {
  margin-top: 10px;
}

.about .about-actions-inline {
  justify-content: flex-start;
  margin-top: 0;
}

.about .about-hero-profile-list {
  margin-top: 24px;
}

.about .about-profile-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about .about-profile-list li:first-child {
  padding-top: 0;
}

.about .about-profile-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about .about-profile-list .title {
  min-width: 130px;
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 12px;
}

.about .about-profile-list .value {
  text-align: right;
  font-weight: 600;
  color: #fff;
}

.about .about-actions-inline .button,
.about .about-actions-inline .button-ghost {
  min-width: 240px;
}

.about .about-section-panel {
  height: 100%;
  padding: 34px 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about .about-stats-panel {
  height: 100%;
}

.about .about-stats-grid {
  row-gap: 24px;
}

.about .about-stats-grid .col-6 {
  margin-bottom: 0;
}

.about .about-stats-grid .box-stats {
  height: 100%;
  min-height: 155px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  padding: 24px 24px 22px 24px;
}

.about .about-stats-grid .box-stats h3 {
  font-size: 42px;
  line-height: 1;
}

.about .about-stats-grid .box-stats h3 sup {
  position: relative;
  top: -0.6em;
  margin-left: 4px;
  font-size: 0.5em;
  font-weight: 400;
  line-height: 1;
  vertical-align: baseline;
}

.about .about-stats-grid .box-stats p {
  padding-left: 0;
  margin-top: 10px !important;
  font-size: 13px;
  line-height: 1.6;
}

.about .about-stats-grid .box-stats p:before {
  display: none;
}

.about .about-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.about .about-skill-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 180, 0, 0.08);
  border: 1px solid rgba(255, 180, 0, 0.18);
  color: #f0f0f0;
  font-size: 14px;
  line-height: 1.4;
}

.about .about-experience-box {
  padding-top: 4px;
}

.about .about-experience-item {
  position: relative;
  padding: 0 0 0 60px;
  margin: 0 0 42px;
}

.about .about-experience-item:last-child {
  margin-bottom: 0;
}

.about .about-experience-item:after {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  bottom: -22px;
  border-left: 1px solid #333;
}

.about .about-experience-item:last-child:after {
  display: none;
}

.about .about-experience-item .icon {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 40px;
  text-align: center;
  z-index: 1;
  border-radius: 50%;
  color: #fff;
  background-color: #252525;
}

.about .about-experience-item .time {
  color: #fff;
  font-size: 12px;
  padding: 1px 10px;
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 20px;
  font-weight: 600;
  background-color: #252525;
  opacity: .8;
}

.about .about-experience-item h5 {
  font-size: 18px;
  margin: 7px 0 10px;
  font-weight: 600;
}

.about .about-experience-item .place {
  opacity: .8;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding-left: 26px;
}

.about .about-experience-item .place:before {
  position: absolute;
  content: '';
  width: 10px;
  height: 2px;
  background-color: #fff;
  left: 7px;
  top: 9px;
  opacity: .8;
}

.about .about-experience-item p {
  margin: 0;
  color: #eee;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  text-transform: none;
}

.about .resume-box ul.about-experience-points {
  margin: 0;
  padding-left: 28px;
  color: #eee;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  text-transform: none;
  list-style: disc;
}

.about .about-experience-points li {
  display: list-item;
  position: static;
  padding: 0;
  margin: 0 0 6px;
  list-style: disc;
  border: 0;
}

.about .about-experience-points li:after {
  display: none;
}

.about .about-experience-points li .icon,
.about .about-experience-points li .time,
.about .about-experience-points li .place {
  all: unset;
}

.about .about-experience-points li {
  margin-bottom: 6px;
}

.about .about-experience-points li:last-child {
  margin-bottom: 0;
}

.about .about-strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about .about-strength-card {
  padding: 28px 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about .about-strength-card h4 {
  margin: 0 0 10px;
  font-size: 24px;
}

.about .about-strength-card p {
  margin: 0;
  color: #d3d3d3;
  font-size: 15px;
  line-height: 1.85;
}

@media (max-width: 1200px) {
  .about .about-intro-card h2 {
    font-size: 36px;
  }
}

@media (max-width: 991px) {
  .about .about-intro-card,
  .about .about-panel,
  .about .about-stats-panel,
  .about .about-section-panel {
    padding: 28px 24px;
  }

  .about .about-intro-card h2 {
    font-size: 32px;
  }

  .about .about-actions-row {
    margin-top: 18px;
  }

  .about .about-stats-grid .box-stats {
    min-height: 145px;
  }

  .about .about-sections-row {
    margin-top: 4px;
  }

  .about .about-strength-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .about .about-profile-list li {
    flex-direction: column;
    gap: 8px;
  }

  .about .about-profile-list .value {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .about .main-content {
    padding-bottom: 40px;
  }

  .about .about-intro-card h2 {
    font-size: 28px;
  }

  .about .about-stats-grid {
    row-gap: 18px;
  }

  .about .about-stats-grid .box-stats {
    min-height: 132px;
    padding: 20px 18px 18px 18px;
  }

  .about .about-stats-grid .box-stats h3 {
    font-size: 34px;
  }

  .about .about-skill-chip {
    width: 100%;
    justify-content: center;
  }

.about .about-panel-actions .button,
.about .about-panel-actions .button-ghost {
    width: 100%;
    min-width: 0;
  }

  .about .about-strength-card {
    padding: 22px 20px 18px;
  }
}

/* Portfolio page refresh */
.portfolio .portfolio-shell {
  padding-bottom: 60px;
}

.portfolio .portfolio-intro {
  max-width: 760px;
  margin: 0 0 36px;
}

.portfolio .portfolio-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 180, 0, 0.08);
  border: 1px solid rgba(255, 180, 0, 0.2);
  color: #ffcf53;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

.portfolio .portfolio-kicker:before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb400;
}

.portfolio .portfolio-intro h2 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.15;
}

.portfolio .portfolio-intro p {
  margin: 0;
  max-width: 700px;
  color: #d2d2d2;
  font-size: 16px;
  line-height: 1.9;
}

.portfolio .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.portfolio #portfolio-tools-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio .portfolio-section-block {
  margin-top: 44px;
}

.portfolio .portfolio-section-head {
  margin-bottom: 22px;
}

.portfolio .portfolio-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.portfolio .portfolio-card-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 260px;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.82), rgba(20, 20, 20, 0.94));
}

.portfolio .portfolio-card-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 1461 / 894;
  object-fit: contain;
}

.portfolio .portfolio-card-category {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.portfolio .portfolio-card-body {
  padding: 26px 26px 28px;
}

.portfolio .portfolio-card h3 {
  margin: 0 0 12px;
  font-size: 27px;
}

.portfolio .portfolio-tool-card h3 {
  font-size: 22px;
  line-height: 1.35;
}

.portfolio .portfolio-card p {
  margin: 0 0 20px;
  color: #d2d2d2;
  font-size: 15px;
  line-height: 1.8;
}

.portfolio .portfolio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.portfolio .portfolio-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f0f0f0;
  font-size: 13px;
  line-height: 1.3;
}

.portfolio .portfolio-card-link {
  min-width: 220px;
}

.portfolio .project-carousel {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.portfolio .project-slide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
}

.portfolio .project-slide-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 520px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.9), rgba(20, 20, 20, 0.96));
}

.portfolio .project-slide-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 1461 / 894;
  object-fit: contain;
}

.portfolio .project-slide-content {
  padding: 38px 38px 34px;
}

.portfolio .project-slide-content h3 {
  margin: 0 0 14px;
  font-size: 34px;
}

.portfolio .project-slide-content p {
  margin: 0 0 18px;
  color: #d2d2d2;
  font-size: 15px;
  line-height: 1.85;
}

.portfolio .project-slide-details {
  margin: 0 0 22px;
  padding-left: 20px;
  color: #e6e6e6;
  font-size: 14px;
  line-height: 1.8;
}

.portfolio .project-slide-details li {
  margin-bottom: 8px;
}

.portfolio .project-slide-details li:last-child {
  margin-bottom: 0;
}

.portfolio .project-carousel .carousel-indicators {
  bottom: 16px;
  margin: 0;
}

.portfolio .project-carousel .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

.portfolio .project-carousel .carousel-indicators .active {
  background-color: #ffb400;
}

.portfolio .project-carousel .carousel-control-prev,
.portfolio .project-carousel .carousel-control-next {
  width: 58px;
}

.portfolio .project-carousel .carousel-control-prev-icon,
.portfolio .project-carousel .carousel-control-next-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, 0.65);
  background-size: 18px 18px;
}

.portfolio .portfolio-client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.portfolio .portfolio-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: portfolioMarquee 26s linear infinite;
}

.portfolio .portfolio-client-card {
  height: 100%;
  padding: 28px 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio .portfolio-client-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.portfolio .portfolio-client-card p {
  margin: 0;
  color: #d2d2d2;
  font-size: 15px;
  line-height: 1.8;
}

.portfolio .portfolio-client-card .portfolio-card-tags {
  margin-top: 18px;
  margin-bottom: 0;
}

.portfolio .portfolio-client-card {
  width: 320px;
  flex: 0 0 320px;
}

@keyframes portfolioMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 12px));
  }
}

@media (max-width: 1200px) {
  .portfolio .portfolio-intro h2 {
    font-size: 36px;
  }
}

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

  .portfolio #portfolio-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio .project-slide {
    grid-template-columns: 1fr;
  }

  .portfolio .project-slide-image {
    min-height: 0;
  }

  .portfolio .portfolio-client-grid {
    grid-template-columns: 1fr;
  }

  .portfolio .portfolio-card-image-wrap {
    min-height: 240px;
  }

  .portfolio .portfolio-card-image {
    height: auto;
  }

  .portfolio .project-slide-visual {
    min-height: 300px;
    padding: 24px;
  }

  .portfolio .portfolio-marquee-track {
    animation-duration: 34s;
  }
}

@media (max-width: 576px) {
  .portfolio .portfolio-shell {
    padding-bottom: 30px;
  }

  .portfolio .portfolio-intro h2 {
    font-size: 28px;
  }

  .portfolio .portfolio-card-body {
    padding: 22px 20px 24px;
  }

  .portfolio .project-slide-content {
    padding: 26px 20px 26px;
  }

  .portfolio .project-slide-content h3 {
    font-size: 28px;
  }

  .portfolio .project-slide-details {
    padding-left: 18px;
  }

  .portfolio .portfolio-card-link {
    width: 100%;
    min-width: 0;
  }

  .portfolio #portfolio-tools-grid {
    grid-template-columns: 1fr;
  }

  .portfolio .portfolio-client-card {
    width: 280px;
    flex-basis: 280px;
  }
}

/* Contact page refresh */
.contact .contact-shell {
  padding-bottom: 60px;
}

.contact .contact-layout {
  align-items: stretch;
}

.contact .contact-info-card,
.contact .contact-form-card {
  height: 100%;
  padding: 34px 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact .contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 180, 0, 0.08);
  border: 1px solid rgba(255, 180, 0, 0.2);
  color: #ffcf53;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

.contact .contact-kicker:before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb400;
}

.contact .contact-info-card h2 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.16;
}

.contact .contact-info-card p {
  margin: 0;
  color: #d2d2d2;
  font-size: 16px;
  line-height: 1.9;
}

.contact .contact-detail-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contact .contact-detail-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 180, 0, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 180, 0, 0.22);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  color: inherit;
}

.contact .contact-detail-item:hover {
  text-decoration: none;
  color: inherit;
}

.contact .contact-detail-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 180, 0, 0.18);
  color: #ffb400;
  font-size: 22px;
  flex: 0 0 56px;
}

.contact .contact-detail-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact .contact-detail-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.contact .contact-detail-value {
  color: #fff;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 600;
}

.contact .contact-note {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact .contact-social-wrap {
  margin-top: 24px;
}

.contact .contact-social-title {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact .contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact .contact-social-link {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact .contact-social-link:hover {
  color: #111;
  background: #ffb400;
  border-color: #ffb400;
  text-decoration: none;
}

.contact .contact-social-link span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.contact .contact-form-card .custom-title {
  font-size: 24px;
}

.contact .contact-direct-copy {
  margin: 0 0 24px;
  color: #d2d2d2;
  font-size: 16px;
  line-height: 1.9;
}

.contact .contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.contact .contact-direct-panel {
  padding: 24px 24px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact .contact-direct-panel h4 {
  margin: 0 0 14px;
  font-size: 22px;
}

.contact .contact-direct-list {
  margin: 0;
  padding-left: 22px;
  color: #e7e7e7;
  font-size: 15px;
  line-height: 1.9;
}

.contact .contact-direct-list li {
  margin-bottom: 8px;
}

.contact .contact-direct-list li:last-child {
  margin-bottom: 0;
}

.contact .contactform input[type=text],
.contact .contactform input[type=email],
.contact .contactform textarea {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1c1c1c;
}

@media (max-width: 1200px) {
  .contact .contact-info-card h2 {
    font-size: 34px;
  }
}

@media (max-width: 991px) {
  .contact .contact-info-column {
    margin-bottom: 24px;
  }

  .contact .contact-info-card,
  .contact .contact-form-card {
    padding: 28px 24px;
  }
}

@media (max-width: 576px) {
  .contact .contact-shell {
    padding-bottom: 30px;
  }

  .contact .contact-info-card h2 {
    font-size: 28px;
  }

  .contact .contact-detail-item {
    padding: 18px 16px;
  }

  .contact .contact-detail-value {
    font-size: 17px;
  }

  .contact .contact-direct-actions .button,
  .contact .contact-direct-actions .button-ghost {
    width: 100%;
  }
}

/* Blog page refresh */
.blog .blog-shell {
  padding-bottom: 60px;
}

.blog .blog-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.blog .blog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 180, 0, 0.08);
  border: 1px solid rgba(255, 180, 0, 0.2);
  color: #ffcf53;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

.blog .blog-kicker:before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb400;
}

.blog .blog-intro h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.16;
}

.blog .blog-featured-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.blog .blog-featured-media {
  min-height: 100%;
}

.blog .blog-featured-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.blog .blog-featured-content {
  padding: 38px 38px 34px;
}

.blog .blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.blog .blog-post-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f0f0f0;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

.blog .blog-featured-content h2 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.2;
}

.blog .blog-featured-content p {
  margin: 0 0 26px;
  color: #d2d2d2;
  font-size: 15px;
  line-height: 1.9;
}

.blog .blog-post-link {
  min-width: 220px;
}

.blog .blog-posts-block {
  margin-top: 44px;
}

.blog .blog-platforms-block {
  margin-top: 44px;
}

.blog .blog-section-head {
  margin-bottom: 22px;
}

.blog .blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.blog .blog-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.blog .blog-card-media {
  display: block;
}

.blog .blog-card-image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog .blog-card-body {
  padding: 26px 26px 28px;
}

.blog .blog-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.3;
}

.blog .blog-card h3 a {
  color: #fff;
}

.blog .blog-card p {
  margin: 0 0 18px;
  color: #d2d2d2;
  font-size: 15px;
  line-height: 1.8;
}

.blog .blog-inline-link {
  color: #ffb400;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.blog .blog-inline-link:hover,
.blog .blog-card h3 a:hover {
  color: #ffb400;
  text-decoration: none;
}

.blog .blog-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.blog .blog-platform-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s ease;
}

.blog .blog-platform-chip i {
  font-size: 16px;
  line-height: 1;
}

.blog .blog-platform-chip:hover {
  color: #111;
  background: #ffb400;
  border-color: #ffb400;
  text-decoration: none;
}

.blog .blog-platform-chip span,
.blog .blog-platform-chip {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 1200px) {
  .blog .blog-intro h2 {
    font-size: 36px;
  }
}

@media (max-width: 991px) {
  .blog .blog-featured-card,
  .blog .blog-posts-grid {
    grid-template-columns: 1fr;
  }

  .blog .blog-featured-image {
    min-height: 300px;
  }
}

@media (max-width: 576px) {
  .blog .blog-shell {
    padding-bottom: 30px;
  }

  .blog .blog-intro h2 {
    font-size: 28px;
  }

  .blog .blog-featured-content,
  .blog .blog-card-body {
    padding: 24px 20px;
  }

  .blog .blog-featured-content h2 {
    font-size: 28px;
  }

  .blog .blog-card h3 {
    font-size: 22px;
  }

  .blog .blog-post-link {
    width: 100%;
    min-width: 0;
  }
}
