
body {margin: 0;font-family: Arial, sans-serif;background-color: rgb(2, 8, 65);}
.top-bar {background-color: rgb(2, 8, 65);color: white;display: flex;justify-content: space-between;align-items: center;padding: 5px 20px;}
.top-bar a {color: white;text-decoration: none;}
.header {background-color: #4f9df5;padding: 20px;text-align: center;display: flex;align-items: center;justify-content: center;gap: 15px;}
.header a {display: flex;align-items: center;text-decoration: none;color: black;transition: transform 0.2s ease;}
.header a:hover {transform: scale(1.1);}
.header img {width: 150px;transition: transform 0.2s ease;}
.header img:hover {transform: scale(1.1);}
.header h1, .header h2 {margin: 0;font-weight: bold;}
.header h1 {font-size: 28px;}
.header h2 {font-size: 20px;}
.nav-bar {background-color: #4f9df5;padding: 10px;display: flex;flex-wrap: wrap;justify-content: center;position: relative;}
.nav-bar a {text-decoration: none;color: black;font-weight: bold;margin: 5px 15px;font-size: 20px;padding: 10px 15px;transition: transform 0.2s ease;position: relative;}
.nav-bar a:hover {transform: scale(1.1);}
.dropdown {position: relative;display: inline-block;}
.dropdown a {cursor: pointer;display: block;}
.dropdown-content {display: none;position: absolute;background-color: white;min-width: 160px;box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);z-index: 1;border-radius: 5px;overflow: hidden;top: 100%;left: 0;}
.dropdown-content a {color: black;padding: 12px 16px;display: block;text-decoration: none;font-size: 18px;transition: background 0.3s;}
.dropdown-content a:hover {background-color: #4f9df5;color: white;}
.dropdown:hover .dropdown-content {display: block;}
.active {text-decoration: underline;}
.slider {width: 2600px;max-width: 100vw;height: 700px;margin: auto;position: relative;overflow: hidden;}
/* Slide List */
.list {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth transition */
}

/* Slide Items */
.item {
    min-width: 100%; /* Each slide takes up the full width of the slider */
    flex-shrink: 0; /* Prevent slides from shrinking */
    box-sizing: border-box;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover the slide area */
}

/* Buttons */
.buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: black;
    color: white;
    border: none;
    font-family: monospace;
    font-weight: bold;
}

/* Dots */
.dots {
    position: absolute;
    bottom: 10px;
    color: grey;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: white;
    margin: 20px;
    border-radius: 20px;
    transition: 1s;
}

.dots li.active {
    width: 30px;
}
.about-section {background: url('../images/brgy.png') no-repeat center center/cover;color: white;padding: 100px 20px;text-align: center;position: relative;}
.about-section::before {content: "";position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.6);z-index: 0;}
.about-section h2 {color: #ffb400;font-size: 45px;margin-bottom: 20px;font-weight: 600;text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);position: relative;z-index: 1;}
.about-content {max-width: 900px;margin: auto;background: rgba(0, 0, 0, 0.75);padding: 50px;border-radius: 12px;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);position: relative;z-index: 1;}
.about-content h3 {font-size: 26px;color: #ffb400;margin-bottom: 10px;}
.about-content p {font-size: 18px;line-height: 1.8;color: #f0f0f0;font-weight: 300;}
.researcher-section {text-align: center;padding: 60px 20px;background: rgb(2, 8, 65); color: white;}
.researcher-section h2 {font-size: 36px;margin-bottom: 10px;color: #ffb400;text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);}
.researcher-section p {font-size: 18px;margin-bottom: 40px;color: #f0f0f0;}
.researcher-content {display: flex;flex-wrap: wrap;justify-content: center;gap: 30px;}
.official {text-align: center;width: 200px;padding: 20px;background-color: #4f9df5;border-radius: 10px;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);transition: transform 0.3s ease, box-shadow 0.3s ease;}
.official:hover {transform: translateY(-10px);box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);}
.official img {width: 150px;height: 150px;object-fit: cover;border-radius: 50%;border: 4px solid #4f9df5;transition: transform 0.3s ease, border-color 0.3s ease;}
.official:hover img {transform: scale(1.1);border-color: #ffb400;}
.official p {margin-top: 15px;font-size: 18px;color: #2c3e50;font-weight: bold;}
.login-btn {color: white;padding: 10px 15px;border-radius: 15px;text-decoration: none;display: inline-block;}
.contacts-section {padding: 60px 20px;background-color: #4f9df5;text-align: center;}
.contacts-section h2 {font-size: 36px;color: #ffb400;margin-bottom: 40px;text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);}
.contacts-list {display: flex;flex-wrap: wrap;justify-content: center;gap: 30px;}
.contact-item {background-color: rgba(255, 255, 255, 0.9);padding: 20px;border-radius: 10px;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);transition: transform 0.3s ease, box-shadow 0.3s ease;width: 200px;text-align: center;}
.contact-item:hover {transform: translateY(-10px);box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);}
.contact-item img {width: 80px;height: 80px;object-fit: cover;border-radius: 50%;margin-bottom: 15px;}
.contact-item h3 {font-size: 20px;color: #2c3e50;margin-bottom: 10px;}
.contact-item p {font-size: 16px;color: #7f8c8d;}


