/* ============================================================
GLOBAL STYLES
Base styles applied across the entire page
============================================================ */

body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    max-width: 1920px;
    width: 100%;
    background-color: #F6F6F6;
}

* {
    margin: 0;
    padding: 0;
}

h2 {
    font-family: 'GFS Didot', serif;
    font-size: 48px;
    font-weight: 300;
    color: #7c0033;
    
    
}

h3 {
    font-family: 'GFS Didot', serif;
    font-size: 32px;
    font-weight: 300;
    color: #7c0033;
    
   
}

h4, h5, h6 {
    font-family: 'GFS Didot', serif;
}

p {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: #1a1a1a;
}

.row {
    display: flex;
}

.gap {
    gap: 1em;
}

.side-padding {
    padding-left: 5%;
    padding-right: 5%;
}

.row {
    display: flex;
}

.col {
    display: flex;
    flex-direction: column;
}

.margin-bttm-sm {
    margin-bottom: 1em;
}

.margin-bttm-m {
    margin-bottom: 2em;
}

.text-center {
    text-align: center;
}

.text-black {
    color: #1a1a1a;
}

.text-white {
    color: white;
}

.cta-bttn {
    border-radius: 50px;
    background-color: #009edf;
    text-decoration: none;
    color: white;
    border: none;
    padding: 12px 18px;
    font-family: "Lato", sans-serif;
    transition: all 0.3s ease;
}

.cta-bttn:hover {
    background-color: #06aef0;
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

.head-des {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 2em 5% 2em 5%;
    text-align: center;
    font-size: 1.2rem;
    color: #1a1a1a;
}

/* Hero */
.hero {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-sizing: border-box;
}

.her0 p {
    color: white;
}

.right-socials {
    position: absolute;
    right: 5%;
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.icon {
    max-width: 25px;
    height: auto;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
    transition: all 0.3s ease;
}

.icon:hover {
    transform: scale(1.2);
}



/* Banner */

.highlights {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3em;
    padding-bottom: 3em;
    background-color: #F4F4F4;
}

.banner1 .date {
    border-right: 1px solid #c0c0c0;
    padding-right: 1em;
    align-items: center;
    gap: 1rem;
    
}

.date .number {
    font-size: 2.2rem;
    font-family: "GFS Didot", serif;
}

.banner1 {
    max-width: 800px;
    width: 100%;
    padding: 10px 28px;
    background: #fff;
    border-radius: 25px;
    border: 3px solid #009edf; 
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
    align-items: center;
    justify-content: center;
    gap: 1em;
    text-align: center;

}

.our-impact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-bottom: 4em;
    padding-top: 4em;
    background-color: #F4F4F4;
    gap: 2em;
}

.banner2 {
    justify-content: space-around;
}

.about {
    background-color: white;
    padding-top: 3em;
    padding-bottom: 3em;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 25px;
}

.welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

.paragraph {
    display: flex;
    gap: 1em;
    border-top: 5px solid #494949;
    padding-top: 1em;
    position: relative;
    z-index: 2;
}

.one, .two {
    max-width: 350px;
}

.paragraph .quote1, .paragraph .quote2 {
    position: absolute;
    z-index: 1;
    max-width: 100px;
    height: auto;
}

.quote1 {
    top: 10px;
    left: 0;
}

.quote2 {
    bottom: 10px;
    right: 0;
}

.welcome-img {
    max-width: 300px;
    height: 300px;
    border-radius: 25px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.about-text {
    max-width: 800px;
}

.about-text h2 {
    text-align: center;
}

.snap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    text-align: center;
}

.snap p {
    max-width: 850px;
}

.banner2 .value {
    border-bottom: 3px solid #D40D83;
    font-size: 3.2rem;
    margin: 0;
    gap: 1em;
}

/* Articles */
.articles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    gap: 1em;
    padding-top: 3em;
    padding-bottom: 3em;
}

.article-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 2em;
    text-align: center;
}

.latest {
    display: flex;
    flex-direction: column;
    padding-left: 2em;
    gap: 1em;
    flex: 1;
    border-left: 2px solid #e1e1e1;
}

.posts-tab {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 1em;
}

.post {
    display: flex;
    align-items: center;
    gap: 1em;
    border-top: 1px solid #e1e1e1;
    padding-top: 1em;
}

.highlight-post-img {
    max-width: 550px;
    height: auto;
    border-radius: 25px;
}

.post-category, .sub-heading {
    font-size: 1.2rem;
    color: #009edf;
    margin-bottom: 10px;
}

.post-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
    min-width: 250px;
}

.post-date {
    color: #b2b2b2;
    font-size: 1rem;
    margin-top: 10px;
}

.post-img {
    max-width: 130px;
    height: 100px;
    background-size: cover;
    border-radius: 15px;
}

.most-recent-post {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 3em;
    flex: 2;
}

.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    padding-top: 3em;
    padding-bottom: 3em;
    background-color: white;
}

/* Newsletter */

.banner3 {
    max-width: 800px;
    width: 100%;
    gap: 1em;
    align-items: center;
    background: #281FB6;
    background: linear-gradient(90deg, rgba(40, 31, 182, 1) 0%, rgba(249, 9, 120, 1) 100%);
    padding: 50px;
    justify-content: space-between;
    border-radius: 25px;
    color: white;
}

.mail-input {
    border-radius: 50px;
    border: 1px solid #707070;
    padding: 12px 18px;
    min-width: 200px;
}

.mail-input::placeholder {
    color: #b6b6b6;
    opacity: 1;
}

/* ******************************************************************************************************
Contact Page
******************************************************************************************************** */
.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    background-color: white;
    gap: 3em;
}

.contact-content {
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 5%;
    box-sizing: border-box;
}

.cntct-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.form-input {
    padding: 12px 12px;
    border-radius: 50px;
    border: solid 1px #009edf;
}

.send {
    max-width: 150px;
}

form label {
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 1.2rem;
    font-family: lato, sans-serif;
}

.form-textarea {
    height: 200px;
    border-radius: 25px;
    padding: 1em;
    border: solid 1px #009edf;
    resize: none;
    margin-bottom: 10px;
}

textarea::placeholder {
    color: #b6b6b6;
    opacity: 1;
    font-family: lato, sans-serif;
}

.contact-card {
    border-radius: 25px;
    background-color: #f1f1f1;
    padding: 2em;
}

.contact-card .sec {
    margin-bottom: 1em;
    border-bottom: solid 1px #ffffff;
    padding-bottom: 10px;
}

.contact-card h3 {
    font-size: 1.2rem;
}

.contact-card img {
    height: 25px;
    width: auto;
}

.contact-card p {
    margin-top: 10px;
    color: #7b7b7b;
}

.contact-card .row {
    align-items: center;
    gap: 1em;
}

.contact-card .social-icons img {
    fill: #494949;
}

.social-icons {
    margin-top: 10px;
}

.gmap {
    width: 100%;
    height: 300px;
    /* background-color: #D40D83; */
    border: 2spx solid #4e1baa;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #009edf;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.back-to-top:hover {
    background-color: #0078a8;
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transform: rotate(180deg);
}

/* *****************************************

******************************************* */
.bold {
    font-size: 24px;
    font-weight: 600;
    font-family: "Lato", sans-serif;
    padding: 0px;
    margin: 0;
}

.side-padding {
    padding-left: 5%;
    padding-right: 5%;
}


/* ============================================================
   WHO ARE WE SECTION
   Intro section with heading, image, and description text
   ============================================================ */

.who-are-we {
    max-width: 1920px;
    width: 100%;
}

.who-container {
    max-width: 1658px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.who-top {
    max-width: 1658px;
    width: 100%;
    padding: 3em 0;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
}

.who-top img {
    max-width: 650px;
    width: 100%;

}

.who-bottom {
    max-width: 1658px;
    width: 100%;
    min-height: 384px;
}


/* ============================================================
   OUR JOURNEY SECTION
   Timeline showing key milestones in SECAM's history
   ============================================================ */

.our-journey {
    max-width: 1315px;
    width: 100%;
    margin: auto;
    text-wrap: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-container {
    max-width: 1315px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.time-box {
    max-width: 277px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* Timeline circle indicators - each color represents a different era */
.time-circle1 { width: 60px; height: 60px; border-radius: 50%; background: #661a88; }
.time-circle2 { width: 60px; height: 60px; border-radius: 50%; background: #78169d; }
.time-circle3 { width: 60px; height: 60px; border-radius: 50%; background: #ad118e; }
.time-circle4 { width: 60px; height: 60px; border-radius: 50%; background: #d40d83; }

/* Timeline period labels - colored to match their respective circles */
.period1 { font-family: "Lato", sans-serif; font-size: 1.2rem; color: #661a88; font-weight: 700; }
.period2 { font-family: "Lato", sans-serif; font-size: 1.2rem; color: #78169d; font-weight: 700; }
.period3 { font-family: "Lato", sans-serif; font-size: 1.2rem; color: #ad118e; font-weight: 700; }
.period4 { font-family: "Lato", sans-serif; font-size: 1.2rem; color: #d40d83; font-weight: 700; }

.event {
    font-family: "Lato", sans-serif;
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 700;
}

/* Horizontal lines connecting the timeline circles */
.connector {
    flex: 1;
    height: 10px;
    align-self: flex-start;
    margin-top: 25px;
    margin-left: -108.5px;
    margin-right: -108.5px;
}

.connector1 { background: linear-gradient(to right, #661a88, #78169d); }
.connector2 { background: linear-gradient(to right, #78169d, #ad118e); }
.connector3 { background: linear-gradient(to right, #ad118e, #d40d83); }


/* ============================================================
   AIMS SECTION (VISION & MISSION)
   Gradient banner displaying SECAM's vision and mission
   ============================================================ */

.aims {
    width: 100%;
    min-height: 318px;
    background: linear-gradient(to right, #501baa, #d70c82);
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 2rem;
    box-sizing: border-box;
}

.aims-container {
    max-width: 1962px;
    width: 100%;
    min-height: 271px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* padding: 24px; */
    box-sizing: border-box;
}

.aims-container h3 {
    font-family: 'GFS Didot', serif;
    font-size: 32px;
    font-weight: 300;
    color: #f1f1f1;
    margin: 0;
    padding: 0;
}

.aims-container p {
    font-weight: 400;
    color: #f1f1f1;
    padding: 0;
    margin: 0;
}

/* Vertical divider between vision and mission */
.aims-line {
    width: 2px;
    min-height: 212px;
    background-color: #f1f1f1;
}

.vision-container {
    max-width: 610px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 20px;
}

.vision-box {
    max-width: 434px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.mission-container {
    max-width: 948px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.mission-box {
    max-width: 948px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.mission-content {
    max-width: 468px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list ul {
    list-style: none;
}

/* Responsive: stack vision and mission vertically on tablets */
@media (max-width: 1024px) {
    .aims-container {
        flex-direction: column;
        align-items: center;
    }

    .aims-line {
        width: 80%;
        min-height: 2px;
        height: 2px;
    }

    .vision-container,
    .mission-container {
        max-width: 100%;
        justify-content: center;
    }

    .mission-box {
        flex-direction: column;
        align-items: center;
    }
}

/* Responsive: stack vision icon and text on mobile */
@media (max-width: 600px) {
    .vision-container {
        flex-direction: column;
        text-align: center;
    }

    .aims-container h3,
    .aims-container p {
        font-size: 18px;
    }
}


/* ============================================================
   AIMS AND OBJECTIVES SECTION
   Numbered list of SECAM's core objectives
   ============================================================ */

.objectives-main {
    max-width: 1920px;
    width: 100%;
    padding: 61px;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-sizing: border-box;
}

.objectives-container {
    max-width: 1798px;
    width: 100%;
    min-height: 907px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 15px;
    box-sizing: border-box;
}

/* Horizontal divider line below section heading */
.objectives-line {
    max-width: 1695px;
    width: 100%;
    border: 1px solid #707070;
}

.objective {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 1rem;
}

/* Numbered circle on the left of each objective */
.objective-number {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background-color: #501baa;
    color: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Gradient colors for each objective number circle */
.obj-1 { background-color: #501baa; }
.obj-2 { background-color: #6a15a0; }
.obj-3 { background-color: #8f1096; }
.obj-4 { background-color: #a50e8f; }
.obj-5 { background-color: #b50d8c; }
.obj-6 { background-color: #c80c87; }
.obj-7 { background-color: #d70c82; }

.objective-number p {
    font-size: 24px;
    font-weight: 600;
    font-family: "Lato", sans-serif;
    padding: 0;
    margin: 0;
    color:#ffffff;
}

.objective-content p {
    padding: 0;
    margin: 0;
    color: #1a1a1a;
    font-family: "Lato", sans-serif;
}


/* ============================================================
   WHY "SYMPOSIUM" DROPDOWN SECTION
   Collapsible section explaining SECAM's name choice
   ============================================================ */

/* Collapsed state - clickable pill-shaped bar */
.why-container, .how-container {
    max-width: 1798px;
    width: 100%;
    height: 117px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    border: #009edf 3px solid;
    border-radius: 50px;
    padding-inline: 5em;
    box-sizing: border-box;
    cursor: pointer;
    background-color: #fff;
}

/* The +/- toggle icon */
.why-icon, .how-icon {
    font-size: 70px;
    font-weight: 600;
    color: #009edf;
    display: inline-flex;
    align-items: center;
}

/* Hidden by default, shown when why-active class is toggled via JS */
.why-content {
    display: none;
    max-width: 1798px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.why-content.why-active {
    display: block;
}

.how-content {
    display: none;
    max-width: 1798px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.how-content.how-active {
    display: block;
}

/* Expanded state container - shown when dropdown is open */
.why-top, .how-top {
    max-width: 1798px;
    width: 100%;
    border: 1px solid #707070;
    border-radius: 25px;
    background-color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-sizing: border-box;
    margin: 0 auto;
}

/* Header row inside the expanded dropdown with close (-) button */
.why-open, .how-open {
    max-width: 1680px;
    width: 100%;
    height: 39px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    cursor: pointer;
}


/* ============================================================
   SYMPOSIUM EXPLANATION (inside why dropdown)
   Text and Venn diagram explaining the word "Symposium"
   ============================================================ */

.symposium {
    max-width: 1680px;
    width: 100%;
    min-height: 527px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
    box-sizing: border-box;
    margin: 0 auto;
}

.symposium-text {
    flex: 1;
    min-width: 280px;
    max-width: 717px;
}

/* Right-side diagram box containing the Venn diagram */
.symposium-diagram {
    flex: 1;
    min-width: 280px;
    max-width: 662px;
    min-height: 527px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    border-radius: 10px;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.symposium-diagram p {
    font-size: 32px;
    font-weight: 600;
    font-family: "Lato", sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
}

/* Venn diagram layout */
.venn {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.venn-top {
    display: flex;
    flex-direction: row;
}

.venn-bottom {
    display: flex;
    justify-content: center;
    margin-top: -60px;
}

/* Individual Venn circles - overlapping via negative margins */
.venn-circle {
    width: 247px;
    height: 247px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    margin: -30px;
}

.venn-circle p {
    color: #f1f1f1;
    font-weight: 700;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 20px;
}

/* Responsive: stack text and diagram on smaller screens */
@media (max-width: 768px) {
    .symposium {
        flex-direction: column;
        align-items: center;
    }

    .symposium-text,
    .symposium-diagram {
        max-width: 100%;
    }

    .venn-circle {
        width: 160px;
        height: 160px;
        margin: -20px;
    }

    .venn-bottom {
        margin-top: -40px;
    }
}


/* ============================================================
   COMPOSITION OF SECAM SECTION
   Details on SECAM's structure and membership
   ============================================================ */

.composition-container {
    max-width: 1798px;
    width: 100%;
    min-height: 777px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 0 auto;
}

.composition-content{
    max-width: 1648px;
    width: 100%;
    min-height: 587px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
}


.composition-text p{
    max-width: 600px;
    width: 100%;
    font-size: clamp(16px, 1.5vw, 24px);
    color: #1a1a1a;
}

.composition{
    max-width: 600px;
    min-height: 587px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    flex-shrink: 0;
}

.comp-card1{
    width: 100%;
    min-height: 150px;
    text-align: center;
    border: 6px solid #531aa8;
    border-radius: 25px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.comp-card2{
    width: 100%;
    min-height: 228px;
    text-align: center;
    border: 6px solid #971394;
    border-radius: 25px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 2x2 grid layout for Standing Committee members */
.committee-comp{
    height: 100px;
    background-color: #f1f1f1;
    border-radius: 25px;
    padding: 1em;
    box-sizing: border-box;
}

.committee-comp ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 40px;
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0 0 0;
    text-align: left;
}

.committee-comp ul li {
    font-family: "Lato", sans-serif;
    font-size: 24px;
    font-weight: 300;
}

.comp-card3{
    width: 100%;
    min-height: 150px;
    text-align: center;
    border: 6px solid #d40c83;
    border-radius: 25px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ###        COMMISSION TAB OPEN      ######### */

.commission{
    max-width: 1653px;
    width: 100%;
    min-height: 419px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    box-sizing: border-box;
}

.comm-top{
    max-width: 629px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.comm-card{
    max-width: 692px;
    width: 100%;
    min-height: 419px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    flex: 1 1 280px;
    border-radius: 15px;
}

.comm-card h3{
    font-size: 32px;
    font-weight: 600;
    color: #f1f1f1;
    font-family: "Lato", sans-serif;
}

.comm-card p{
    font-size: 24px;
    font-weight: 300;
    color: #f1f1f1;
    font-family: "Lato", sans-serif;
}

.blue-comm{
    background-color:#4e1baa;
}
 .pink-comm{
    background-color:#d10d84;
 }

 .conferences-container{
    max-width: 1789px;
    width: 100%;
    background-color:#fff;
    border-radius: 25px;
    margin: auto 0;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-sizing: border-box;
 }

 .conferences-content{
    max-width: 1604px;
    width: 100%;
    margin: auto 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
 }

 .conf-card{
    max-width: 550px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 2px;
 }

 .conf-card .cta-bttn {
    max-width: 150px;
    text-align: center;
    align-self: center;
    margin-bottom: 1em;
 }

 .conf-card ul {
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 1em;
 }

 .conf-card-header{
    width:100%;
    height: 130px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px;
 }

.conf-card-header p{
    font-weight: 600;
    padding-left: 5px;
    padding-right: 5px;
    color: #f5f5f5;
}

.conf-card ul li{
    font-family: "lato", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #1a1a1a;
    list-style: none;
}

.conf-card1{
    border: solid #4f1aaa;
    border-radius: 30px;
}

.conf-header1{
    background-color: #4f1aaa;
    border-radius: 25px 25px 0 0;
}

.conf-card2{
    border: solid #6718a3;
    border-radius: 30px;
}

.conf-header2{
    background-color: #6718a3;
    border-radius: 25px 25px 0 0;
}


.conf-card3{
    border: solid #88159a;
    border-radius: 30px;
}

.conf-header3{
    background-color: #88159a;
    border-radius: 25px 25px 0 0;
}

.conf-card4{
    border: solid #a01292;
    border-radius: 30px;
}

.conf-header4{
    background-color: #a01292;
    border-radius: 25px 25px 0 0;
}

.conf-card5{
    border: solid #aa1290;
    border-radius: 30px;
}

.conf-header5{
    background-color: #aa1290;
    border-radius: 25px 25px 0 0;
}

.conf-card6{
    border: solid #b90f8a;
    border-radius: 30px;
}

.conf-header6{
    background-color: #b90f8a;
    border-radius: 25px 25px 0 0;
}

.conf-card7{
    border: solid #cc0d85;
    border-radius: 30px;
}

.conf-header7{
    background-color: #cc0d85;
    border-radius: 25px;
}

.conf-card8{
    border: solid #da0c81;
    border-radius: 30px;
}

.conf-header8{
    background-color: #da0c81;
    border-radius: 25px;
}

/* ################################# */
/* ######## ORGANOGRAM ########## */
/* ################################# */

.organogram-header, .secretariat-header{
    position: relative;
    max-width: 1060px;
    width: 100%;
    height: 93px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.org{
    position: absolute;
    width: 431px;
    border: 1px solid #7c0033;
    border-radius: 50px;
    background-color: #fff;
    text-align: center;
    margin: 0 auto;
}

.organogram {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

.organogram img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* ############## SECRETARIAT ################### */

.staff-container, .committee-container{
    max-width: 1920px;
    width: 100%;
    min-height: 800px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background-color: #fff;
    gap: 1em;
}

.staff-label, .committee-label{
    max-width: clamp(200px, 15vw, 400px);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    align-self: stretch;
}

.staff-label{
    background-color: #521ba9;
}

.committee-label{
    background-color:#cd0d85;
}

.sec-label {
    font: size 3.2rem;
    font-weight: 600;
    font-family: 'GFS Didot', serif;
    color: #f1f1f1;
    padding-left: 5px;
    padding-right: 5px;
}

.sec-content{
    max-width: 1520px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5%;
    gap: 3em;
    position: relative;
    overflow: hidden;
}

.sec-carousel{
    width: 100%;
    max-width: 1057px;
    position: relative;
    overflow: hidden;
}

.sec-carousel-track{
    display: flex;
    width: 400%;
    transition: transform 0.5s ease-in-out;
}

.sec-card-container{
    max-width: 1057px;
    width: 25%;
    min-height: 340px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    flex-shrink: 0;
}

.sec-card{
    max-width: 450px;
    width: 100%;
    height: 144px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 3px solid #009edf;
    border-radius: 72px 0 0 72px;
    gap: 1.5rem;
    padding: 0.5rem 0.5rem 0.5rem 0;
    box-sizing: border-box;
}

.sec-img{
    width: 144px;
    height: 144px;
    border-radius: 50%;
    border: 3px solid #009edf;
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.sec-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.sec-text{
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sec-name{
    font-size: 19px;
    font-weight: 500;
    font-family: 'GFS Didot', serif;
    color: #1a1a1a;
}

.sec-title{
    font-size: 19px;
    font-weight: 500;
    color: #707070;
}

.sec-scroll{
    max-width: 755px;
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.slide-indicator{
    width: 105px;
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.slide-selected{
    width: 30px;
    height: 30px;
    border: 1px solid #1a1a1a;
    background-color: #000;
    border-radius: 50px;
}

.slide-circle{
    width: 15px;
    height: 15px;
    border: 1px solid #707070;
    border-radius: 50px;
    cursor: pointer;
}

.scroll-selector{
    width: 342px;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.selector{
    width: 151px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #cecece;
    border-radius: 50px;
    box-sizing: border-box;
    transition: all ease-in-out 0.3s;
}

.selector:hover{
    background-color: #009edf;
    border: none;
}

/* ################################# */
/* ######## RESPONSIVE DESIGN ####### */
/* ################################# */

/* Tablet styles (1024px and below) */
@media (max-width: 1024px) {
    /* Global adjustments */
    
    h2 {
        font-size: 36px;
    }
    
    h3 {
        font-size: 28px;
    }
    
    p, .bold {
        font-size: 20px;
    }
    
    /* Who Are We Section */
    .who-container {
        padding: 0 2rem;
    }
    
    .who-top {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        min-height: auto;
    }
    
    .who-top img {
        max-width: 100%;
        height: auto;
    }
    
    /* Timeline Section */
    .our-journey {
        padding: 0 1rem;
    }
    
    .time-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .time-box {
        max-width: 100%;
        text-align: center;
    }
    
    .connector {
        display: none;
    }
    
    /* Objectives Section */
    .objectives-main {
        padding: 2rem;
    }
    
    .objectives-container {
        padding: 2rem;
    }
    
    .objective {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .objective-number {
        align-self: center;
    }
    
    /* Composition Section */
    .composition-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .composition-text {
        max-width: 100%;
    }
    
    .composition {
        max-width: 100%;
    }
    
    /* Conferences Section */
    .conferences-container {
        padding: 3rem 2rem;
    }
    
    .conferences-content {
        gap: 2rem;
    }
    
    .conf-card {
        max-width: 100%;
        flex: 1 1 300px;
    }
    
    /* Dropdown sections */
    .why-container, .how-container {
        padding-inline: 2rem;
        height: auto;
        min-height: 80px;
        padding: 1rem 2rem;
    }
    
    .why-icon, .how-icon {
        font-size: 50px;
    }
    
    .why-top, .how-top {
        padding: 2rem;
    }
    
    .symposium {
        padding: 2rem;
        gap: 2rem;
    }
    
    /* Commission cards */
    .commission {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .comm-card {
        max-width: 100%;
        min-height: 300px;
        padding: 1.5rem;
        flex: none;
    }
    
    .comm-top {
        gap: 1rem;
        justify-content: center;
    }
    
    /* Organogram */
    .organogram-header, .secretariat-header {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .org {
        width: 350px;
        max-width: 90%;
    }
    
    .organogram {
        padding: 1.5rem;
    }
    
    /* Staff/Committee sections */
    .staff-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .staff-label, .committee-label {
        max-width: 100%;
        width: 100%;
        min-height: 120px;
        padding: 1rem 0;
        order: 0;
        box-sizing: border-box;
    }
    
    .committee-label {
        order: -1;
    }
    
    .sec-label {
        font-size: 36px;
    }
    
    .sec-content {
        max-width: 100%;
        padding: 0 2rem;
        gap: 2em;
    }
    
    .sec-carousel {
        max-width: 100%;
    }
    
    .sec-card {
        max-width: 450px;
        height: 100px;
        padding: 0.75rem 0.75rem 0.75rem 0;
        gap: 1rem;
        border-radius: 50px 0 0 50px;
    }
    
    .sec-img {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }
    
    .sec-text {
        flex: 1;
    }
    
    .sec-name, .sec-title {
        font-size: 16px;
    }
    
    .sec-scroll {
        max-width: 100%;
        flex-direction: column;
        gap: 2rem;
        height: auto;
        padding: 2rem 0;
    }
    
    .scroll-selector {
        width: 280px;
        height: 80px;
    }
    
    .selector {
        width: 120px;
        height: 80px;
    }
}

/* Mobile styles (768px and below) */
@media (max-width: 768px) {
    /* Global adjustments */

    .hero{
        gap: 1em;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    p, .bold {
        font-size: 18px;
    }
    
    /* Who Are We Section */
    .who-container {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .who-bottom {
        min-height: auto;
    }
    
    /* Timeline adjustments */
    .time-circle1, .time-circle2, .time-circle3, .time-circle4 {
        width: 40px;
        height: 40px;
    }
    
    .period1, .period2, .period3, .period4, .event {
        font-size: 18px;
    }
    
    /* Aims section */
    .aims-container {
        /* padding: 1rem; */
        gap: 1rem;
    }
    
    .aims-container h3 {
        font-size: 24px;
    }
    
    .aims-container p {
        font-size: 18px;
    }
    
    .mission-list ul li p {
        font-size: 16px;
    }
    
    /* Objectives */
    .objectives-main {
        padding: 1rem;
    }
    
    .objectives-container {
        padding: 1rem;
    }
    
    .objective-number {
        width: 50px;
        height: 50px;
    }
    
    .objective-number p {
        font-size: 20px;
    }
    
    /* Composition cards */
    .comp-card1, .comp-card2, .comp-card3 {
        min-height: 120px;
        padding: 1rem;
    }
    
    .committee-comp {
        height: auto;
        min-height: 80px;
    }
    
    .committee-comp ul li {
        font-size: 18px;
    }
    
    /* Conference cards */
    .conferences-container {
        padding: 2rem 1rem;
    }
    
    .conf-card-header {
        height: 100px;
    }
    
    .conf-card-header p {
        font-size: 18px;
    }
    
    .conf-card ul li {
        font-size: 18px;
    }
    
    /* Dropdown sections */
    .why-container, .how-container {
        padding: 1rem;
        border-radius: 25px;
    }
    
    .why-container h3, .how-container h3 {
        font-size: 20px;
    }
    
    .why-icon, .how-icon {
        font-size: 40px;
    }
    
    .why-top, .how-top {
        padding: 1rem;
    }
    
    .symposium {
        padding: 1rem;
    }
    
    .symposium-diagram p {
        font-size: 24px;
    }
    
    /* Commission cards */
    .comm-card {
        min-height: 250px;
        padding: 1.5rem;
        flex: none;
        width: 100%;
    }
    
    .comm-card h3 {
        font-size: 24px;
    }
    
    .comm-card p {
        font-size: 18px;
    }
    
    .comm-top {
        gap: 2rem;
    }
    
    /* Organogram */
    .organogram-header, .secretariat-header {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .org {
        width: 300px;
        max-width: 85%;
    }
    
    .organogram {
        padding: 1rem;
    }
    
    .organogram img {
        max-width: 100%;
        height: auto;
    }
    
    /* Staff/Committee carousel */
    .sec-content {
        padding: 0 0.5rem;
        gap: 1.5em;
    }

    .staff-label, .committee-label {
        max-width: 100%;
        width: 100%;
        min-height: 120px;
        padding: 1rem 0;
        order: 0;
        box-sizing: border-box;
    }
    
    .sec-card-container {
        gap: 1rem;
        min-height: auto;
    }
    
    .sec-card {
        height: 80px;
        padding: 0.5rem 0.5rem 0.5rem 0;
        gap: 0.75rem;
        border-radius: 40px 0 0 40px;
        max-width: 100%;
        width: 100%;
    }
    
    .sec-img {
        width: 80px;
        height: 80px;
        margin: 0 auto;
        align-self: center;
    }
    
    .sec-text {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .sec-name {
        font-size: 14px;
        text-align: center;
    }
    
    .sec-title {
        font-size: 12px;
        text-align: center;
    }
    
    .sec-label {
        font-size: 28px;
    }
    
    .scroll-selector {
        width: 240px;
        height: 60px;
    }
    
    .selector {
        width: 100px;
        height: 60px;
        font-size: 14px;
    }
    
    .slide-indicator {
        width: 80px;
    }
    
    .slide-selected {
        width: 20px;
        height: 20px;
    }
    
    .slide-circle {
        width: 12px;
        height: 12px;
    }
}

/* Small mobile styles (480px and below) */
@media (max-width: 480px) {
    /* Global adjustments */
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    p, .bold {
        font-size: 16px;
    }
    
    /* Who Are We */
    .who-container {
        padding: 0 0.5rem;
    }
    
    /* Timeline */
    .time-circle1, .time-circle2, .time-circle3, .time-circle4 {
        width: 35px;
        height: 35px;
    }
    
    .period1, .period2, .period3, .period4, .event {
        font-size: 16px;
    }
    
    /* Aims */
    .aims-container h3 {
        font-size: 20px;
    }
    
    .aims-container p {
        font-size: 16px;
    }
    
    /* Objectives */
    .objective-number {
        width: 40px;
        height: 40px;
    }
    
    .objective-number p {
        font-size: 18px;
    }
    
    .objective-content p {
        font-size: 16px;
    }
    
    /* Composition */
    .committee-comp ul li {
        font-size: 16px;
    }
    
    /* Conferences */
    .conf-card-header {
        height: 80px;
    }
    
    .conf-card-header p {
        font-size: 16px;
    }
    
    .conf-card ul li {
        font-size: 16px;
    }
    
    /* Dropdowns */
    .why-container h3, .how-container h3 {
        font-size: 18px;
    }
    
    .why-icon, .how-icon {
        font-size: 35px;
    }
    
    .symposium-diagram p {
        font-size: 20px;
    }
    
    /* Commission cards */
    .comm-card h3 {
        font-size: 20px;
    }
    
    .comm-card p {
        font-size: 16px;
    }
    
    .comm-top {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Organogram */
    .organogram-header, .secretariat-header {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .org {
        width: 250px;
        max-width: 80%;
    }
    
    .organogram {
        padding: 0.5rem;
    }
    
    .organogram img {
        max-width: 100%;
        height: auto;
    }
    
    /* Staff/Committee */
    .sec-content {
        padding: 0 0.5rem;
    }
    
    .sec-card {
        height: 70px;
        padding: 0.4rem 0.4rem 0.4rem 0;
        gap: 0.5rem;
        border-radius: 35px 0 0 35px;
    }
    
    .sec-img {
        width: 60px;
        height: 60px;
    }
    
    .sec-name {
        font-size: 12px;
    }
    
    .sec-title {
        font-size: 11px;
    }
    
    .sec-label {
        font-size: 24px;
    }
    
    .scroll-selector {
        width: 200px;
        height: 50px;
    }
    
    .selector {
        width: 80px;
        height: 50px;
        font-size: 12px;
    }
    
    .slide-indicator {
        width: 60px;
    }
    
    .slide-selected {
        width: 16px;
        height: 16px;
    }
    
    .slide-circle {
        width: 10px;
        height: 10px;
    }
}

/* ################################# */
/* ######## CONTACT RESPONSIVE ###### */
/* ################################# */

@media (max-width: 1024px) {
    .contact-content {
        flex-direction: column;
        padding: 0 5%;
        gap: 2em;
    }

    .contact-card {
        max-width: 100%;
    }

    form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-content .row.gap {
        flex-direction: column;
    }

    .form-input {
        width: 100%;
        box-sizing: border-box;
    }

    .contact {
        padding-top: 2em;
        gap: 2em;
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: 0 3%;
    }

    .cta-bttn.send {
        width: 100%;
        text-align: center;
    }
}

/* ################################# */
/* ######## ARTICLES RESPONSIVE ##### */ 
/* ################################# */

@media (max-width: 1024px) {
    .header-wrapper {
        max-height: none;
        flex-wrap: wrap;
        gap: 1em;
        padding: 24px;
    }

    .input-wrapper {
        max-width: 100%;
        max-height: none;
    }

    .search-input {
        max-width: 100%;
        max-height: none;
    }

    .search-button {
        max-width: 100%;
        padding: 16px 40px;
    }

    .contentp-wrapper {
        flex-direction: column;
    }

    .image-wrapper {
        max-width: 100%;
        max-height: none;
    }

    .image-wrapper img {
        width: 100%;
        height: auto;
        border-radius: 25px;

    }
}

@media (max-width: 480px) {
    .header-wrapper {
        padding: 16px;
    }

    .search-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    select {
        max-width: 100%;
        font-size: 1rem;
        padding: 12px;
    }
}

/* ################################# */
/* ######## PLENARIES RESPONSIVE #### */ 
/* ################################# */



/* ################################# */
/* ######## PRESIDENTS RESPONSIVE ### */ 
/* ################################# */

@media (max-width: 1024px) {
    .content-wrapper2 {
        padding: 40px 60px 100px 60px;
    }

    .content2 {
        max-height: none;
        max-width: 100%;
    }

    .card-group2 {
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-card2 {
        max-width: 100%;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .content-wrapper2 {
        padding: 24px 24px 80px 24px;
    }

    .content2-inner {
        flex-direction: column;
    }

    .outer-content {
        margin-top: 30px;
    }

    .circle {
        margin-top: 30px;
    }

    .circle::after {
        height: 160px;
    }

    .content2 {
        padding: 12px 16px 24px 16px;
    }

    .header-content h6 {
        font-size: 1rem;
    }

    .content2 h5 {
        font-size: 1rem;
        margin-top: 12px;
    }

    .content2 p {
        font-size: 0.95rem;
        margin-top: 8px;
    }

    .card-group2 {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .header-card2 {
        max-width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .content-wrapper2 {
        padding: 16px 16px 60px 16px;
    }

    .circle {
        width: 25px;
        height: 25px;
    }

    .middle-dot {
        width: 10px;
        height: 10px;
    }

    .circle::before {
        height: 30px;
        top: -30px;
    }

    .circle::after {
        height: 100%;
        bottom: 0;
        top: 100%;
    }

    .date {
        font-size: 1rem;
    }

    .content2 {
        padding: 10px 12px 20px 12px;
        max-height: none;
    }

    .outer-content {
        align-items: flex-start;
    }
}

/* ################################# */
/* ######## INDEX RESPONSIVE ######## */
/* ################################# */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .banner1 {
        width: 100%;
    }

    .welcome {
        flex-direction: column;
        align-items: center;
    }

    .welcome-img {
        max-width: 100%;
    }

    .about-text {
        max-width: 100%;
    }

    .paragraph {
        flex-direction: column;
    }

    .one, .two {
        max-width: 100%;
    }

    .banner2 {
        flex-wrap: wrap;
        gap: 2em;
    }

    .posts-tab {
        flex-direction: column;
    }

    .most-recent-post {
        border-right: none;
        border-bottom: 2px solid #e1e1e1;
        padding-right: 0;
        padding-bottom: 2em;
    }

    .highlight-post-img {
        max-width: 100%;
    }

    .latest {
        padding-left: 0;
        border-left: none;
    }

    .banner3 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .banner3 p {
        font-size: 1.2rem;
    }
}

@media (max-width: 952px) {
    
    .banner1 .date{
        display: flex;
        flex-direction: column;
    }

}

@media (max-width: 952px) {
    .hero {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .right-socials {
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 1em;
    }

    .banner1 {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .banner1 .date {
        border-right: none;
        border-bottom: 1px solid #c0c0c0;
        padding-right: 0;
        padding-bottom: 0.5em;
        display: flex;
        flex-direction: column;
    }

    .about {
        margin: 0;
        border-radius: 0;
        padding: 2rem 1rem;
    }

    .banner2 {
        gap: 1.5em;
    }

    .banner2 .value {
        font-size: 2.2rem;
    }

    .post {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-img {
        max-width: 100%;
        height: auto;
    }

    .mail-input {
        width: 100%;
        min-width: unset;
        box-sizing: border-box;
    }

    .banner3 > div {
        display: flex;
        flex-direction: column;
        gap: 1em;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .banner2 {
        justify-content: center;
    }

    .banner2 > div {
        width: 45%;
    }

    .banner3 {
        padding: 1.5rem 1rem;
    }
}

/* *********************************
********************************** */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* ################################# */
/* ######## DEPARTMENTS RESPONSIVE ## */
/* ################################# */

@media (max-width: 1024px) {
    .container2 {
        padding: 40px 32px;
    }





    .header {
        max-height: none;
        max-width: 100%;
        border-radius: 25px 25px 0 0;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(clamp(200px, 30vw, 800px), 1fr));
        max-width: 100%;
    }

    .card {
        max-width: 100%;
        max-height: none;
    }

    .numbered {
        max-width: 100%;
        max-height: none;
    }

    .boxed {
        max-width: 100%;
        max-height: none;
        padding: 19px 32px 37px 32px;
    }

    .small-card {
        max-width: 100%;
        max-height: none;
    }

    .internal-operations {
        max-width: 100%;
        max-height: none;
    }

    .operations-small-card {
        max-width: 100%;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .container2 {
        padding: 24px 16px;
    }





    .grid {
        grid-template-columns: 1fr;
    }

    .header-text h4 {
        font-size: 1.4rem;
    }

    .subtext h3 {
        font-size: 1.1rem;
    }

    .number p {
        font-size: 2.5rem;
    }

    .boxed {
        padding: 16px;
    }

    .internal-operations {
        padding: 24px 20px;
    }

    .operations-small-card {
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .container2 {
        padding: 16px 12px;
    }
    





    .header-text h4 {
        font-size: 1.2rem;
    }

    .number p {
        font-size: 2rem;
    }

    .card {
        max-width: 100%;
        max-height: none;
    }
}

/* *****************************************************
Articles
******************************************************** */
.container {
    max-width: 1920px;
    padding: 80px 0;
    background: #f1f1f1;
    box-sizing: border-box;
}

.header-wrapper {
    height: 100%;
    max-width: 1640px;
    width: 90%;
    justify-self: center;
    max-height: 180px;
    border-radius: 50px;
    background-color: #ffffff;
    padding: 50px 5% 50px 5%;
    display: flex;
    flex-direction: row;
    gap: 1em;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.input-wrapper {
    display: flex;
    gap: 2em;
    width: 100%;
    height: 100%;
    max-width: 1029px;
    max-height: 80px;
    border-radius: 25px;
    background-color: #f1f1f1;
}

.search-input {
    width: 100%;
    height: 100%;
    max-width: 1029px;
    max-height: 80px;
    background-color: #f1f1f1;
    border-radius: 25px;
    padding: 12px 16px;
    border: 0px;
    color: #a2a2a2;
    font-weight: 400;
    font-size: 1.2rem;
}

select {
    max-width: 200px;
    max-height: 80px;
    background-color: #000000;
    border-radius: 25px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 12px 16px;
    cursor: pointer;
}

.search-button {
    max-width: 330px;
    max-height: 80px;
    border-radius: 25px;
    border: none;
    background-color: #009edf;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    font-size: 1.2rem;
    cursor: pointer;
}

hr {
    margin: 60px 0px;
    border: 3px solid #e1e1e1;
}

.contentp-wrapper {
    display: flex;
    margin-top: 30px;
    gap: 1em;
    padding: 0 5%;
}

.image-wrapper {
    max-width: 398px;
    max-height: 316px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

.page-item {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 45px;
    max-height: 45px;
    padding: 4px 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    text-decoration: none;

    font-weight: 600;

    font-size: 24px;

    color: #4e1baa;
}

/* The specific square border for the active page as seen in the screenshot */
.page-item.active {
    border: 1px solid #707070;
}

.page-item:hover:not(.active):not(.dots) {
    background-color: rgba(76, 29, 149, 0.05);
}

.dots {
    cursor: default;
    font-weight: 600;
    font-size: 24px;
    color: #4e1baa;
}

/* *************************************************************
Bishops
****************************************************************/
      .bishop-container {
        max-width: 1920px;
        padding: 60px 303px;
        background: #f1f1f1;
      }

      /* Countries Horizontal Scroll */
      .bishop-countries-scroll-container {
        margin: 40px 0;
        position: relative;
      }

      .bishop-countries-scroll-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: thin;
        scrollbar-color: #009edf #f1f1f1;
        scroll-behavior: smooth;
        padding: 20px 0;
      }

      .bishop-countries-scroll-wrapper::-webkit-scrollbar {
        height: 8px;
      }

      .bishop-countries-scroll-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
      }

      .bishop-countries-scroll-wrapper::-webkit-scrollbar-thumb {
        background: #7c0033;
        border-radius: 4px;
      }

      .bishop-countries-scroll-wrapper::-webkit-scrollbar-thumb:hover {
        background: #a50042;
      }

      /* Scroll Arrows */
      .bishop-scroll-arrows-container {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
      }

      .bishop-scroll-arrow {
        width: 60px;
        height: 60px;
        background: #009edf;
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
      }

      .bishop-scroll-arrow:hover {
        background: #06aef0;
        transform: scale(1.1);
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
      }

      .bishop-scroll-arrow:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
      }

      .bishop-scroll-arrow:disabled:hover {
        background: #ccc;
        transform: none;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
      }

      .bishop-countries-scroll {
        display: inline-flex;
        gap: 20px;
        padding: 0 20px;
      }

      .bishop-country-card {
        flex-shrink: 0;
        width: 280px;
        background: #ffffff;
        box-shadow: 0px 3px 6px 0px #00000029;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .bishop-country-card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 6px 12px 0px #00000040;
      }

      .bishop-country-card.active {
        border: 3px solid #009edf;
        box-shadow: 0px 6px 12px 0px #7c003340;
      }

      .bishop-country-flag {
        width: 180px;
        height: 100px;
        margin: 0 auto 15px;
        border: 1px solid #707070;
        overflow: hidden;
        border-radius: 5px;
      }

      .bishop-country-flag img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .bishop-country-name {
        font-weight: 700;
        font-size: 20px;
        color: #7c0033;
        margin-bottom: 10px;
      }

      .bishop-bishops-count {
        font-weight: 400;
        font-size: 16px;
        color: #666;
      }

      /* Bishops Display Area */
      .bishop-bishops-display {
        margin-top: 40px;
        min-height: 400px;
      }

      .bishop-bishops-header {
        text-align: center;
        margin-bottom: 30px;
      }

      .bishop-bishops-header h2 {
        font-size: 32px;
        color: #7c0033;
        margin-bottom: 10px;
      }

      .bishop-bishops-header p {
        font-size: 18px;
        color: #666;
      }

      .bishop-bishops-list {
        display: none;
        background: #ffffff;
        border-radius: 10px;
        padding: 30px;
        box-shadow: 0px 3px 6px 0px #00000029;
      }

      .bishop-bishops-list.active {
        display: block;
      }

      .bishop-list-item {
        display: flex;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #f1f1f1;
      }

      .bishop-list-item:last-child {
        border-bottom: none;
      }

      .bishop-item-info {
        flex: 1;
      }

      .bishop-item-info h4 {
        font-size: 18px;
        color: #7c0033;
        margin-bottom: 5px;
      }

      .bishop-item-info p {
        font-size: 14px;
        color: #666;
      }

      .bishop-show-more-btn {
        display: block;
        margin: 20px auto 0;
        background: #009edf;
        color: white;
        border: none;
        padding: 12px 30px;
        border-radius: 25px;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .bishop-show-more-btn:hover {
        background: #06aef0;
        transform: translateY(-2px);
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
      }

      .bishop-placeholder-message {
        text-align: center;
        padding: 60px 20px;
        color: #666;
      }

      .bishop-placeholder-message h3 {
        font-size: 24px;
        margin-bottom: 15px;
        color: #7c0033;
      }

      .bishop-placeholder-message p {
        font-size: 18px;
      }

      @media (max-width: 1024px) {
        .bishop-container { padding: 40px 5%; }
        .bishop-country-card { width: 240px; }
        .bishop-country-flag { width: 150px; height: 85px; }
      }

      @media (max-width: 768px) {
        .bishop-container { padding: 30px 4%; }
        .bishop-country-card { width: 200px; }
        .bishop-country-flag { width: 120px; height: 70px; }
        .bishop-country-name { font-size: 18px; }
        .bishop-bishops-header h2 { font-size: 28px; }
      }

      @media (max-width: 480px) {
        .bishop-container { padding: 20px 3%; }
        .bishop-country-card { width: 180px; }
        .bishop-country-flag { width: 100px; height: 60px; }
        .bishop-country-name { font-size: 16px; }
        .bishop-bishops-header h2 { font-size: 24px; }
      }

      /* Back to Top Button */
      .bishop-back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background-color: #009edf;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
      }

      .bishop-back-to-top:hover {
        background-color: #0078a8;
        transform: translateY(-3px);
      }

      .bishop-back-to-top.show {
        opacity: 1;
        visibility: visible;
      }

      .bishop-back-to-top-icon {
        width: 20px;
        height: 20px;
        color: white;
      }


/* *************************************************************
Departments 
****************************************************************/
    .container2 {
      max-width: 1920px;
      margin: 24px auto 40px;
      background: #f1f1f1;
      padding: 64px;

      box-shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
    }

    .page-title {
      margin: 0;
      font-size: 2rem;
      font-weight: 400;
      margin-top: 30px;
      text-align: center;
    }

    .section {
      /* margin-bottom: 20px; */
      padding: 3%;
      box-sizing: border-box;
    }

    .header {
      color: #fff;
      padding: 24px 22px;
      border-radius: 18px;
      font-weight: 700;
      display: flex;
      flex-direction: column;
      border-radius: 50px 50px 0px 0px;
      margin-left: auto;
      margin-right: auto;
      height: 100%;
      max-height: 180px;
      max-width: 1640px;
      width: 100%;
      box-sizing: border-box;
    }

    .section-header {
      display: flex;
      flex-direction: row;
      align-items: center;
      /* flex-wrap: nowrap; */
    }

    .icon-wrapper {
      max-width: 27px;
      max-height: 36px;
      margin-right: 25px;
      /* margin-top: 5px; */
    }

    .icon-wrapper img {
      width: 100%;
      height: 100%;
    }
    .header-text h4 {
      font-weight: 600;
      font-size: 1.8rem;

      color: #fff;
      margin: 0px;
    }

    .subtext h3 {
      font-weight: 400;
      font-size: 32px;
      color: #fff;
      width: 1322;
      font-size: 32px;
      /* white-space: nowrap */
    }

    .header.purple {
      /* background: linear-gradient(90deg, #9b4cc4, #c24ccf); */
      background: #a641a9;
    }
    .header.pink {
      /* background: linear-gradient(90deg, #ff3c9e, #ff6aa8); */
      background: #d10d84;
    }
    .header.deep-purple {
      /* background: linear-gradient(90deg, #5a2ea6, #7a3dc7); */
      background: #4e1baa;
    }
    .header.blue {
      /* background: linear-gradient(90deg, #1992c6, #1aa3c9); */
      background: #009edf;
    }
    .header.black {
      /* background: linear-gradient(90deg, #1992c6, #1aa3c9); */
      background: #000000;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(clamp(200px, 30vw, 800px), 1fr));
      gap: 40px;
      margin-top: 20px;
      margin-left: auto;
      margin-right: auto;
      max-width: 1640px;
    }

    @media (max-width: 900px) {
      .grid {
        grid-template-columns: 1fr;
      }
    }

    .card {
      background: #ffffff;
      max-width: 800px;
      width: 100%;
      min-width: 320px;
      max-height: 350px;
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      padding: clamp(12px, 2.5vw, 27px);
      box-sizing: border-box;
    }
    .card.accent-purple {
      border-left: 5px solid #a641a9;
      border-radius: 0px 50px 50px 0px;
    }
    .card.accent-blue {
      border-right: 5px solid #009edf;
      border-radius: 50px 0px 0px 50px;
    }
    .card.accent-pink {
      border-left: 5px solid #f90978;
      border-radius: 0px 50px 50px 0px;
    }
    .card.accent-purple-dark {
      border-right: 5px solid #4e1baa;
      border-radius: 50px 0px 0px 50px;
    }
    .card-header h5 {
      font-weight: 600;
      font-size: 1.2rem;
    }
    .card-header span {
      font-weight: 400;
      font-size: 1.2rem;
    }
    .card-header .purple-detail {
      color: #a641a9;
    }
    .card-header .blue-detail {
      color: #009edf;
    }
    .card-header .pink-detail {
      color: #f90978;
    }
    .card-header .purple-dark-detail {
      color: #4e1baa;
    }

    .card-details p {
      margin-top: 28px;
    }

    .numbered {
      max-width: 1640px;
      max-height: 150px;
      border-radius: 25px;
      box-sizing: border-box;
      display: flex;
      flex-direction: row;
      align-items: center;
      padding: 28px;
      background-color: #ffffff;
      margin-top: 20px;
      margin-left: auto;
      margin-right: auto;
    }

    .number p {
      font-weight: 400;
      color: #000000;
      font-size: 64px;
    }
    .number-details {
      margin-left: 20px;
    }
    .number-details span {
      font-weight: 600;
      color: #000000;
        font-size: 1.2rem;
      /* background: aqua; */
      padding: 0px;
      margin: 0px;
    }
    .number-details p {
      font-weight: 400;
      color: #000000;
    }

    .boxed {
      max-width: 1639px;
      max-height: 336px;
      border: 3px solid #4e1baa;
      margin-top: 10px;
      margin-left: auto;
      margin-right: auto;
      padding: 19px 5% 37px 5%;
      box-sizing: border-box;
    }

    .boxed h5 {
      color: #000000;
      font-weight: 600;
      font-size: 1.2rem;
    }

    .small-card {
      max-width: 1522px;
      max-height: 97px;
      border-radius: 25px;
      background: #ffffff;
      margin-top: 20px;
      padding: 13px 30px;
    }

    .small-card h6 {
      margin: 0px;
      font-weight: 600;

      font-size: 1.2rem;

      color: #4e1baa;
    }
    .small-card p {
      font-weight: 400;
      color: #000000;
    }
    .internal-operations {
      max-width: 1639px;
      width: 100%;
      max-height: 493px;
      border-radius: 25px;
      background-color: #ffffff;
      padding: 43px 5%;
      margin-top: 10px;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }
    .internal-operations p {
      font-weight: 400;
      color: #000000;
    }
    .operations-small-card {
      max-width: 1520px;
      max-height: 110px;
      padding: 20px 5%;
      border-radius: 25px;
      border: 3px solid #f1f1f1;
      margin-top: 20px;
    }
    .operations-small-card h6 {
      color: #000000;
      font-weight: 600;

      font-size: 1.2rem;
    }
    .operations-small-card p {
      font-weight: 400;
      color: #000000;
    }

    /******************************************************
    Cardinals
    *******************************************************/
        .cardinal-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Current Cardinals Styles */
        .current-cardinals {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }

        .cardinal-card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            padding: 25px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .cardinal-card-highlight {
            border: 1px solid #009edf;
        }

        .cardinal-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .cardinal-photo {
            width: 220px;
            height: 150px;
            background: #e9ecef;
            border-radius: 15px;
            margin: 0 auto 20px auto;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            font-style: italic;
            object-fit: cover;
            object-position: top;
        }

        .cardinal-name {
            font-size: 1.3em;
            font-weight: bold;
            color: #000000;
            margin-bottom: 8px;
            text-align: center;
        }

        .cardinal-country {
            font-size: 1.1em;
            color: #666;
            margin-bottom: 10px;
            text-align: center;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .cardinal-flag {
            width: 24px;
            height: 16px;
            border: 1px solid #ddd;
            border-radius: 2px;
            display: inline-block;
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
        }

        .cardinal-title {
            font-size: 0.95em;
            color: #555;
            text-align: center;
            font-style: italic;
            line-height: 1.4;
        }

        /* Past Cardinals Styles */
        .past-cardinals {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            padding: 30px;
        }

        .past-cardinal-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .past-cardinal-item {
            padding: 20px;
            border-left: 4px solid #009edf;
            background: #f8f9fa;
            border-radius: 0 8px 8px 0;
            transition: background-color 0.3s ease;
        }

        .past-cardinal-item:hover {
            background: #e9ecef;
        }

        .past-cardinal-name {
            font-size: 1.2em;
            font-weight: bold;
            color: #000000;
            margin-bottom: 5px;
        }

        .past-cardinal-country {
            color: #666;
            font-weight: 500;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cardinal-flag-small {
            width: 20px;
            height: 13px;
            border: 1px solid #ddd;
            border-radius: 2px;
            display: inline-block;
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
        }

        .past-cardinal-title {
            font-size: 0.9em;
            color: #555;
            font-style: italic;
        }

        @media (max-width: 768px) {
            .cardinal-container {
                padding: 15px;
            }
            
            h1 {
                font-size: 2em;
            }
            
            .current-cardinals {
                grid-template-columns: 1fr;
            }
            
            .past-cardinal-list {
                grid-template-columns: 1fr;
            }
        }

    /****************************************************** 
    Dioceses
     *******************************************************/
    .dioce-container {
        max-width: 1920px;
        padding: 60px 303px;
        background: #f1f1f1;
    }
    
      /* Filter Container */
      .dioce-filter-container {
        margin: 40px auto;
        text-align: center;
        max-width: 800px;
      }
      
      .dioce-filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        align-items: center;
      }
      
      .dioce-filter-btn {
        background: #ffffff;
        border: 2px solid #009edf;
        color: #009edf;
        padding: 12px 24px;
        border-radius: 25px;
        font-size: 18px;
        font-weight: 600;
        font-family: "Lato", sans-serif;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 120px;
      }
      
      .dioce-filter-btn:hover {
        background: #009edf;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 158, 223, 0.3);
      }
      
      .dioce-filter-btn.active {
        background: #009edf;
        color: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 158, 223, 0.3);
      }
      
      .dioce-filter-btn.active:hover {
        background: #06aef0;
      }
      .dioce-content-wrapper { margin-top: 40px; }
      .dioce-alphabet {
        font-weight: 600; font-size: 32px;
        color: #7c0033; margin-bottom: 20px;
        padding-bottom: 10px; border-bottom: 3px solid #7c0033;
      }
      .dioce-content {
        display: flex; flex-direction: row;
        flex-wrap: wrap; gap: 20px;
        margin-top: 20px; align-items: flex-start;
        justify-content: center;
      }
      .dioce-flag-wrapper {
        flex: 0 1 280px; max-width: 280px;
        width: 100%; background-color: #ffffff;
        border: 1px solid #707070;
        box-shadow: 0px 3px 6px 0px #00000029;
        padding: 24px 18px 20px 18px;
        border-radius: 10px;
      }
      .dioce-flag-content { text-align: center; }
      .dioce-flag {
        width: 150px; height: 85px;
        margin: auto; border: 1px solid #707070;
        overflow: hidden;
      }
      .dioce-flag img {
        width: 100%; height: 100%;
        object-fit: cover; display: block;
      }
      .dioce-flag.no-image { background-color: #d0d0d0; }
      .dioce-flag-content h6 {
        font-weight: 700; margin-top: 8px;
        font-size: 22px; color: #7c0033;
      }
      hr {
        border: 1px solid #707070;
        margin: 15px auto; max-width: 160px;
      }
      .dioce-flag-content p span { font-weight: 700; font-size: 24px; color: #000000; }
      .dioce-flag-content p { font-weight: 400; font-size: 24px; color: #000000; }
      .dioce-description {
        overflow: hidden; max-height: 0;
        transition: max-height 0.3s ease;
      }
      .dioce-description.open { max-height: 2000px; }
      .dioce-toggle-btn {
        display: block; margin: 12px auto 0;
        background: none; border: 1px solid #7c0033;
        color: #7c0033; border-radius: 50px;
        padding: 4px 16px; font-size: 14px;
        cursor: pointer; font-family: "Lato", sans-serif;
      }
      .dioce-diocese-list { list-style: none; padding: 0; margin: 15px 0 0 0; }
      .dioce-diocese-list li {
        font-weight: 400; font-size: 18px;
        color: #000000; padding: 6px 0;
        border-bottom: 1px solid #f1f1f1;
        font-family: "Lato", sans-serif;
      }
      .dioce-diocese-list li:last-child { border-bottom: none; }

      @media (max-width: 1024px) {
        .dioce-container { padding: 40px 5%; }
        .dioce-content { gap: 20px; }
        .dioce-flag-wrapper { max-width: 100%; max-height: none; flex: 1 1 calc(50% - 20px); }
        .dioce-filter-buttons { gap: 10px; }
        .dioce-filter-btn { min-width: 100px; font-size: 16px; padding: 10px 20px; }
      }
      @media (max-width: 768px) {
        .dioce-container { padding: 30px 4%; }
        .dioce-flag-wrapper { flex: 1 1 100%; }
        .dioce-flag-content h6 { font-size: 20px; }
        .dioce-flag-content p, .dioce-diocese-list li { font-size: 18px; }
        .dioce-header-input input { font-size: 18px; padding: 16px 24px; }
        .dioce-alphabet { font-size: 24px; }
        .dioce-filter-buttons { gap: 8px; }
        .dioce-filter-btn { min-width: 80px; font-size: 14px; padding: 8px 16px; }
      }
      @media (max-width: 480px) {
        .dioce-container { padding: 20px 3%; }
        .dioce-flag { width: 160px; height: 90px; }
        .dioce-flag-content h6 { font-size: 18px; }
        .dioce-flag-content p, .dioce-diocese-list li { font-size: 16px; }
        .dioce-filter-btn { width: 100%; max-width: 120px; }
      }

    /* *****************************************************
    Plenaries
    ***************************************************** */
    .container3 {
      max-width: 1920px;
      padding: 5% 5%;
      background: #f1f1f1;
    }
    .content-wrapper {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      box-sizing: border-box;
      padding: 5%;
    }
    .content {
      max-width: 860px;
      width: 100%;
      min-width: 300px;
      background-color: #ffffff;
      border-radius: 25px;
      box-shadow: 0px 3px 6px 0px #00000029;
      padding: 5%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .content-header {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
    }
    
    .number span {
      width: 100%;
      height: 100%;
      max-width: 120px;
      max-height: 80px;
      border-radius: 25px;
      background-color: #009edf;
      font-weight: 700;
      color: #ffffff;
      font-size: 32px;
      padding: 15px;
    }
    .number p {
      font-weight: 400;
      font-size: 1.2rem;
      color: #000000;
      margin-top: 1em;
    }
    .date span {
      color: #000000;
      font-weight: 600;

      font-size: 1.2rem;
    }
    .date p {
      color: #000000;
      font-weight: 400;

      font-size: 1.2rem;
    }
    .content-body h6 {
      font-weight: 600;
      font-size: 2rem;
      color: #000000;
      margin-top: 7px;
    }
    .content-body p {
      font-weight: 400;
      font-size: 1.2rem;
      color: #000000;
      margin-top: 8px;
    }

    /* ***************************************************
    Presidents
    ***************************************************** */
    
    .card-group2 {
      display: flex;
      flex-direction: row;

      gap: 100px;
      width: 100%;
      justify-content: space-between;
    }
    .header-card2 {
      width: 100%;
      height: 100%;
      max-width: 280px;
      max-height: 205px;
      border-radius: 25px;
      border: 1px solid #a641a9;
      padding: 18px;
      margin-top: 65px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .header-card2 span {
      font-weight: 400;
      color: #000000;
      font-size: 2rem;
      margin: 0px;
      padding: 0px;
    }
    .header-card2 p {
      font-weight: 400;
      color: #000000;
      
      margin: 0px;
    }
    .content-wrapper2 {
      padding: 0 5% 60px 5%;
      max-width: 900px;
      margin: 0 auto;
      box-sizing: border-box;
    }
    .outer-content {
      display: flex;
      flex-direction: row;
      box-sizing: border-box;
      margin-top: 50px;
    }
    .circle {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      border: 1px solid #f90978;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      position: relative;
      margin-top: clamp(20px, 4vw, 50px);
      margin-right: clamp(12px, 3vw, 50px);
    }
    .circle::before {
      content: "";
      height: 40px;
      width: 1px;
      background-color: #e4e4e4;
      position: absolute;
      top: -40px;
      left: 50%;
      transform: translateX(-50%);
    }
    .circle::after {
      content: "";
      height: 210px;
      width: 1px;
      background-color: #e4e4e4;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
    }
    .middle-dot {
      width: 15px;
      height: 15px;
      border-radius: 50%;
      background-color: #f90978;
    }
    .date {
      font-weight: 600;
      font-size: 24px;
      color: #009edf;
    }
    .content2 {
      width: 100%;
      max-width: 1468px;
      flex-grow: 1;
      background-color: #ffffff;
      border-radius: 25px;
      padding: 15px 5% 37px 5%;
      box-sizing: border-box;
    }
    .header-content {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      /* align-items: center; */
    }

    .header-content img {
      width: 30px;
      height: 20px;
      object-fit: cover;
      border-radius: 5px;
    }
    
    .header-content h6 {
      font-weight: 700;
      font-size: 1.2rem;
      color: #000000;
      margin: 0px;
    }
    
    .content2 h5 {
      font-weight: 400;
      font-size: 1.2rem;
      color: #000000;
      margin-top: 20px;
      /* margin: 0px; */
    }
    .content2 p {
      font-weight: 400;
      color: #000000;
      margin-top: 20px;
    }

    .content2-inner {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: 20px;
      margin-top: 16px;
    }

    .president-img-wrap {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid #f90978;
      flex-shrink: 0;
    }

    .president-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      display: block;
    }

    .president-text {
      display: flex;
      flex-direction: column;
    }

    /* ###### Responsiveness ############## */

    @media (max-width: 1024px) {
        .content-wrapper {
            display: flex;
            flex-direction: column;
        }
    }

/* YouTube Banner */
.yt-banner {
    background: linear-gradient(90deg, rgba(40, 31, 182, 1) 0%, rgba(249, 9, 120, 1) 100%);
    padding: 60px 5%;
    margin-top: 60px;
}

.yt-banner-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.yt-banner-icon {
    flex-shrink: 0;
}

.yt-banner-text {
    flex: 1;
    min-width: 200px;
}

.yt-banner-text h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.yt-banner-text p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    margin: 0;
}

.yt-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #FF0000;
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.yt-banner-btn:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(255, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .yt-banner-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .yt-banner-text h2 {
        font-size: 1.4rem;
    }
}

/* ============================================================
GALLERY PAGE
============================================================ */
.gallery-page {
    padding-top: 50px;
    background-color: #f4f4f4;
}

.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    background-color: #ffffff;
    color: #494949;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: #009edf;
    border-color: #009edf;
    color: #ffffff;
}

.gallery-grid {
    columns: 4;
    column-gap: 16px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item--tall img {
    min-height: 380px;
}

.gallery-item--wide {
    break-inside: avoid;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    box-sizing: border-box;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.gallery-label {
    font-family: "Lato", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    background-color: rgba(124, 0, 51, 0.8);
    padding: 3px 10px;
    border-radius: 50px;
    width: fit-content;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
    gap: 16px;
}

.lightbox-content img {
    max-width: 80vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.lightbox-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.lightbox-info p {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: #ffffff;
    margin: 0;
}

.lightbox-info span {
    font-family: "Lato", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    background-color: #7c0033;
    padding: 3px 12px;
    border-radius: 50px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 2001;
}

.lightbox-close:hover { color: #f90978; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ffffff;
    font-size: 3rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(249, 9, 120, 0.5); }

/* Gallery Responsive */
@media (max-width: 1024px) {
    .gallery-grid { columns: 3; }
}

@media (max-width: 768px) {
    .gallery-grid { columns: 2; }
    .lightbox-content img { max-width: 90vw; max-height: 65vh; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 2rem; }
}

@media (max-width: 480px) {
    .gallery-grid { columns: 1; }
    .gallery-filter-bar { gap: 8px; }
    .gallery-filter-btn { font-size: 0.8rem; padding: 8px 16px; }
}

/* ============================================================
EVENTS PAGE
============================================================ */
.events-page {
    background-color: #f4f4f4;
    padding-bottom: 80px;
}

.events-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.events-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5em;
    margin-bottom: 40px;
}

.events-section-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.events-section-title h2 {
    margin: 0;
}

.events-tag {
    font-family: "Lato", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 50px;
    width: fit-content;
}

.events-tag-upcoming {
    background-color: #e8f7ff;
    color: #009edf;
}

.events-tag-past {
    background-color: #f5e8f0;
    color: #7c0033;
}

/* Featured Event */
.event-featured {
    display: flex;
    gap: 0;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.event-featured-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #501baa, #d70c82);
    color: #ffffff;
    padding: 40px 36px;
    min-width: 140px;
    text-align: center;
    flex-shrink: 0;
}

.event-featured-day {
    font-family: 'GFS Didot', serif;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
}

.event-featured-month {
    font-family: "Lato", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-top: 4px;
}

.event-featured-year {
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 4px;
}

.event-featured-body {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.event-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5em;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Lato", sans-serif;
    font-size: 0.95rem;
    color: #555;
}

.event-badge {
    font-family: "Lato", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 50px;
    max-width: 80px;
}

.event-badge-upcoming {
    background-color: #e8f7ff;
    color: #009edf;
}

.event-badge-past {
    background-color: #f5e8f0;
    color: #7c0033;
}

.event-featured-title {
    font-family: 'GFS Didot', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: #1a1a1a;
    margin: 0;
}

.event-featured-desc {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
}

.event-cta {
    width: fit-content;
    font-size: 0.9rem;
}

/* Upcoming Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.12);
}

.event-card-date {
    background: linear-gradient(135deg, #501baa, #d70c82);
    color: #ffffff;
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 16px 20px;
}

.event-card-day {
    font-family: 'GFS Didot', serif;
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1;
}

.event-card-month {
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.event-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.event-card-title {
    font-family: 'GFS Didot', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
}

.event-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.event-card-desc {
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.event-link {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #009edf;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.3s ease;
}

.event-link:hover {
    color: #0078a8;
}

/* Divider */
.events-divider {
    height: 4px;
    background: linear-gradient(to right, #501baa, #d70c82);
    margin: 0 5%;
    border-radius: 2px;
}

/* Filter */
.events-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.events-filter-btn {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    background-color: #ffffff;
    color: #494949;
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-filter-btn:hover,
.events-filter-btn.active {
    background-color: #7c0033;
    border-color: #7c0033;
    color: #ffffff;
}

/* Past Events Grid */
.past-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.past-event-card {
    background-color: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #6b6b6b;
}

.past-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 16px rgba(0,0,0,0.1);
}

.past-event-year-badge {
    background-color: #bbbbbb;
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
}

.past-event-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.past-event-date-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    color: #777;
}

.past-event-title {
    font-family: 'GFS Didot', serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
}

.past-event-location {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.past-event-tag {
    font-family: "Lato", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 50px;
    background-color: #bbbbbb;
    color: #ffffff;
    width: fit-content;
    margin-top: auto;
}

/* Events Responsive */
@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .past-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-featured-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .event-featured {
        flex-direction: column;
    }

    .event-featured-date {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 20px 24px;
        min-width: unset;
    }

    .event-featured-day {
        font-size: 2.5rem;
    }

    .event-featured-body {
        padding: 24px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .past-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .past-events-grid {
        grid-template-columns: 1fr;
    }

    .events-filter {
        gap: 8px;
    }

    .events-filter-btn {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .event-featured-title {
        font-size: 1.3rem;
    }
}

/**********************************************
Synod
************************************************/
.synod-about {
    display: flex;
    gap: 60px;
    align-items: center;
    padding-top: 3em;
    padding-bottom: 3em;
}

.synod-info {
    display: flex;
    flex-direction: column;
    gap: 1em;
}


.synod-info a {
    max-width: 280px;
    text-align: center;
}

.synod-about img {
    max-width: 380px;
    height: auto;
    border-radius: 10px;
}

.synod-card-container {
    padding-top: 8em;
    padding-bottom: 6em;
    display: flex;
    justify-content: space-around;
    background-color: white;
}

.synod-card {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 380px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 3px 6px 0px #00000029;
    padding: 20px;
    text-align: center;
    padding-top: 90px;
    padding-bottom: 2em;
}

.synod-card img {
    max-width: 80px;
    height: auto;
}

.synod-card-img {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purple-bg {
    background-color: #5A1588;;
}

.violet-bg {
    background-color: #90147F;
}

.pink-bg {
    background-color: #D60475;
}

.resource-card-container {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.resources {
    padding-top: 3em;
    padding-bottom: 3em;
    display: flex;
    align-items: center;
    gap: 2em;
    background-color: #F1F1F1;
}

.resources-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1em;
}

.resource-card {
    display: flex;
    background: #ffffff;
    border-radius: 15px;
    justify-content: space-between;
    padding: 20px;
}

.resource-card-details {
    display: flex;
}

.doc-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.resource-card-details img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.download-link {
    align-self: flex-end;
    padding: 10px 20px;
    border: 2px solid #009edf;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: "Lato", sans-serif;
}

.download-link:hover {
    background-color: #009edf;
    color: #ffffff;
}

.doc-title {
    font-weight: 600;
    font-size: 1rem;
    color: #000000;
}

.doc-date {
    font-weight: 400;
    font-size: 1rem;
    color: #666;
}

/* ============================================================
CAROUSEL STYLES
============================================================ */
.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #009edf;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
}

.carousel-btn:hover {
    color: #06aef0;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin-top: 1.5em;
    max-width: 600px;
}

.resource-card-container {
    flex: 1;
    overflow: hidden;
}

.resource-card-track {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s ease;
    gap: 0;
}

.carousel-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.resource-card {
    display: flex;
    background: #ffffff;
    border-radius: 15px;
    justify-content: space-between;
    padding: 20px;
    max-width: 600px;
    transition: all 0.3s ease;
}

.carousel-indicators {
    display: flex;
    gap: 0.5em;
    justify-content: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background-color: #999;
}

.carousel-dot-active {
    background-color: #009edf;
    width: 12px;
    height: 12px;
}

/* Responsive: Carousel adjustments for tablets and mobile */
@media (max-width: 1320px) {
    .synod-about {
        flex-direction: column;
        text-align: center;
    }

    .synod-info {
        align-items: center;
    }

    .synod-card-container {
        flex-direction: column;
        align-items: center;
        gap: 5em;
    }

    .resources {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .carousel-controls {
        gap: 1.5em;
    }

    .carousel-wrapper {
        max-width: 100%;
    }

    .resource-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .resources {
        padding-left: 5%;
        padding-right: 5%;
        gap: 1.5em;
    }

    .carousel-wrapper {
        max-width: 100%;
    }

    .resource-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1em;
        max-width: 100%;
        box-sizing: border-box;
    }

    .resource-card-details {
        width: 100%;
    }

    .download-link {
        align-self: flex-start;
    }

    .carousel-slide {
        gap: 0.75em;
    }

    .doc-title {
        font-size: 0.95rem;
    }

    .carousel-controls {
        gap: 1em;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-card {
        padding: 14px;
    }

    .resource-card-details img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    .doc-title {
        font-size: 0.9rem;
    }

    .doc-date {
        font-size: 0.85rem;
    }

    .download-link {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
}


/* ============================================================
Footer
============================================================ */
.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 3em;
    padding-bottom: 3em;
    background-color: #E1E1E1;
}

    .flex-top {
        align-self: flex-start;
        padding-top: 2em;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo img{
        width: 120px;
        height: auto;
        margin-bottom: 20px;
    }

    .footer-logo p {
        max-width: 300px;
        text-align: center;
    }

    .footer-content li {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 1em;
        font-family: "Lato", sans-serif;
    }

    .footer-content li a {
        text-decoration: none;
        color: #7c0033;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    @media (max-width: 1280px) {
        .footer-content {
            flex-direction: column;
            justify-content: center;
            gap: 2em;
        }

        .flex-top {
            align-self: center;
            text-align: center;
            padding-top: 0;
        }
    }