* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fdf5e6;
    color: #333333;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    position: relative;
    font-family: 'Times New Roman', Times, serif;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 250px;
    width: 100%;
    position: relative;
    z-index: 1000;
}

header #div1 img {
    width: 300px;
    height: auto;
}
header #div2{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
header #div2 h1 b {
    font-size: clamp(14px, 3vw, 56px);
    color: #5a3e36; 
}
header #div2 p{
    font-size: clamp(12px, 3vw, 24px);
    color: #5a3e36; 
    text-align: center;
}
#carouselExampleIndicators {
    max-width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    padding-bottom: 10px;
}

.carousel-image-container {
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-image {
    width: 100%;
    height: 50%; 
    overflow: hidden;
    margin: 0 auto;
}
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    color: #fdf5e6;
    position: absolute;
    bottom: 10px;
    width: 100%;
    height: auto;
    left: 0;
    right: 0;
    text-align: center;
}
.container3 {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fffaf0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Information (Notification Section) */
.information {
    background-color: #e9f7fd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between; /* Align elements to opposite sides */
    align-items: center; /* Vertically center content */

}

/* Information Text */
.information p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000000;
    margin: 0;
}

/* Information Link */
.information a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

.information a:hover {
    color: #004999;
}

/* Content3 - Notification Links */
.content3 {
    padding: 10px;
    transition:easeIn2.3s ease-in;
}
@keyframes easeIn {
    0% { 
        transform: translateY(-100%); 
        opacity: 0; 
    }
    100% { 
        transform: translateY(0); 
        opacity: 1; 
    }
}
.content3 .notice-link {
    display: block;
    font-size: 1.5rem;
    color: #333;
    margin: 5px 0;
}

.content3 .notice-link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}
.content3 h5 a{
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.content3 .notice-link a:hover {
    color: #004999;
}

.news {
    background-color: #e9f7fd;
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between; /* Align elements to opposite sides */
    align-items: center;
}

.news p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
    text-align: center;
    margin-bottom: 10px;
}

.container3 .news a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.news a:hover {
    color: #004999;
}

/* News Headlines */
.news h5 {
    font-size: 1.25rem;
    margin: 10px 0;
}

.news h5 a {
    color: #5a3e36;
    text-decoration: none;
}

.news h5 a:hover {
    color: #0066cc;
}
.content {
    background-color: #fffaf0;
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin-left: 10%;
}

.content h2 {
    color: #5a3e36;
    margin-bottom: 15px;
}

.btn-warning {
    background-color: #8b4513;
    color: #fdf5e6;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-warning:hover {
    background-color: #5a3e36;
    color: #fdf5e6;
}
.leader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.swiper-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    flex-wrap: wrap;
    
}

.leader img {
    border-radius: 50%;
    height: 150px;
    width: 150px;
    object-fit: cover;
}
.suggestion {
    background-color: #fffaf0;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 80%;
}

.suggestion form input {
    width: 100%;
    height: 50px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.suggestion form input::placeholder {
    font-size: 14px;
    color: #999;
}
footer {
    background-color: #f8deb5;
    color: #333333;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    animation: easeIn 0.5s forwards;
    height: 250px;
    font-size: clamp(18px, 3vw, 28px);
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
footer .child{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 50%;
    align-items: center;
}
footer a {
    color: #5a3e36;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .child a:hover {
    background-color: rgb(236, 230, 202);
    border-radius: 50%;
}
#links a:hover{
    text-decoration: underline;
}
footer .child #yt:hover{
    background-color: rgb(245, 0, 0);
}
footer .child #insta:hover{
    background-color: rgb(172, 0, 164);
}
footer .child #fb:hover{
    background-color: rgb(14, 119, 255);
}
footer .child #mail:hover{
    background-color: rgb(255, 255, 255);
}
@keyframes easeIn {
    0% { 
        transform: translateY(-100%); 
        opacity: 0; 
    }
    100% { 
        transform: translateY(0); 
        opacity: 1; 
    }
}
@media (max-width: 768px) {
    .content, .suggestion {
        width: 90%;
        margin-left: 5%;
    }
    header {
        height: 200px;
    }
    header #div1 img {
        width: 170px;
        height: auto;
    }

    .leader, .swiper-wrapper {
        flex-direction: column;
    }

    .carousel-image {
        width: 100%; 
        height: 300px; 
    }

    .carousel-caption {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 10px;
        border-radius: 5px;
        color: #fdf5e6;
        position: absolute;
        bottom: 10px;
        width: 100%;
        left: 0;
        right: 0;
        text-align: center; /* Center align caption */
    }

    .carousel-item {
        padding-bottom: 10px;
    }

    .notice-link {
        flex-direction: column;
        margin-right: 0;
    }

    .notice-link a {
        padding: 5px 0;
    }
    .container3 {
        width: 90%;
        padding: 15px;
    }

    .information p {
        font-size: 1.1rem;
    }

    .content3 .notice-link {
        font-size: 0.9rem;
    }

    .news p {
        font-size: 1.2rem;
    }

    .news h3 {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    header {
        height: 180px;
        padding: 10px;
    }

    header #div1 img {
        width: 120px;
    }

    .content, .suggestion {
        width: 95%;
        margin-left: 2.5%;
        padding: 15px;
    }

    .leader img {
        height: 120px;
        width: 120px;
    }
    .carousel-image {
        width: 100%;
        z-index: 0;
        height: 300px;
    }
    .carousel-caption {
        background-color: rgba(0, 0, 0, 0.7);
        height: 50px;
        padding: 10px;
        border-radius: 5px;
        color: #fdf5e6;
        position: absolute;
        margin-top:300px;
        width: 100%;
        left: 0;
        right: 0;
        z-index: 1;
        text-align: center;
    }
}
@media print {
    body {
        background-color: #fff;
        color: #000;
    }

    header, footer, .carousel, .suggestion {
        display: none;
    }

    .content {
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    img {
        max-width: 80% !important;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .content, .suggestion {
        width: 85%;
        margin-left: 7.5%;
    }

    .leader img {
        height: 130px;
        width: 130px;
    }
}

/* Large screens */
@media (min-width: 1025px) {
    .content, .suggestion {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

a:focus, button:focus, input:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* Flex utility classes */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }

/* Responsive font sizes */
.responsive-text {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}