@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: local(""), url("../assets/fonts/Roboto-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("../assets/fonts/Roboto-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: local(""), url("../assets/fonts/Roboto-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: local(""), url("../assets/fonts/Roboto-Black.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("../assets/fonts/Montserrat-Regular") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: local(""), url("../assets/fonts/Montserrat-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: local(""), url("../assets/fonts/Montserrat-Black.ttf") format("truetype");
}

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --background-color: #f4f7f6;
  --card-background-color: #ffffff;
  --text-color: #34495e;
  --light-text-color: #ecf0f1;
  --border-color: #dfe6e9;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.sidebar {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  margin-bottom: 20px;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid var(--secondary-color);
  object-fit: cover;
  margin-bottom: 15px;
}

.profile h1 {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 5px;
  color: var(--card-background-color);
}

.profile .tagline {
  font-weight: 300;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.company-info {
  font-size: 0.9em;
  opacity: 0.8;
  margin-bottom: 20px;
}

.contact-info h3 {
  font-family: "Montserrat", sans-serif;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
  margin-bottom: 15px;
  display: inline-block;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
  margin-bottom: 20px;
}

.contact-info li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: var(--secondary-color);
  margin-right: 15px;
  width: 20px;
  text-align: center;
}

.contact-info a {
  color: var(--light-text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--secondary-color);
}

.social-links a {
  color: var(--light-text-color);
  font-size: 2em;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary-color);
}

.main-content {
  flex: 3;
}

.card {
  background: var(--card-background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 20px;
}

.card h2 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.service-item,
.project-item {
  margin-bottom: 20px;
}

.service-item:last-child,
.project-item:last-child {
  margin-bottom: 0;
}

.service-item h3,
.project-item h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
}

.project-item p {
  margin-bottom: 10px;
}

.project-item p strong {
  color: var(--primary-color);
}

@media (min-width: 1024px) {
  .container {
    flex-direction: row;
    align-items: flex-start;
  }

  .sidebar {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 0;
    position: sticky;
    top: 20px;
  }

  .main-content {
    flex: 2.5;
  }
}

.testimonial-item {
  text-align: left;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.testimonial-item:first-child {
  border-top: none;
  padding-top: 0;
}

.testimonial-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-align: center;
}

.testimonial-logo {
  width: 350px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 15px;
}

.testimonial-logo.kaastrup-logo {
  border-radius: var(--border-radius);
}

.testimonial-name {
  margin: 0;
  color: var(--text-color);
  font-size: 1.2em;
}

.testimonial-content {
  padding-left: 5px;
}

.testimonial-content h4 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary-color);
  margin-top: 10px;
}

.testimonial-content p {
  margin-bottom: 12px;
}

.testimonial-date {
  font-style: italic;
  color: #6c757d;
  text-align: right;
}

.testimonial-signature {
  margin-top: 15px;
  padding-left: 10px;
  border-left: 3px solid var(--secondary-color);
}

@media (min-width: 768px) {
  .testimonial-header {
    flex-direction: row;
    text-align: left;
  }

  .testimonial-logo {
    width: 400px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0;
    margin-right: 20px;
  }
}
