
/* ABOUT BANNER */
.community-section {
    position: relative;
    width: 100%;
    height: 420px;
    background:
        linear-gradient(#00000040, rgba(0,0,0,0.25)),
        url('../images/1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.community-section h2 {
    color: white;
    font-size: 65px;
    font-weight: 700;
    line-height: 1.5;
}

/* BREADCRUMB */
.breadcrumb {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 15px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #dda66c;
}

.breadcrumb .arrow {
    color: white;
    font-size: 18px;
}

.breadcrumb .current-page {
    color: #dda66c;
    border-bottom: 3px solid #dda66c;
    padding-bottom: 15px;
}

.breadcrumb a:not(.current-page),
.breadcrumb .arrow {
    padding-bottom: 18px;
}

/* ABOUT CONTENT */
.about-content {
    background: #f3f4f6;
    padding: 40px 35px 25px;
    text-align: center;
}

.about-content h3 {
    font-size: 25px;
    font-weight: 400;
    color: #14213d;
    margin-bottom: 5px;
}

.about-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: #14213d;
    margin-bottom: 25px;
}

.about-description {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.about-description p {
    font-size: 15px;
    color: #61758d;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* QUOTE */
.about-quote {
    position: relative;
    max-width: 1280px;
    margin: 25px auto 0;
    padding: 45px 50px;
    background: #e1e3e7;
    text-align: left;
    overflow: hidden;
}

.about-quote p {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    color: #14213d;
    line-height: 1.6;
}

.quote-icon {
    position: absolute;
    right: 55px;
    bottom: -45px;
    font-size: 130px;
    font-weight: bold;
    color: #dda66c;
    line-height: 1;
}

/* COMMUNITY CONTACT */
.community {
    width: 100%;
    min-height: 260px;
    background:
        linear-gradient(
            rgba(35,36,53,0.88),
            rgba(35,36,53,0.88)
        ),
        url('../images/community-bg.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 20px 55px;
}

.community h2 {
    color: white;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 60px;
}

.contact-btn {
    display: inline-block;
    background: #dda66c;
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: #c58d52;
}

/* VISION AND MISSION */
.vision-mission-section {
    width: 100%;
    background: white;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    padding: 60px 40px 100px;
}

.vm-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vm-icon {
    width: 67px;
    height: 67px;
    border: 4px solid #94a3af;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vm-icon i {
    font-size: 35px;
    color: #94a3af;
}

.vm-box h2 {
    font-size: 38px;
    font-weight: 700;
    color: #14213d;
    margin-bottom: 20px;
}

.vm-box p {
    font-size: 18px;
    font-weight: 700;
    color: black;
    line-height: 1.6;
    max-width: 610px;
}

/* PDF FLIPBOOK */
.pdf-book-section {
    width: 90%;
    background: #777777;
    padding: 15px 10px 7px;
    position: relative;
     margin: 0 auto;
}

.book-container {
    width: 80%;
    max-width: 1150px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.book-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#flipbook {
    margin: 0 auto;
}

.book-page {
    background: #ffffff;
    overflow: hidden;
}

.book-page canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* BOOK ARROWS */
.book-arrow {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: white;
    font-size: 42px;
    padding: 10px;
    cursor: pointer;
    text-shadow: 1px 2px 5px #333;
}

.book-arrow:hover {
    color: #dda66c;
}

.book-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* TOOLBAR */
.book-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    width: fit-content;
    max-width: 100%;
    margin: 10px auto 0;
    padding: 11px 15px;

    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.25);
}

#pageCounter {
    font-family: Arial, sans-serif;
    color: #999999;
    font-size: 12px;
    min-width: 32px;
    white-space: nowrap;
}

.book-toolbar button,
.book-toolbar a {
    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    color: #8293a1;
    font-size: 17px;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    transition: color 0.3s;
}

.book-toolbar button:hover,
.book-toolbar a:hover {
    color: #dda66c;
}

.book-toolbar i {
    font-size: 17px;
}

/* THUMBNAIL PANEL */
.thumbnail-panel {
    max-width: 900px;
    margin: 12px auto 0;
    padding: 15px;
    background: #eeeeee;
    border-radius: 5px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.thumbnail-panel[hidden] {
    display: none;
}

.thumbnail-item {
    width: 95px;
    border: 2px solid transparent;
    background: white;
    padding: 5px;
    cursor: pointer;
    color: #333;
}

.thumbnail-item:hover {
    border-color: #dda66c;
}

.thumbnail-item canvas {
    display: block;
    width: 100%;
    height: auto;
}

.thumbnail-item span {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 12px;
    padding-top: 5px;
}

/* STATUS */
#bookStatus {
    color: white;
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
}

#bookStatus:empty {
    display: none;
}

/* FULLSCREEN */
.pdf-book-section:fullscreen {
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .community-section {
        height: 320px;
    }

    .community-section h2 {
        font-size: 45px;
    }

    .about-content {
        padding: 35px 20px;
    }

    .about-content h1 {
        font-size: 30px;
    }

    .about-description p {
        font-size: 14px;
    }

    .about-quote {
        padding: 30px 25px;
    }

    .about-quote p {
        font-size: 17px;
    }

    .quote-icon {
        font-size: 90px;
        right: 20px;
        bottom: -25px;
    }

    .community h2 {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .vision-mission-section {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 50px 20px;
    }

    .vm-box h2 {
        font-size: 30px;
    }

    .vm-box p {
        font-size: 16px;
    }

    .book-container {
        gap: 3px;
    }

    .book-arrow {
        font-size: 26px;
        padding: 4px;
    }

    .book-toolbar {
        gap: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .community-section {
        height: 260px;
    }

    .community-section h2 {
        font-size: 36px;
    }

    .breadcrumb {
        font-size: 13px;
        gap: 10px;
    }

    .about-content h3 {
        font-size: 20px;
    }

    .about-content h1 {
        font-size: 25px;
    }

    .book-toolbar {
        gap: 10px;
    }

    .book-toolbar i {
        font-size: 15px;
    }

    .book-arrow {
        font-size: 22px;
    }
}

/* CHAIRMAN SECTION */
.chairman-section {
    width: 100%;
    min-height: 600px;

    background:
        linear-gradient(
            rgba(255, 255, 255, 0.78),
            rgba(255, 255, 255, 0.78)
        ),
        url('../images/community-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    text-align: center;
    padding: 55px 30px 25px;
    font-family: 'Noto Sans Sinhala', sans-serif;
}

/* Heading */
.chairman-title {
    color: #14213d;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Decorative Divider */
.chairman-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #dda66c;
    margin-bottom: 20px;
}

.divider-line {
    width: 40px;
    height: 3px;
    background-color: #dda66c;
}

.chairman-divider i {
    font-size: 22px;
}

/* Chairman Image */
.chairman-image {
    width: 100%;
    max-width: 585px;
    margin: 0 auto 20px;
}

.chairman-image img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
}

/* Description */
.chairman-description {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.chairman-description p {
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

/* Tablet */
@media (max-width: 768px) {
    .chairman-section {
        padding: 40px 20px;
    }

    .chairman-title {
        font-size: 28px;
    }

    .chairman-image {
        max-width: 500px;
    }

    .chairman-description p {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .chairman-title {
        font-size: 23px;
    }

    .chairman-image {
        max-width: 100%;
    }

    .chairman-description p {
        font-size: 13px;
    }
}

/* PANNALA MAP SECTION */
.pannala-map-section {
    width: 100%;
    background-color: #ffffff;
    padding: 40px 20px 60px;
    text-align: center;
    font-family: 'Noto Sans Sinhala', sans-serif;
}

/* Main Heading */
.map-title {
    font-size: 40px;
    font-weight: 700;
    color: #14213d;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Decorative Divider */
.map-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
    color: #dda66c;
}

.map-line {
    width: 40px;
    height: 3px;
    background-color: #dda66c;
}

.map-divider i {
    font-size: 22px;
    color: #dda66c;
}

/* Map Container */
.map-image-container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Map Image */
.pannala-map-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 768px) {
    .pannala-map-section {
        padding: 35px 15px 50px;
    }

    .map-title {
        font-size: 30px;
    }

    .map-image-container {
        max-width: 600px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .map-title {
        font-size: 23px;
    }

    .map-divider {
        margin-bottom: 25px;
    }

    .map-image-container {
        width: 100%;
    }
}
@keyframes bannerZoom {
            from {
                transform: scale(1.12);
            }
            to {
                transform: scale(1);
            }
        }
