/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "montserrat", sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* header */

/* Header styles */
header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.5s ease;
    font-family: "montserrat", sans-serif;
    height: 71.19px;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 71.19px;
}

.sticky.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
}

header .container {
    display: flex;
    align-items: center;
    width: 100%;
}

header .logo {
    display: flex;
    align-items: center;
    margin-right: 70px;
}

header .logo img {
    height: 40px;
}

/* Navigation menu for desktop */
nav ul {
    list-style: none;
    display: flex;
    align-items: center; /* Ensure text aligns with logo */
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px; /* Adjust spacing between nav items */
}

nav ul li:first-child {
    margin-left: 0; /* Remove left margin for the first item */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    line-height: 40px; /* Matches the height of the logo */
}

/* Hamburger Button for Mobile */
.navbar-toggler {
    background-color: #33333300;
    color: white;
    padding: 10px;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 2000;
    border-radius: 5px;
    display: none; /* hide hamburger button */
}

/* main */
.main-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-title {
    font-weight: bold;
    align-items: center;
    text-align: center;
    padding: 30px 30px;
    font-size: 20px;
}

.produk {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    margin-top: 100px;
    margin-bottom: 100px;
}

.CEO {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
    justify-content: center;
}

.TIM_LEGAL {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
}

.sekretaris {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
}

.staff {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
}

h1 {
    text-align: center;
    color: #000000;
    padding: 20px 10px;
}
.team-section1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.team-card1 {
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    text-align: center;
    max-width: 600px; /* Ubah ukuran sesuai kebutuhan */
}
.team-card2 {
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    text-align: center;
    max-width: 600px; /* Ubah ukuran sesuai kebutuhan */
}
.team-card3 {
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    text-align: center;
    max-width: 600px; /* Ubah ukuran sesuai kebutuhan */
}
.team-card4 {
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    text-align: center;
}
.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.team-card h3 {
    margin: 10px 0;
}

.team-section2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.team-card {
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    text-align: center;
}

.description {
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.team-card h3 {
    margin: 10px 0;
}

.team-section3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.team-card {
    background-color: #fffcf0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    text-align: center;
}
.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.team-card h3 {
    margin: 10px 0;
}

.team-section4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.team-card {
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    text-align: center;
}
.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.team-card h3 {
    margin: 10px 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .team-card {
        flex: 1 1 calc(50% - 20px); /* Two columns on tablets */
        max-width: 100%; /* Allow full width within container */
    }
}

@media (max-width: 768px) {
    .team-card {
        flex: 1 1 calc(100% - 20px); /* One column on mobile devices */
        max-width: 100%; /* Allow full width within container */
    }

    .profile-header {
        flex-direction: column; /* Stack the profile header items */
        text-align: center;
    }

    .profile-header h1 {
        font-size: 18px;
    }

    h1,
    h3,
    .section-title {
        font-size: 18px; /* Adjust heading sizes for smaller screens */
    }

    .team-card img {
        width: 80px;
        height: 80px; /* Adjust image size for smaller screens */
    }
}

@media (max-width: 480px) {
    .team-card {
        flex: 1 1 100%; /* Full width on very small mobile devices */
    }

    .team-card img {
        width: 60px;
        height: 60px; /* Adjust image size further for very small screens */
    }

    .team-card h3 {
        font-size: 14px; /* Adjust font size for small screens */
    }

    .section-title {
        font-size: 16px; /* Smaller titles for mobile */
    }
}

/* footer */
/* Footer styles */
footer {
    background: #f0ede0;
    padding: 5px 20px; /* Adjust padding to make background smaller */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
}

.footer-section {
    width: 23%;
    padding: 0px; /* Reduce padding */
    margin-bottom: 8px; /* Reduce margin-bottom */
    position: relative;
}

.footer-section.hubungi-kami {
    margin-right: 10px; /* Mengurangi margin di antara mereka */
}

.footer-section h2 {
    font-family: "roboto", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin-bottom: 8px; /* Reduce margin-bottom */
    position: relative;
}

.footer-section p,
.footer-section a {
    /* font-weight: 500; */
    font-size: 14px;
    line-height: 20px; /* Reduce line-height */
    color: #000000;
    margin: 0 0 8px 0; /* Reduce margin */
}

.footer-section a {
    text-decoration: none;
    color: #000000;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section .social-media {
    display: flex;
    justify-content: flex-start;
    gap: 5px; /* Reduce gap */
}

.social-icon {
    width: 24px;
    height: 24px;
    background-size: cover;
}

.hubungi-kami-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 11px; /* Reduce margin-right */
}

.footer-underline {
    border-bottom: 2px solid #000000;
    width: 100%;
    margin: 10px 0; /* Reduce margin */
}

.footer-underline-short {
    border-bottom: 2px solid #000000;
    width: 100%;
    margin: 10px 0; /* Reduce margin */
}

.logos {
    display: flex;
    gap: 10px; /* Reduce gap */
    justify-content: right;
    align-items: center;
    width: 100%;
}

.logos img {
    width: 40px; /* Default size for other logos */
    height: auto;
    display: inline-block;
}

.logos img.peradi {
    width: 80px; /* Larger size for PERADI logo */
}

.footer-section img.logo {
    display: block;
    margin-top: 20px;
    width: 180px; /* Adjust size as needed */
}

/*Header Mobile styles */
@media (max-width: 1024px) {
    /* Show the hamburger button */
    .navbar-toggler {
        display: block;
        background-color: #33333300;
        color: white;
        border-radius: 5px;
    }

    /* Hide the navbar menu initially on mobile */
    #navbar-menu {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95); /* Covers the full page */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0; /* Ensures it covers the whole height */
        padding: 20px;
        z-index: 999;
        justify-content: center;
        align-items: center;
    }

    /* Show the navbar menu when active */
    #navbar-menu.active ul {
        display: flex;
    }

    /* Hide the hamburger button when menu is active */
    .navbar-toggler.hidden {
        display: none;
    }

    /* Style the menu items for mobile */
    #navbar-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    #navbar-menu ul li a {
        font-size: 20px;
        color: white;
        text-align: center;
    }

    /* Show the navbar menu when active */
    #navbar-menu.active {
        display: flex;
    }
}

/*Header Mobile styles */
@media (max-width: 860px) {
    /* Show the hamburger button */
    .navbar-toggler {
        display: block;
        background-color: #33333300;
        color: white;
        border-radius: 5px;
    }

    /* Hide the navbar menu initially on mobile */
    #navbar-menu {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95); /* Covers the full page */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0; /* Ensures it covers the whole height */
        padding: 20px;
        z-index: 999;
        justify-content: center;
        align-items: center;
    }

    /* Show the navbar menu when active */
    #navbar-menu.active ul {
        display: flex;
    }

    /* Hide the hamburger button when menu is active */
    .navbar-toggler.hidden {
        display: none;
    }

    /* Style the menu items for mobile */
    #navbar-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    #navbar-menu ul li a {
        font-size: 20px;
        color: white;
        text-align: center;
    }

    /* Show the navbar menu when active */
    #navbar-menu.active {
        display: flex;
    }
}

/*Header Mobile styles */
@media (max-width: 768px) {
    /* Show the hamburger button */
    .navbar-toggler {
        display: block;
        background-color: #33333300;
        color: white;
        border-radius: 5px;
    }

    /* Hide the navbar menu initially on mobile */
    #navbar-menu {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95); /* Covers the full page */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0; /* Ensures it covers the whole height */
        padding: 20px;
        z-index: 999;
        justify-content: center;
        align-items: center;
    }

    /* Show the navbar menu when active */
    #navbar-menu.active ul {
        display: flex;
    }

    /* Hide the hamburger button when menu is active */
    .navbar-toggler.hidden {
        display: none;
    }

    /* Style the menu items for mobile */
    #navbar-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    #navbar-menu ul li a {
        font-size: 20px;
        color: white;
        text-align: center;
    }

    /* Show the navbar menu when active */
    #navbar-menu.active {
        display: flex;
    }
}

/*Header Mobile styles */
@media (max-width: 560px) {
    /* Show the hamburger button */
    .navbar-toggler {
        display: block;
        background-color: #33333300;
        color: white;
        border-radius: 5px;
    }

    /* Hide the navbar menu initially on mobile */
    #navbar-menu {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95); /* Covers the full page */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0; /* Ensures it covers the whole height */
        padding: 20px;
        z-index: 999;
        justify-content: center;
        align-items: center;
    }

    /* Show the navbar menu when active */
    #navbar-menu.active ul {
        display: flex;
    }

    /* Hide the hamburger button when menu is active */
    .navbar-toggler.hidden {
        display: none;
    }

    /* Style the menu items for mobile */
    #navbar-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    #navbar-menu ul li a {
        font-size: 20px;
        color: white;
        text-align: center;
    }

    /* Show the navbar menu when active */
    #navbar-menu.active {
        display: flex;
    }
}

@media (max-width: 450px) {
    /* Show the hamburger button */
    .navbar-toggler {
        display: block;
        background-color: #33333300;
        color: white;
        border-radius: 5px;
    }

    /* Hide the navbar menu initially on mobile */
    #navbar-menu {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95); /* Covers the full page */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0; /* Ensures it covers the whole height */
        padding: 20px;
        z-index: 999;
        justify-content: center;
        align-items: center;
    }

    /* Show the navbar menu when active */
    #navbar-menu.active ul {
        display: flex;
    }

    /* Hide the hamburger button when menu is active */
    .navbar-toggler.hidden {
        display: none;
    }

    /* Style the menu items for mobile */
    #navbar-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    #navbar-menu ul li a {
        font-size: 20px;
        color: white;
        text-align: center;
    }

    /* Show the navbar menu when active */
    #navbar-menu.active {
        display: flex;
    }
}

/*Footer Responsive styling for mobile */
@media (max-width: 768px) {
    .footer-section {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .logos img {
        width: 30px;
    }

    .social-icon {
        width: 20px;
        height: 20px;
    }

    .hubungi-kami-icon {
        width: 20px;
        height: 20px;
    }
}

/*Footer Responsive styling for mobile */
@media (max-width: 768px) {
    .footer-section {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .logos img {
        width: 30px;
    }

    .social-icon {
        width: 20px;
        height: 20px;
    }

    .hubungi-kami-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .logos img {
        width: 30px;
    }

    .social-icon {
        width: 20px;
        height: 20px;
    }

    .hubungi-kami-icon {
        width: 20px;
        height: 20px;
    }
}
