/*=========================================
=            RESOURCES HERO               =
=========================================*/

.resources-hero{
    padding:0;
}

.resources-hero-image{
    position:relative;
    overflow:hidden;
}

.resources-hero-image img{
    width:100%;
    height:460px;
    object-fit:fill;
    display:block;
}

.resources-hero-content{
    position:absolute;
    left:15%;
    bottom:65px;
}

.resources-hero-content h1{
    margin:0;

    font-family:'Red Hat Display';
    font-size:52px;
    font-weight:800;
    line-height:120%;

    color:#FFFFFF;
}


/* Tablet */

@media(max-width:991px){

    .resources-hero-image img{
        height:360px;
    }

    .resources-hero-content{
        left:8%;
        bottom:45px;
    }

    .resources-hero-content h1{
        font-size:42px;
    }

}


/* Mobile */

@media(max-width:576px){

    .resources-hero-image img{
        height:260px;
    }

    .resources-hero-content{
        left:25px;
        bottom:25px;
    }

    .resources-hero-content h1{
        font-size:34px;
    }

}


/*=========================================
=        RESOURCES NAVIGATION
=========================================*/

.resources-navigation{
    background:#FFFFFF;
    padding:18px 0;
}

.resources-nav{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:53px;

    margin:0;
    padding:0;

    list-style:none;
}

.resources-nav li{
    margin:0;
    padding:0;
}

.resources-nav li a{

    position:relative;
    display:inline-block;

    font-family:'Red Hat Display';
    font-weight:700;
    font-size:24px;
    line-height:100%;
    letter-spacing:0;
    text-transform:uppercase;
    text-align:center;

    color:#00324C;
    text-decoration:none;

    transition:.3s ease;
}


/* Active / Hover */

.resources-nav li a::after{

    content:'';

    position:absolute;
    left:0;
    bottom:-10px;

    width:100%;
    height:3px;

    background:#BAAD00;

    transform:scaleX(0);
    transform-origin:left;

    transition:.3s ease;
}

.resources-nav li a:hover::after,
.resources-nav li a.active::after{

    transform:scaleX(1);
}

@media (max-width:991px){

    .resources-nav{
        gap:30px;
        flex-wrap:wrap;
    }

    .resources-nav li a{
        font-size:18px;
    }

}

@media (max-width:576px){

    .resources-navigation{
        padding:15px 0;
    }

    .resources-nav{

        justify-content:flex-start;
        /* flex-wrap:nowrap; */
        overflow-x:auto;
        gap:20px;

        -webkit-overflow-scrolling:touch;
    }

    .resources-nav::-webkit-scrollbar{
        display:none;
    }

    .resources-nav li a{

        white-space:nowrap;
        font-size:16px;
    }

}



/*=========================================
=        SCHOLARSHIPS SECTION
=========================================*/

.resource-section{
    background:#FFFFFF;
    padding:80px 0 100px;
}


/* Heading */

.resource-section-heading{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;
    margin-bottom:50px;
}

.resource-section-heading::before,
.resource-section-heading::after{
    content:'';
    flex:1;
    /* max-width:320px; */
    height:6px;
    background:#C9DDDD;
}

.resource-section-heading h2{
    margin:0;

    font-family:'Playfair Display';
    font-weight:400;
    font-size:42px;
    line-height:120%;

    color:#00324C;
}


/* Three Columns */

.resource-section .container{

    /* display:grid; */
    grid-template-columns:repeat(3,1fr);
    gap:50px;

}


/* Card */

.resource-card{
    text-align:center;
}


/* Organization Name */

.resource-card h3{

    margin:0 0 35px;

    font-family:'Playfair Display';
    font-size:32px;
    font-weight:400;
    line-height:120%;

    color:#00324C;
}


/* Description */

.resource-card{

    text-align:center;

}

.resource-description{

    width:100%;
    margin:25px 0 35px;

    font-size:22px;
    line-height:150%;
    color:#00324C;

    text-align:left;

}

.resource-description p{
    margin-bottom:18px;
    color:#00324C;
}

.resource-description strong{
    font-weight:700;
    color:#00324C;
}

.resource-description a{
    color:#00324C;
    text-decoration:underline;
}


/* Buttons */

.resource-buttons{

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;

}

.resource-btn{

    width:232px;
    min-height:62px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:15px 20px;

    background:#979692;

    border-radius:50px;

    border:none;

    box-shadow:-1px 2px 2px rgba(0,0,0,.4);

    font-family:'Red Hat Display';
    font-size:24px;
    font-weight:700;
    line-height:100%;
    text-transform:uppercase;

    color:#FFFFFF;
    text-decoration:none;

    transition:.3s ease;
}

.resource-btn:hover{

    background:#00324C;
    color:#FFFFFF;

}

.resource-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:45px;

    align-items:start;

}
/*=========================================
=        SCHOLARSHIPS RESPONSIVE
=========================================*/

/* Large Tablet */

@media (max-width:991px){

    .resource-section{
        padding:70px 0;
    }

    .resource-grid{
        grid-template-columns:repeat(2,1fr);
        gap:40px;
    }

    .resource-section-heading{
        gap:25px;
        margin-bottom:50px;
    }

    .resource-section-heading h2{
        font-size:36px;
    }

    .resource-card h3{
        font-size:28px;
    }

    .resource-description{
        font-size:18px;
        line-height:150%;
    }

    .resource-btn{
        width:210px;
        min-height:56px;
        font-size:20px;
    }

}


/* Tablet */

@media (max-width:768px){

    .resource-grid{
        grid-template-columns:1fr;
        gap:50px;
    }

    .resource-card{
        max-width:600px;
        margin:0 auto;
    }

    .resource-card h3{
        font-size:28px;
    }

    .resource-description{
        text-align:center;
        font-size:18px;
    }

    .resource-buttons{
        align-items:center;
    }

}


/* Mobile */

@media (max-width:576px){

    .resource-section{
        padding:50px 0;
    }

    .resource-section-heading{
        gap:15px;
        margin-bottom:40px;
    }

    .resource-section-heading::before,
    .resource-section-heading::after{
        /* max-width:70px; */
        height:6px;
    }

    .resource-section-heading h2{
        font-size:30px;
        text-align:center;
    }

    .resource-card{
        margin-bottom:30px;
    }

    .resource-card h3{
        font-size:24px;
        margin-bottom:20px;
    }

    .resource-description{
        font-size:16px;
        line-height:150%;
        text-align:left;
        margin-bottom:25px;
    }

    .resource-description p{
        margin-bottom:15px;
    }

    .resource-buttons{
        gap:12px;
    }

    .resource-btn{
        width:100%;
        max-width:260px;
        min-height:52px;

        margin:0 auto;

        font-size:16px;
        padding:14px 18px;
    }

}


/* Publications */
/*=========================================
=           PUBLICATIONS
=========================================*/

.publications-section{

    /* padding:100px 0; */
    background:#FFFFFF;

}

.publications-wrapper{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;

}

/* Heading */

.publications-heading{

    display:flex;
    align-items:center;
    gap:20px;

    margin-bottom:45px;

}

.publications-heading::before,
.publications-heading::after{

    content:'';
    flex:1;
    height:6px;
    background:#C9DDDD;

}

.publications-heading h2{

    margin:0;

    font-family:'Playfair Display';
    font-size:42px;
    font-weight:400;
    line-height:120%;

    color:#00324C;

    white-space:nowrap;

}

/* Description */

.publications-description{

    font-family:'Red Hat Display';
    font-size:20px;
    font-weight:400;
    line-height:150%;

    color:#00324C;

}

.publications-description p{

    margin-bottom:20px;

}

.publications-description strong{

    font-weight:700;

}

/* Image */

.publications-right img{

    width:100%;
    display:block;

}

@media(max-width:991px){

    .publications-wrapper{

        grid-template-columns:1fr;
        gap:40px;

    }

    .publications-heading h2{

        font-size:34px;

    }

}

@media(max-width:576px){

    .publications-section{

        padding:60px 0;

    }

    .publications-heading{

        gap:12px;

    }

    .publications-heading h2{

        font-size:28px;

    }

    .publications-description{

        font-size:16px;

    }

}


/*=========================================
=         ORGANIZATIONS SECTION
=========================================*/

.organizations-section{
    padding:100px 0;
    background:#FFFFFF;
}

/* Heading */

.organizations-heading{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
    margin-bottom:50px;
}

.organizations-heading::before,
.organizations-heading::after{
    content:'';
    flex:1;
    height:6px;
    background:#C9DDDD;
}

.organizations-heading h2{
    margin:0;

    font-family:'Playfair Display';
    font-weight:400;
    font-size:42px;
    line-height:120%;

    color:#00324C;
    white-space:nowrap;
}


/*=========================================
=         GRID
=========================================*/

.organizations-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:50px;
    align-items:start;
}

/*=========================================
=         LEFT & CENTER COLUMN
=========================================*/

.organizations-column{
    width:100%;
}

.organizations-column h3{
    margin:0 0 35px;

    text-align:center;

    font-family:'Playfair Display';
    font-weight:400;
    font-size:32px;
    line-height:120%;

    color:#00324C;
}

.organization-item{
    margin-bottom:25px;
    text-align:center;
}

.organization-item:last-child{
    margin-bottom:0;
}

/* Title */

.organization-item h4{
    margin:0 0 8px;

    font-family:'Red Hat Display';
    font-weight:700;
    font-size:16px;
    line-height:150%;
    text-transform:uppercase;

    color:#00324C;
}

/* Location */

.organization-item p{
    margin:0 0 5px;

    font-family:'Red Hat Display';
    font-weight:300;
    font-size:16px;
    line-height:150%;

    color:#00324C;
}

/* Website */

.organization-item a{
    display:inline-block;

    font-family:'Red Hat Display';
    font-weight:300;
    font-size:16px;
    line-height:150%;

    color:#00324C;

    text-decoration:underline;
    word-break:break-word;

    transition:.3s;
}

.organization-item a:hover{
    color:#974E17;
}


/*=========================================
=         IMAGE
=========================================*/

.organizations-image{
    width:100%;
}

.organizations-image img{
    width:100%;
    height:auto;
    display:block;
    object-fit:cover;
}


/*=========================================
=         TABLET
=========================================*/

@media (max-width:991px){

    .organizations-section{
        padding:80px 0;
    }

    .organizations-heading{
        margin-bottom:50px;
    }

    /* .organizations-heading::before,
    .organizations-heading::after{
        max-width:180px;
    } */

    .organizations-heading h2{
        font-size:36px;
    }

    .organizations-grid{

        grid-template-columns:1fr 1fr;
        gap:40px;

    }

    .organizations-image{

        grid-column:1 / -1;
        max-width:500px;
        margin:20px auto 0;

    }

    .organizations-column h3{

        font-size:28px;

    }

}


/*=========================================
=         MOBILE
=========================================*/

@media (max-width:767px){

    .organizations-section{
        padding:60px 0;
    }

    .organizations-heading{

        gap:15px;
        margin-bottom:40px;

    }

    .organizations-heading::before,
    .organizations-heading::after{

        /* max-width:60px; */
        height:6px;

    }

    .organizations-heading h2{

        font-size:30px;
        text-align:center;

    }

    .organizations-grid{

        display:flex;
        flex-direction:column;
        gap:40px;

    }

    .organizations-column{

        width:100%;
        text-align:center;

    }

    .organizations-column h3{

        font-size:24px;
        margin-bottom:25px;

    }

    .organization-item{

        margin-bottom:25px;

    }

    .organization-item h4{

        font-size:16px;

    }

    .organization-item p{

        font-size:15px;

    }

    .organization-item a{

        font-size:15px;

    }

    .organizations-image{

        width:100%;
        margin-top:10px;

    }

    .organizations-image img{

        width:100%;
        max-width:100%;
        height:auto;
        display:block;

    }

}


/*=========================================
=         SMALL MOBILE
=========================================*/

@media (max-width:480px){

    .organizations-heading h2{

        font-size:26px;

    }

    .organizations-column h3{

        font-size:22px;

    }

    .organization-item h4{

        font-size:15px;

    }

    .organization-item p,
    .organization-item a{

        font-size:14px;

    }

}

/*=========================================
=         ORGANIZATIONS BOTTOM ROW
=========================================*/

.organizations-bottom{
    display:grid;
    grid-template-columns:32% 65%;
    gap:60px;
    align-items:start;
    margin-top:40px;
}

/* Bottom Image */

.organizations-bottom-image{
    width:100%;
}

.organizations-bottom-image img{
    width:100%;
    height:auto;
    display:block;
    object-fit:cover;
}

/* Area Guild */

.area-guilds{
    width:100%;
    margin-top: 50px;
}

.area-guilds h3{
    margin:20px 0px 10px 36%;
    text-align:center;

    font-family:'Playfair Display';
    font-weight:400;
    font-size:32px;
    line-height:120%;
    color:#00324C;
}

/* Two Columns */

.area-guild-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px 50px;
}

/* .area-guild-grid .organization-item{
    margin-bottom:25px;
} */
/*=========================================
=         ORGANIZATIONS TABLET
=========================================*/

@media (max-width:991px){

    .organizations-bottom{
        grid-template-columns:1fr;
        gap:40px;
        margin-top:60px;
    }

    .organizations-bottom-image{
        max-width:420px;
        margin:0 auto;
    }

    .area-guild-grid{
        grid-template-columns:1fr 1fr;
        gap:30px;
    }

}
/*=========================================
=         ORGANIZATIONS MOBILE
=========================================*/

@media (max-width:767px){

    .organizations-bottom{
        display:flex;
        flex-direction:column;
        gap:40px;
        margin-top:50px;
    }

    .organizations-bottom-image{
        order:2;
    }

    .area-guilds{
        order:1;
    }

    .area-guilds h3{
        font-size:26px;
        margin:0 30px;
    }

    .area-guild-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

}

.area-guild-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.guild-column{
    display:flex;
    flex-direction:column;
    gap:30px;
}


/* Members websites */
/*=========================================
=        MEMBERS WEBSITES
=========================================*/

.members-websites{
    padding:100px 0;
    background:#FFFFFF;
}

.members-heading{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
    margin-bottom:60px;
}

.members-heading::before,
.members-heading::after{
    content:'';
    flex:1;
    height:6px;
    background:#C9C9C9;
}

.members-heading h2{
    margin:0;
    font-family:'Playfair Display';
    font-size:42px;
    font-weight:400;
    line-height:120%;
    color:#00324C;
}

.members-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px 45px;
}

.member-item{
    display:flex;
    align-items:center;
    gap:20px;
}

.member-image{
    width:72px;
    height:72px;
    flex-shrink:0;
}

.member-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.member-content h3{
    margin:0 0 6px;
    font-family:'Red Hat Display';
    font-size:16px;
    font-weight:700;
    line-height:150%;
    text-transform:uppercase;
    color:#00324C;
}

.member-content a{
    font-family:'Red Hat Display';
    font-size:16px;
    font-weight:300;
    line-height:150%;
    color:#00324C;
    text-decoration:underline;
    word-break:break-word;
}

.member-content a:hover{
    color:#974E17;
}

@media (max-width:991px){

    .members-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:767px){

    .members-websites{
        padding:60px 0;
    }

    .members-heading{
        gap:15px;
        margin-bottom:40px;
    }

    .members-heading h2{
        font-size:30px;
        text-align:center;
    }

    .members-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

    .member-item{
        align-items:flex-start;
    }

    .member-image{
        width:65px;
        height:65px;
    }

    .member-content h3,
    .member-content a{
        font-size:15px;
    }

}

/*=========================================
=          FIBER EVENTS
=========================================*/
/* 
.fiber-events{
    padding:100px 0;
    background:#fff;
}

.fiber-events-heading{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
    margin-bottom:70px;
}

.fiber-events-heading::before,
.fiber-events-heading::after{
    content:'';
    flex:1;
    height:8px;
    background:#C9DDDD;
}

.fiber-events-heading h2{
    margin:0;
    font-family:'Playfair Display';
    font-size:42px;
    font-weight:400;
    line-height:120%;
    color:#00324C;
}

.fiber-events-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:60px 35px;
}

.fiber-event-item{
    width:100%;
}

.fiber-event-image{
    margin-bottom:25px;
}

.fiber-event-image img{
    width:100%;
    height:220px;
    object-fit:contain;
    display:block;
}

.fiber-event-item h3{
    margin:0 0 20px;

    font-family:'Playfair Display';
    font-size:32px;
    font-weight:400;
    line-height:120%;
    color:#00324C;
}

.fiber-event-description{
    margin-bottom:20px;

    font-family:'Red Hat Display';
    font-size:20px;
    font-weight:400;
    line-height:150%;
    color:#00324C;
}

.fiber-event-description p{
    margin-bottom:18px;
}

.fiber-event-description p:last-child{
    margin-bottom:0;
}

.fiber-event-item a{
    font-family:'Red Hat Display';
    font-size:20px;
    font-weight:400;
    color:#00324C;
    text-decoration:underline;
    word-break:break-word;
}

.fiber-event-item a:hover{
    color:#974E17;
}

@media (max-width:991px){

    .fiber-events{
        padding:80px 0;
    }

    .fiber-events-grid{
        grid-template-columns:1fr;
        gap:50px;
    }

    .fiber-event-image img{
        height:260px;
    }

}

@media (max-width:767px){

    .fiber-events{
        padding:60px 0;
    }

    .fiber-events-heading{
        gap:15px;
        margin-bottom:40px;
    }

    .fiber-events-heading h2{
        font-size:30px;
        text-align:center;
    }

    .fiber-event-item h3{
        font-size:26px;
    }

    .fiber-event-description,
    .fiber-event-item a{
        font-size:16px;
    }

    .fiber-event-image img{
        height:180px;
    }

}.fiber-event-description img.alignright{
    float:right;
    max-width:260px;
    height:auto;
    margin:0 0 20px 25px;
}

.fiber-event-description img.alignleft{
    float:left;
    max-width:260px;
    height:auto;
    margin:0 25px 20px 0;
}

.fiber-event-description::after{
    content:"";
    display:block;
    clear:both;
} */
/* Custom Fiber Events Section */
/* ==========================================================================
   Fiber Events Main Layout
   ========================================================================== */
/* ==========================================================================
   Fiber Events Main Layout
   ========================================================================== */

.fiber-events {
    padding: 50px 0;
}

/* Header with Side Horizontal Lines */
.fiber-events-heading {
    text-align: center;
    position: relative;
    margin-bottom: 45px;
    overflow: hidden;
}

.fiber-events-heading h2 {
    display: inline-block;
    position: relative;
    font-family: 'Playfair Display';
    font-size: 38px;
    color: #00324C;
    margin: 0;
    padding: 0 25px;
    text-align: center;
}

.fiber-events-heading h2::before,
.fiber-events-heading h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 300px;
    height: 2px;
    background-color: #d0d0d0;
}

.fiber-events-heading h2::before {
    right: 100%;
}

.fiber-events-heading h2::after {
    left: 100%;
}

/* Card Common Typography */
.fiber-card h3 {
    font-family: 'Playfair Display';
    font-size: 32px;
    font-weight: 400;
    color: #00324C;
    margin-bottom: 20px;
    text-align: center;
}

.fiber-card .card-text p,
.fiber-card p {
    font-family: 'Red Hat Display';
    font-size: 18px;
    line-height: 1.5;
    color: #00324C;
    margin-bottom: 15px;
}

.fiber-card a {
    color: #00324C;
    text-decoration: underline;
}

.border-bottom {
    border-bottom: 2.27px solid #C6C8CA !important;
}

/* Left Card Clean Styling */
.left-card {
    background: transparent;
    min-height: auto;
}

/* ==========================================================================
   EGLFC Card (Split Paragraph Layout)
   ========================================================================== */

.eglfc-top-row {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.eglfc-para-1 {
    flex: 1;
}

.eglfc-para-1 p {
    margin: 0;
    text-align: left;
}

.eglfc-logo {
    width: 240px; /* Controlled width for logo */
    flex-shrink: 0;
}

.eglfc-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Para 2 positioned directly under and right aligned */
.eglfc-para-2 {
    width: 100%;
    margin-top: 15px;
}

.eglfc-para-2 p {
    text-align: right;
    margin: 0;
}

/* Bottom Center Logos for Items 2 & 3 */
.event-center-logo {
    max-height: 110px;
    width: auto;
    display: inline-block;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 991px) {
    .fiber-events-heading h2::before,
    .fiber-events-heading h2::after {
        width: 100px;
    }

    .fiber-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .fiber-events-heading h2 {
        font-size: 28px;
    }

    .fiber-card h3 {
        font-size: 24px;
    }

    .fiber-card .card-text p,
    .fiber-card p {
        font-size: 16px;
    }

    .eglfc-top-row {
        flex-direction: column;
    }

    .eglfc-logo {
        width: 100%;
        max-width: 200px;
        margin: 15px 0;
    }

    .eglfc-para-2 p {
        text-align: left;
    }
}