body {
    overflow-x: hidden;
    font-family: Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #153836;
    background: #ffffff;
}

p {
    font-size: 18px;
    text-align: justify;
    line-height: 1.9;
    color: #23403d;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    color: #1aa99a;
    transition: color 0.25s ease;
}

a:hover {
    color: #0f7e74;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

hr.star-light,
hr.star-primary {
    margin: 25px auto 35px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 4px;
    text-align: center;
}

hr.star-light:after,
hr.star-primary:after {
    content: "\f005";
    display: inline-block;
    position: relative;
    top: -.8em;
    padding: 0 .35em;
    font-family: FontAwesome;
    font-size: 1.8em;
}

hr.star-light {
    border-color: #0B3B39;
}

hr.star-light:after {
    color: #0B3B39;
    background-color: #ffffff;
}

hr.star-primary {
    border-color: #0B3B39;
}

hr.star-primary:after {
    color: #0B3B39;
    background-color: #E0F2F7;
}

/* HEADER */
header {
    text-align: center;
    color: #0B3B39;
    background: linear-gradient(to bottom, #dfeff2 0%, #edf7f6 100%);
}

header .container {
    padding-top: 40px;
    padding-bottom: 45px;
}

.hero-image-wrapper {
    display: inline-block;
    position: relative;
    margin-bottom: 28px;
    cursor: pointer;
}

.hero-project-image {
    display: block;
    margin: 0 auto;
    max-width: 460px;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.hero-project-image:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 36px rgba(0,0,0,0.18);
    filter: brightness(1.02);
}

.image-hint {
    margin-top: 10px;
    font-size: 0.9em;
    color: #4c6a67;
    letter-spacing: 0.4px;
}

header .intro-text {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header .intro-text .name {
    display: block;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 2.3em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 22px;
    color: #0B3B39;
}

header .intro-text .name:after {
    content: "";
    display: block;
    width: 95px;
    height: 3px;
    background: #1aa99a;
    margin: 16px auto 0;
    border-radius: 999px;
}

header .intro-text .name-sub {
    display: block;
    font-size: 1.12em;
    line-height: 1.95;
    margin-bottom: 8px;
    color: #1d3836;
}

header .intro-text .name-sub b {
    color: #0B3B39;
}

@media(min-width:768px) {
    header .container {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    header .intro-text .name {
        font-size: 2.7em;
    }

    header .intro-text .name-sub {
        font-size: 1.18em;
    }
}

/* NAVBAR */
.navbar {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.navbar-default,
.navbar-inverse {
    border: 0;
    background-color: #0B4A46;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-nav > li > a {
    color: #ffffff !important;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-brand:hover {
    color: #c9f1eb !important;
}

.navbar .navbar-nav {
    letter-spacing: 1px;
}

/* SECTIONS */
section {
    padding: 70px 0;
}

section h2 {
    margin: 0;
    font-size: 2.4em;
    color: #0B3B39;
}

section.success {
    color: #0B3B39;
    background: #E0F2F7;
}

/* UPDATES IMAGE */
.update-image {
    margin-top: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-image:hover {
    transform: scale(1.01);
    box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

/* PEOPLE / GENERAL TEXT */
.general-text {
    font-size: 18px;
    line-height: 1.8;
    color: #1f3a38;
}

#people p,
#update,
#publication,
#about,
#contact {
    color: #1f3a38;
}

/* FOOTER */
footer {
    color: #0B3B39;
}

footer h3 {
    margin-bottom: 24px;
}

footer .footer-above {
    padding-top: 50px;
    background: #f8fbfb;
}

footer .footer-below {
    padding: 22px 0;
    background-color: #0B3B39;
    color: #ffffff;
}

footer .footer-below a {
    color: #c6f0ea;
}

.btn-social {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #0B3B39;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 45px;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: #0B3B39;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* MODAL */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(7, 23, 22, 0.92);
    backdrop-filter: blur(3px);
}

.custom-modal-content {
    display: block;
    margin: auto;
    max-width: 88%;
    max-height: 84vh;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    animation: modalZoom 0.28s ease;
}

.custom-modal-close {
    position: absolute;
    top: 20px;
    right: 32px;
    color: #ffffff;
    font-size: 42px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}

.custom-modal-close:hover {
    color: #7fe0d1;
    transform: scale(1.08);
}

@keyframes modalZoom {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media(max-width:767px) {
    section {
        padding: 55px 0;
    }

    section.first {
        padding-top: 55px;
    }

    header .intro-text .name {
        font-size: 1.8em;
    }

    header .intro-text .name-sub {
        font-size: 1em;
        line-height: 1.8;
    }

    .hero-project-image {
        max-width: 92%;
    }

    .custom-modal-content {
        max-width: 94%;
    }

    .custom-modal-close {
        right: 20px;
        top: 14px;
        font-size: 36px;
    }
}


