#about-me,
#achievement,
#testimonials,
#portfolio,
#clients,
#features {
  display: none !important;
}


:root {
  /* widths for rows and containers
     */
  --header-height: 160px;
  --header-height-min: 80px;
}

/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
  :root {
    --header-height: 100px;
    --header-height-min: 80px;
  }
}

/* Theme Colors */
:root {
  /* --accent-color: #DBCBB8; */
  --accent-color: #a0acff;
  --secondary-color: #e6e8fd;
  --dark-color: #2f2f2f;
  --grey-color: #e6e8fd;
  --heading-color: #111;
  --body-text-color: #616161;
  --light-heading-color: #fff;
  --light-background-color: #fff;
  --light-text-color: #afafaf;
  --bg-text-color: #f1f1f1;
  --dark-text-color: #2f2f2f;

  --bs-primary-rgb: 160, 172, 255;
  --bs-secondary-rgb: 219, 203, 184;
}

/* Fonts */
:root {
  --body-font: "Quicksand", sans-serif;
  --heading-font: "Nunito", sans-serif;
  --secondary-font: "Playfair Display", Georgia, serif;
}


/*----------------------------------------------*/
/* 2 GENERAL TYPOGRAPHY */
/*----------------------------------------------*/
body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--body-text-color);
}

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

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

/* Typography */
/*----------------------------------------------*/
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  line-height: 1.2;
  color: var(--dark-color);
  font-family: var(--heading-font);
}

h1.light,
.h1,
h2.light,
.h2,
h3.light,
.h3,
h4.light,
.h4,
h5.light,
.h5,
h6.light,
.h6 {
  color: #fff;
}

/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: var(--grey-color);
  border: 1px solid var(--grey-color);
  border-radius: 4px;
}

pre>code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre;
  color: var(--accent-color);
}

/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1;
}

/* - Button Sizes
------------------------------------------------------------- */
.btn.btn-small {
  padding: 0.325em 1.7em;
  font-size: 0.65em;
}

.btn.btn-medium {
  padding: 0.5em 1.75em;
  font-size: 0.75em;
}

.btn.btn-large {
  padding: 1em 2.5em;
}

.btn.btn-xlarge {
  padding: 1.5em 2.7em;
  font-size: 0.9em;
}

.btn.btn-image {
  background-color: transparent;
  padding: 0;
  max-height: 50px;
}

.btn.btn-image img {
  max-height: 50px;
}

/* - Button Shapes
------------------------------------------------------------- */
.btn.btn-rounded,
.btn.btn-rounded::after {
  border-radius: 4px;
}

.btn.btn-pill,
.btn.btn-pill::after {
  border-radius: 2em;
}

.btn.btn-full {
  display: block;
  margin: .85em 0;
  width: 100%;
  text-align: center;
}

/* button link */
.btn-link {
  display: inline-block;
  font-weight: 600;
  font-size: 19px;
  line-height: 22px;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-link:after {
  content: '';
  display: block;
  border-bottom: 1px solid #111;
  width: 100%;
  transition: transform 0.3s ease-out;
}

.btn-link:hover:after {
  transform: translate3d(0, 5px, 0);
}

/* button with line */
.btn-with-icon {
  color: #fff;
  position: relative;
}

.btn-with-icon:after {
  content: "\e900";
  font-family: "icomoon";
  position: absolute;
  top: 17px;
  right: -16px;
  width: 50%;
  z-index: 9;
  transition: 0.3s ease-out;
}

.btn-with-icon:hover {
  color: #fff;
}

.btn-with-icon:hover:after {
  width: 30%;
  right: -41px;
}

/* - Buttons Color Scheme
------------------------------------------------------------- */
.btn.btn-gray,
.btn.btn-grey {
  background: #9e9e9e;
  color: #fff;
}

.btn.btn-black {
  background: #111;
  color: #fff;
}

.btn.btn-black:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

/* --- Button glow on hover (applies to common button-like elements) --- */
.btn, button, .aj-mini-btn, .aj-tile, .aj-cloud, .btn-link, .btn-with-icon {
  transition: box-shadow 0.28s ease, transform 0.18s ease, filter 0.18s ease;
}

.btn:hover, button:hover, .aj-mini-btn:hover, .aj-tile:hover, .aj-cloud:hover, .btn-link:hover, .btn-with-icon:hover {
  /* soft outward glow + subtle lift */
  box-shadow: 0 10px 30px rgba(160,172,255,0.20), 0 0 22px rgba(160,172,255,0.12) inset;
  transform: translateY(-2px);
  filter: brightness(1.08) saturate(1.06);
}

/* slightly stronger glow for primary/action buttons */
.btn.btn-primary:hover,
.btn.btn-image:hover {
  box-shadow: 0 12px 38px rgba(160,172,255,0.28), 0 0 30px rgba(160,172,255,0.16) inset;
}

/*----------------------------------------------*/
/* 2.11 Images */
/*----------------------------------------------*/

/* Image hover Effects */
.image-hvr-effect {
  display: flex;
  overflow: hidden;
}

.image-hvr-effect img.post-image {
  transform: scale(1.1);
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.image-hvr-effect:hover img.post-image {
  transform: scale(1);
}


/*----------------------------------------------*/
/* 2.12 Section */
/*----------------------------------------------*/
/* Hero section
/*----------------------------------------------*/
.hero-section .hero-content {
  padding-top: 18em;
  padding-bottom: 10em;
  display: flex;
  align-items: center;
}

.hero-section {
  position: relative;
  color: var(--heading-color);
}

.hero-section h1 {
  font-size: 4em;
}

@media only screen and (max-width: 768px) {
  .hero-section h1 {
    font-size: 2em;
  }

  .hero-section .hero-content {
    padding-top: 12em;
    padding-bottom: 6em;
  }
}


/*--- Section Title
-----------------------------------------------*/
.section-header {
  position: relative;
}

.section-header .btn-link {
  margin-left: 60px;
}

.section-title {
  font-size: 68px;
  line-height: 82px;
  letter-spacing: -0.04em;
  text-transform: capitalize;
}

.section-title.dark {
  color: #303030;
}

.section-title.grey {
  color: #333;
}

.section-title.light {
  color: #fff;
}

@media screen and (max-width: 700px) {
  .section-title {
    font-size: 5em;
  }
}


/* - Section Padding
--------------------------------------------------------------*/
.padding-xsmall {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.padding-small {
  padding-top: 2em;
  padding-bottom: 2em;
}

.padding-medium {
  padding-top: 4em;
  padding-bottom: 4em;
}

.padding-large {
  padding-top: 7em;
  padding-bottom: 7em;
}

.padding-xlarge {
  padding-top: 9.5em;
  padding-bottom: 9.5em;
}

.padding-2xlarge {
  padding-top: 15em;
  padding-bottom: 15em;
}

@media only screen and (max-width: 768px) {

  .padding-small,
  .padding-medium,
  .padding-large,
  .padding-xlarge {
    padding-top: 6em;
    padding-bottom: 6em;
  }
}

/* no padding */
.no-padding-bottom {
  padding-bottom: 0 !important;
}

.no-padding-top {
  padding-top: 0 !important;
}

/* - Section margin
--------------------------------------------------------------*/
.margin-small {
  margin-top: 3em;
  margin-bottom: 3em;
}

.margin-medium {
  margin-top: 4.5em;
  margin-bottom: 4.5em;
}

.margin-large {
  margin-top: 6em;
  margin-bottom: 6em;
}

.margin-xlarge {
  margin-top: 7.5em;
  margin-bottom: 7.5em;
}

@media only screen and (max-width: 768px) {

  .margin-small,
  .margin-medium,
  .margin-large,
  .margin-xlarge {
    margin-top: 1em;
    margin-bottom: 1em;
  }
}

/* - Section bg colors
--------------------------------------------------------------*/
.bg-grey {
  background: var(--grey-color);
}

.bg-dark {
  background: var(--dark-color);
}

/* - Content colors
--------------------------------------------------------------*/
.content-light h1,
.content-light h2,
.content-light h3,
.content-light h4,
.content-light h5,
.content-light h6 {
  color: var(--light-heading-color);
}

.content-light a,
.content-light {
  color: var(--light-text-color);
}

.content-light a:hover {
  color: var(--light-text-color);
}

.content-light h1,
.content-light h2,
.content-light h3,
.content-light h4,
.content-light h5,
.content-light h6 {
  color: var(--light-heading-color);
}

.content-light a,
.content-light {
  color: var(--light-text-color);
}

.content-light a:hover {
  color: var(--light-text-color);
}


/*====================================================================*/
/* 3. EXTENDED TYPOGRAPHY */
/*====================================================================*/
/*----------------------------------------------*/
/* 3.1 Blockquote /Pullquote */
/*----------------------------------------------*/
.single-post .content p:first-child,
.quote blockquote,
blockquote,
.single-post .content blockquote p,
.pullquote-right,
.pullquote-left {
  font-size: 24px;
  line-height: 1.4em;
  margin: 0 0 30px;
  padding: 0;
  color: #727272;
  font-style: italic;
}

.pullquote-right,
.pullquote-left {
  width: 40%;
}

blockquote cite {
  display: block;
  font-size: 0.8em;
  margin-top: 20px;
  font-style: italic;
}

.pullquote-left {
  float: left;
  margin: 20px 20px 20px 0;
}

.pullquote-right {
  float: right;
  margin: 20px 0 20px 20px;
}

/*----------------------------------------------*/
/* 3.2 Dropcap */
/*----------------------------------------------*/
.dropcap {
  display: inline-block;
  margin: 20px;
  font-size: 4em;
  font-weight: bolder;
  text-transform: uppercase;
  text-align: center;
  color: #111;
}

.dropcap.colored {
  color: #2bcaae;
}

/*----------------------------------------------*/
/* 3.3 Text Highlights */
/*----------------------------------------------*/
.highlight {
  background: var(--accent-color);
  color: #fff;
  padding: 1px 5px;
}

.highlight.light {
  background: #ffff99;
  color: #101010;
}

.highlight.dark {
  background: #333;
}

.colored {
  color: #2bcaae !important;
}

/*====================================================================*/
/* 5. BLOG STYLES */
/*====================================================================*/

/* 5.1 Blog Single Post
------------------------------------------*/
/* breadcrumbs */
.breadcrumbs span {
  display: inline-block;
}

/* 5.2 About Author
------------------------------------------*/
.author-post {
  padding-left: 30px;
}

.author-post h4 {
  font-weight: 500;
  text-transform: none;
}

/* 5.3 Comments List
------------------------------------------*/
.comment-meta span.meta-date {
  font-size: 13px;
  padding-right: 10px;
}

.comments-wrap .child-comments {
  padding-left: 50px;
}

/* 5.4 Comments Form
------------------------------------------*/
.comment-respond .comment-form {
  display: flex;
}


/*====================================================================*/
/* 5. Grid Layout */
/*====================================================================*/

/* .container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
} */

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

/* @media screen and (max-width: 991px) {
  .container {
    padding-right: 30px;
    padding-left: 30px;
  }
} */

/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/

/*----- 6.1 Preloader
--------------------------------------------------------------*/
#overlayer {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 20;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  display: inline-block;
  width: 100px;
  height: 100px;
  border: 6px solid var(--accent-color);
  animation: loader 4s infinite ease-out;
  border-radius: 40px;
}

.loader-inner {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  border-radius: 40px;
  animation: loader-inner 8s infinite ease-out;
}

@keyframes loader {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(180deg);
  }

  50% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes loader-inner {
  0% {
    height: 0%;
  }

  25% {
    height: 0%;
  }

  50% {
    height: 100%;
  }

  75% {
    height: 100%;
  }

  100% {
    height: 0%;
  }
}

/*----- 6.2 Header
--------------------------------------------------------------*/
#header .header-wrap {
  position: absolute;
  top: 0;
  z-index: 9;
  padding: 40px;
  width: 100%;
}

/*----- Logo
--------------------------------------------------------------*/
.main-logo a {
  font-size: 2em;
  color: var(--accent-color); /* make textual logo use purple accent */
  font-weight: 700;
}

.main-logo.dark a {
  color: #000;
}

@media screen and (max-width: 799px) {
  #header .header-wrap {
    padding: 40px 20px;
  }
}

/* Tint the header logo image to match the purple accent without replacing the file */
#header .main-logo img {
  /* approximate purple tint using CSS filters */
  -webkit-filter: sepia(0.6) saturate(3) hue-rotate(230deg) brightness(1) contrast(1);
  filter: sepia(0.6) saturate(3) hue-rotate(230deg) brightness(1) contrast(1);
}

/*----- Header Menu
--------------------------------------------------------------*/
#menu-toggle {
  opacity: 0;
}

#menu-toggle:checked~.menu-btn>span {
  transform: rotate(45deg);
}

#menu-toggle:checked~.menu-btn>span::before {
  top: 0;
  transform: rotate(0);
  background: var(--dark-color);
}

#menu-toggle:checked~.menu-btn>span::after {
  top: 0;
  transform: rotate(90deg);
  background: var(--dark-color);
}

#menu-toggle:checked~.navmenu {
  visibility: visible;
  right: 0;
}

.menu-btn {
  display: flex;
  align-items: center;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
  margin: 30px;
}

.menu-btn>span,
.menu-btn>span::before,
.menu-btn>span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--dark-color);
  transition-duration: .25s;
}

.menu-btn.light>span,
.menu-btn.light>span::before,
.menu-btn.light>span::after {
  background-color: var(--dark-color);
}

.menu-btn>span::before {
  content: '';
  top: -8px;
}

.menu-btn>span::after {
  content: '';
  top: 8px;
}

/*----- Nav Sidebar
--------------------------------------------------------------*/
.nav-overlay {
  position: fixed;
  top: 0;
  z-index: 9;
}

.nav-overlay:before,
.nav-overlay:after {
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: var(--secondary-color);
  border-bottom-left-radius: 200%;
  z-index: -1;
  -webkit-transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  -webkit-transform: translateX(100%) translateY(-100%);
  transform: translateX(100%) translateY(-100%);
}

.nav-overlay:after {
  background: var(--grey-color);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.nav-overlay:before {
  -webkit-transition-delay: .2s;
  transition-delay: .2s;
}

.nav__content {
  position: fixed;
  visibility: hidden;
  top: 50%;
  margin-top: 20px;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  width: 100%;
  text-align: center;
}

.nav__list {
  position: relative;
  padding: 0;
  margin: 0;
  z-index: 2;
}

.nav__list-item {
  position: relative;
  display: block;
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
  opacity: 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
  font-family: var(--heading-font);
  font-size: 4vh;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 0;
  transition: color .3s ease;
}

.nav__list-item a {
  position: relative;
  text-decoration: none;
  color: rgb(24, 24, 24);
  overflow: hidden;
  cursor: pointer;
  padding-left: 5px;
  padding-right: 5px;
  z-index: 2;
  display: inline-block;
  transition: all 200ms linear;
}

.nav__list-item a:hover {
  color: var(--accent-color);
}

.nav__list-item.active-nav a {
  color: var(--accent-color);
}

body.nav-active .nav__content {
  visibility: visible;
}

body.nav-active .menu-icon__line {
  background-color: var(--light-background-color);
  -webkit-transform: translate(0px, 0px) rotate(-45deg);
  transform: translate(0px, 0px) rotate(-45deg);
}

body.nav-active .menu-icon__line-left {
  width: 15px;
  -webkit-transform: translate(2px, 4px) rotate(45deg);
  transform: translate(2px, 4px) rotate(45deg);
}

body.nav-active .menu-icon__line-right {
  width: 15px;
  float: right;
  -webkit-transform: translate(-3px, -3.5px) rotate(45deg);
  transform: translate(-3px, -3.5px) rotate(45deg);
}

body.nav-active .menu-icon:hover .menu-icon__line-left,
body.nav-active .menu-icon:hover .menu-icon__line-right {
  width: 15px;
}

body.nav-active .nav-overlay {
  visibility: visible;
}

body.nav-active .nav-overlay:before,
body.nav-active .nav-overlay:after {
  -webkit-transform: translateX(0%) translateY(0%);
  transform: translateX(0%) translateY(0%);
  border-radius: 0;
}

body.nav-active .nav-overlay:after {
  -webkit-transition-delay: .1s;
  transition-delay: .1s;
}

body.nav-active .nav-overlay:before {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

body.nav-active .nav__list-item {
  opacity: 1;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  -webkit-transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease;
  transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease;
  transition: opacity .3s ease, transform .3s ease, color .3s ease;
  transition: opacity .3s ease, transform .3s ease, color .3s ease, -webkit-transform .3s ease;
}

body.nav-active .nav__list-item:nth-child(0) {
  -webkit-transition-delay: 0.7s;
  transition-delay: 0.7s;
}

body.nav-active .nav__list-item:nth-child(1) {
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
}

body.nav-active .nav__list-item:nth-child(2) {
  -webkit-transition-delay: 0.9s;
  transition-delay: 0.9s;
}

body.nav-active .nav__list-item:nth-child(3) {
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
}

body.nav-active .nav__list-item:nth-child(4) {
  -webkit-transition-delay: 1.1s;
  transition-delay: 1.1s;
}

body.nav-active .nav__list-item:nth-child(5) {
  -webkit-transition-delay: 1.2s;
  transition-delay: 1.2s;
}

body.nav-active .nav__list-item:nth-child(6) {
  -webkit-transition-delay: 1.3s;
  transition-delay: 1.3s;
}

body.nav-active .nav__list-item:nth-child(7) {
  -webkit-transition-delay: 1.4s;
  transition-delay: 1.4s;
}

body.nav-active .nav__list-item:nth-child(8) {
  -webkit-transition-delay: 1.5s;
  transition-delay: 1.5s;
}

body.nav-active .nav__list-item:nth-child(9) {
  -webkit-transition-delay: 1.6s;
  transition-delay: 1.6s;
}

body.nav-active .nav__list-item:nth-child(10) {
  -webkit-transition-delay: 1.7s;
  transition-delay: 1.7s;
}

/*----- 6.3 Billboard
--------------------------------------------------------------*/
#billboard .banner-content {
  padding-bottom: 180px;
}

@media screen and (max-width: 991px) {
  .jarallax {
    min-height: auto;
  }

  #billboard .banner-content {
    padding-top: 150px;
    padding-bottom: 10px;
  }
}


/*----- 6.4 About Me Section
--------------------------------------------------------------*/
#about-me .intro {
  margin-right: 60px;
  margin-bottom: 70px;
}

#about-me .intro p {
  line-height: 2.5;
  color: var(--body-text-color);
  ;
}

#about-me .skill-chart ul {
  text-transform: uppercase;
  list-style: none;
}

#about-me .skill-chart li {
  border-bottom: 1px solid #dbdbdb;
  margin-bottom: 40px;
  width: 100%;
}

#about-me .skill-chart li span.skill {
  display: block;
  border-bottom: 3px solid #000;
  padding-bottom: 24px;
  margin-bottom: -2px;
}

.skill-chart li span.twenty-percent {
  width: 20%;
}

.skill-chart li span.thirty-percent {
  width: 30%;
}

.skill-chart li span.forty-percent {
  width: 40%;
}

.skill-chart li span.fifty-percent {
  width: 50%;
}

.skill-chart li span.sixty-percent {
  width: 60%;
}

.skill-chart li span.seventy-percent {
  width: 70%;
}

.skill-chart li span.eighty-percent {
  width: 80%;
}

/*----- 6.5 Portfolio Section
--------------------------------------------------------------*/
.portfolio-item .portfolio-image {
  width: 100%;
  object-fit: cover;
}

.portfolio-item .portfolio-item img {
  transition: transform 0.6s ease-out;
}

.portfolio-item .portfolio-item a {
  display: block;
  overflow: hidden;
}

.portfolio-item .portfolio-item a:hover img {
  transform: scale(1.1);
}

/*----- 6.6 Quotation Section
--------------------------------------------------------------*/
#quotation {
  background-color: #000;
  padding: 150px 20px;
  overflow: hidden;
}

#quotation .icon-overlay {
  position: relative;
}

#quotation .icon-overlay:before,
#quotation .icon-overlay:after {
  position: absolute;
  font-family: "icomoon";
  font-size: 23em;
  color: #3a3a3a;
  padding: 0 20px;
}

#quotation .icon-overlay.left-item:before {
  content: "\e977";
  top: -220px;
  left: 0;
}

#quotation .icon-overlay.right-item:after {
  content: "\e978";
  right: 0;
  bottom: -190px;
}

#quotation blockquote {
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  margin: 70px auto 0;
  text-align: center;
  z-index: 9;
}

#quotation blockquote>p {
  width: 60%;
  margin: 0 auto 35px;
  font-style: normal;
}

#quotation q {
  font-size: 0.7em;
  color: #999;
  width: 100%;
}

@media screen and (max-width: 991px) {
  #quotation blockquote>q {
    width: 85%;
  }
}

/*----- 6.7 Achievement Section
--------------------------------------------------------------*/
#achievement .achievement-block {
  border-bottom: 1px solid #E2E2E2;
  padding-bottom: 30px;
  margin-bottom: 60px;
}

#achievement .achievement-block h3 {
  margin-bottom: 10px;
}


/*----- 6.8 Post Grid Section
--------------------------------------------------------------*/
#post-grid .row {
  display: flex;
  flex-wrap: nowrap !important;
  gap: 15px;
}

#post-grid .row > div {
  flex: 0 0 calc(33.333% - 10px);
  max-width: calc(33.333% - 10px);
}

#post-grid .post-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin-bottom: 40px;
}

#post-grid .post-item img {
  width: 100%;
  aspect-ratio: 1 / 1.5;
  object-fit: cover;
  display: block;
}

#post-grid .post-item:last-child {
  margin-right: 0;
}

#post-grid a.post-link:before {
  content: '';
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  width: 100%;
  height: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  transition-duration: 0.8s;
}

#post-grid .post-item:hover a.post-link:before {
  height: 100%;
  top: 0;
  transition-property: top, opacity;
}

#post-grid .post-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  color: #fff;
  padding: 0 35px;
}

#post-grid .post-item h3 {
  font-size: 1.5em;
  line-height: 1.5;
  font-weight: 700;
}

/* Make the Featured Projects section heading use the purple accent color */
#post-grid .section-header .display-5,
#post-grid .section-header h2.display-5 {
  color: var(--aj-lav);
}

/*----- 6.10 Footer
--------------------------------------------------------------*/

/*-- Footer Top --*/

.footer-menu .subscribe input[type="text"] {
  width: 100%;
  height: 50px;
  border: none;
  background: #F8F8F8;
  text-align: center;
  margin-bottom: 15px;
}

.footer-menu .subscribe button {
  width: 100%;
  height: 50px;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
}


/*-- Footer Bottom --*/

#footer-bottom .social-links ul {
  display: flex;
  list-style: none;
}

#footer-bottom .social-links li {
  margin-right: 30px;
}

#footer-bottom .social-links li:last-child {
  margin-right: 0;
}

#footer-bottom .social-links a {
  color: #fff;
}

#footer-bottom .social-links a:hover {
  color: #fff;
}

#footer-bottom .copyright a {
  color: #d4d4d4;
}

#footer-bottom .copyright a:hover {
  color: #fff;
}


/*--------------------------------------------------------------
/** 7. THIRD PARTY COMPONENTS
--------------------------------------------------------------*/

/*----- 7.1 Parallax Section 
--------------------------------------------------------------*/

.parallax-section {
  overflow: hidden;

  position: relative;
  display: block;
  min-height: 400px;
  background: transparent;
}

.parallax-section .parallax-image {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}


/*----- 7.2 Blog Page 
--------------------------------------------------------------*/
article.post-item {
  margin-bottom: 80px;
}

.post-media {
  margin-right: 30px;
}

.post-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-content {
  padding-top: 30px;
}

.post-content span.meta-date {
  font-style: italic;
}

.post-content h2 {
  font-size: 1.8em;
  font-weight: 600;
  line-height: 1.3em;
  margin: 15px 0;
}

.post-content p>a.btn.btn-common {
  display: block;
  width: 20%;
  margin-top: 30px;
}


/*----- 7.3 Page Navigation 
--------------------------------------------------------------*/

.pagination .page-numbers {
  padding: 10px;
}

.pagination .page-numbers {
  color: #111;
}

.pagination .page-numbers.current {
  color: #fff;
  background: #111;
}

/* comment-list */
.comment-list .commentorImg {
  width: 100px;
  height: 100px;
}

.comment-list .comment-meta h4 {
  margin: 0 10px 0 0;
}


/*----- 8.1 Contact Page 
--------------------------------------------------------------*/
.contact h2.contact-title {
  font-size: 2.5em;
}

.contact .contact-detail {
  margin-left: 50px;
  padding: 50px;
  background-color: #f4f4f4;
}

.contact .detail-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
}

.contact .detail-item h4 {
  margin: 0;
  padding-right: 20px;
}

.contact .detail-item p {
  margin: 0;
}

/* info box */
.info-box iconify-icon {
  color: var(--accent-color);
  font-size: 52px;
}

/* swiper */
.swiper-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
  height: 100%;
}

.swiper-button {
  border: 2px solid var(--body-text-color);
  display: block;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--body-text-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.swiper-button:hover {
  border-color: var(--dark-color);
  color: var(--dark-color);
}

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

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

.swiper-pagination-clickable .swiper-pagination-bullet {
  margin: 4px;
}

@media screen and (max-width: 991px) {
  .swiper-buttons {
    justify-content: center;
    margin-bottom: 30px;
  }
}

/* Bootstrap theme override 
--------------------------------------------------------------*/

.accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background-color: transparent;
}

.nav-link {
  color: #9099a7;
}

.nav-link:hover {
  color: #111;
}

.tab-content {
  padding: 20px 0;
}

.accordion-button:focus {
  border-color: #e5e6e7;
  box-shadow: none;
}

.accordion-item {
  border-left: 0;
  border-right: 0;
}

.text-muted {
  color: var(--secondary-color) !important;
}

/* primary button */
.btn-link,
.link-primary {
  color: var(--accent-color);
}

.btn-link:focus,
.btn-link:hover,
.link-primary:focus,
.link-primary:hover {
  color: var(--secondary-color);
}

.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-primary:focus,
.btn-primary:hover {
  color: #fff;
  background-color: var(--dark-color);
  border-color: var(--dark-color);
}

.btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-outline-primary:focus,
.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.border-primary {
  border-color: var(--accent-color) !important;
}

.bg-primary {
  --bs-bg-opacity: 1;
  background-color: var(--accent-color) !important;
}

.bg-secondary {
  --bs-bg-opacity: 1;
  background-color: var(--secondary-color) !important;
}

.text-white .border-top {
  border-top: 1px solid #3b3e42 !important;
}

.text-white p {
  color: var(--dim-light-color)
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700;
}

.card {
  border-radius: 1rem;
}

.card-body {
  padding: 2rem 2rem;
}


/*---- Portfolio Masonry section style start ----*/

button.filter-button {
  border: none;
  background: transparent;
  color: var(--light-text-color);
  text-align: center;
  font-size: 1rem;
  font-family: var(--heading-font);
  font-weight: 300;
  letter-spacing: 0.02rem;
}

button.filter-button.active {
  color: var(--accent-color);
  padding: 0.56rem 1.19rem;
  border-radius: 30px;
}

button.filter-button:hover {
  color: var(--accent-color);
  padding: 0.56rem 1.19rem;
  border-radius: 30px;
}

/* =========================================================
   Custom Split Hero (ONLY affects #billboard.aurora-split-hero)
   ========================================================= */

:root
{
  --aj-lav: #9aa7ff;
  --aj-lav2: #b8c0ff;
  --aj-lav3: #e9ecff;
  --aj-shadow: 0 12px 28px rgba(20, 20, 40, 0.18);
  --aj-shadow-soft: 0 10px 22px rgba(20, 20, 40, 0.12);
}

#billboard.aurora-split-hero
{
  background: #fff !important;
  padding-top: 160px; /* prevents overlap with absolute header */
  padding-bottom: 60px;
}

/* Stop template billboard padding rules from doing anything */
#billboard.aurora-split-hero .banner-content
{
  padding: 0 !important;
}

/* ---------------- LEFT PANEL ---------------- */

/* --- LEFT: make the illustration smaller and anchored bottom-left --- */
#billboard.aurora-split-hero .aj-left
{
  min-height: 520px;
  overflow: visible;
}

#billboard.aurora-split-hero .aj-illu
{
  position: absolute;
  left: 10px; /* moved further left */
  bottom: -40px;
  width: 300px; /* slightly bigger */
  max-width: 72%;
  height: auto;
  opacity: 0.98;
  transition: content 0.3s ease-in-out;
}

#billboard.aurora-split-hero .aj-illu:hover {
  content: url('images/hover.png');
  cursor: pointer;
}

/* Put stars where they are in the reference */
#billboard.aurora-split-hero .aj-star-big
{
  width: 62px;
  height: 62px;
  left: 330px;
  top: 110px; /* moved higher but still below the cloud (cloud top:92px) */
  right: auto;
}

#billboard.aurora-split-hero .aj-star-small
{
  width: 34px;
  height: 34px;
  left: 410px;
  top: 150px; /* moved higher but slightly lower than the cloud */
  right: auto;
}


#billboard.aurora-split-hero .aj-left-top
{
  display: flex;
  align-items: center;
  /* now the mini button sits inside .aj-mini-nav, so don't space-between */
  justify-content: flex-start;
  padding: 6px 8px;
}

#billboard.aurora-split-hero .aj-mini-nav
{
  display: flex;
  gap: 34px; /* spacing between each link and the button */
  padding-left: 6px;
  align-items: center; /* vertically align links and button */
}

#billboard.aurora-split-hero .aj-mini-nav a
{
  text-decoration: none;
  color: #111827;
  font-weight: 700;
  font-size: 15px;
}

#billboard.aurora-split-hero .aj-mini-btn
{
  display: inline-flex;
  align-items: center;
  padding: 8px 20px; /* slightly reduced to match link height visually */
  border-radius: 10px;
  background: var(--aj-lav);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--aj-shadow-soft);
}

#billboard.aurora-split-hero .aj-cloud
{
  position: absolute;
  left: 22px;
  top: 92px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  border: 0;
  background: #eef2ff;
  color: #3b3f55;
  box-shadow: var(--aj-shadow-soft);
  z-index: 40; /* keep cloud/button above the illustration */
  display: grid;
  place-items: center;
  cursor: pointer;
}

#billboard.aurora-split-hero .aj-illu
{
  position: absolute;
  left: 10px; /* moved further left */
  bottom: -30px;
  width: 420px; /* tiny bump so the banner is a bit bigger */
  height: auto;
  z-index: 10; /* sit behind cloud/stars */
}

/* Stars (now use PNG images) */
#billboard.aurora-split-hero .aj-star
{
  position: absolute;
  filter: drop-shadow(0 10px 10px rgba(255, 214, 122, 0.35));
  opacity: 0.95;
  z-index: 40; /* ensure stars float above the illustration */
  background: none;
  clip-path: none;
}

#billboard.aurora-split-hero .aj-star img,
#billboard.aurora-split-hero .aj-star
{
  /* Ensure the image scales to the configured width/height */
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#billboard.aurora-split-hero .aj-star-big
{
  width: 70px;
  height: 70px;
  right: 26%;
  top: 110px; /* pixel value to keep consistent under .aj-cloud */
}

#billboard.aurora-split-hero .aj-star-small
{
  width: 36px;
  height: 36px;
  right: 18%;
  top: 150px; /* pixel value to keep consistent under .aj-cloud */
}

/* Single combined stars image (contains both big+small) */
#billboard.aurora-split-hero .aj-stars {
  position: absolute;
  left: 330px; /* place where the big star used to be */
  top: 110px;  /* aligns vertically so both stars sit under the cloud */
  width: 180px; /* slightly larger so the stars read bigger */
  height: auto;
  z-index: 40;
  filter: drop-shadow(0 10px 10px rgba(255, 214, 122, 0.35));
}

/* Floating + Twinkle animation for stars: smooth movement with scale and brightness */
#billboard.aurora-split-hero .aj-stars {
  will-change: transform, filter, opacity;
  animation: aj-float 4s ease-in-out infinite;
  animation-delay: 0.2s;
  transform-origin: center center;
}

@keyframes aj-float {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    filter: brightness(1) saturate(1);
    opacity: 0.92;
  }
  25% {
    transform: translateY(-15px) translateX(5px) rotate(2deg) scale(1.05);
    filter: brightness(1.35) saturate(1.08);
    opacity: 0.98;
  }
  50% {
    transform: translateY(-20px) translateX(0px) rotate(0deg) scale(1.08);
    filter: brightness(1.45) saturate(1.1);
    opacity: 1;
  }
  75% {
    transform: translateY(-15px) translateX(-5px) rotate(-2deg) scale(1.05);
    filter: brightness(1.35) saturate(1.08);
    opacity: 0.98;
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    filter: brightness(1) saturate(1);
    opacity: 0.92;
  }
}

@media (max-width: 991px) {
  #billboard.aurora-split-hero .aj-stars {
    left: 10px;
    width: min(360px, 92%);
    top: 120px;
  }
}

/* ---------------- RIGHT CARD ---------------- */

#billboard.aurora-split-hero .aj-card
{
  /* Ensure the biography card is the positioning parent for the bookmark */
  position: relative;
  border-radius: 26px;
  overflow: visible; /* allow the tab to protrude outside the card */
  background: #f7f7fb;
  box-shadow: var(--aj-shadow);
  min-height: 520px;
}

/* Left purple protruding tab near the name/biography area */
#billboard.aurora-split-hero .aj-card::before {
  content: "";
  position: absolute;
  /* anchor to the card's left edge */
  left: 0;
  /* place starting slightly above the Biography heading/name area */
  top: 160px;
  width: 36px;
  height: 180px; /* spans heading + first paragraph */
  background: var(--aj-lav);
  /* make the rounded part sit on the left and the flat part on the right
    (no horizontal flip). Keep anchored to the card left edge and protrude
    a bit using translateX so the tab remains partly outside. */
  border-radius: 26px 0 0 26px; /* rounded left, flat right */
  box-shadow: 0 8px 20px rgba(20,20,40,0.12);
  /* position so the tab's right edge sits exactly at the card's left edge */
  transform: translateX(-100%);
  z-index: 1; /* sits behind the heading and text */
}

/* Content should have extra left padding so the text aligns visually with the tab */
#billboard.aurora-split-hero .aj-card-body {
  padding: 22px 30px 28px 72px;
}

@media (max-width: 991px) {
  #billboard.aurora-split-hero .aj-card::before {
    left: 0;
    top: 140px;
    width: 28px;
    height: 140px;
    transform: translateX(-100%);
  }

  #billboard.aurora-split-hero .aj-card-body {
    padding-left: 48px;
  }
}

#billboard.aurora-split-hero .aj-card-head
{
  position: relative;
  height: 210px;
  background:
    radial-gradient(circle at 20% 30%, rgba(154,167,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(154,167,255,0.16), transparent 45%),
    linear-gradient(180deg, #f7f7fb 0%, #f3f4ff 100%);
}

#billboard.aurora-split-hero .aj-card-head::after
{
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(120,130,180,0.10) 0 1px, transparent 1px 18px);
  opacity: 0.25;
  pointer-events: none;
}
/* --- RIGHT: name + sticker outline look --- */
/* Position and center the name image */
#billboard.aurora-split-hero .aj-name
{
  position: absolute; /* place inside .aj-card-head */
  left: 50%;
  transform: translateX(-50%);
  top: 40px;   /* tweak vertical position to sit visually centered */
  text-align: center;
  width: 100%;
}

#billboard.aurora-split-hero .aj-name-first,
#billboard.aurora-split-hero .aj-name-last
{
  position: relative;
  display: inline-block;
  line-height: 1;
}

/* Make Julie darker and bold */
#billboard.aurora-split-hero .aj-name-first
{
  font-size: 70px;
  font-weight: 900;
  color: #3c3f52;
  text-shadow:
    -6px -6px 0 #ffffff,
     6px -6px 0 #ffffff,
    -6px  6px 0 #ffffff,
     6px  6px 0 #ffffff,
     0px 10px 20px rgba(0,0,0,0.10);
}

/* Make zhou lighter/purple */
#billboard.aurora-split-hero .aj-name-last
{
  font-size: 62px;
  font-weight: 900;
  color: rgba(154,167,255,0.95);
  margin-left: 10px;
  text-shadow:
    -6px -6px 0 #ffffff,
     6px -6px 0 #ffffff,
    -6px  6px 0 #ffffff,
     6px  6px 0 #ffffff,
     0px 10px 20px rgba(0,0,0,0.06);
}

/* Image replacement for name */
/* Image replacement for name: larger and centered */
#billboard.aurora-split-hero .aj-name-img {
  display: block;
  height: 170px; /* increased so the name image is a bit bigger */
  max-width: 90%;
  object-fit: contain;
  margin: 0 auto; /* horizontal center fallback */
}

@media (max-width: 991px) {
  #billboard.aurora-split-hero .aj-name {
    top: 28px;
  }
  #billboard.aurora-split-hero .aj-name-img {
    height: 110px; /* reduce on smaller screens */
  }
}

#billboard.aurora-split-hero .aj-pill
{
  position: absolute;
  right: 26px;
  top: 100px;
  width: 170px;
  height: 46px;
  border-radius: 999px;
  background: var(--aj-lav);
  box-shadow: var(--aj-shadow-soft);
}

#billboard.aurora-split-hero .aj-slab
{
  width: 115px;
  height: 120px;
  left: -24px;
  bottom: -28px;
  opacity: 0.50;
}

#billboard.aurora-split-hero .aj-card-body
{
  padding: 22px 30px 28px 30px;
}

#billboard.aurora-split-hero .aj-title
{
  margin: 0;
  font-size: 34px;
  letter-spacing: 0.3px;
  color: var(--aj-lav);
  text-shadow: 0 6px 0 rgba(255,255,255,0.8);
  font-weight: 800;
}

/* Bio */
#billboard.aurora-split-hero .aj-bio
{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 14px;
  align-items: start;
}

#billboard.aurora-split-hero .aj-bio-text
{
  height: 140px;
  overflow: auto;
  padding-right: 10px;
  color: #4b5563;
  line-height: 1.55;
  font-size: 16px;
}

#billboard.aurora-split-hero .aj-bio-text p
{
  margin: 0 0 10px 0;
}

#billboard.aurora-split-hero .aj-bio-text::-webkit-scrollbar { width: 10px; }
#billboard.aurora-split-hero .aj-bio-text::-webkit-scrollbar-track { background: transparent; }
#billboard.aurora-split-hero .aj-bio-text::-webkit-scrollbar-thumb
{
  background: rgba(154,167,255,0.65);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}

#billboard.aurora-split-hero .aj-rail
{
  height: 160px;
  width: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.07);
  position: relative;
  margin-top: 2px;
}

#billboard.aurora-split-hero .aj-thumb
{
  position: absolute;
  right: 1px;
  top: 50px;
  width: 8px;
  height: 40px;
  border-radius: 999px;
  background: rgba(154,167,255,0.9);
}

/* tiles */
#billboard.aurora-split-hero .aj-tiles
{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

#billboard.aurora-split-hero .aj-tile
{
  height: 82px;
  border: 0;
  border-radius: 18px;
  background: var(--aj-lav3);
  box-shadow: inset 0 0 0 3px rgba(154,167,255,0.65), var(--aj-shadow-soft);
  cursor: pointer;
}

/* Center label text inside each tile */
#billboard.aurora-split-hero .aj-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff; /* white text for contrast on purple */
  text-transform: lowercase;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--aj-lav) 0%, var(--aj-lav2) 100%); /* purple tiles */
  box-shadow: 0 8px 20px rgba(20,20,40,0.08), inset 0 0 0 3px rgba(154,167,255,0.12);
}

/* responsive */
@media (max-width: 991px)
{
  #billboard.aurora-split-hero
  {
    padding-top: 120px;
  }

  #billboard.aurora-split-hero .aj-left,
  #billboard.aurora-split-hero .aj-card
  {
    min-height: 480px;
  }

  #billboard.aurora-split-hero .aj-illu
  {
    left: 10px;
    bottom: -30px;
    width: min(360px, 92%); /* responsive cap for smaller viewports */
  }

  #billboard.aurora-split-hero .aj-star-big { right: 18%; }
  #billboard.aurora-split-hero .aj-star-small { right: 10%; }
}


.footer-intro .logo {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.aj-bio-text strong {
  font-weight: 800;
  color: #7b5cff;
}


#billboard.aurora-split-hero .aj-thumb {
  display: none;
}

/* Like tab (draggable) shown when clicking the .aj-tiles */
.aj-like-tab {
  position: fixed;
  left: 50%;
  top: 50%;
  /* don't use translate; position is controlled directly by JS for predictable dragging */
  transform: none;
  touch-action: none; /* avoid touch scroll while dragging */
  min-width: 200px;
  max-width: 320px;
  height: 56px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(90deg, var(--aj-lav) 0%, var(--aj-lav2) 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(20,20,40,0.18);
  z-index: 9999;
  cursor: grab;
  user-select: none;
}

.aj-like-tab.dragging {
  cursor: grabbing;
  transition: none;
}

.aj-like-tab .aj-like-label {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding-left: 6px;
}

.aj-like-tab .aj-like-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.95);
  font-size: 20px;
  line-height: 1;
  padding: 6px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .aj-like-tab {
    min-width: 160px;
    height: 48px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
  }
}

/* Draggable modal styles */
.aj-modal {
  position: fixed;
  display: none; /* shown by JS */
  width: min(640px, 92%);
  max-width: 92%;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(20,20,40,0.25);
  z-index: 99999 !important; /* ensure modal sits above overlays */
  overflow: hidden;
}

.aj-modal.dragging { cursor: grabbing; }

.aj-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  /* force purple header to override any other rules */
  background: linear-gradient(90deg, var(--aj-lav) 0%, var(--aj-lav2) 100%) !important;
  color: #fff !important;
  font-weight: 700;
  cursor: grab; /* indicates draggable area */
}

.aj-modal-header #ajModalTitle {
  text-transform: capitalize;
}

.aj-modal-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.95);
  font-size: 18px;
  cursor: pointer;
  pointer-events: auto !important;
}

.aj-modal-body {
  padding: 18px;
  max-height: calc(70vh - 56px);
  overflow: auto;
  color: #333;
  background: #fff;
}

@media (max-width: 600px) {
  .aj-modal { width: 92%; }
  .aj-modal-body { max-height: 60vh; padding: 12px; }
  .aj-modal-header { padding: 10px 12px; }
}



/* ===== Draggable modal ===== */
.aj-modal {
  position: fixed;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: min(520px, 92vw);
  background: #fffaf0; /* warm off-white like screenshot */
  border-radius: 10px;
  border: 2px solid rgba(0,0,0,0.2);
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
  z-index: 9999;

  display: none; /* hidden by default */
}

.aj-modal.is-open {
  display: block;
}

.aj-modal-header {
  background: #3f3f3f;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px 8px 0 0;
  cursor: grab;

  display: flex;
  align-items: center;
  justify-content: space-between;

  user-select: none;
}

.aj-modal-header:active {
  cursor: grabbing;
}

.aj-modal-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 8px;
}

.aj-modal-body {
  padding: 18px 18px 20px;
  color: #222;
  text-align: center;
}

/* Contact form inside modal */
.aj-contact-form label { display:block; text-align:left; margin-bottom:6px; font-weight:600; }
.aj-contact-form input[type="email"], .aj-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #e6e6ef;
  border-radius: 8px;
  margin-bottom: 10px;
}
.aj-contact-form textarea { min-height: 120px; resize: vertical; }
.aj-contact-form .btn { padding: 8px 14px; border-radius: 8px; }
.aj-contact-form .btn-primary { background: var(--aj-lav); border: none; color: #fff; }
.aj-contact-form #ajContactCancel { background: transparent; border: 1px solid rgba(0,0,0,0.06); }

.aj-modal-body h2 {
  font-size: 34px;
  margin: 10px 0 10px;
  color: #222;
}

.aj-modal-body p {
  margin: 0 0 16px;
  line-height: 1.6;
}

.aj-modal-body img {
  max-width: 260px;
  width: 60%;
  height: auto;
  margin: 14px auto;
  display: block;
}

.aj-modal-body .aj-modal-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #f59e0b;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
/* ===================================
   Illustrations Gallery Modal Styles
   =================================== */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
}

.gallery-modal-content {
  background: white;
  border-radius: 20px;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 2px solid #e6e6e6;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
  border-radius: 20px 20px 0 0;
}

.gallery-modal-header h2 {
  margin: 0;
  font-size: 28px;
  color: #2f2f2f;
}

.gallery-modal-close {
  background: none;
  border: none;
  font-size: 36px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.gallery-modal-close:hover {
  color: #000;
}

.gallery-modal-body {
  padding: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f8f9fa;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-item.tall img {
  height: 450px;
}

/* ============================================
   ENHANCED MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile improvements for screens 768px and below */
@media only screen and (max-width: 768px) {
  /* Header adjustments */
  #header {
    height: var(--header-height-min);
  }
  
  .header-wrap {
    padding: 12px 16px;
  }
  
  .site-logo {
    font-size: 20px !important;
  }
  
  /* Main hero section improvements */
  #billboard.aurora-split-hero {
    padding-top: 100px;
    padding-bottom: 30px;
  }
  
  #billboard.aurora-split-hero .container-lg {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  /* Stack columns vertically on mobile */
  #billboard.aurora-split-hero .row {
    flex-direction: column;
  }
  
  /* Left panel - make it smaller and more compact */
  #billboard.aurora-split-hero .aj-left {
    min-height: 300px;
    margin-bottom: 20px;
    padding: 12px;
  }
  
  /* Mini navigation - make it wrap and stack */
  #billboard.aurora-split-hero .aj-mini-nav {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 8px 4px;
  }
  
  #billboard.aurora-split-hero .aj-mini-nav a {
    font-size: 13px;
    padding: 6px 8px;
  }
  
  #billboard.aurora-split-hero .aj-mini-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  /* Cloud button */
  #billboard.aurora-split-hero .aj-cloud {
    width: 50px;
    height: 50px;
    left: 12px;
    top: 70px;
  }
  
  #billboard.aurora-split-hero .aj-cloud svg {
    width: 20px;
    height: 20px;
  }
  
  /* Illustration */
  #billboard.aurora-split-hero .aj-illu {
    width: 280px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }
  
  /* Stars */
  #billboard.aurora-split-hero .aj-stars {
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    top: 80px;
  }
  
  /* Right card improvements */
  #billboard.aurora-split-hero .aj-card {
    min-height: auto;
    margin-top: 20px;
  }
  
  #billboard.aurora-split-hero .aj-card-head {
    height: 160px;
  }
  
  /* Name/title */
  #billboard.aurora-split-hero .aj-name {
    top: 20px;
  }
  
  #billboard.aurora-split-hero .aj-name-img {
    height: 90px;
  }
  
  /* Card body */
  #billboard.aurora-split-hero .aj-card-body {
    padding: 16px 20px 20px 20px;
  }
  
  /* Biography title */
  #billboard.aurora-split-hero .aj-title {
    font-size: 26px;
  }
  
  /* Bio text */
  #billboard.aurora-split-hero .aj-bio {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  #billboard.aurora-split-hero .aj-bio-text {
    height: auto;
    max-height: 200px;
    font-size: 14px;
    line-height: 1.5;
    padding-right: 8px;
  }
  
  #billboard.aurora-split-hero .aj-rail {
    display: none;
  }
  
  /* Tiles - make them stack vertically */
  #billboard.aurora-split-hero .aj-tiles {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }
  
  #billboard.aurora-split-hero .aj-tile {
    height: 60px;
    font-size: 15px;
  }
  
  /* Hide protruding tab on mobile */
  #billboard.aurora-split-hero .aj-card::before {
    display: none;
  }
  
  /* Footer adjustments */
  #footer-bottom {
    padding: 16px 0;
  }
  
  #footer-bottom .row {
    flex-direction: column;
    gap: 16px;
  }
  
  .social-links ul {
    justify-content: center !important;
    gap: 12px;
  }
  
  .copyright {
    text-align: center !important;
  }
  
  /* Gallery modal improvements */
  .gallery-modal-content {
    width: 95%;
    max-height: 90vh;
    margin: 20px;
  }
  
  .gallery-modal-header {
    padding: 12px;
  }
  
  .gallery-modal-header h2 {
    font-size: 20px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  
  .gallery-item img,
  .gallery-item.tall img {
    height: 250px;
  }
}

/* Extra small screens - 480px and below */
@media only screen and (max-width: 480px) {
  #billboard.aurora-split-hero {
    padding-top: 90px;
  }
  
  #billboard.aurora-split-hero .aj-left {
    min-height: 250px;
    padding: 8px;
  }
  
  #billboard.aurora-split-hero .aj-mini-nav {
    gap: 8px;
  }
  
  #billboard.aurora-split-hero .aj-mini-nav a {
    font-size: 11px;
    padding: 5px 6px;
  }
  
  #billboard.aurora-split-hero .aj-mini-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  #billboard.aurora-split-hero .aj-illu {
    width: 220px;
  }
  
  #billboard.aurora-split-hero .aj-stars {
    width: 110px;
    top: 70px;
  }
  
  #billboard.aurora-split-hero .aj-cloud {
    width: 44px;
    height: 44px;
    top: 60px;
  }
  
  #billboard.aurora-split-hero .aj-name-img {
    height: 70px;
  }
  
  #billboard.aurora-split-hero .aj-title {
    font-size: 22px;
  }
  
  #billboard.aurora-split-hero .aj-bio-text {
    font-size: 13px;
    max-height: 180px;
  }
  
  #billboard.aurora-split-hero .aj-tile {
    height: 52px;
    font-size: 14px;
  }
  
  #billboard.aurora-split-hero .aj-card-body {
    padding: 12px 16px 16px 16px;
  }
  
  .site-logo {
    font-size: 18px !important;
  }
}