/*
 
@media voor mobile & tablet
 
*/
 
:root {
  --primary-color: #306d9f;
  --secondary-color: #8ebf42;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-overlay: rgba(48, 109, 159, 0.8);
  --bg-overlay-scrolled: rgba(48, 109, 159, 1);
  --transition-speed: 0.3s;
}
 
html, body {
  height: 100%;
  width: 100%;
  font-family: 'Scope One', serif;
  color: var(--text-dark);
}
 
.bodySmall {
  height: 90%;
}
 
.bodyTeam {
  /* width: 2000px; */
}
 
.pad-section {
  padding: 50px 0;
}
 
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}
 
@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
 
@media (min-width: 992px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
 
.expertise-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  padding: 20px;
}
 
.expertise-card .card-icon {
  margin-bottom: 15px;
  font-size: 2.5rem;
  color: var(--primary-color);
  display: block;
}
 
.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}
 
.expertise-card h4 {
  margin: 0 0 15px 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.bodyTeam .media {
 background: #ffffff;
 border: 1px solid #e9ecef;
 border-radius: 12px;
 transition: all 0.3s ease;
 box-shadow: 0 4px 6px rgba(0,0,0,0.05);
 padding: 20px;
}

.bodyTeam .media:hover {
 transform: translateY(-8px);
 box-shadow: 0 12px 24px rgba(0,0,0,0.1);
 border-color: var(--primary-color);
}
 
.expertise-card p {
  font-size: 1.35rem;
  margin: 0;
  color: #555;
  line-height: 1.6;
}
.pad-section img {
  width: 100%;
}
 
/* unvisited link 
a:link {
  color: #ccc;
}*/
 
/* visited link 
a:visited {
  color: #095484;
}*/
 
/* mouse over link */
a:hover {
  text-decoration: none;
  /*color: #8ebf42;*/
}
/* selected link 
a:active {
  color: #800000;
}*/
 
.footerlink:link{
  color: #8ebf42;
}
.footerlink:visited{
  color: #8ebf42;
}
.footerlink:hover{
  color: white;
}
.footerlink:active{
  color: white;
}
 
#navbar-collapse-main{
    text-align: center;
}
 
#navbar-collapse-main > ul{
    text-align: center;
    display:inline-block;
    float: none;
    color: white;
}
 
.nav.navbar-nav li a {
    color: #ffffff !important;
    font-size: 18px;
    display: inline-block;
    padding: 0 20px;
    height: 100%;
    line-height: 49px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px 5px 0 0;
    box-shadow: 0 -3px 6px rgba(0,0,0,0.3);
    margin-bottom: -1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.nav.navbar-nav li a:hover:not(.active-nav) {
    background-color: rgba(255, 255, 255, 0.25);
}

.nav.navbar-nav li a.active-nav {
    background-color: rgba(255, 255, 255, 0.3);
    cursor: default;
}

.nav.navbar-nav li a.active-nav:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.navbar {
  border: none;
  background-color: var(--bg-overlay);
  border-bottom: 1px solid grey;
  transition: background-color var(--transition-speed) ease-in-out, border-color var(--transition-speed) ease-in-out;
}
 
.navbar.scrolled {
  background-color: var(--bg-overlay-scrolled);
}
 
/* vertical-centered text */
.text-vcenter {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
.text-vcenter h1 {
  font-size: 3em;
  font-weight: 700;
  /* margin: 0; */
  /* padding: 0; */
  color: white;
  /* padding-top: 5%; */
}
 
/* additional sections */
#home {
  background: url(../images/office_outside.jpg) no-repeat center center fixed;
  display: table;
  height: 100%;
  position: relative;
  width: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
 
#buttonDiv{
  padding-top: 150px;
  margin-top: 50px;
}
 
#domeinButton{
  width: 25%;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  color: #306d9f;
  text-align: center;
}
 
#kantoorButton{
  width: 25%;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  color: #306d9f;
  text-align: center;
  margin-top: 15px;
}
 
#teamButton{
  width: 25%;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  color: #306d9f;
  text-align: center;
  margin-bottom: 10px;
}
 
#contactButton{
  width: 10%;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  color: #306d9f;
  text-align: center;
  margin-top: 15px;
}
#services {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}
 
#contact {
  background-color: white;
  text-align: center;
  color: var(--primary-color);
}
 
#contact hr {
  border-color: var(--primary-color);
}
 
#services .glyphicon {
  border: 2px solid var(--text-light);
  border-radius: 50%;
  display: inline-block;
  font-size: 60px;
  height: 140px;
  line-height: 140px;
  text-align: center;
  vertical-align: middle;
  width: 140px;
}
 
#team {
  background: url(../images/office2.jpg) no-repeat center center fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 800px;
  position: relative;
  width: 100%;
  background-size: cover;
}
 
#team .panel {
  opacity: 0.85;
}
 
#domeinButton:hover{
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 1px solid white;
}
 
#teamButton:hover{
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 1px solid white;
}
 
#kantoorButton:hover{
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 1px solid white;
}
 
#contactButton:hover{
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 1px solid white;
}
 
#teamDiv{
  width: 65%;
  margin: auto;
  text-align: center;
}
 
#teamMembers{
  display: none;
}
 
footer {
  background-color: #306d9f;
  color: #ffffff;
  text-align: center;
}
footer .glyphicon {
  color: #333333;
  font-size: 60px;
}
footer .glyphicon:hover {
  color: #306d9f;
}
 
div {
  @include fluid-type(font-size, 600px, 1200px, 16px, 32px);
}
@media screen and (max-width: 600px) {
  div {
     font-size: 16px;
  }
}
@media screen and (min-width: 1200px) {
  div {
     font-size: 14px;
  }
}

.news-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.news-card img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.news-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.news-card p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-color);
}
