* {
      margin: 0;
      padding: 0;
      font-family: 'Montserrat', sans-serif;
      font-weight: 300;
      letter-spacing: 1px;
}

.header {
    width: 100%;
    height: 100vh; /* Full screen height */
    background-image: linear-gradient(rgba(135, 135, 135, 0.7), rgba(4, 9, 30, 0.7)), url(images/background.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.sub-header {
    width: 100%;
    height: 70vh; /* Full screen height */
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/background.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}


/* ---------- text + logo + link adv-sam ----------*/

.logo-text2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
    cursor: pointer;
}

.logo-img {
    height: 70px;       /* Adjust the size as needed */
    width: auto;
    vertical-align: middle;
}


.logo-name {
    color: white;
    font-size: 17px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 10px;
    font-family: 'Cormorant', serif;
    padding-left: 4px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1px;
    text-decoration: none;
    cursor: pointer;
    padding: 21px 27px;
    border-radius: 8px;
    margin-top: 10px;
}

.logo-link:hover {
    background-color: rgba(255, 255, 255, 0.08); 
}


/* ------------- NAVIGATION STYLES ------------- */

/* === Base nav layout === */
#mainNav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1px 1px;
  background: transparent;
  color: #ffffff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#mainNav.scrolled {
  background-color: rgba(0, 0, 0, 0.90);
  box-shadow: 0 0.5px 10px #4f59ff;
  padding: 5px 0; /* Slightly reduce padding when scrolled */
  transition: all 0.3s ease;
}

#mainNav.scrolled .nav-links {
  padding-top: 1px;
  transform: scale(0.90); /* Slightly less aggressive scale reduction */
}


/* === Logo and name === */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
}

.logo-image {
  height: 13px;
  filter: brightness(1.2);
  transition: filter 0.3s ease;
}

.logo-name {
  font-size: 18px;
  font-weight: bold;
  margin-top: -1px;
  color: #ffffff;
}

/* === Nav Links: Desktop === */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 53px;
  transition: padding 0.3s ease;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 64px;
}

.nav-links ul li {
  position: relative;
}

.nav-links ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 400;
  font-size: 20px
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 1px;
  background: #4f59ff;
  display: block;
  margin: auto;
  transition: 0.4s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

/* === Burger Icon (Hidden on Desktop) === */
.menu-toggle {
  display: none;
  font-size: 25px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

/* === Mobile Styles === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95); /* Dark background for readability */
    width: 100%;
    position: absolute;
    top: 100%; /* Position below the nav bar */
    left: 0;
    padding: 20px 0;
    text-align: center;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  .nav-links ul li {
    margin: 10px 0;
  }

  .nav-links ul li a {
    font-size: 18px;
    padding: 10px 0;
    display: inline-block;
  }
}


/* ------------- TEXT BOX STYLES ------------- */
/* .text-box styles */
.text-box {
  color: #fff;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  top: 50%; /* Positioning the .text-box at 43% from the top */
}

.text-box h1 {
  font-size: 40px;
}

.text-box p {
  margin: 10px 0 10px;
  font-size: 30px;
  color: #fff;
  text-align: center;
  line-height: 1.6;
      letter-spacing: 0.5px;
}


/* ------------- BUTTON STYLES ------------- */
.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff !important;
  border: 1px solid #fff !important;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent !important;
  cursor: pointer;
  transition: 0.3s ease;
}

.hero-btn:hover {
  border: 1px solid #4a90e2 !important;   /* Subtle blue border */
  background-color: #4a90e2 !important;    /* Solid blue background */
  color: #fff !important;                  /* Ensure text stays white */
}


/*----- Vilka är vi? -----*/
.vilkaarvi {
    width: cover;
    text-align: center;
    background-color: #ffffff; /* Bakgrundsfärg för call-to-action-sektionen */
    padding: 22px 1px;
    color: #000000;
}

.vilkaarvi h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
	letter-spacing: 0.5px;
}

.vilkaarvi p {
    color: #000000;
    font-size: 17px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
	font-weight: 600;
	word-break: break-word
}

.vilkaarvi-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.vilkaarvi-col {
  flex: 1 1 45%;
  min-width: 280px;
  max-width: 500px;
  box-sizing: border-box;
}

.containers {
  max-width: 1200px; /* Maximum width for the container */
  margin: 0 auto;
  width: cover; /* Ensure the container is responsive */
}

.team-images {
  display: flex;
  justify-content: center;
  gap: 43px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center; /* This centers all content including text below image */
  text-align: center;
}

.team-photo {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 3%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.team-member p {
  font-weight: bold;
  font-size: 17px;
  text-align: center;
	    letter-spacing: 0.5px;
}

.role, .phone {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.9);
  text-align: center;
  letter-spacing: 0.5px;
}

/* välkomstsektionen */
.welcome-section {
    padding: 60px 20px; 
    background-color: #f9f9f9; 
    text-align: center; 
}

.welcome-container {
    max-width: 800px; /* Begränsar bredden för att göra texten lättare att läsa */
    margin: 0 auto; /* Centrerar behållaren */
}

.welcome-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem; 
    color: #333; 
    margin-bottom: 20px; 
}

.welcome-section p {
    font-family: 'Montserrat', sans-serif; 
    font-size: 1.1rem; 
    line-height: 1.6; /* Bra radavstånd för läsbarhet */
    color: #555; 
    margin-bottom: 25px; 
}

/* Styling för "powerlinks" */
.welcome-section p a {
    color: #007bff; /* Länkfärg */
    text-decoration: none; /* Tar bort understrykningen */
    transition: color 0.3s ease-in-out; /* Mjuk färgövergång */
}

.welcome-section p a:hover {
    color: #0056b3; /* Mörkare blå färg vid hovring */
    text-decoration: underline; /* Lägger tillbaka understrykning vid hovring för tydlighet */
}

/* Anpassning för mindre skärmar */
@media (max-width: 768px) {
    .welcome-section h2 {
        font-size: 2rem;
    }
    .welcome-section p {
        font-size: 1rem;
    }
}

/* ----- Pricing Section ----- */
.pricing-section {
  padding: 4rem 2rem;
  background-color: #d8d8d8;
}

.pricing-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000;
  text-align: center;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 1rem;
  color: #000;
  border-left: 4px solid #4f59ff;
  padding-left: 0.5rem;
}

.pricing-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Hover-effekt */
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Info-sektion under boxarna */
.pricing-info {
  margin-top: 3rem;
}

.pricing-info h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: #000;
}

.pricing-info ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: #000;
  line-height: 1.6;
}

.pricing-info p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #333;
  font-style: italic;
}


/*----- projekt -----*/
/* Projekt-sektion */
.project-section {
  padding: 2rem 2rem;
  background-color: #d8d8d8;
}

.project-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 25px;
  box-shadow: 0 5px 11px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #222;
  border-left: 4px solid #4f59ff;
  padding-left: 0.5rem;
}

.project-card p {
  font-size: 1rem;
  color: #333333;
  line-height: 1.6;
}

/* Hover-effekt */
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #000000;
}

.project-section h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: #000000;
}

.project-section p,
.project-section ul {
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.6;
}

.project-section ul {
  list-style-type: disc;
  padding-left: 2rem;
}


/*----- footer -----*/

.footer {
    width: cover;
    background-color: #ededed;
    padding: 16px;
    color: #000000;
    
    display: flex; /* enables horizontal layout */
    justify-content: center; /* centers items horizontally */
    align-items: center; /* centers items vertically */
    gap: 12px; /* space between each item */
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    text-align: center;
}


.footer h4 {
    font-size: 24px;
	font-weight: 400;
	letter-spacing: 0.5px;
}

.footer p {
    font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.5px;
}

.footer a {
    color: #000000;
    text-decoration: none;
	letter-spacing: 0.5px;
}

.footer a:hover {
    color: #9a9a9a; /* Bright accent color on hover */
}

/*-------- FOOTER 2 -------*/

.footer2 {
    background-color: #5c5c5c; /* Dark background for contrast */
    color: #fff; /* Light text for better readability */
    padding: 10px 10px; /* Increased padding for more space */
    font-family: 'Cormorant', serif;
}

.footer2 .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Added padding for better spacing */
}

.footer2-col {
    flex: 1 1 250px;
    min-width: 200px;
    text-align: left; /* Align content to the left */
    margin-bottom: 10px; /* Added some bottom margin for spacing */
}

/* Container for each section to group the content */
.footer2-box {
    background-color: #5c5c5c; /* Slightly lighter background for the boxes */
    border-radius: 5px; /* Rounded corners for the boxes */
}

/* Styling the headings in each box */
.footer2-box h2 {
    font-size: 16px;
    color: #fff;
    font-weight: 400; /* Stronger emphasis on headings */
    margin-bottom: 1px; /* Reduced space between header and text */
    line-height: 1.6; /* Adjust line-height for better spacing */
    letter-spacing: 0.5px;
    padding-top: 1px
}

/* Styling for the paragraph text */
.footer2-box p,
.footer2-box a {
    font-size: 12px;
    color: #ffffff; /* Light gray for text */
    font-weight: 400;
    text-decoration: none;
    line-height: 0.4; /* Adjusted line-height for better spacing */
    letter-spacing: 0.5px;
}

.footer2-box a {
    padding-left: 10px;
}

.footer2-box a:hover {
    color: #9a9a9a; /* Bright accent color on hover */
}

/* Optional: Add a subtle border above the footer */
.footer2 {
    border-top: 2px solid #444;
}


/* Location section with full-width background */
/* Location section with full-width background */
.location {
    width: 100%;               
    background-color: #d8d8d8; /* Full-width gray background */
    padding: 40px 0;           /* Top/bottom padding */
    box-sizing: border-box;
}

/* Responsive iframe container (framed map) */
.iframe-container {
    position: relative;
    padding-bottom: 56.25%;     /* 16:9 aspect ratio for small screens */
    height: 0;
    overflow: hidden;
    max-width: 800px;           /* Limit width so map is framed */
    margin: 0 auto;             /* Center the framed map */
    background-color: #ffffff;  /* Map “frame” background */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    max-height: 500px;           /* Cap the height for large screens */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Desktop Styles --- */
@media (min-width: 769px) {
    .iframe-container {
        padding-bottom: 35%;     /* Slightly taller map for desktop */
        max-height: 450px;       /* Prevent it from being too tall */
    }
}

/* --- Mobile Styles --- */
@media (max-width: 768px) {
    .iframe-container {
        max-width: 95%;          /* Slightly smaller on small phones */
        margin: 0 auto;
        padding-bottom: 56.25%;  /* 16:9 aspect ratio */
        max-height: none;        /* No height limit on small screens */
    }
}





/* Contact section styling */
.contact-us {
  width: cover;
  margin: auto;
  color: #000000;
  background-color: #f7f7f7;
  padding: 4rem 2rem;
}

.contact-us h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #222;
  font-weight: 600;
  letter-spacing: 1px;
}

.contact-col {
  max-width: 300px;
  margin: auto;
}

.contact-col div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.contact-col div h5 {
  font-size: 1.2rem;
  color: #222;
  font-weight: 500;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
}

.contact-col div h5 i {
  font-size: 1.2rem;
  color: #0077cc; /* Accentfärg */
  margin-right: 10px;
}

.contact-col div p {
  font-size: 1rem;
  color: #444;
  margin: 2px 0;
}


.hero-btn {
    background-color: #ffffff; /* White background */
    color: #674646; /* Black text */
    border: 1px solid #000000; /* Optional: black border */
    padding: 12px 17px;
    text-align: center;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-btn:hover {
    background-color: #000000; /* Black background on hover */
    color: #ffffff; /* White text on hover */
}


/* ===== Resume Section ===== */
.resume-section {
  max-width: 2000px;
  margin: auto;
  padding: 3rem 2rem;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #d8d8d8
}

/* Header med bild + namn */
.resume-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  background-color: white;
  padding: 1rem;
  border-radius: 12px;
}

.resume-image img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #ccc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.resume-intro {
  max-width: 600px;
}

.resume-name {
  font-size: 2.2rem;
  margin: 0;
  color: #000;
}

.resume-title {
  font-size: 1.1rem;
  font-style: italic;
  color: #666;
}

/* Boxar för varje sektion */
.resume-box {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 800;
}

.resume-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.resume-box h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #222;
  border-left: 4px solid #4f59ff;
  padding-left: 0.5rem;
}

.resume-box h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #000;
}

/* Listor */
.resume-box ul {
  padding-left: 1.5rem;
}

.resume-box ul li {
  margin-bottom: 0.5rem;
}

/* Responsiv design */
@media (max-width: 768px) {
  .resume-header {
    flex-direction: column;
    text-align: center;
  }
}




/* För att ge bättre utrymme och ordning på små skärmar */
@media (max-width: 768px) {
    .about-us {
        flex-direction: column; /* Ställer in kolumnerna ovanpå varandra på mobil */
        padding-top: 1px; /* Minska padding för att passa bättre på mobiler */
    }

    .about-col:first-child {
        padding-left: 20px; /* Minska vänsterpadding på små skärmar */
        padding-right: 20px;
    }

    .about-col img {
        margin-top: 20px; /* Ger lite utrymme mellan texten och bilden */
    }
	
	.about-col2 img {
        margin-top: 16px; /* Ger lite utrymme mellan texten och bilden */
    }
}