:root {
    /* Background color of the featured (title) section */
    --featured-bg: #70b9b0;
}

/* ===== General ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #777;
}

a {
    text-decoration: none;
    color: #43aea0;
}

a:hover {
    color: #00d3b8;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-primary {
    font-family: "Lato", sans-serif;
}

section[id] {
    scroll-margin-top: 80px;
}

/* ===== Sections General ===== */
section {
    padding: 60px 0;
}

section.section {
    margin: 0;
    padding: 30px 0 30px 0;
}

.section-bg {
    background-color: #f2f9f8;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: #555;
}

/* ===== Header ===== */
#header {
    height: 80px;
    transition: all 0.5s;
    z-index: 997;
    background: #2d6760;
}

#header.header-scrolled {
    background: #1d443f;
    height: 60px;
}

#main {
    margin-top: 0;
}

/* ===== Navigation Menu (desktop) ===== */
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #d2ece9;
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover>a {
    color: #fff;
}

/* ===== Navigation Menu (mobile) ===== */
.mobile-nav-toggle {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

body.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(7, 56, 57, 0.9);
    transition: 0.3s;
}

body.navbar-mobile .mobile-nav-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
}

body.navbar-mobile .navbar ul {
    display: block;
    position: fixed;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
}

body.navbar-mobile .navbar a {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    color: #073839;
}

body.navbar-mobile .navbar a:hover,
body.navbar-mobile .navbar .active,
body.navbar-mobile .navbar li:hover>a {
    color: #70b9b0;
}

/* ===== Featured section ===== */
section.featured {
    padding: 130px 0 40px;
    background: var(--featured-bg);
    color: #fdfdfd;
}

section.featured h2.slogan {
    color: #fff;
    font-size: 48px;
    font-weight: 900;
}

/* ===== Members / Team ===== */
.member-photo {
    box-sizing: border-box;
    border-radius: 50%;
    margin: 0 0 20px 0;
}

.member-photo img {
    width: 200px;
    border-radius: 50%;
}

.team-detail h4 {
    font-weight: 700;
}

/* ===== Contact ===== */
.contact .info {
    color: #777;
}

.contact .info i {
    font-size: 32px;
    color: #70b9b0;
    float: left;
    line-height: 1;
}

.contact .info p {
    padding: 0 0 10px 42px;
    line-height: 28px;
    font-size: 14px;
}

/* ===== Footer ===== */
#footer {
    background: #073839;
    padding: 30px 0;
    color: #fff;
    font-size: 14px;
}

#footer .copyright {
    text-align: center;
}

/* ===== Back to top button ===== */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #70b9b0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #8bc6bf;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* ===== Utility classes (from the original theme) ===== */
.align-center {
    text-align: center;
}

.mar-top40 {
    margin-top: 40px;
}

.mar-bot40 {
    margin-bottom: 40px;
}