/* ==========================================================================
Basic Styles 
 ========================================================================== */ 
body {
    font-family: Raleway, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #6d6d6d;
    overflow-x: hidden;
}

:root{
  --nav-radius: 12px;
  --nav-pad-y: 8px;
  --nav-pad-x: 18px;
}

a {
    color: #F58026;
    text-decoration: none;
}
a:hover,a:focus {
    color: #F58026;
    text-decoration: underline
	 -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}
a:focus,
.btn:focus {
    outline: none;
}
/* ==========================================================================
Typo Styles
 ========================================================================== */ 
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
    font-weight: 300;
}
.col-text-lg {
    font-size: 58px;
    font-weight: 300;
    line-height: 62px;
    letter-spacing: 0.01em;
    word-spacing: 0.15em;
    text-transform: uppercase;
}
/* ==========================================================================
Background Overlay
 ========================================================================== */ 
.light-overlay {
    background: rgba(255, 255, 255, 0.5);
    padding: 50px 0;
}
/* ==========================================================================
Layout Styles
 ========================================================================== */ 
.add-padding {
    padding-top: 120px;
    padding-bottom: 140px;
}
.padding-bottom {
    padding-bottom: 50px;
}
/* ==========================================================================
Buttons
 ========================================================================== */ 

.social-buttons{
    margin-top: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center; /* add this */
    width: 100%;             /* add this */
    align-items: center;     /* add this */
  }
  /* add this */
.btn-social{
  min-width: 160px;
  justify-content: center;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.78);
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}

/* add this */
.btn-social:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.55);
  color: rgba(0,0,0,0.92);
}
  .btn-social .fa{
    font-size: 18px;
  }

.btn-color1,
.btn-color2 {
    padding: 10px 30px;
    color: #fff;
    font-size: 21px;
    font-weight: 300;
    background: #555;
    outline: none !important;
    border-radius: 0;
    transition: opacity .2s ease-out;
}
.btn-color1 {
    background: #11B2D2;
}
.btn-color1:hover,
.btn-color2:hover {
    color: #fff;
    opacity: 0.9;
}
.btn-color1:focus,
.btn-color1:active,
.btn-color2:focus,
.btn-color2:active {
    color: #fff;
}
.btn-color1 .fa,
.btn-color2 .fa {
    margin-right: 15px;
}
/* ==========================================================================
Preloader Styles
 ========================================================================== */ 
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #fff;
    z-index: 99999;
}
#page-loader .page-loader-gif {
    display: block;
    width: 64px;
    height: 64px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -32px 0 0 -32px;
    background: url('../images/preloader.gif') no-repeat;
}
/* ==========================================================================
Menu Style
 ========================================================================== */ 
#main-nav .container {
    padding: 0 0 20px;
}
#main-nav .navbar-brand img {
    margin-right: 15px;
    max-width: 60px;
}
#main-nav .navbar-brand {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: #555555;
    padding: 12px;
    /*text-transform: uppercase;*/
}
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:active,
.navbar-brand:focus {
    padding: 0 10px;
    font-size: 30px;
    line-height: 30px;
    font-weight: normal;
    color: #fff;
}
.navbar-brand span {
    font-size: 24px;
    font-weight: 300;
}
#main-nav.scrolled .navbar-brand {
    color: #6d6d6d;
}
#main-nav {
    background: transparent;
    color: #fff;
    box-shadow: 0 0 0px transparent;
    -webkit-transition: background 0.3s ease-out;
    transition: background 0.3s ease-out;
}
/*#main-nav.scrolled {
    background: #fff;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
}*/
#main-nav.scrolled{
    background: rgba(255,255,255,0.62);          /* translucent */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
#main-nav.scrolled .navbar-toggle {
    color: #74c7d5;
    border-color: #74c7d5;
}
#main-nav.scrolled .navbar-toggle .icon-bar {
    background: #74c7d5;
}
#main-nav .container {
    padding: 30px 20px;
    -webkit-transition: padding 0.5s ease-out;
    transition: padding 0.5s ease-out;
}
#main-nav.scrolled .container {
    padding: 10px 20px;
}

/* add this (replace it with pill styling that applies to hover too, so no size jump) */
#main-nav .nav a,
#main-nav .nav a:active,
#main-nav .nav a:hover,
#main-nav .nav a:focus{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  border-radius: var(--nav-radius);
  padding: var(--nav-pad-y) var(--nav-pad-x);

  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.30);
  color: rgba(0,0,0,0.78);

  text-decoration: none; /* prevents underline changes */
  transform: translateY(0);
  transition: transform .22s cubic-bezier(.17,.89,.67,1.57), box-shadow .22s ease, background .22s ease, color .22s ease;
  will-change: transform, box-shadow;
}

/* nav hover effect like the social buttons */
#main-nav .nav > li > a:hover,
#main-nav .nav > li > a:focus{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.55);
  color: rgba(0,0,0,0.92);
}



#main-nav.scrolled .nav a,
#main-nav.scrolled .nav a:active,
#main-nav.scrolled .nav a:hover {
    color: #6d6d6d;
}
#main-nav li {
    background: transparent;
    margin: 0 10px;
    border: 2px solid transparent;
}
#main-nav.scrolled .nav li.active a,
#main-nav.scrolled .nav a:hover {
    color: #F58026;
}
/* ==========================================================================
Header Styles
 ========================================================================== */ 
#home {
    color: #fff;
    max-width: 100%;
}
/*.backstretch img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}*/
#home .container {
    position: fixed;
    top: 50%;
    width: 100% !important;
    margin-top: -120px;
    z-index: -1;
}
#home p {
    margin: 0;
    font-size: 32px;
    font-weight: 400;
}
#home h1 {
    margin: 0;
    font-size: 82px;
    font-weight: 600;
    /*text-transform: uppercase;*/
}
#home h1 + p {
    font-size: 28px;
}
/* ==========================================================================
Twitter Styles
 ========================================================================== */ 
#twitter {
    color: #fff;
    background: url('../images/twitter.jpg') no-repeat fixed;
    background-size: cover;
}
#twitter a:hover,
#twitter a:active,
#twitter a:focus {
    text-decoration: none;
}
#twitter a {
    color: #334959;
    text-decoration: none;
    transition: color .2s ease-out;
}
#twitter a:hover,
#twitter a:focus {
    color: #fff;
}
#twitter h1 {
    position: relative;
}
#twitter .tweet {
    font-size: 24px;
    line-height: 36px;
    font-weight: 300;
    word-spacing: 5px;
    margin-bottom: 40px;
}
#twitter .timePosted {
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 20px;
}
#twitter .interact {
    margin-left: 20px;
    padding-right: 80px;
    display: inline-block;
    font-size: 21px;
    font-weight: 300;
}
#twitter .interact a {
    margin-right: 6px;
}
#twitter .interact a:hover {
    color: #fff;
    transition: color .2s ease-out;
}
#twitter .twitter-icon {
    padding-top: 6px;
    text-align: center;
}
#twitter .fa-twitter {
    font-size: 60px;
}
#twitter-slider {
    border: none;
    box-shadow: none;
    background: transparent;
    margin: 0;
    padding: 0;
}
#twitter-slider .flex-direction-nav {
    display: block;
    position: absolute;
    bottom: 10px;
    right: 0;
}
#twitter-slider .flex-direction-nav li {
    display: inline;
}
#twitter .flex-direction-nav .flex-prev,
#twitter .flex-direction-nav .flex-next {
    background: transparent;
    background-image: none;
    display: inline;
    opacity: 0.6;
    text-indent: 0;
    position: relative;
    left: 0;
    top: 0;
    width: auto;
    height: 42px;
    padding: 0;
    margin: 0;
    margin-left: 7px;
    font-size: 42px;
    line-height: 1.1; /*line-height: 42px;*/
    color: #fff;
    -webkit-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;
}
#twitter-slider .flex-direction-nav a:hover {
    opacity: 1;
}
#twitter-slider .flex-direction-nav a:hover,
#twitter-slider .flex-direction-nav a:active,
#twitter-slider .flex-direction-nav a:focus {
    text-decoration: none;
}
/* ==========================================================================
Contact Styles
 ========================================================================== */ 
#contact {
    /*background: url('../images/footer-bg.jpg') no-repeat fixed;*/
    /*background-size: cover;*/
    /*color: #000;*/
    background: rgba(255, 255, 255, 0.5);
    padding: 50px 0;
}


#contact-form {
    padding-top: 50px;
}
#contact-form .form-group label {
    display: none;
    font-size: 18px;
    line-height: 24px;
    font-weight: 100;
    text-transform: uppercase;
}
#contact-form.no-placeholder .form-group label {
    display: block;
}
#contact-form .controls {
    padding: 0;
    margin-bottom: 30px;
    border: 1px solid #444444; /*#999;*/
    border-radius: 2px;
}
#contact-form .form-control {
    background: transparent !important;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    height: 56px;
    font-size: 21px;
    line-height: 32px;
    font-weight: 100;
    padding-left: 64px;
    /*-webkit-transition: border-color .3s ease-out;*/
    /*transition: border-color .3s ease-out;*/
    border-radius: 2px;
}
#contact-form .form-group {
    position: relative;
}
#contact-form .form-group [class*=fa] {
    display: block;
    width: 64px;
    position: absolute;
    top: 0;
    color: #000;
    /*color: #555;*/
    font-size: 24px;
    line-height: 53px;
    text-align: center;
    font-weight: 300;
    opacity: 0.5;
    /*transition: opacity .2s ease-out;*/
}
#contact-form.no-placeholder .form-group [class*=fa] {
    top: 30px;
}
#contact-form .form-control:focus + [class*=fa] {
    opacity: 1;
}
#contact-form textarea.form-control {
    height: auto;
    max-width: 100%;
    min-width: 100%;
    font-size: 21px;
    line-height: 32px;
    padding-top: 10px;
}
#contact-form .form-control:focus {
    background: #fff;
    border-bottom: 3px solid #555;
    outline: none;
    box-shadow: none;
    /*-webkit-transition: border-color .3s ease-in;*/
    /*transition: border-color .3s ease-in;*/
}
#contact-form .error-message {
    padding: 5px 0;
    position: absolute;
    top: -30px;
    right: 0;
    font-size: 14px;
    font-weight: 300;
    color: #ff0000;
    z-index: 10;
}
#contact-form .error-message:before {
    content: "\00d7";
    font-size: 21px;
    line-height: 21px;
    margin-right: 5px;
}
/* ==========================================================================
Scrolling animations
 ========================================================================== */ 
.scrollimation.fade-in {
    opacity: 0;
    -webkit-transition: opacity 0.6s ease-out;
    transition: opacity 0.6s ease-out;
}
.scrollimation.fade-in.in {
    opacity: 1;
}
.scrollimation.scale-in {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transition: -webkit-transform .6s cubic-bezier(.17,.89,.67,1.57), opacity .6s ease-out;
    transition: transform .6s cubic-bezier(.17,.89,.67,1.57), opacity .6s ease-out;
}
.scrollimation.scale-in.in {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
.scrollimation.fade-right {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    transform: translateX(-100px);
    -webkit-transition: -webkit-transform .6s ease-out,opacity .6s ease-out;
    transition: transform .6s ease-out,opacity .6s ease-out;
}
.scrollimation.fade-right.in {
    opacity: 1;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    transform: translateX(0px);
}
.scrollimation.fade-left {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    transform: translateX(100px);
    -webkit-transition: -webkit-transform .6s ease-out,opacity .6s ease-out;
    transition: transform .6s ease-out,opacity .6s ease-out;
}
.scrollimation.fade-left.in {
    opacity: 1;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    transform: translateX(0px);
}
.scrollimation.fade-up {
    opacity: 0;
    -webkit-transform: translateY(100px);
    -moz-transform: translateY(100px);
    -ms-transform: translateY(100px);
    transform: translateY(100px);
    -webkit-transition: -webkit-transform .6s ease-out,opacity .6s ease-in;
    transition: transform .6s ease-out,opacity .6s ease-in-out;
}
.scrollimation.fade-up.in {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}
.scrollimation.d1 {
    transition-delay: .3s;
}
.scrollimation.d2 {
    transition-delay: .6s;
}
.scrollimation.d3 {
    transition-delay: .9s;
}
.scrollimation.d4 {
    transition-delay: 1.2s;
}
.touch .scrollimation.fade-in {
    opacity: 1;
}
.touch .scrollimation.scale-in {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
.touch .scrollimation.fade-right {
    opacity: 1;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    transform: translateX(0px);
}
.touch .scrollimation.fade-left {
    opacity: 1;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    transform: translateX(0px);
}
.touch .scrollimation.fade-up {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}
/* ==========================================================================
About me
 ========================================================================== */ 
.about {
    text-align: center;
}


/* ==========================================================================
About (added jaj)
 ========================================================================== */ 
.grid_about {


    overflow: hidden;
    margin: 0;
    padding: 0 0 0 0;
    width: 100%;
    list-style: none;
    text-align: center;
}
/* Common style */
.grid_about figure {
    position: relative;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    margin: -0.20em;
    width: 50%;
    height: 400px;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}
.grid_about figure img {
    position: relative;
    display: block;
    /*min-height: 100%;  uitgezet ivm aspect ratio bug! */
    opacity: 0.8;
}
.grid_about figure figcaption {
    padding: 2em;
    color: #fff;
    /*text-transform: uppercase;*/
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.grid_about figure figcaption,
.grid_about figure a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid_about figure a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}
.grid_about figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}
.grid_about figure h2 span {
    font-weight: 800;
}
.grid_about figure h2,
.grid_about figure p {
    margin: 0;
}
.grid_about figure p {
    letter-spacing: 1px;
    font-size: 100%;
    margin-top: 40px;
}



/* ==========================================================================
Portfolio
 ========================================================================== */ 
.grid {
    overflow: hidden;
    margin: 0;
    padding: 0 0 0 0;
    width: 100%;
    list-style: none;
    text-align: center;
}
/* Common style */
.grid figure {
    position: relative;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    margin: -0.20em;
    width: 33.433%;
    height: 400px;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}
.grid figure img {
    position: relative;
    display: block;
    /*min-height: 100%;  uitgezet ivm aspect ratio bug! */
    opacity: 0.8;
}
.grid figure figcaption {
    padding: 2em;
    color: #fff;
    /*text-transform: uppercase;*/
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.grid figure figcaption,
.grid figure a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}
.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}
.grid figure h2 span {
    font-weight: 800;
}
.grid figure h2,
.grid figure p {
    margin: 0;
}
.grid figure p {
    letter-spacing: 1px;
    font-size: 100%;
    margin-top: 40px;
}



/* ==========================================================================
Milo
 ========================================================================== */ 
figure.effect-milo {
    background: #2e5d5a;\
    position: relative; /* updt 2025. Ensure positioning context */
    overflow: hidden; /* updt 2025. Hide image overflow */
}
figure.effect-milo img {
    /*width: -webkit-calc(100% + 60px);*!/*/
    /*width: calc(100% + 60px); !important;*/
    /*height: auto !important;*/
    
    /* correctie ivm aspect ratio bug, samen met correctie op regel 582*/
    /*width: auto;*/
    width: 100%; /* 2025 */
    height: 100%; /* 2025 */

    object-fit: cover; /* 2025 */ /* <- important: make it "aspect fill" */ 
    object-position: center center; /* 2025 */ /* optional: center the image */
        
    opacity: 1;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-30px,0,0) scale(1.12);
    transform: translate3d(-30px,0,0) scale(1.12);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
figure.effect-milo:hover img {
    opacity: 0.5;
    -webkit-transform: translate3d(0,0,0) scale(1);
    transform: translate3d(0,0,0) scale(1);
}
figure.effect-milo h2 {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 1em 1.2em;
}
figure.effect-milo p {
    padding: 0 10px 0 0;
    width: 50%;
    border-right: 1px solid #fff;
    text-align: right;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-40px,0,0);
    transform: translate3d(-40px,0,0);
}
figure.effect-milo:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
@media screen and (max-width: 69.5em) {
    .grid figure {
        width: 50%;
    }
    .grid figure figcaption {
        font-size: 120%;
    }
}
@media screen and (max-width: 41.5em) {
    .grid figure {
        width: 100%;
    }
}
/* ==========================================================================
Button
 ========================================================================== */ 
.btn-primary {
    color: #FFFFFF;
    background-color: #000000;
    border-color: rgba(255, 186, 0, 0);
    border-radius: 0px;
    font-family: Raleway, Arial, sans-serif;
    letter-spacing: 2px;
    font-size: 18px;
    font-weight: normal;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #FFBE00;
    border-color: #FFD000;
}
.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    color: #000;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.portfolio-modal .modal-content h2 {
    margin-bottom: 45px;
    font-size: 3em;
}
.portfolio-modal .modal-content p {
    margin-bottom: 30px;
}
.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-family: Raleway, Arial, sans-serif;
    font-size: 16px;
    font-style: italic;
}
.portfolio-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
    font-family: Raleway, Arial, sans-serif;
    letter-spacing: 2px;
    color: #000000;
    line-height: 10px;
    text-transform: none;
    -webkit-font-smoothing: antialiased !important;
}
.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}
.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}
.portfolio-modal .close-modal:hover {
    opacity: .3;
}
.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #222;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #222;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
/* ==========================================================================
Subscribe
 ========================================================================== */ 
#subscribe {
    background-color: #fff;
    height: auto;
    min-height: 150px;
    max-height: 500px;
    color: #000;
    padding-top: 35px;
    padding-bottom: 45px;
    margin-top: -2px;
}
#subscribe p {
    display: inline-block;
    vertical-align: middle;
    font-family: Raleway, Arial, sans-serif;
    letter-spacing: 2px;
    text-transform: none;
    margin-top: 27px;
    -webkit-font-smoothing: antialiased !important;
}
#subscribe span.btn:hover {
    color: #F58026;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}
#subscribe span.right {
    font-family: Raleway, Arial, sans-serif;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 500;
    line-height: 30px;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased !important;
    margin-top: 10px;
    border-bottom: 1px solid #555;
    padding: 10px;
    border-radius: 0px;
    float: right;
    color: #555;
}
#subscribe span.right:hover {
    border-bottom: 1px solid #fed136;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}
/* ==========================================================================
Footer
 ========================================================================== */ 
footer {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
.company-details {
    padding-top: 25px;
    padding-bottom: 25px;
}
.company-details .icon-top {
    font-size: 30px;
    margin-bottom: 10px;
}
.copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    background: #f5f5f5;
}
ul.social {
    margin: 0px;
}
.social li {
    display: inline-block;
    margin: 5px 10px;
}
.social li a {
    color: #ccc;
    font-size: 18px;
}
.social li a:hover {
    color: #e96656;
}
.social i {
    font-size: 16px;
}
/* ==========================================================================
Media Queries
 ========================================================================== */ 
@media (max-width:991px) {
    .col-text-lg {
        font-size: 48px;
        line-height: 52px;
        letter-spacing: 0.01em;
        word-spacing: 0.15em;
    }
    #main-nav .nav a,
#main-nav .nav a:active,
#main-nav .nav a:hover {
        font-size: 16px;
        color: #000;
    }
    #main-nav li {
        margin: 0 5px;
    }
}

@media (max-width:767px) {
    body {
        font-size: 15px;
    }
    .lead {
        font-size: 16px;
        font-weight: 400;
    }
    .add-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .col-text-lg {
        font-size: 38px;
        line-height: 42px;
    }
    #main-nav {
        background: #fff;
        box-shadow: 0 0 3px rgba(0,0,0,0.2);
    }
    #main-nav .navbar-toggle {
        margin-bottom: 5px;
        margin-top: 5px;
        color: #6d6d6d;
        border-color: transparent !important;
    }
    #main-nav .navbar-toggle .icon-bar {
        width: 28px;
        height: 4px;
        margin-top: 0;
        background: #6d6d6d !important;
    }
    #main-nav .navbar-toggle .icon-bar + .icon-bar {
        margin-top: 4px;
    }
    #main-nav .container,
    #main-nav.scrolled .container {
        padding: 5px 20px;
    }
    #main-nav .nav a,
    #main-nav .nav a:active,
    #main-nav .nav a:hover {
        line-height: 42px;
        text-align: center;
        color: #000;
    }
    #main-nav .nav li.active a,
    #main-nav .nav a:hover {
        color: #F58026;
    }
    #main-nav .navbar-brand {
        padding-top: 5px;
        font-size: 21px;
        color: #6d6d6d;
    }
    #main-nav .navbar-brand img {
        margin-right: 10px;
        max-width: 40px;
    }
    #home .container {
        margin-top: -80px;
    }
    #home p {
        font-size: 24px;
    }
    #home h1 {
        font-size: 42px;
    }

    #home h1 + p {
        font-size: 21px;
    }
    #twitter .tweet {
        font-size: 18px;
        line-height: 24px;
    }
    #contact-form {
        margin-top: 30px;
    }
    .padding-bottom {
        padding-bottom: 0px;
    }
}


/* Contact form: match social button border/background styling */
#contact-form .controls{
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.35);
}

/* Keep the inputs themselves transparent so the wrapper shows through */
#contact-form .form-control{
  background: transparent !important;
  border-radius: 14px;
}

/* Make focus feel consistent (optional, but nicer) */
#contact-form .controls:focus-within{
  background: rgba(255,255,255,0.55);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Remove the old thick bottom focus line so it matches the socials */
#contact-form .form-control:focus{
  border-bottom: 3px solid transparent;
}

/* Send button: same “social” look */
#contact-form .btn-color2.btn-block{
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.78);
  border-radius: 999px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}

#contact-form .btn-color2.btn-block:hover,
#contact-form .btn-color2.btn-block:focus{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.55);
  color: rgba(0,0,0,0.92);
}


/* add this: modern non-fullscreen frosted modal card */
.portfolio-modal .modal-dialog{
  margin: 90px auto 40px;
  width: min(720px, calc(100% - 40px)); /* smaller card */
}

.portfolio-modal .modal-content{
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 18px;

  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* add this: nicer close button for the new structure */
.portfolio-modal .modern-close{
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 32px;
  opacity: .7;
  z-index: 2;
}
.portfolio-modal .modern-close:hover{ opacity: .95; }

/* add this (if you don't already have it): blurred translucent backdrop */
.modal-backdrop.in{
  opacity: 1;
  background: rgba(0,0,0,0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.portfolio-modal .modal-body{
  padding: 22px 22px; /* keep nice padding for text */
}

/* add this */
.portfolio-modal .modal-body img.img-responsive{
  display: block;
  width: calc(100% + 44px);  /* 22px left + 22px right */
  max-width: none;
  margin: 14px -22px 18px;   /* pull image into the sides */
}

/* add this: modal body with image flush at the top */
.portfolio-modal .modal-body{
  padding: 0 22px 22px; /* remove top padding, keep sides/bottom */
}

/* add this: full-bleed image, flush to the top edge of the card */
.portfolio-modal .modal-body img.img-responsive{
  display: block;
  width: calc(100% + 44px);
  max-width: none;

  margin: 0 -22px 14px;            /* no top margin */
  border-top-left-radius: 18px;     /* match your modal-content radius */
  border-top-right-radius: 18px;
}

/* add this: tighter title spacing under the image */
.portfolio-modal .modal-body h2{
  margin: 8px 0 10px;               /* smaller “around title” spacing */
  font-size: 2.1em;                 /* optional: slightly smaller */
  line-height: 1.15;
}

.portfolio-modal .modal-body p{
  margin-bottom: 14px;
}
.portfolio-modal .modal-body ul{
  margin-top: 8px;
}

/* remove the old full-screen padding so the image can hit the top */
.portfolio-modal .modal-content{
  padding: 0 !important;
  overflow: hidden; /* clips image to rounded corners */
}

/* close button floats over the image */
.portfolio-modal .modern-close{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;

  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;

  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  opacity: 1; /* don’t fade the whole thing */
}
.portfolio-modal .modern-close:hover{
  background: rgba(0,0,0,0.50);
}




/* smooth fade-in once the image reaches the modal */
.modal.shared-transition.shared-ready .modal-dialog,
.modal.shared-transition.shared-transition.shared-ready .modal-content{
  opacity: 1;
  transition: opacity 160ms ease;
}


.portfolio-modal.shared-animating .modal-dialog{
  transform-origin: top left;
  will-change: transform;
  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
}

.portfolio-modal.shared-animating .modal-content{
  will-change: border-radius;
  transition: border-radius 420ms cubic-bezier(.2,.9,.2,1);
}

/* content reveal during the same motion */
.portfolio-modal.shared-animating .modal-body > :not(img.modal-hero){
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.portfolio-modal.shared-animating.shared-opened .modal-body > :not(img.modal-hero){
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

/* disable Bootstrap's default "drop" animation for modals we animate ourselves */
.portfolio-modal.no-bs-drop:not(.shared-animating).modal.fade .modal-dialog{
  transform: none !important;
  transition: none !important;
}

/* prevent the "flash" of the modal at its final position before FLIP starts */
.portfolio-modal.shared-prepare .modal-dialog{
  visibility: hidden;
}

.portfolio-modal.shared-prepare .modal-dialog{
  opacity: 0;
}

/* add this: disable Bootstrap's fade on modals we FLIP-animate */
.portfolio-modal.no-bs-fade.modal.fade{
  opacity: 1 !important;
  transition: none !important;
}



/* slow-motion debugging (toggle by adding class "slowmo" on <body>) */
body.slowmo .portfolio-modal.shared-animating .modal-dialog{
  transition-duration: 1600ms !important;
}

body.slowmo .portfolio-modal.shared-animating .modal-content{
  transition-duration: 1600ms !important;
}

body.slowmo .portfolio-modal.shared-animating .modal-body > :not(img.modal-hero){
  transition-duration: 900ms !important;
  transition-delay: 400ms !important;
}

/* also slow the backdrop fade/appearance so you can see ordering */
body.slowmo .modal-backdrop{
  transition: opacity 1200ms linear !important;
}

/* add this: visualize what appears first */
body.slowmo .modal{
  outline: 3px solid rgba(255,0,0,0.35);
}
body.slowmo .modal-dialog{
  outline: 3px solid rgba(0,255,0,0.35);
}
body.slowmo .modal-content{
  outline: 3px solid rgba(0,0,255,0.35);
}

/* hide the old bootstrap modal markup (we use it as a content source only) */
.portfolio-modal.modal{
  display: none !important;
}

/* page scroll lock while popup is open */
body.popup-open{
  overflow: auto;
}

/* Safari-stable backdrop: blur/tint live on a fixed pseudo-element */
.popup-backdrop{
  position: fixed;
  inset: 0;
  z-index: 4000;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 40px 0;                 /* gives top/bottom breathing room */

  background: transparent;          /* important: no background here */
  opacity: 0;
  transition: opacity 220ms ease;
}

.popup-backdrop.open{
  opacity: 1;
}

.popup-backdrop::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;             /* so backdrop clicks still work */
  background: rgba(0,0,0,0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* modal card */
.popup-card{
  position: relative;
  z-index: 4010;

  width: min(720px, calc(100% - 40px));
  margin: 40px auto 80px;           /* top margin + bottom breathing room */

  max-height: none;
  overflow: visible;

  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 18px;

  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* close button floats over the image */
.popup-close{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;

  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;

  border: 0;
  border-radius: 999px;

  background: rgba(0,0,0,0.35);
  color: #fff;

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  font-size: 28px;
  cursor: pointer;
}

.popup-close:hover{
  background: rgba(0,0,0,0.50);
}

/* content padding (image is full-bleed) */
.popup-body{
  padding: 0 22px 22px;            /* keep sides/bottom padding for text */
}

/* full-width (no side whitespace) hero image */
.popup-body img.modal-hero{
  display: block;
  width: calc(100% + 44px);        /* 22px left + 22px right */
  max-width: none;
  margin: 0 -22px 14px;            /* pull into the sides */
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  height: auto;
}

/* tighten title spacing */
.popup-body h2{
  margin: 8px 0 10px;
  font-size: 2.1em;
  line-height: 1.15;
}

/* reduce big paragraph gaps inside popup */
.popup-body p{
  margin-bottom: 14px;
}

.popup-body ul{
  margin-top: 8px;
}

.treeview{
  max-width: 780px;
  margin: 24px auto 0;
  padding: 0 20px;
}

.tree-root{
  display: flex;
  align-items: flex-start;
  gap: 26px;
}

.tree-node{
  min-width: 220px;
  padding: 16px 18px;
  border: 2px solid rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.65);
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.tree-branches{
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.tree-branches::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(0, 0, 0, 0.25);
}

.tree-branches li{
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 1em;
}

.tree-branches li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: rgba(0, 0, 0, 0.25);
}

.tree-link{
  color: #2b2b2b;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 1px;
}

.tree-link:hover,
.tree-link:focus{
  color: #000;
  text-decoration: none;
  border-bottom-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px){
  .tree-root{
    flex-direction: column;
    gap: 14px;
  }

  .tree-node{
    min-width: 0;
    width: 100%;
  }

  .tree-branches::before{
    left: 6px;
  }

  .tree-branches li{
    padding-left: 30px;
  }

  .tree-branches li::before{
    left: 6px;
    width: 16px;
  }
}
