body {
    font-family: Arial, sans-serif;
    font-size: 16px !important; /* Standard font size with !important to enforce consistency */
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

header {
    background-color: white;
    color: #000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ccc;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo-container {
    position: relative;
    width: 100px; /* Increased size */
    height: 100px; /* Increased size */
}

.coin {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: flipCoin 15s infinite linear; /* Slowed down flip animation */
}

.coin img {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
}

.coin .back {
    transform: rotateY(180deg);
}

@keyframes flipCoin {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

.flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: spin 15s infinite linear; /* Slowed down spin animation */
}

@keyframes spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.slogan {
    font-size: 1.5em;
    font-weight: bold;
    font-family: 'Georgia', serif;
    color: darkgreen;
    line-height: 1.2;
    text-align: left;
}

.social-media img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s, filter 0.3s;
}

.social-media img:hover {
    filter: brightness(0.5);
}

.sections {
    margin-top: 20px; /* Add spacing below the top table */
    padding: 0; /* Remove padding to align content */
    margin: 0; /* Ensure no margin around the container */
    padding: 0; /* Ensure no padding inside the container */
    margin: 0 !important; /* Forcefully remove margin around the container */
    padding: 0 !important; /* Forcefully remove padding inside the container */
    position: relative; /* Set relative position for the parent container */
}

.section {
    margin-bottom: 50px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.animated-bar {
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #006400, #00ff00);
    animation: barAnimation 2s infinite;
}

@keyframes barAnimation {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.donate-button {
    background-color: orange;
    color: white;
    border: none;
    padding: 8px 16px; /* Reduced padding for the button */
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    margin: 10px auto; /* Center the button */
    text-decoration: none; /* Ensure no underline */
    font-size: 0.9em; /* Slightly reduced font size */
    margin-top: 5px; /* Adjusted donate button position */
}

.donate-button img {
    width: 20px;
    height: 20px;
}

.donate-button:hover {
    background-color: darkorange;
    transform: scale(1.1);
}

.contact-info {
    text-align: left; /* Align all content to the left */
    font-weight: bold;
    font-size: 0.85em; /* Slightly reduced font size */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 8px; /* Reduced spacing between rows */
    animation: fadeIn 1s; /* Add fade-in animation */
    margin: 0; /* Removed margin */
    padding: 0; /* Removed padding */
}

.contact-info div {
    display: flex;
    align-items: center; /* Align icons and text vertically */
    gap: 10px; /* Spacing between icon and text */
}

.contact-info img {
    width: 20px;
    height: 20px;
}

.contact-info span {
    display: inline-block; /* Ensure text aligns properly with icons */
}

.social-media {
    display: flex;
    gap: 8px; /* Reduced spacing between icons */
    justify-content: center;
    margin-top: 15px; /* Adjusted margin */
}

.clock {
    font-size: 1em;
    font-weight: bold;
    color: blue;
    text-align: center;
    margin-top: 5px; /* Positioned clock */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.header-container {
    width: 100%; /* Fixed table width */
    height: 35%; /* Reduced table height to end just below the donate button */
    box-sizing: border-box;
    border: 0.5px solid black; /* Made the border thinner */
}

.header-box {
    padding: 5px; /* Reduced padding for child boxes */
    box-sizing: border-box;
    border: 0.5px solid black; /* Made the border thinner */
}

.title-container {
    text-align: left; /* Ensure full left alignment for all content */
    padding-left: 10px; /* Added padding to move content further left */
    display: flex;
    flex-direction: column;
    gap: 5px; /* Uniform spacing between rows */
}

.animated-box {
    animation: fadeInSlide 1.5s ease-out; /* Added fade-in and slide animation */
}

@keyframes fadeInSlide {
    from {
        transform: translateY(-20px); /* Start slightly above */
        opacity: 0;
    }
    to {
        transform: translateY(0); /* Slide into position */
        opacity: 1;
    }
}

.animated-box {
    animation: slideIn 1.5s ease-out, bounce 1s infinite alternate; /* Combined slide-in and bounce animations */
}

@keyframes slideIn {
    from {
        transform: translateX(-100%); /* Start off-screen to the left */
        opacity: 0;
    }
    to {
        transform: translateX(0); /* Slide into position */
        opacity: 1;
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* Bounce upward */
    }
    100% {
        transform: translateY(0);
    }
}

.innovative-box {
    animation: fadeInScale 1.5s ease-out, rotateEffect 2s infinite alternate; /* Combined fade-in, scale, and rotation animations */
}

@keyframes fadeInScale {
    from {
        transform: scale(0.8); /* Start smaller */
        opacity: 0;
    }
    to {
        transform: scale(1); /* Grow to normal size */
        opacity: 1;
    }
}

@keyframes rotateEffect {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(5deg); /* Slight rotation effect */
    }
}

.animated-content {
    animation: fadeInSlide 1.5s ease-out, bounceEffect 1.5s infinite alternate; /* Combined fade-in and bounce animations */
}

@keyframes fadeInSlide {
    from {
        transform: translateY(-20px); /* Start slightly above */
        opacity: 0;
    }
    to {
        transform: translateY(0); /* Slide into position */
        opacity: 1;
    }
}

@keyframes bounceEffect {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* Bounce upward */
    }
    100% {
        transform: translateY(0);
    }
}

.additional-tables table {
    width: 100%; /* Full width */
    margin: 10px 0; /* Spacing between tables */
    border-collapse: collapse; /* Remove spacing between cells */
}

.additional-tables td {
    padding: 10px; /* Add padding inside cells */
    border: 1px solid #ddd; /* Add a light border */
    text-align: left; /* Align text to the left */
    font-size: 1em; /* Ensure consistent font size */
}

table, .fixed-table {
    width: 100%; /* Ensure full width alignment */
    border-collapse: collapse; /* Remove spacing between cells */
    border: 1px solid black; /* Set border size to 1 */
    margin: 0; /* Remove margin around the table */
}

table td, .fixed-table td {
    padding: 10px; /* Add padding inside cells */
    text-align: center; /* Center-align text */
    font-size: 1em; /* Ensure consistent font size */
    border: 1px solid black; /* Set cell border size to 1 */
    height: 50px; /* Set a fixed height for all rows */
}

.fixed-table {
    width: 100%; /* Full width */
    border-collapse: collapse; /* Remove spacing between cells */
    border-spacing: 0; /* Ensure no spacing between cells */
    border: 1px solid black; /* Consistent border for the entire table */
    margin: 0; /* Remove margin around the table */
    padding: 0; /* Remove padding inside the table */
    table-layout: fixed; /* Ensure consistent column widths */
}

.fixed-table td {
    padding: 10px; /* Add padding inside cells */
    text-align: center; /* Center-align text */
    font-size: 1em; /* Ensure consistent font size */
    border: 1px solid black; /* Add consistent borders between rows */
    height: 50px; /* Set a fixed height for all rows */
    word-wrap: break-word; /* Prevent content from overflowing */
}

.fixed-table tr {
    margin: 0; /* Remove any margin between rows */
    padding: 0; /* Remove any padding between rows */
    margin: 0 !important; /* Forcefully remove any margin between rows */
    padding: 0 !important; /* Forcefully remove any padding between rows */
}

.fixed-table + .fixed-table {
    margin-top: 0; /* Remove gap between consecutive tables */
}

.top-table {
    border: 1px solid black; /* Set border size to 1 for the top table */
}

.fixed-table tr:first-child {
    background-color: darkgreen; /* Dark green background for the first row */
    color: white; /* White text color */
    font-weight: bold; /* Bold text */
    height: 50px; /* Ensure the row height matches the table height */
    line-height: 50px; /* Vertically center the text */
    padding: 0; /* Remove any padding that might exceed the row height */
}

.fixed-table tr:first-child td {
    padding: 0;
    background-color: darkgreen; /* Ensure the background matches the table */
}

/* Set the final reduced height for the top table */
.fixed-table:nth-of-type(1) tr:first-child {
    height: 5px; /* Final reduced height */
    line-height: 5px; /* Vertically center the text */
}

/* Move Table 1 10% up */
.fixed-table:nth-of-type(1) {
    position: absolute; /* Use absolute positioning */
    top: -10%; /* Move 10% up */
}

/* Hover effect for table rows */
.fixed-table tr:hover {
    background-color: #d4aa00; /* Dark yellow background on hover */
    color: black; /* Ensure text color is black for contrast */
}

/* Hover effect for navigation menu items */
.navbar ul li a:hover {
    background-color: #d4aa00; /* Dark yellow background on hover */
    color: black; /* Ensure text color changes to black for contrast */
}

/* Hover effect for dropdown menu items */
.dropdown-menu li a:hover {
    background-color: #ff9800; /* Bright orange background for hover */
    color: #ffffff; /* White text color for better contrast */
    padding-left: 18px; /* Slightly reduced padding on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Add subtle shadow for hover effect */
}

/* Enhance hover effect for nested dropdown menu items */
.nested-dropdown li a:hover {
    background-color: #ff9800; /* Bright orange background for hover */
    color: #ffffff; /* White text color for better contrast */
    padding-left: 18px; /* Slightly reduced padding on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Add subtle shadow for hover effect */
}

.fixed-table tr:not(:first-child) {
    background-color: transparent; /* Remove background color for all rows except the first */
    color: black; /* Ensure text color is black for normal rows */
}

/* Ensure Table 2 has a white background */
.fixed-table:nth-of-type(2) {
    background-color: transparent !important; /* Remove background color */
}

.image-slider {
    position: relative;
    width: 100%; /* Full width of the table */
    margin: 0 auto;
    overflow: hidden;
}

/* Slider Enhancements */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 60vh;
    overflow: hidden;
    background: black;
    border-radius: 20px;
}

.slider-wrapper {
    display: flex;
    transition: transform 1s ease-in-out; /* Smooth sliding transition */
    width: 100%;
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    flex: 0 0 100%; /* Ensure each slide takes full width */
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth fade transition */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide.active {
    opacity: 1;
    position: relative; /* Bring active slide to the front */
}

.slide-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px; /* Rounded corners for the image */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    animation: kenburns 20s infinite alternate; /* Ken Burns effect */
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 5%; /* Move caption to the left */
    transform: translateY(-50%);
    text-align: left; /* Align text to the left */
    z-index: 10;
}

.caption-box {
    background-color: rgba(0, 0, 0, 0.4); /* More transparent */
    padding: 20px;
    border-radius: 10px;
    animation: fadeIn 1s ease-in-out;
}

.caption-title {
    color: white;
    font-size: 2vw;
    font-weight: bold;
    margin: 0;
}

.caption-highlight {
    color: yellow;
    font-size: 1.5vw;
    font-weight: bold;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5); /* Ensure background is visible */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10; /* Ensure buttons are above the slider */
    transition: all 0.3s ease;
    color: white; /* Ensure arrow icons are visible */
    font-size: 24px; /* Adjust size of arrow icons */
}

.nav-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Highlight on hover */
}

.arrow-left {
    left: 20px; /* Position on the left */
}

.arrow-right {
    right: 20px; /* Position on the right */
}

.slider-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-radio {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.slider-radio:checked {
    background-color: yellow;
    transform: scale(1.2);
}

.slider-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.pagination-dot.active {
    background-color: yellow;
    transform: scale(1.2);
}

.slide-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    position: absolute;
    bottom: 5%;
    left: 5%;
    z-index: 10;
}

.slide-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
text-decoration: none; /* Removes underline from links */
}

.donate-btn {
    background-color: #FF4757;
    color: white;
}

.donate-btn:hover {
    background-color: #FF6B81;
    transform: scale(1.1);
}

.readmore-btn {
    background-color: #2ED573;
    color: white;
}

.readmore-btn:hover {
    background-color: #7BED9F;
    transform: scale(1.1);
}

/* Mobile Swipe Support */
@media (max-width: 768px) {
    .slider-container {
        height: 50vh;
    }
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 50%;
    z-index: 1000;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.main-menu > li > a {
    font-size: 16px !important; /* Match standard font size */
    padding: 0 20px; /* Adjusted padding for better spacing */
}

.main-menu > li > a:hover {
    background-color: #4a4a00; /* Improved hover color */
    color: #ffd700; /* Text color on hover */
}

.dropdown-menu li a {
    font-size: 16px !important; /* Match standard font size */
    padding: 12px 20px; /* Adjusted padding */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow if text is too long */
    text-overflow: ellipsis; /* Add ellipsis for long text */
    padding: 8px 16px; /* Reduced padding for smaller height */
    line-height: 1.2; /* Adjust line height for compact spacing */
    font-size: 14px !important; /* Slightly smaller font size */
}

/* Reduce gap and height for nested dropdown menu items */
.nested-dropdown li a {
    padding: 8px 16px; /* Reduced padding for smaller height */
    line-height: 1.2; /* Adjust line height for compact spacing */
}

/* Donate Button */
.donate-btn a {
    background-color: transparent !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    padding: 0 18px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: none !important;
}

.donate-btn a:hover,
.donate-btn a:active {
    background-color: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Hero Section */
.menu-hero {
    display: none;
    position: relative;
    width: 100%;
    height: 30vh; /* 30% of browser height */
    overflow: hidden;
    background-color: transparent;
}

.menu-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.hero-caption {
    font-size: 22px !important; /* Standard font size for hero caption */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.3); /* Increased transparency */
    color: white;
    padding: 15px 30px; /* Reduced padding */
    border-radius: 15px; /* Smaller rounded corners */
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    width: auto; /* Adjust width dynamically based on content */
    max-width: 80%; /* Ensure it doesn't exceed 80% of the screen */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add subtle shadow for better visibility */
}

/* Page Content */
#page-content {
    font-size: 16px !important; /* Match standard font size */
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    font-size: 16px; /* Match standard font size */
}

/* Consistent hover and click colors for menu items */
.main-menu > li > a:hover,
.main-menu > li > a:active,
.donate-btn a:hover,
.donate-btn a:active,
.donate-button:hover,
.donate-button:active {
    background-color: #ff9800; /* Bright orange background for hover and click */
    color: #ffffff; /* White text color for better contrast */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Add subtle shadow for hover and click */
}

/* Consistent hover and click colors for dropdown menu items */
.dropdown-menu li a:hover,
.dropdown-menu li a:active,
.nested-dropdown li a:hover,
.nested-dropdown li a:active {
    background-color: #ff9800; /* Bright orange background for hover and click */
    color: #ffffff; /* White text color for better contrast */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Add subtle shadow for hover and click */
}

/* Consistent hover and active color for all menus and submenus */
.main-menu > li > a:hover,
.main-menu > li > a:active,
.main-menu > li.active > a,
.donate-btn a:hover,
.donate-btn a:active,
.donate-btn a.active,
.donate-button:hover,
.donate-button:active,
.donate-button.active,
.dropdown-menu li a:hover,
.dropdown-menu li a:active,
.dropdown-menu li.active > a,
.nested-dropdown li a:hover,
.nested-dropdown li a:active,
.nested-dropdown li.active > a {
    background-color: #ff9800; /* Bright orange background for hover and active state */
    color: #ffffff; /* White text color for better contrast */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Add subtle shadow for hover and active state */
}

/* Ensure active menu item retains the hover color */
.main-menu > li.active > a,
.dropdown-menu li.active > a,
.nested-dropdown li.active > a {
    background-color: #ff9800; /* Bright orange background for active state */
    color: #ffffff; /* White text color for better contrast */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Add subtle shadow for active state */
}

.nav-container {
    background-color: #004d00;
    width: 100%;
    position: sticky;
    top: 0; /* Adjusted to stick closer to the header */
    z-index: 1000;
    margin-top: -5px; /* Move the menu bar slightly up */
}

/* Sound Control Styles */
.sound-control {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.sound-control:hover {
    transform: scale(1.1);
    background: white;
}

.sound-control img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Animations for sections */
.column h2 {
    animation: fadeInSlide 1.5s ease-out;
    margin-top: 0;
}

.news-container {
    animation: scrollNews 40s linear infinite;
}

@keyframes scrollNews {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

/* Main Content Section */
.main-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
}

.column {
    flex: 1;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
    animation: fadeIn 1.5s ease-out;
}

.column h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
}

.column img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.legacy-journey h2 {
    background: linear-gradient(90deg, #0056b3, #0088cc, #0056b3);
}

.mission-vision-values h2 {
    background: linear-gradient(90deg, #2a7f62, #4CAF50, #2a7f62);
}

.news-events h2 {
    background: linear-gradient(90deg, #d35400, #e67e22, #d35400);
}

.news-container {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.scrolling-news-content {
    position: absolute;
    width: 100%;
    animation: scrollNews 40s linear infinite;
}

@keyframes scrollNews {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Equal Height for All Columns */
.container {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 10px;
    height: auto; /* Allow dynamic height adjustment */
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    position: relative;
}

/* Adjust Column Heights Dynamically */
.container > .column {
    height: auto; /* Reset height for dynamic adjustment */
}

.container > .column:nth-child(3) {
    background: none; /* Remove background */
    box-shadow: none; /* Remove shadow */
    border: none; /* Remove border */
    padding: 0; /* Remove padding */
    height: auto; /* Allow dynamic height */
}

/* Column 3 Structure Fix */
.column.news-events {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Remove gap between banner and news section */
.banner-container {
    margin-top: -20px !important; /* Move banner upward */
    margin-bottom: 0 !important; /* No gap below the banner */
}

.news-box {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove gap between banner and news section */
.banner-container + .news-box {
    margin-top: 0 !important;
}

/* Reduce Column 3 height */
.column:nth-child(3) {
    height: auto !important;
    min-height: fit-content !important;
}

/* Rotating Banner */
.banner-container {
    margin-top: -15px !important; /* Move banner upward */
    margin-bottom: 0 !important; /* No gap below the banner */
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0; /* Rounded top corners */
    height: 25%; /* 25% of column height */
    width: 100%;
}

/* News Section */
.news-box {
    margin-top: 0 !important; /* Remove gap above news section */
    padding-top: 0 !important;
    flex: 1 !important; /* Fill remaining column height */
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 0 0 10px 10px; /* Rounded corners only at the bottom */
}

.news-box::before {
    content: '';
    display: block;
    width: 100%;
    height: 10px;
    background-color: #e0e0e0; /* Light gray rectangle */
    border-radius: 0; /* Flat rectangle at the top */
    margin-bottom: 5px; /* Subtle spacing below the rectangle */
}

/* Add a rounded rectangle at the bottom of the Events & News section */
.news-box::after {
    content: '';
    display: block;
    width: 100%;
    height: 10px;
    background-color: #e0e0e0; /* Light gray rectangle */
    border-radius: 0 0 10px 10px; /* Rounded bottom corners */
    margin-top: 5px; /* Slight gap above the rectangle */
}

.mini-banner-box {
    display: flex;
    transition: transform 2s ease-in-out; /* Faster rotation */
}

.mini-banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain aspect ratio */
}

/* News Section */
.news-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 0; /* No gap below banner */
    overflow: hidden;
}

.news-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    background: green;
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    justify-content: center;
}

.news-caption .news-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-caption .news-icon img {
    width: 20px;
    height: 20px;
}

.news-list {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.news-scroll {
    position: absolute;
    width: 100%;
    animation: scrollUp 20s linear infinite;
}

.news-item {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.news-item:hover {
    background-color: #f0f0f0;
}

/* Popup Styling */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 80%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
}

.popup-left {
    flex: 1;
    text-align: center;
}

.popup-left img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
}

.popup-right {
    flex: 1;
    padding: 20px;
}

.popup-right h3 {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.popup-right .popup-date {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
}

.popup-right p {
    text-align: justify;
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

.popup-thumbs {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.popup-thumbs img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

.popup-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.popup-nav button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #0056b3;
    color: white;
    cursor: pointer;
}

.popup-nav button:hover {
    background-color: #003d82;
}

@keyframes scrollUp {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

/* Box 1 and Box 2 Styles */
#box1, #box2 {
  height: 600px !important;
  width: 100%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.shape {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  margin-bottom: 10px;
  position: relative;
}

.shape .icon {
  width: 30px; /* Adjusted icon size */
  height: 30px;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid white;
}

.shape .title {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: white;
}

.photo-container {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.passport-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid green;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0% { box-shadow: 0 0 5px lightgreen; }
  50% { box-shadow: 0 0 15px green; }
  100% { box-shadow: 0 0 5px lightgreen; }
}

.name {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: green;
}

.title {
  font-size: 16px;
  color: gray;
  text-align: center;
}

.description {
  font-size: 12px;
  text-align: justify;
  line-height: 1.5;
  margin: 5px 0;
}

.values-list {
  font-size: 12px;
  line-height: 1.5;
  padding-left: 20px;
  margin: 5px 0;
}

/* Global Box Styles */
.content-box {
  height: 550px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* Header Shape Styles */
.shape {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  margin-bottom: 10px;
  position: relative;
}

.shape .icon {
  width: 30px;
  height: 30px;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 1.5s infinite;
}

.shape .title {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: white;
}

/* Box 1 Styles */
.photo-container {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.passport-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid green;
  animation: glow 2s ease-in-out infinite;
}

.name {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  color: green;
  font-family: 'Dancing Script', cursive;
}

.title {
  font-size: 18px;
  text-align: center;
  color: gray;
  font-family: 'Pacifico', cursive;
}

.description {
  font-size: 14px;
  text-align: justify;
  line-height: 1.6;
  margin: 5px 0;
  font-family: Arial, sans-serif;
}

.signature {
  width: 180px;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

/* Box 2 Styles */
.values-list {
  font-size: 14px;
  line-height: 1.6;
  padding-left: 20px;
  margin: 5px 0;
  font-family: Arial, sans-serif;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes glow {
  0% { box-shadow: 0 0 5px lightgreen; }
  50% { box-shadow: 0 0 15px green; }
  100% { box-shadow: 0 0 5px lightgreen; }
}

html {
  scroll-behavior: smooth;
}

.back-to-home {
    position: fixed;
    z-index: 1000;
    background: rgba(255, 193, 7, 0.8); /* Dark yellow with slight transparency */
    color: #1a1a1a; /* Dark text for better contrast */
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: push-up-down 1.5s infinite ease-in-out; /* Continuous animation */
}

.back-to-home a {
    color: #1a1a1a; /* Dark text for better readability */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-to-home i {
    font-size: 1.5rem; /* Slightly larger icon */
    color: #1a1a1a; /* Match text color */
}

.back-to-home:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 193, 7, 1); /* Fully opaque on hover */
    color: #000; /* Darker text on hover */
}

.back-to-home:hover a,
.back-to-home:hover i {
    color: #000; /* Match hover text color */
}

.top-button {
    top: 20px;
    right: 20px;
}

.bottom-button {
    bottom: 20px;
    right: 20px;
}

/* Push-up and push-down animation */
@keyframes push-up-down {
    0%, 100% {
        transform: translateY(0); /* Initial position */
    }
    50% {
        transform: translateY(-10px); /* Push up */
    }
}

a.button, .btn {
  text-decoration: none !important;
}

.qr-code-container {
    flex: 1; /* Allow the QR code container to take up available space */
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light-green);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--accent-color);
}

.qr-code-image {
    max-width: 100%;
    max-height: 100%;
    width: 80%; /* Adjust the size of the QR code */
    height: auto;
    object-fit: contain; /* Ensure the image scales proportionally */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.impact-stats {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.left-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1; /* Take up remaining space on the left */
}

.stat-card {
    background: var(--light-green);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--accent-color);
}