/* Header */
* {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    box-sizing: border-box;
    background-color: white;
}

.web {
    width: 100%;
    background-color: rgb(232, 232, 232);
    background-position: left;
}

nav { /*navigation*/
    width: 100%;
    margin: auto;
    display: flex;
    line-height: 1px;
    position: fixed;
    top: 0;
    background: #f7f7f7;
    z-index: 1;
    border-bottom: 1px solid #f7f7f7;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    background-color: rgb(232, 232, 232);
}

.menu {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-left: 50px;
    background-color: rgb(232, 232, 232);
}

.logo {
    cursor: pointer;
    width: 400px; /* Adjust width as needed */
    height: auto; /* Ensure height adjusts proportionally */
    display: block; /* Ensure it's treated as a block-level element */
    background-color: rgb(232, 232, 232);
}


nav ul {
    list-style: none;
    display: flex;
    margin-left: auto;
    font-size: 1em;
    padding-right: 10px;
    background-color: rgb(232, 232, 232);
}

nav ul li {
    margin: 0 30px;
    background-color: rgb(232, 232, 232);
}

nav ul li a {
    color: rgb(55, 55, 59);
    text-decoration: none;
    background-color: rgb(232, 232, 232);
}

nav ul li a:hover {
    text-decoration: underline;
}
.wrapper {
    margin-top: 0px;
    padding: 10px;
    font-family: 'Arial', sans-serif; /* Ensure all text within wrapper uses Arial */
}





body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Styling for background image */
body {
    background-image: url('assets/New NSSI Website/pictures/.jpg'); /* Replace 'background.jpg' with your actual background image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100%;
}

/* Styling for slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.slides {
    display: none;
}

.slides img,
.slides video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styling for fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}





/* Optional: Center content in column */
.column {
    text-align: center;
    color: white;
    font-family: 'Arial', sans-serif;
}
.h3{
    text-align: center;
}


.description {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Center align text */
.center {
    text-align: center;
    color: black;
}

/* Policy and Careers list styling */
.POLICY-list,
.CAREERS-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.POLICY-card,
.CAREERS-card {
    background: rgba(25, 25, 112, 0.8);
    border-radius: 5px;
    margin: 20px;
    padding: 8px;
    width: calc(25% - 40px);
    box-shadow: 2px 4px rgba(25, 25, 112, 0.8);
}
.POLICY-card img,
.CAREERS-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Clock wrapper and container styles */
.clock-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
}
.clock-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.analog-clock {
    position: relative;
    width: 200px;
    height: 200px;
    border: 5px solid navy;
    border-radius: 60%;
    margin-bottom: 20px;
}
.hand {
    position: absolute;
    width: 50%;
    height: 2px;
    background: darkgray;
    top: 50%;
    transform-origin: 100%;
    transform: rotate(90deg);
    transition: transform 0.5s ease-in-out;
}
.second-hand {
    background: BLACK;
}
.digital-clock {
    font-size: 30px;
}

a.tbl-biru {
    background: rgb(232, 232, 232);
    border-radius: 10px;
    margin-top: 200px; 
    padding: 10px 15px 10px 15px;
    color: rgb(55, 55, 59);
    cursor: pointer;
    font-weight: bold;
    font-family: 'Public Sans', sans-serif;
}

a.tbl-biru:hover {
    background: rgb(3, 2, 80);
    text-decoration: none;
    color: aliceblue;
}


/* ABOUT US PICTURE */

#about-section h2 {
    font-size: 4em;
    margin-bottom: 40px;
    margin-top: 100px;
    background-image: url('assets/New NSSI Website/pictures/Nobjorn.jpg'); 
    width: 100%;
    line-height: 100%;
    text-align: left center;
    background-size: cover;
    background-position: left center;
    color: white; 
    display: inline-block;
    padding: 150px;
    padding-left: 80px;
    box-sizing: border-box; 
    background-color: white;
    z-index: 1;
}

/* Label and text styles within the about section */
.label {
    font-size: 2em;
    margin: 0px 80px;
    color: midnightblue;
}

.about-text {
    font-size: 1.2em;
    line-height: 1.2;
    margin: 0px 80px;
    color: black;
}

.hns {
    font-size: 1.2em;
    line-height: 1.2;
    margin: 0px 80px;
    color: black;
}

.spaced {
    margin-top: 20px;
    color: black;
    margin-bottom: 50px;
}




/* Mission */

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

.text-container {
    display: flex;
    flex-direction: column;
}

.mission-title {
    font-size: 2.5em; /* Increase font size */
    font-weight: bold; /* Make text bold */
    color: midnightblue;
    margin: 0 0 20px 0; /* Add bottom margin to create space between h4 and mission-text */
    padding-left: 20px;
}

.about-pic {
    max-width: 100%;
    height: 570px;
}

.mission-text {
    font-size: 1.5em;
    line-height: 2em; /* Adjust line-height for better readability */
    color: black;
    margin-top: 20px; /* Optional: Additional spacing if needed */
    margin-right: 50px;
    padding-left: 20px;
    text-align: justify;
    text-indent: 40px;
}




/* Vision */

.spaced2 {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    justify-content: center; /* Center content horizontally */
}

.text-container1 {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%; /* Ensure text-container1 takes full available width */
    text-align: center; /* Center text horizontally */
}

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

.about-pic1 {
    max-width: 100%;
    height: 570px;
}

.vision-text {
    font-size: 1.5em;
    line-height: 1.2em; /* Adjust line-height for better readability */
    color: black;
    margin-top: 20px; /* Add margin to create space below the h4 */
    text-align: justify;
    padding-left: 40px;
    padding-right: 40px;
    text-indent: 40px;
}

.icon-text {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: left; /* Align items to the start (left) */
    justify-content: left;
    margin-top: 50px; /* Adjust margin as needed */
    padding-left: 20px;
    font-size: 1.5em;
}

.icon-item {
    display: flex; /* Ensures icon and text are in a row */
    align-items: center; /* Center items vertically */
    justify-content: left;
    margin-bottom: 20px; /* Space between each icon-text pair */
    margin-right: 20px;
    margin-left: 30px;
}

.icon-item i {
    font-size: 1.5em; /* Adjust icon size */
    justify-content: left;
    align-items: center;
    padding-right: 10px;
}



/* Port Agency */

h6 { 
    font-family: 'Public Sans', sans-serif;
    font-weight: bold;
    font-size: 3.5em;
    text-indent: 3%;
    color: rgb(255, 255, 255);
    width: 97%;
    margin-top: 20px;
    line-height: 80px;
    margin-left: 30px;
    margin-right: 100px;
    text-align: left;
    background: #010192da;
}

.main-content {
    width: 100%; 
    font-size: 1.70em;
    padding: 20px; /* Add padding for better spacing */
    text-align: center; /* Align text to the center */
}

.content-container {
    display: flex;
    flex-direction: row; /* Align items in a row */
    justify-content: flex-start; /* Align items to the start */
    align-items: flex-start; /* Align items to the start vertically */
    width: 100%;
    padding-top: 20px;
    padding-left: 50px;
}

.left-side {
    width: 60%; 
    max-width: 800px;
    padding-right: 20px; /* Add space between text and image */
    text-align: left; /* Align text to the left */
    font-size: 1.2em;
    line-height: 1.6; /* Adjust line height for better readability */
}

.left-side p {
    margin-bottom: 0; /* Remove default margin */
    padding-bottom: 0.3em; /* Add padding to simulate bottom margin */
    line-height: 1.6; /* Match line height with parent container */
}

.port-container {
    width: 100%; 
    max-width: 800px;
}

.port-container img {
    width: 100%; /* Make the image responsive */
    height: 700px; /* Maintain aspect ratio */
    margin-bottom: 30px;
}

.port-agency-text p {
    margin-bottom: 50px; /* Remove default margins for <p> */
}



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

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



      /* FOOTER LIST */

      .footer {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        max-width: 120px;
        background-color: rgb(226, 225, 225);    
      }
      
    
    .footer-content {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding-left: 100%;
        background-color: rgb(226, 225, 225);    
      }
    
    .footer-section {
      margin-left: 10px;
      margin-right: 50px;
      background-color: rgb(226, 225, 225);    
      cursor: pointer;
        color: black;
    }
    
    .footer-section h3 {
        margin-bottom: 40px;
        white-space: nowrap;
        background-color: rgb(226, 225, 225);    
        color: black;
    }
    
    .footer-section p {
      margin-bottom: 5px;
      white-space: nowrap;
      color: black;
      background-color: rgb(226, 225, 225);    
    }
    .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(226, 225, 225);    
      }
    


    /* 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(226, 225, 225);    
        color: black;
        padding: 5px 0px; 
        max-width: 100%;
      }
      
      
      .footer-section a:hover {
        text-decoration: underline;
        background-color: rgb(226, 225, 225);    
      }
      
      #Copyright {
        background-color: rgb(226, 225, 225);    
        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 */
        }
    }



