/*header*/

*{
    font-family: 'Poppins', sans-serif;
}

.sdg-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: -11%;
}

.sdg-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sdg-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.sdg-slide.active {
    opacity: 1;
}

.sdg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sdg-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sdg-title {
    font-size: 5.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.sdg-subtitle-container {
    background-color: #1AB8E4;
    padding: 1rem 2rem;
    border-radius: 0;
    display: inline-block;
    margin-bottom: 2rem;
}

.sdg-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
}

.sdg-button {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    padding: 0.7rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    min-width: 150px;
    justify-content: space-between;
}

.sdg-button:hover {
    background-color: #02B5E8;
    color: #fff;
}

.sdg-button-arrow {
    margin-left: 1rem;
    font-size: 1.2rem;
}

.sdg-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.sdg-dot.active {
    background-color: #1AB8E4;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .sdg-title {
        font-size: 2.5rem;
    }

    .sdg-subtitle {
        font-size: 1.8rem;
        height: 2.5rem;
    }

    .sdg-subtitle-container {
        padding: 0.8rem 1.5rem;
    }

    .sdg-content {
        width: 90%;
    }
}

/*header*/

/*approach*/

.sdg-approach-container {
    display: flex;
    width: 100vw;
    min-height: 450px;
    background: #fff;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out forwards;
}

.sdg-approach-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
    position: relative;
    transform: translateX(-100%);
    animation: slideInLeft 1.2s ease-out forwards;
}

.sdg-approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    transition: transform 8s ease-in-out;
}

.sdg-approach-container:hover .sdg-approach-image img {
    transform: scale(1.05);
}

.sdg-approach-content {
    flex: 1;
    background: linear-gradient(to right, #B9DDD6, #BAE5F6);
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    animation: slideInRight 1.2s ease-out forwards;
    position: relative;
    text-align: center;
}

.sdg-approach-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #DFF0E8;
    opacity: 0.6;
    transform: scaleX(0);
    transform-origin: right;
    animation: revealBackground 1.5s ease-in-out forwards;
    animation-delay: 0.8s;
    z-index: -1;
}

.sdg-approach-text {
    font-size: 1.25rem;
    line-height: 2;
    color: #000;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.4s;
}

.sdg-approach-button {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    min-width: 150px;
    justify-content: space-between;
    width: fit-content;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.8s;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
}

.sdg-approach-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #02B5E8;
    color:#fff;
    top: 0;
    left: -100%;
    transition: all 0.3s ease;
    z-index: -1;
    border-radius: 10px;
}

.sdg-approach-button:hover {
    background-color: #02B5E8;
    color: #fff;
}

.sdg-approach-button:hover::after {
    left: 0;
}

.sdg-approach-button-arrow {
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.sdg-approach-button:hover .sdg-approach-button-arrow {
    transform: translateX(5px);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealBackground {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

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

/* Bounce animation for the button on page load */
.sdg-approach-button {
    animation: fadeInUp 0.8s ease-out forwards, bounce 2s ease infinite;
    animation-delay: 1.8s, 3s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .sdg-approach-container {
        flex-direction: column;
        width: 100vw;
    }

    .sdg-approach-image,
    .sdg-approach-content {
        flex: auto;
    }

    .sdg-approach-image {
        transform: translateY(-100%);
        animation: slideInTop 1.2s ease-out forwards;
    }

    .sdg-approach-content {
        transform: translateY(100%);
        animation: slideInBottom 1.2s ease-out forwards;
        padding: 2.5rem 1.5rem;
    }

    .sdg-approach-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    @keyframes slideInTop {
        from { transform: translateY(-100%); }
        to { transform: translateY(0); }
    }

    @keyframes slideInBottom {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}

/*approach*/

/*news*/



.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-header {
    text-align: center;
    padding: 20px 0 30px;
}

.news-header h1 {
    font-size: 35px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.news-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    /*background-color: #11B1E3;*/
}

/* Main News Slider */
.main-news-slider {
    margin-bottom: 60px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f9fafb;
}

.slider-content {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    flex: 0 0 100%;
    display: flex;
    background-color: #f8fafc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.slider-info {
    flex: 0 0 45%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:#F3FAFD;
}

.slider-date {
    color: #11B1E3;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.slider-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1e293b;
    text-decoration: underline;
}

.slider-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.slider-title a:hover {
    color: #11B1E3;
}

.slider-read-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #fff;
    color: #11B1E3;
    border: 1px solid #11B1E3;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
}

.slider-read-more:hover {
    background-color: #11B1E3;
    color: #fff;
}

.slider-image {
    flex: 0 0 55%;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.slider-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d8edff;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 5px;
    color: #11B1E3;
    font-size: 18px;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: #11B1E3;
    color: white;
    border-color: #11B1E3;
}

.slider-dots {
    display: flex;
    margin: 0 15px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    background-color: #d8edff;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #11B1E3;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .slider-info {
        padding: 30px;
    }

    .slider-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .slider-item {
        flex-direction: column;
    }

    .slider-info, .slider-image {
        flex: 0 0 100%;
    }

    .slider-image {
        height: 250px;
        order: -1;
    }
}

@media (max-width: 480px) {
    .slider-info {
        padding: 20px;
    }

    .slider-title {
        font-size: 20px;
    }

    .news-header h1 {
        font-size: 32px;
    }
}


/*news*/



/*VLR*/


.vlr-landing {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    overflow: hidden;
    position: relative;
    height: 600px;
    width: 100%;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #BAE5F6 !important;
}

#globe-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    z-index: 2;
    opacity: 0.5;
}

.content-vlr {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #000;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

.content-vlr h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.button-vlr {
    display: inline-block;
    padding: 12px 30px;
    background-color: #00B2E3;
    color: #fff !important;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.2rem;
    text-decoration: underline;
    margin-top: 20px;
}

.button-vlr:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    background-color: #fff !important;
    color: #00B2E3 !important;
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 20px;
    flex: 1 1 250px;
    min-width: 200px;
    max-width: 300px;
    background: #fff;
    border-radius: 1em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.stat-text {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.4;
}

/* Responsive styles */
@media (max-width: 1200px) {
    #globe-container {
        width: 700px;
        height: 700px;
    }
}

@media (max-width: 992px) {
    .vlr-landing {
        height: 700px;
    }

    #globe-container {
        width: 600px;
        height: 600px;
    }

    .content-vlr h1 {
        font-size: 3rem;
    }

    .stats-container {
        flex-wrap: wrap;
    }

    .stat-box {
        flex: 1 1 200px;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .vlr-landing {
        height: 800px;
    }

    #globe-container {
        width: 500px;
        height: 500px;
        opacity: 0.3;
    }

    .content-vlr h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-text {
        font-size: 1rem;
    }

    .button-vlr {
        padding: 10px 25px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .vlr-landing {
        height: 900px;
    }

    #globe-container {
        width: 350px;
        height: 350px;
        opacity: 0.2;
    }

    .content-vlr {
        padding: 0 15px;
    }

    .content-vlr h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 20px auto;
    }

    .stat-box {
        width: 100%;
        max-width: 250px;
        min-height: auto;
        padding: 15px;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 5px;
    }

    .stat-text {
        font-size: 0.9rem;
    }

    .button-vlr {
        padding: 8px 20px;
        font-size: 1rem;
        margin-top: 10px;
    }
}

@media (max-width: 350px) {
    .vlr-landing {
        height: 850px;
    }

    #globe-container {
        width: 280px;
        height: 280px;
    }

    .content-vlr h1 {
        font-size: 1.8rem;
    }
}


/*VLR*/


/*where we work*/


#map-section{
    background:#F4F4F4;
}
.map-header {
    text-align: center !important;
}

.map-header h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align:center;
}

.map-header p {
    font-size:1.25rem;
    line-height: 1.5;
    margin: 0 auto;
    text-align:center;
}

.map-info-panel {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
    padding: 20px;
    max-width: 1200px;
    z-index: 2;
    margin-bottom: 20px;
}

.map-info-card {
    background-color: #02B5E8;
    border-radius: 12px;
    padding: 20px;
    color: white;
    box-shadow: 5px 5px 15px #BAE5F6;
    width: 15vw;
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-info-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10px;
    right: 10px;
    height: 10px;
    background-color: rgb(215 237 249);
    border-radius: 0 0 12px 12px;
    z-index: -1;
}

.map-info-card:hover {
    transform: translateY(-5px);
}

.map-info-label {
    display: inline-block;
    background-color: white;
    color: #333;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.map-info-value {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

#map {
    flex: 1;
    height: 100vh;
    width: 95%;
    margin: 0;
    position: relative;

}

.map-container {
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
    min-height: 85vh;
    background-color: #ffffff;
    overflow: hidden;
    width: 100vw;
    padding: 0 0%;
}

.marker {
    width: 15px;
    height: 15px;
    background-color: #02B5E8;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.marker:hover {
    transform: scale(1.5);
}

.active-marker {
    background-color: #B6DDD7;
    transform: scale(1.5);
    z-index: 10;
}

.detail-panel {
    position: absolute;
    right: 0;
    top: 280;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
    /*overflow-y: auto;*/
}

.detail-panel.active {
    transform: translateX(0);
}

.detail-panel h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.detail-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #02B5E8;
}

.detail-panel p {
    margin-bottom: 20px;
    color: #666;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.mapboxgl-ctrl-bottom-left {
    display: none;
}

.mapboxgl-ctrl-attrib-inner {
    display: none !important;
}

.read-more-btn {
    display: inline-block;
    background-color: #fff !important;
    color: black;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid;
}

.read-more-btn:hover {
    background-color: #00B2E3;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #map {
        height: 60vh;
    }

    .map-info-panel {
        flex-direction: column;
        gap: 20px;
    }

    .map-info-card {
        max-width: 100%;
        width: 80vw;
    }

    .detail-panel {
        width: 100%;
    }
}

/* Add pulse animation */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 181, 232, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(2, 181, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 181, 232, 0);
    }
}


/* Custom styling for zoom controls */
.mapboxgl-ctrl-zoom-in,
.mapboxgl-ctrl-zoom-out {
    background-color: #d7edf9 !important;
    color: white !important;
}

.mapboxgl-ctrl-zoom-in span,
.mapboxgl-ctrl-zoom-out span {
    color: white !important;
}

.mapboxgl-ctrl-group {
    background-color: #d7edf9 !important;
}


#map {
    flex: 1;
    height: 70vh;
    width: 100%;
    margin: 0;
    position: relative;
    border: 1px solid #000;
}

.map-container {
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
    min-height: 95vh;
    background-color: #ffffff;
    overflow: hidden;
    width: 100vw;
    padding: 60px 0;
}


.map-info-panel {
    margin-bottom: 60px;
}


.map-info-card {
    width: 18vw;
    padding: 25px;
}


.map-pad {
    padding: 0 5em;
}


/*  where we work*/


/*learning and library*/

/* Resources Container Styles */
.resources-container {
    display: flex;
    width: 100%;
}

.resources-section {
    flex: 1;
    padding: 60px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

#library-section {
    background-color: #d7edf9;
    transition-delay: 0.2s;
}

#learning-section {
    background-color: #dff0e7;
    transition-delay: 0.4s;
}

.resources-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-inner {
    padding: 0 40px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 600;
    color: #000;
    position: relative;
    display: inline-block;
}

.animate-title::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;

    transition: width 1s ease-in-out;
    transition-delay: 0.8s;
}

.animate-title.animate::after {
    width: 100%;
}

.resources-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.resource-item {
    flex: 0 0 calc(33.33% - 14px);
    /*background: #fff;*/
    /*padding: 2%;*/
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

/* Staggered animation for resource items */
.resources-grid .resource-item:nth-child(1) {
    transition-delay: 0.4s;
}

.resources-grid .resource-item:nth-child(2) {
    transition-delay: 0.6s;
}

.resources-grid .resource-item:nth-child(3) {
    transition-delay: 0.8s;
}

.resource-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.resource-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
    border: 1px solid #636363;

}

.resource-image img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resource-item:hover .resource-image img {
    transform: scale(1.05);
}

.resource-title {
    font-size: .9rem;
    font-weight: 500;
    color: #000;
    line-height: 1.6;
    margin-top: 1.2em;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.resource-item:hover .resource-title {
    color: #00B2E3;
}

.view-more-container {
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    transition-delay: 1s;
}

.view-more-container.animate {
    opacity: 1;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 25px;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-more-btn:hover {
    color: #FFF;
    background-color: #00B2E3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 178, 227, 0.3);
}

.view-more-btn .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.view-more-btn:hover .arrow {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .resources-container {
        flex-direction: column;
    }

    /* Make each section take full width on tablets/mobile */
    .resources-section {
        width: 100%;
    }

    /* Prevent title overlapping */
    .resource-title {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    /* Better handling of resource items on small screens */
    .resources-grid {
        gap: 30px;
        flex-direction: column;
    }

    /* Make each resource item take full width */
    .resource-item {
        flex: 0 0 100%;
    }

    /* Control image height on very small screens */
    .resource-image {
        height: auto;
    }

    /* Center the "View More" button on mobile */
    .view-more-container {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title {
        text-align: center;
        margin-left: 0;
        margin-bottom: 30px;
    }

    .section-inner {
        padding: 0 20px;
    }
}


/*learning and library*/


/*footer*/

 .new-footer-section {
     background-color: #BAE5F6;
     padding: 50px 0px 0px 0px;
     font-family: 'Poppins', sans-serif;
 }

.new-footer-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
}

.new-footer-column {
    flex: 1;
    min-width: 250px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.new-footer-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

.new-footer-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    color: #000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.new-footer-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.new-footer-button:hover {
    background-color: #02B5E8;
    color: #fff;
    border-color: #02B5E8;
}

.new-footer-button .arrow {
    margin-left: 10px;
}

.new-footer-link {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
}

.new-footer-link:hover {
    color: #02B5E8;
}

.new-footer-copyright {
    text-align: center;
    padding: 20px;
    color: #000;
    font-size: 0.9rem;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
}

@media (max-width: 768px) {
    .new-footer-content {
        flex-direction: column;
    }

    .new-footer-column {
        width: 100%;
    }
}


/*  footer*/

