* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}
.container {
    margin: 0;
    padding: 0 20px;
}
.section {
    padding: 60px 0;
}
h2 {
    text-align: center;
    font-size: 2.2rem;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: #0056b3;
}
.navbar {
    background-color: #007BFF;
    color: #fff;
    padding: 1rem 0.5rem;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 3.5rem;
    top: 0;
    z-index: 1000;
}
.navbar .nav-container {
    display: flex;
    align-items: center;
    width: 100%;
}
.nav-container img {
    height: 2.5rem;
    margin-right: 10px;
}
.logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    margin-right: auto;
}
.nav-menu {
    list-style-type: none;
    display: flex;
    align-items: center;
}
.nav-menu li {
    margin-left: 25px;
}
.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: semi-bold;
    font-size: 1rem;
}
.menu-toggle {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle svg {
    fill: #fff;
}
.close-menu-container {
    display: none;
}
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/pens.webp') no-repeat center center/cover;
    height: 100vh;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 3.5rem; 
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.about-us {
    display: flex;
    flex-direction: column;
    padding: 1rem 2rem;
    align-items: center;
}
.about-container {
    display: flex;
    width: 100%;
}
.about-content {
    height: 20rem;
    overflow: auto;
    min-width: 50%;
    padding: 1rem;
    flex-direction: column;
    justify-content: center;
}
.about-content p {
    column-count: 2;
    column-gap: 2rem;
}
.about-image {
    min-width: 50%;
    height: 20rem;
    border-radius: 8px;
    overflow: hidden;
    object-position: center;
}
.about-image img {
    bottom: 0;
    filter: grayscale(100%);
    transition:0.4s ease-in-out;
    object-fit: cover;
}
.about-image img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.org-grid::-webkit-scrollbar, .about-content::-webkit-scrollbar, .gallery-grid::-webkit-scrollbar {
    display: none;
}
.organization {
    text-align: center;
    padding: 2rem;
    background-color: #f9f9f9;
}
.org-grid {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    margin-top: 1.5rem;
}
.org-member {
    position: relative;
}
.org-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
.tooltip {
    visibility: hidden;
    opacity: 0;
    width: 160px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 110%;
    left: 50%;
    margin-left: -80px;
    transition: opacity 0.3s;
}
.org-member:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
.gallery {
    padding: 2rem;
    text-align: center;
}
.gallery-grid {
    display: flex;
    overflow: auto;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.gallery-item {
    text-align: center;
    flex: 0 0 20rem;
}
.gallery-item .item {
    display: flex;
    overflow: hidden;
    border-radius: 15px;
}
.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    filter: sepia(30%);
    transition: transform 0.3s ease;
}
.gallery-item img:hover {
    transform: scale(1.05);
}
.gallery-item p {
    font-size: 1.2rem;
    font-weight: bold;
}
.news {
    background-color: #f9f9f9;
}
.articles-container {
    padding: 2rem;
    text-align: center;
}
.page-content {
  display: none;
}
.page-content p, .page-content h3 {
    text-align: justify;
}
.page-content.active {
  display: block;
}
.pagination {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.pagination a {
  color: #555;
  cursor: pointer;
  padding: 8px 16px;
  margin: 0 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.pagination a:hover:not(.active) {
  background-color: #f0f0f0;
}
.pagination a.active {
  background-color: #4f46e5;
  color: white;
  border-color: #4f46e5;
}
#contact h2, #about h2 {
    margin-bottom: 20px;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
footer {
    background-color: #007BFF;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}
@media (max-width: 768px) {
    .close-menu-container {
        display: block;
    }
    .close-menu-container button {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 15px;
    }
    .close-menu-container button:hover {
        background-color: #007BFF;
    }
    .menu-toggle {
        display: block; 
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 250px;
        height: 100%;
        background-color: #0056b3;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 60px;
        transition: right 0.4s ease-in-out;
    }
    .nav-menu.active {
        right: 0; 
    }
    .nav-menu li {
        margin: 0; 
        width: 100%;
    }
    .nav-menu li:hover {
        background-color: #007BFF;
    }
    .nav-menu li a {
        display: block; 
        padding: 20px 30px;
        width: 100%;
    }
    .about-container {
        flex-direction: column;
    }
    .org-grid {
        overflow-x: auto;
    }
    .gallery-grid {
        overflow-x: auto;
    }
    #contact {
        margin: 0 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}