* {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
  }
  
  body {
    height: 100vh;
    background-color: white;
    background-size: cover;
    background-position: center;
    margin: 0; /* Ensure no default body margin */
  }
  
  /* Header styles */
  .web {
    width: 100%;
    background-color: white;
    background-position: left; /* Ensuring background position */
  }
  
  nav {
    width: 100%;
    margin: auto;
    display: flex;
    position: relative;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid #f7f7f7;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    background-color: rgb(238, 238, 238);    
}
  
  .menu {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-left: 50px;
    background-color: rgb(238, 238, 238);    
}
  
  .logo {
    cursor: pointer;
    width: 400px; /* Adjusted width */
    height: 120px; /* Adjusted height */
    display: block; /* Ensure it's treated as a block-level element */
    background-color: rgb(238, 238, 238);    
}
  
  nav ul {
    list-style: none;
    display: flex;
    margin-left: auto;
    margin-right: 5%;
    font-size: 1em;
    background-color: rgb(238, 238, 238);    
}
  
  nav ul li {
    position: relative; /* Ensure dropdown positioning */
    margin: 0 30px;
    background-color: rgb(238, 238, 238);    
    z-index: 1; /* Ensure main navigation items are behind submenu */
    padding: 45px 15px; /* Adjust padding for main navigation items */
    display: block;
    height: 120px;
  }
  
  nav ul li a {
    color: rgb(55, 55, 59);
    text-decoration: none;
    display: block; /* Make the entire area clickable */
  }
  
  nav ul li a:hover {
    text-decoration: none;
    color: rgb(2, 0, 143);
  }
  
  /* Submenu styles */
  nav ul li .submenu {
    display: none;
    position: absolute;
    background-color: white;
    z-index: 2; /* Ensure submenu appears above main navigation items */
    width: 200px; /* Example width; adjust based on your content */
    margin-top: 50px; /* Adjust as needed for spacing */
    padding: 0; /* Reset padding for submenu */
    left: 0; /* Align submenu to the left */
  }
  
  nav ul li:hover .submenu {
    display: block;
  }
  
  nav ul li .submenu li {
    text-align: left; /* Ensure submenu items are aligned to the left */
    background-color: rgb(238, 238, 238);    
    margin: 0;
  }
  
  nav ul li .submenu a {
    text-decoration: none;
    margin: 0;
    background-color: rgb(238, 238, 238);    
}
  
  nav ul li .submenu a:hover {
    text-decoration: underline;
    margin: 0;
  }
  
  /* Toggle Button */
  .toggle_btn {
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgb(238, 238, 238);    
}
  
  .toggle_btn:hover {
    background-color: #e0e0e0; /* Background color on hover */
  }
  
  @media (max-width: 768px) {
    .toggle_btn {
        display: flex; /* Show toggle button on smaller screens */
    }
  
    nav ul {
        display: none; /* Hide the menu initially */
        flex-direction: column; /* Stack the menu items vertically */
        width: 100%; /* Full width */
        background-color: rgb(238, 238, 238);    
        position: absolute;
        top: 100px; /* Position below the navbar */
        left: 0;
        padding: 0;
    }
  
    nav ul.show {
        display: flex; /* Show the menu when the toggle button is clicked */
    }
  
    nav ul li {
        width: 100%;
        text-align: center;
        margin: 0; /* Remove margin for list items */
        padding-top: 50px; /* Add padding for better spacing */
        
    }
  
    nav ul li a {
        width: 100%;
        display: block;
        padding: 10px 0;
    }
  }






/* MISSION VISION PICTURE */

section {
    display: flex;
    position: relative;
    background-color: white;
}

#missionvision-section h2 {
    font-size: 4em;
    margin-bottom: 10px;
    background-image: url('/pictures/norbjorn1.jpg'); 
    width: 100%;
    line-height: 5%; /* This should be adjusted based on your design */
    text-align: left; /* Center text horizontally */
    background-size: cover;
    background-position: left center;
    color: white; 
    padding: 150px 80px; /* Adjust padding as per your design */
    box-sizing: border-box; 
    background-color: white;
    z-index: 1;
}

/* Mission and Vision */
.spaced1,
.spaced2 {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 20px; /* Add space between image and text */
}

.spaced2 {
    justify-content: flex-end; /* Align items to the end (right side) */
    align-items: flex-start; /* Align items to the top */
}

.text-container1,
.text-container2 {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 50%; /* Adjust width for half of the parent container */
    text-align: justify; /* Justify text */
}

.mission-title,
.mission-title1 {
    font-size: 2.5em; /* Increase font size */
    font-weight: bold; /* Make text bold */
    color: midnightblue;
    text-align: center;
    margin-top: 20px;
}

.about-pic,
.about-pic1 {
    max-width: 100%;
    height: 470px; /* Adjust height as needed */
}

.mission-text,
.vision-text {
    font-size: 1em;
    line-height: 1.2em; /* Adjust line-height for better readability */
    color: black;
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
    text-indent: 40px;
}

.icon-text {
    font-size: 1em;
    text-align: center; /* Align text to the left */
    padding-left: 50px;
    margin-top: 20px; /* Add margin at the top for spacing */
}

.icon-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Add margin at the bottom for spacing between items */
}

.icon-item i {
    font-size: 2em; /* Adjust icon size as needed */
    padding-bottom: 10px;
    margin-right: 10px; /* Add spacing between icon and text */
}

.icon-item span {
    font-size: 1em; /* Adjust font size for text */
    color: black; /* Ensure text color is defined */
}




/* Media query for smaller screens */
@media (max-width: 768px) {
    section {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }

    #missionvision-section h2 {
        line-height: 10%; /* Adjust line-height for smaller screens */
        text-align: left; /* Center text horizontally */
        font-size: 2em;
        padding: 100px 40px; /* Adjust padding for smaller screens */
    }

    .spaced1 {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items horizontally */
        text-align: center; /* Center align text */
    }

    .about-pic {
        max-width: 100%;
        height: auto; /* Adjust height to maintain aspect ratio */
        margin-top: 20px; /* Add margin above the image */
        margin-bottom: 20px; /* Add margin below the image */
    }

    .spaced2 {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items horizontally */
        text-align: center; /* Center align text */
    }

    .about-pic1 {
        max-width: 100%;
        height: auto; /* Adjust height to maintain aspect ratio */
        margin-top: 20px; /* Add margin above the image */
        margin-bottom: 20px; /* Add margin below the image */
    }

    .mission-text,
    .vision-text {
        font-size: 1.2em; /* Adjust font size for readability */
        line-height: 1.6em; /* Adjust line height */
        padding-left: 20px;
        padding-right: 20px;
    }

    .icon-text {
        text-align: left; /* Align text to the left */
        padding-left: 20px; /* Adjust padding for smaller screens */
        margin-top: 20px; /* Add margin at the top for spacing */
    }
}





/* Footer Section */
#below {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 1px;
    background-color: rgb(238, 238, 238);    
  }
  
/* Footer Logo */

.logo1 {
    cursor: pointer;
    width: 300px;
    height: 100px;
    display: block; /* Ensure it's treated as a block-level element */
    background-color: rgb(238, 238, 238);    
  }



  /* FOOTER LIST */

  .footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 120px;
    background-color: rgb(238, 238, 238);    
  }
  

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-left: 100%;
    background-color: rgb(238, 238, 238);    
  }

.footer-section {
  margin-left: 10px;
  margin-right: 50px;
  background-color: rgb(238, 238, 238);    
  cursor: pointer;
    color: black;
}

.footer-section h3 {
    margin-bottom: 40px;
    white-space: nowrap;
    background-color: rgb(238, 238, 238);    
    color: black;
}

.footer-section p {
  margin-bottom: 5px;
  white-space: nowrap;
  color: black;
  background-color: rgb(238, 238, 238);    
}
.footer-section ul {
    list-style: none; /* Remove default list style (bullets) */
    padding: 0; /* Remove default padding */
}

.footer-section ul li {
    margin-bottom: 10px; /* Add space below each list item */
}

.footer-section ul li a {
    text-decoration: none;
    color: black;
    display: block;
    padding: 5px 0; /* Adjust padding as needed */
}

.footer-section a:hover {
    text-decoration: underline;
    background-color: rgb(238, 238, 238);    
  }



/* Media query for smaller screens */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to the start */
    }

    .footer-section {
        margin-right: 0; /* Remove margin to stack items */
        margin-bottom: 20px; /* Add space between items */
        width: 100%; /* Full width */
    }

    .footer-section h3 {
        margin-bottom: 10px; /* Adjust margin */
    }
}
  
  .left-img {
    width: 100%;
    height: 100px;
    margin-top: 50px;
    margin-left: 50px;
    cursor: pointer;
  }
  
  
  
  /* Apply background color to all anchor elements */
  .footer-section a {
    text-decoration: none;
    background-color: rgb(238, 238, 238);    
    color: black;
    padding: 5px 0px; 
    max-width: 100%;
  }
  
  
  .footer-section a:hover {
    text-decoration: underline;
    background-color: rgb(238, 238, 238);    
  }
  
  #Copyright {
    background-color: rgb(238, 238, 238);    
    padding: 20px 0; /* Add padding for spacing */
    padding-left: 500px; /* Adjust left padding for larger screens */
    text-align: center; /* Center align text */
}

/* Media query for responsive alignment */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer .footer-content {
        padding-left: 0;
        padding-top: 20px; /* Adjust as needed */
      }

    .footer-section {
        margin-right: 0;
    }

    .footer-section h3 {
        margin-bottom: 20px; /* Adjust as needed */
    }

    #Copyright {
        text-align: left; /* Align left on smaller screens */
        padding: 20px; /* Add padding for spacing */
        padding-left: 20px; /* Adjust left padding for smaller screens */
    }

    .fab.fa-facebook.fa-2x {
        margin-left: auto; /* Align to the right on smaller screens */
        margin-right: auto; /* Align to the left on smaller screens */
        padding-left: 0; /* Remove left padding on smaller screens */
        display: block; /* Display as block element */
        margin-top: 10px; /* Adjust spacing between icon and text */
        text-align: center; /* Center align icon */
    }
}

@media (min-width: 769px) {
    /* Larger screens */
    .fab.fa-facebook.fa-2x {
        margin-left: 250px; /* Adjust spacing between icon and text */
        padding-left: 200px; /* Add padding to separate from the line */
    }
}









