body {
  background: var(--color-bg);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  overflow-x: hidden;
  padding-top: 72px;
}

html,
body {
  width: 100%;
  height: 100%;
}

html {
  overflow-y: scroll;
}

:root {
  --color-bg: #ffffff;
  --color-text: #595959;
  --color-heading: #222222;
  --color-muted: #6f6f6f;
  --color-surface-warm: #f4ece6;
  --color-surface-dark: #2d2926;
  --color-accent-surface: #b9824a;
  --color-accent-text: #85592f;
  --color-accent-strong: #7f542c;
  --color-nav-bg: #ffffff;
  --color-nav-border: #ece7e2;
  --color-nav-brand: #222222;
  --color-nav-link: #2d2d2d;
  --color-inverse-text: #ffffff;
  --color-experience-meta: #f0d3bd;
  --color-education-meta: #f3dfc2;
  --color-contact-text: #f0ece8;
  --shadow-nav: 0 2px 10px rgba(30, 30, 30, 0.08);
  --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Sans', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-pill: 999px;
}


/*---------------------------------------
    Typorgraphy              
-----------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-style: normal;
  color: var(--color-heading);
}

h1,
h2,
h3 {
  font-weight: 600;
}

h1 {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding-bottom: 16px;
  margin-bottom: 0px;
}

h2 {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  margin-top: 0px;
}

h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  padding-bottom: 6px;
}

h4 {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-top: 6px;
}

h5 {
  color: var(--color-muted);
}

strong {
  color: var(--color-heading);
  font-weight: normal;
}

p {
  color: var(--color-text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.section-btn {
  background-color: transparent;
  border: 3px solid var(--color-heading);
  border-radius: 4px;
  color: var(--color-heading);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.6px;
  padding: 12px 36px;
  margin-top: 42px;
  transition: all 0.4s ease-in-out;
  text-transform: uppercase;
}

.section-btn:hover {
  background: var(--color-accent-text);
  border-color: transparent;
  color: var(--color-inverse-text);
}

.btn-success:focus {
  background-color: var(--color-surface-dark);
  border-color: transparent;
}

.parallax-section {
  background-attachment: scroll !important;
  background-size: cover !important;
}

.section-title {
  position: relative;
  padding-bottom: 22px;
}

#about,
#service,
#experience,
#education,
#blog,
#contact {
  position: relative;
}

#home .container,
#about .container,
#experience .container,
#service .container,
#education .container,
#blog .container,
#contact .container {
  width: 100%;
  padding: 0;
  margin: 0;
}

#experience .experience-thumb,
#education .education-thumb {
  padding: 22px 42px 42px 42px;
}

#service,
#quotes,
footer {
  text-align: center;
}

#experience,
#education {
  background: var(--color-surface-dark);
}

.background-image {
  background-position: 50% 50% !important;
  background-size: cover !important;
  width: 100%;
  height: 100%;
  min-height: 75vh;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.color-white {
  color: var(--color-inverse-text);
}

.color-accent {
  color: var(--color-accent-text);
}

.bg-accent {
  background: var(--color-accent-surface);
}

.bg-white {
  background: var(--color-bg);
}

.bg-dark {
  background: var(--color-surface-dark);
}



/*---------------------------------------
    General               
-----------------------------------------*/

html {
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent-text);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover,
a:active,
a:focus {
  color: var(--color-accent-strong);
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent-text);
  outline-offset: 2px;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}



/*---------------------------------------
    Preloader section              
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 var(--color-bg);
}

.spinner {
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-text);
  border-top-color: #f9f9f9;
  animation: spinner .6s linear infinite;
}

@-webkit-@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}



/*---------------------------------------
    Navigation section              
-----------------------------------------*/

.custom-navbar {
  margin-bottom: 0;
  background-color: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-nav-border);
  box-shadow: var(--shadow-nav);
  z-index: 1000;
}

.custom-navbar .container {
  width: 100%;
  max-width: none;
  padding-left: 32px;
  padding-right: 32px;
}

.custom-navbar .navbar-brand {
  color: var(--color-nav-brand);
  text-shadow: none;
  font-weight: 700;
  font-size: 22px;
  line-height: 35px;
  letter-spacing: 0.04em;
}

.custom-navbar .nav li a {
  color: var(--color-nav-link);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 40px;
  transition: all 0.4s ease-in-out;
}

.custom-navbar .nav li a:hover {
  background: transparent;
  color: var(--color-accent-text);
}

.custom-navbar .navbar-nav>li>a:hover,
.custom-navbar .navbar-nav>li>a:focus {
  background-color: transparent;
}

.custom-navbar .nav li.active>a {
  background-color: transparent;
  color: var(--color-accent-text);
}

.custom-navbar .navbar-toggle {
  border: none;
  padding-top: 10px;
}

.custom-navbar .navbar-toggle {
  background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
  background: var(--color-accent-text);
  border-color: transparent;
}

.custom-navbar .theme-menu-item {
  position: relative;
}

.custom-navbar .theme-menu-trigger {
  display: block;
  background: transparent;
  border: none;
  color: var(--color-nav-link);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 40px;
  padding: 15px;
  margin: 0;
  transition: color 0.3s ease;
}

.custom-navbar .theme-menu-trigger:hover,
.custom-navbar .theme-menu-trigger:focus {
  color: var(--color-accent-text);
  outline: none;
}

.custom-navbar .theme-menu-caret {
  margin-left: 8px;
  font-size: 10px;
}

.custom-navbar .theme-menu-list {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--color-bg);
  border: 1px solid var(--color-nav-border);
  border-radius: 10px;
  box-shadow: var(--shadow-nav);
  padding: 6px;
  margin: 0;
  list-style: none;
  z-index: 1001;
}

.custom-navbar .theme-menu-list.is-visible {
  display: block;
}

.custom-navbar .theme-menu-option {
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--color-nav-link);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-navbar .theme-menu-option:hover,
.custom-navbar .theme-menu-option:focus {
  background: var(--color-surface-warm);
  color: var(--color-accent-text);
  outline: none;
}

.custom-navbar .theme-menu-option.is-active {
  background: var(--color-surface-warm);
  color: var(--color-accent-strong);
}

@media(min-width:768px) {
  .custom-navbar {
    padding: 8px 0;
  }

}



/*---------------------------------------
    Home section              
-----------------------------------------*/

#home {
  background: var(--color-surface-warm);
}

#home h1 {
  padding-bottom: 18px;
}

#home .home-thumb {
  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;
  justify-content: center;
  min-height: calc(100vh - 72px);
  padding: 0 45px;
}

#home .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  width: 100%;
}

#home .home-thumb .section-title {
  text-align: left;
  max-width: 520px;
}

#home .hero-text .home-cta-buttons {
  justify-content: flex-start;
}

#home .hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

#home .hero-portrait {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  filter: grayscale(10%);
  border-radius: 2px;
}



/*---------------------------------------
   Logo strip section
-----------------------------------------*/

.logo-strip {
  background: var(--color-bg);
  padding: 36px 48px;
  border-top: 1px solid var(--color-nav-border);
  border-bottom: 1px solid var(--color-nav-border);
  text-align: center;
}

.logo-strip-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 20px;
  font-weight: 600;
}

.logo-strip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.logo-strip-img {
  height: 28px;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.logo-strip-img:hover {
  opacity: 0.8;
}



/*---------------------------------------
   About section              
-----------------------------------------*/

#about .about-thumb,
#about .skill-thumb {
  padding: 22px 32px 32px 32px;
}

#about .services-summary {
  margin-top: 28px;
}

#about .services-summary h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

#about .services-summary ul {
  margin: 0;
  padding-left: 18px;
}

#about .services-summary li {
  margin-bottom: 10px;
  color: var(--color-text);
  line-height: 1.6;
}

#about .about-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-nav-border);
}

#about .about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#about .about-stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent-text);
  letter-spacing: -0.02em;
}

#about .about-stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}

#about .progress {
  background: var(--color-bg);
  border-radius: 0px;
  box-shadow: none;
  height: 2px;
}

#about .progress-bar-primary {
  background: var(--color-heading);
}

#about strong,
#about span {
  font-weight: bold;
  display: inline-block;
  padding-bottom: 8px;
}



/*---------------------------------------
    Service section              
-----------------------------------------*/

#service {
  background: var(--color-accent-surface);
}

#service p {
  font-size: 18px;
  line-height: 30px;
}

#service .service-thumb {
  padding: 52px 22px 52px 22px;
}

#service .service-thumb svg {
  font-size: 42px;
  padding-bottom: 22px;
}



/*---------------------------------------
    Experience section              
-----------------------------------------*/

#experience .experience-img {
  background: url('../images/experience-img.jpg') no-repeat;
}

#experience .media-heading {
  margin-bottom: 0px;
}

#experience h1,
#experience h2,
#experience h3,
#experience p,
#education h1,
#education h2,
#education h3,
#education p {
  color: var(--color-inverse-text);
}

#experience .media-icon {
  width: 42px;
  height: 42px;
  margin-right: 14px;
  stroke-width: 1.5;
}

#experience small {
  color: var(--color-experience-meta);
  font-weight: bold;
}

/*---------------------------------------
    Education section              
-----------------------------------------*/

#education {
  background: var(--color-surface-dark);
}

#education .education-img {
  background: url('../images/education-img.jpg') no-repeat;
}

#education .media-heading {
  margin-bottom: 0px;
}

#education .media-icon {
  width: 42px;
  height: 42px;
  margin-right: 14px;
  stroke-width: 1.5;
}

#education .education-group+.education-group {
  margin-top: 28px;
}

#education .education-subheading {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

#education small {
  color: var(--color-education-meta);
  font-weight: bold;
}



/*---------------------------------------
   Quotes section              
-----------------------------------------*/

#quotes {
  background: var(--color-surface-warm);
  color: var(--color-heading);
  position: relative;
  padding: 100px 0px;
}

#quotes h1,
#quotes h2,
#quotes h3,
#quotes p,
#quotes i {
  color: var(--color-heading);
}

#quotes p {
  padding-top: 32px;
}


/*---------------------------------------
   Blog section
-----------------------------------------*/

#blog {
  background: var(--color-bg);
  border-top: 1px solid var(--color-nav-border);
  border-bottom: 1px solid var(--color-nav-border);
}

#blog .blog-thumb {
  padding: 56px 42px;
}

#blog .blog-thumb .section-title {
  max-width: 700px;
}

#blog .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

#blog .blog-card {
  border: 1px solid var(--color-nav-border);
  border-radius: 12px;
  background: var(--color-bg);
  padding: 22px;
}

#blog .blog-card-source {
  display: inline-block;
  margin: 0 0 12px;
  border: 1px solid var(--color-nav-border);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#blog .blog-card-title {
  margin: 0;
  font-size: 23px;
  line-height: 1.35;
}

#blog .blog-card-title a {
  color: var(--color-heading);
}

#blog .blog-card-title a:hover,
#blog .blog-card-title a:focus {
  color: var(--color-accent-text);
}

#blog .blog-card-meta {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

#blog .blog-card-excerpt {
  margin: 14px 0 0;
}

#blog .blog-card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

#blog .blog-status-message {
  margin: 0;
  color: var(--color-text);
}

#blog .blog-status-error {
  color: var(--color-accent-text);
}


/*---------------------------------------
    Contact section              
-----------------------------------------*/

#contact {
  background: var(--color-surface-dark);
}

#contact .contact-form,
#contact .contact-thumb {
  padding: 22px 32px 22px 32px;
  min-height: 75vh;
}

#contact .contact-img {
  background: url('../images/contact-img.jpg') no-repeat;
  min-height: 75vh;
}

#contact .contact-info {
  padding-top: 6px;
  padding-bottom: 6px;
}

#contact p,
#contact a,
#contact .contact-info p {
  color: var(--color-contact-text);
}

#contact .form-control::-moz-placeholder {
  color: var(--color-inverse-text);
  opacity: 1
}

#contact .form-control:-ms-input-placeholder {
  color: var(--color-inverse-text)
}

#contact .form-control::-webkit-input-placeholder {
  color: var(--color-inverse-text)
}

#contact .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-accent-text);
  border-radius: 0px;
  box-shadow: none;
  color: var(--color-inverse-text);
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 25px;
  transition: all 0.4s ease-in-out;
}

#contact .form-control:focus {
  border-bottom-color: var(--color-inverse-text);
}

#contact input {
  height: 45px;
}

#contact input[type="submit"] {
  background: var(--color-inverse-text);
  border: 2px solid transparent;
  border-radius: 4px;
  color: var(--color-surface-dark);
  padding-bottom: 10px;
}

#contact input[type="submit"]:hover {
  background: transparent;
  border-color: var(--color-inverse-text);
  color: var(--color-inverse-text);
}

#contact .contact-line-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  stroke-width: 1.75;
}



/*---------------------------------------
   Footer section              
-----------------------------------------*/

footer {
  padding: 64px 0;
}



/*---------------------------------------
   Social icon             
-----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
  text-align: center;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  border: 2px solid transparent;
  color: var(--color-muted);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  vertical-align: middle;
  position: relative;
  margin: 22px 4px 10px 4px;
}

.social-icon li a:hover {
  background: var(--color-accent-text);
  border-color: var(--color-inverse-text);
  color: var(--color-inverse-text);
  transform: scale(1.1);
}

.social-icon-svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
  vertical-align: middle;
}



/*---------------------------------------
   Mobile Responsive         
-----------------------------------------*/

@media only screen and (max-width: 580px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
    line-height: inherit;
  }

  h3 {
    font-size: 22px;
    line-height: inherit;
  }

  #about .about-stats {
    gap: 24px;
  }

  #about .about-stat-value {
    font-size: 28px;
  }
}

@media only screen and (max-width: 767px) {
  .custom-navbar .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .custom-navbar .navbar-brand {
    line-height: 18px;
  }

  .custom-navbar .theme-menu-item {
    padding: 0 15px 10px;
  }

  .custom-navbar .theme-menu-trigger {
    width: 100%;
    text-align: left;
    line-height: 34px;
    padding: 8px 0;
  }

  .custom-navbar .theme-menu-list {
    left: 0;
    right: auto;
    min-width: 100%;
  }

  body {
    padding-top: 64px;
  }

  #home .home-thumb {
    height: auto;
    padding-top: 32px;
    padding-bottom: 12px;
  }

  #home .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  #home .hero-image-wrapper {
    order: -1;
  }

  #home .hero-portrait {
    max-width: 220px;
  }

  #home .home-thumb .section-title {
    text-align: left;
  }

  .logo-strip {
    padding: 28px 24px;
  }

  .logo-strip-items {
    gap: 24px;
  }

  .logo-strip-img {
    height: 22px;
  }

  .home-cta-buttons {
    justify-content: flex-start;
  }

  .home-cta-buttons .libutton {
    width: 260px;
    max-width: calc(100% - 12px);
  }

  #home .container,
  #about .container,
  #experience .container,
  #service .container,
  #education .container,
  #contact .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  #about .col-md-3,
  #experience .col-md-6,
  #education .col-md-6,
  #contact .col-md-3 {
    padding: 0;
    margin: 0;
  }

  .background-image {
    position: relative;
    min-height: 65vh;
  }

  #blog .blog-thumb {
    padding: 44px 18px;
  }
}

@media only screen and (max-width: 1024px) {
  .section-title {
    padding-bottom: 12px;
  }

  footer {
    padding: 40px 0;
  }
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-inverse-text);
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--color-accent-text);
  color: var(--color-inverse-text);
  transform: translateY(-3px);
}


.libutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 16px;
  text-align: center;
  outline: none;
  text-decoration: none !important;
  color: #ffffff !important;
  width: 200px;
  min-height: 40px;
  border-radius: 16px;
  background-color: #0A66C2;
  font-family: "SF Pro Text", Helvetica, sans-serif;
}

.home-cta-buttons {
  display: flex;
  margin: 6px -6px 0;
  justify-content: center;
  flex-wrap: wrap;
}

.home-cta-buttons .libutton {
  width: 220px;
  margin: 6px;
}

.calendly-button {
  background-color: #006bff;
}

.calendly-button:hover,
.calendly-button:focus {
  background-color: #0052c8;
}
