/* Content Page Styling */


/* Animated Page Title */
.page-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-rgb);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-light-rgb);
    opacity: 0;
    min-height: 100px;
    transform: translateY(-30px);
    animation: titleAppear 0.8s ease-out forwards;
    animation-delay: 0.2s;
    width: 100%;
}

@keyframes titleAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Buttons */

.dynamic-navbar0, .dynamic-navbar1, .navbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: start;
    margin: 1rem 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.nav-button {
    padding: 8px 18px;
    background: var(--button-bg);
    color: var(--button-text);
    border: 2px solid var(--button-border);
    border-radius: 50px;
    font-size: 0.9rem;
    /* font-weight: 600; */
    cursor: pointer;
    /* transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); */
    /* transform: translateY(0); */
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    min-width: 80px;
    text-align: center;
    font-family: var(--font-family);
}

/*.nav-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}*/

.nav-button:hover {
    background: var(--button-hover-bg);
    /* transform: translateY(-3px) scale(1.05); */
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    color: #ffffff;
}

/*.nav-button:hover::before {
    width: 300px;
    height: 300px;
}*/

.nav-button.active {
    background: var(--button-active-bg);
    color: var(--button-active-text);
    border-color: var(--button-active-border);
    /* transform: translateY(-2px) scale(1.02); */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Content Sections - FIXED layout */

.section0,
.section1 {
    /* flex: 1; */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(0);
    /* Changed from translateY(20px) */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
    /* Changed from 2rem */
    padding: 0 3rem;
    position: relative;
    /* Ensure proper stacking */

}

.section0.active,
.section1.active {
    opacity: 1;
    max-height: 5000px;
    transform: translateY(0);
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #CFDFF0;
    padding: 3rem;
    margin-bottom: 2rem;
    /* Add margin only when active */
}

.section0-title {
    color: var(--primary-rgb);
    /* font-size: 2rem; */
    /* margin-bottom: 1.5rem; */
    /* padding-bottom: 0.5rem; */
    border-bottom: 2px solid var(--primary-light-rgb);
    animation: fadeIn 0.6s ease-out;
    /* margin: 0; */
}

.section1-title {
    color: var( --secondary-rgb);
    /* font-size: 2rem; */
    /* margin-bottom: 1.5rem; */
    /* padding-bottom: 0.5rem; */
    border-bottom: 2px solid var( --secondary-rgb);
    animation: fadeIn 0.6s ease-out;
    /* margin: 0; */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image and Text Layout */
.section-content {
    animation: contentAppear 0.8s ease-out;
    animation-delay: 0.2s;
}

@keyframes contentAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-text-row {
    display: flex;
    align-items: flex-start;
    /* align-items: center; */
    justify-content: space-between;
    gap: 30px;
    margin: 2rem 0;
}

.text-with-image {
    flex: 0 0 60%;
}

.image-with-text {
    /* flex: 0 0 40%; */
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
}

.image-with-text img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}

.round img {
    border-radius: 20rem;
}

/* Paragraph Styling - Applied to all <p> tags in sections */
.section0 p,
.section1 p {
    font-size: 1.1rem;
    color: #444;
}

.section0 p strong,
.section1 p strong {
    color: #2c3e50;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .image-text-row {
        flex-direction: column;
        gap: 20px;
    }

    .text-with-image,
    .image-with-text {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* No JavaScript Fallback */
.no-js .section0,
.no-js .section1 {
    opacity: 1;
    max-height: none;
    display: block;
    margin-bottom: 2rem;
    /* Show all sections with margin in no-js */
}

.no-js .dynamic-navbar0, .no-js .dynamic-navbar1 {
    display: none;
}


/* Centered Bold Large Text */
.centered {
    text-align: center;
    padding: 1rem;
}
.centered-bold{
    text-align: center;
    font-weight: 500;
    display: block;
    padding: 0 5rem;
}
.centered-bold-large {
    text-align: center;
    font-weight: 600;
    /* Bold */
    font-size: 1.2rem;
    /* Larger font size */
    color: #2c3e50;
    /* Dark color for better contrast */
    margin: 1rem 0;
    padding: 1rem 5rem;
    line-height: 2.2;
    letter-spacing: 0.5px;
}

/* Optional animation for appearance */
.centered-bold-large.animated {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .centered-bold-large {
        font-size: 1.5rem;
        margin: 1.5rem 0;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .centered-bold-large {
        font-size: 1.3rem;
        margin: 1rem 0;
        padding: 0.5rem;
    }
}

/* table */

table tr:nth-child(even) {
    background-color: var(--light-gray);
    /* light gray */
}

table tr:nth-child(odd) {
    background-color: white;
    /* white */
}

td,
th {
    padding: 0 20px;
    /* left-right padding */
}

/* audio */

audio {
    text-align: center;
}


.social-icon {
  display: inline-block;
  /* stays inside the same line */
  vertical-align: middle;
  margin: 0 4px;
  width: 20px;
  height: 20px;
  
}

