/* Define the font family */
@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Exo';
    src: url('fonts/Exo-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* styles.css */
body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
}

/* Base styles */
/* Base styles */
header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    height: 105px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #FFAAAA;
    border-radius: 999px;
    box-shadow: 4px 4px 10.2px 0px rgba(221, 221, 221, 0.25);
}

header .logo img {
    width: 107px;
    height: auto;
    margin-left: 10px;
}

header .menu-and-buttons {
    display: flex;
    align-items: center;
    justify-content: end;
    flex: 1;
}

header ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    color: #000000;
    font-weight: 700;
}

header ul li {
    position: relative;
}

header ul li a {
    text-decoration: none;
    color: #333;
    position: relative;
    padding-left: 20px;
    transition: padding-left 0.3s ease;
}

header ul li a.active {
    color: #B61F2D;
    padding-left: 10px;
    margin-left: 10px;
}

header ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-radius: 50%;
    transition: left 0.5s ease, background-color 0.3s ease;
}

header ul li a.active::before {
    background-color: #B61F2D;
}

header .buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 30px;
}

header .buttons button {
    margin-top: 4px;
    width: auto;
    height: 39px;
    font-size: 14px;
    font-weight: 600;
    padding: 0 15px;
    border-radius: 999px;
    cursor: pointer;
    border: 1px solid #B61F2D;
    color: #B61F2D;
}

.visitor-button:hover,
.visitor-button:focus {
    background-color: #B61F2D !important;
    color: #fff !important;
}

.login:hover,
.login:focus {
    background: #5C5C5C !important;
    color: #fff;
    border-color: #5C5C5C !important;
}

.menu-icon {
    cursor: pointer;
    font-size: 24px;
    display: none;
    /* Initially hidden */
}

.drawer {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    color: white;
    z-index: 10;
}

.drawer-header {
    padding: 10px 20px;
    background-color: #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-content {
    padding: 20px;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
}

.drawer ul {
    list-style-type: none;
    padding: 0;
}

.drawer ul li {
    padding: 8px 0;
}

.drawer ul li a {
    color: #818181;
    text-decoration: none;
    font-size: 18px;
}

.drawer ul li a:hover {
    color: #f1f1f1;
}

.drawer .buttons {
    margin-top: 20px;
}

.drawer .buttons button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    cursor: pointer;
}

.drawer .buttons .visitor-button {
    background-color: #fff;
    color: #B61F2D;
    border: 1px solid #B61F2D;
}

.drawer .buttons .login {
    background-color: #B61F2D;
    color: white;
}


/* Media queries for responsiveness header */
@media (min-width: 1200px) {
    header .header-container {
        height: auto;
        padding: 15px;
    }

    header .logo img {
        margin-left: 20px;
    }

    header ul {
        gap: 10px;
    }

    header .buttons {
        gap: 20px;
    }

    .menu-icon {
        display: none;
    }
}

@media (max-width: 767px) {
    header .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    header .logo {
        margin-left: 40px;
    }

    .menu-icon {
        display: none;
    }

    header .menu-and-buttons {
        flex-direction: column;
        align-items: flex-end;
        margin-left: 50px;
        width: 100%;
    }

    header ul {
        flex-direction: row;
        gap: 20px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    header .buttons {
        display: none;
    }

    header .buttons button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 412px) {
    header .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: max-content;
        border-radius: 30px;
    }

    header ul {
        flex-direction: column;
        align-items: flex-start;
    }

    header .logo {
        margin-left: 20px;
    }

    header .logo img {
        height: 50px;
        width: 50px;
    }

    .menu-and-buttons ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .menu-and-buttons.active ul {
        display: flex;
    }

    .menu-and-buttons .buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .menu-and-buttons .menu-icon {
        display: block;
        margin-right: 90px;
    }

    .menu-icon {
        display: block;
        font-size: 24px;
        margin-right: 30px;
    }

    .drawer-content .buttons{
        display: flex;
        flex-direction: column;
        margin-left: 10px;
    }

    .menu-and-buttons {
        display: none;
    }

    .drawer-content {
        display: block;
    }
}


/* Carousel */

.carousel {
    position: relative;
    height: 728px;
    max-width: 100%;
    margin-top: 40px;
    overflow: hidden;
}

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

.slide {
    min-width: 100%;
    width: 100%;
    height: 500px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center !important;
}

.slide img {
    width: 100%;
    display: block;
}

.caption {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Exo', sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 84px;
    text-align: center;
    width: 80%;
}

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

.dot {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background: #36393A;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dots .active,
.dot:hover {
    background-color: white;
}

button {
    background-color: #fff;
    border: none;
    color: #B61F2D;
    text-align: center !important;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 4px 2px;
    cursor: pointer;
    width: 180px;
    height: 42px;
    padding: 20px;
    gap: 10px;
    border-radius: 999px;
    opacity: 0px;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 25.2px;
}

.caption button span {
    display: inline-block;
    vertical-align: center;
    white-space: nowrap;
}

button img {
    width: 24px !important;
    height: 24px !important;
}

.prev,
.next {
    position: absolute;
    margin-left: 20px;
    margin-right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFFFF;
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.prev:hover,
.next:hover {
    background-color: #f0f0f0;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Media Queries for Carousel */
@media (max-width: 1630px) {
    .carousel {
        height: 600px;
    }

    .slide {
        height: 400px;
    }

    .caption {
        font-size: 48px;
        line-height: 72px;
    }
}

@media (max-width: 1445px) {
    .carousel {
        height: 600px;
    }

    .slide {
        height: 400px;
    }

    .caption {
        font-size: 48px;
        line-height: 72px;
    }
}

@media (max-width: 1200px) {
    .carousel {
        height: 500px;
    }

    .slide {
        height: 400px;
    }

    .caption {
        font-size: 48px;
        line-height: 72px;
    }

    .carousel .buttons button {
        display: none;
    }
}

@media (max-width: 992px) {
    .carousel {
        height: 500px;
    }

    .slide {
        height: 350px;
    }

    .caption {
        font-size: 36px;
        line-height: 54px;
    }

    button img {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 745px) {
    .carousel {
        height: 360px;
    }

    .slide {
        height: 350px;
    }

    .caption {
        font-size: 24px;
        line-height: 36px;
    }

    button img {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 576px) {
    .carousel {
        height: 400px;
    }

    .slide {
        height: 300px;
    }

    .caption {
        font-size: 20px;
        line-height: 36px;
        width: 90%;
    }

    button {
        width: 120px;
        height: 30px;
        padding: 10px;
        font-size: 14px;
        line-height: 19.6px;
    }

    button img {
        width: 16px !important;
        height: 16px !important;
    }

    .prev,
    .next {
        width: 30px;
        height: 30px;
    }

    .dot {
        height: 8px;
        width: 8px;
    }
}

@media (max-width: 412px) {
    .carousel {
        height: 400px;
    }

    .slide {
        height: 400px;
    }

    .slide img {
        height: 400px;
    }

    .caption {
        font-size: 16px;
        line-height: 36px;
        width: 60%;
    }

    button {
        width: 120px;
        height: 30px;
        padding: 10px;
        font-size: 14px;
        line-height: 19.6px;
    }

    button img {
        width: 16px !important;
        height: 16px !important;
    }

    .prev,
    .next {
        width: 30px;
        height: 30px;
    }

    .dot {
        height: 8px;
        width: 8px;
    }
}

#why-vbn {
    padding: 50px 20px 20px 20px;
    text-align: center;
    border: 1px solid #ff4c4c;
    border-radius: 0px 0px 12px 12px;
    border-top: none;
    margin-left: 60px;
    margin-right: 59px;
}

.row {
    padding: 20px;
    margin-left: 30px;
    margin-right: 30px;
    display: flex;
    justify-content: space-between;
    background: #B61F2D;
    border-radius: 8px;
}

.column {
    flex-basis: calc(50% - 10px);
    margin-bottom: 20px;
    font-family: 'Exo', sans-serif;
}

.column-text {
    text-align: left;
    padding: 30px;
}

.column-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* For responsiveness */
@media screen and (max-width: 1200px) {
    #why-vbn {
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media screen and (max-width: 992px) {
    .row {
        flex-direction: column;
    }

    .column {
        flex-basis: 100%;
    }

    .column-image {
        display: none;
    }

    #why-vbn {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media screen and (max-width: 745px) {
    #why-vbn {
        margin-left: 25px;
        margin-right: 25px;
    }

    .column-text span {
        font-size: 28px;
    }

    .column-text p {
        font-size: 16px;
        text-align: justify;
    }

    #aboutUs span {
        font-size: 28px;
    }

    #aboutUs p {
        font-size: 16px;
        line-height: 24px;
        text-align: justify;
    }
}

@media screen and (max-width: 576px) {
    #why-vbn {
        margin-left: 10px;
        margin-right: 10px;
    }

    .column-text span {
        font-size: 28px;
    }

    .column-text p {
        font-size: 16px;
    }

    #aboutUs span {
        font-size: 28px;
    }

    #aboutUs p {
        font-size: 16px;
        line-height: 24px;
    }
}

@media screen and (max-width: 412px) {
    #why-vbn {
        margin-left: 25px;
        margin-right: 25px;
    }

    .column-text span {
        font-size: 24px !important;
    }

    .column-text p {
        font-size: 12px !important;
        line-height: 18px !important;
        text-align: justify;
    }

    #aboutUs span {
        font-size: 24px !important;
    }

    #aboutUs p {
        font-size: 12px !important;
        line-height: 18px !important;
        text-align: justify;
    }
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    border-radius: 8px;
    margin: 60px;
}

.vision-mission {
    display: flex;
    flex-direction: column;
    width: 85%;
    padding-right: 20px;
}

.vision,
.mission {
    margin-bottom: 20px;
    border: 1px solid #A5A5A5;
    border-radius: 8px;
    padding: 30px;
    background: #FAFAFA;
}

.vision-header,
.mission-header,
.core-values-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.vision-header span,
.mission-header span {
    color: #B61F2D;
    font-weight: 700;
    font-size: 28px;
}

.core-values-header p {
    color: #B61F2D;
    font-weight: 700;
    font-size: 28px;
    margin: 0px;
}

hr {
    color: #A5A5A5;
    margin-top: 20px;
    margin-bottom: 20px;
}

.vision-content,
.mission-content {
    display: flex;
    align-items: start;
    gap: 15px;
}

.vision-content p,
.mission-content p {
    color: #1E1E1E;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 27.54px;
    text-align: left;
    margin: 0px;
}

.core-values {
    width: 35%;
    border: 1px solid #B61F2D;
    border-radius: 8px;
    background: #FFECEC;
    padding: 20px 45px;
}

.core-values ul {
    list-style-type: none;
    padding: 0;
}

.core-values li {
    display: flex;
    align-items: center;
    color: #000000;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;
    line-height: 30px;
    text-align: left;
}

.core-values .highlight {
    font-weight: 700;
    color: #B61F2D;
}

/* Responsive styles */

@media screen and (max-width: 1200px) {
    .container {
        margin: 40px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        margin: 30px;
        margin-top: 70px;
    }

    .vision-mission {
        width: 55%;
    }

    .core-values {
        width: 40%;
    }
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        margin: 20px;
        margin-top: 70px;
    }

    .vision-mission {
        width: 100%;
        padding-right: 0;
    }

    .core-values {
        width: 87%;
        margin-top: 20px;
    }

    .vision-header,
    .mission-header,
    .core-values-header {
        gap: 10px;
    }

    .vision-header span,
    .mission-header span,
    .core-values-header p {
        font-size: 24px;
    }

    .vision-content p,
    .mission-content p,
    .core-values li {
        font-size: 16px;
    }

    .vision-content,
    .mission-content {
        gap: 10px;
    }

    .vision-content img,
    .mission-content img,
    .core-values li img {
        width: 16px;
        height: 16px;
    }
}

@media screen and (max-width: 412px) {
    .container {
        flex-direction: column;
        margin: 20px;
        margin-top: 70px;
    }

    .vision-mission {
        width: 100%;
        padding-right: 0;
    }

    .core-values {
        width: 75%;
        margin-top: 20px;
    }

    .vision-header,
    .mission-header,
    .core-values-header {
        gap: 10px;
    }

    .vision-header span,
    .mission-header span,
    .core-values-header p {
        font-size: 24px;
    }

    .vision-content p,
    .mission-content p,
    .core-values li {
        font-size: 16px;
        text-align: justify;
    }

    .vision-content,
    .mission-content {
        gap: 10px;
    }

    .vision-content img,
    .mission-content img,
    .core-values li img {
        width: 16px;
        height: 16px;
    }
}

.statistics-container {
    width: 80%;
    margin: auto;
    padding: 20px;
}

header {
    text-align: center;
}

header h1 {
    color: #e51c23;
}

.stats {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    margin-top: 20px;
    border: 1px solid #FFAAAA;
    border-radius: 999px;
    box-shadow: 4px 4px 10.2px 0px rgba(221, 221, 221, 0.25);
    background: #FFECEC;
}

.stat {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat p {
    font-size: 24px;
    margin: 0;
}

.stat span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}

.border-div {
    display: flex;
    flex-direction: column;
    border-right: 1px solid black;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Media Queries */

/* For large screens */
@media (min-width: 1200px) {
    .stats {
        flex-wrap: nowrap;
    }
}

/* For laptops and tablets */
@media (max-width: 1199px) and (min-width: 768px) {
    .stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat {
        width: 45%;
    }

    .border-div {
        display: none;
    }
}

/* For mobile screens */
@media (max-width: 744px) {
    .stats {
        flex-direction: column;
        align-items: center;
        border-radius: 100px;
    }

    .stat {
        width: 100%;
    }

    .border-div {
        display: none;
    }
}

.region-chapter {
    text-align: left;
    background: #FAFAFA;
    padding-top: 60px;
    padding-bottom: 60px;
}

.region-chapter h2 {
    background: #e51c23;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.region-chapter .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 20px;
    margin-top: 20px;
    margin-left: 80px;
    margin-right: 80px;
}

.region-chapter .buttons button {
    background: #fff;
    border: 1px solid black;
    color: black;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 999px;
    width: 181px;
    height: 48px;
    transition: background 0.3s;
}

.region-chapter .buttons button.active {
    background-color: #B61F2D;
    color: white;
    border-color: #B61F2D;
}

.region-chapter .buttons button:hover {
    border-color: #B61F2D;
    background: #fff;
    color: #B61F2D;
}

.container-region {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 180px;
}

.map {
    grid-column: 2;
    border: 1px solid #DFDFDF;
    border-radius: 12px;
    box-shadow: 8px 8px 40px 0px #DFDFDF;
    max-width: 632px;
    padding: 20px;
    margin-top: 20px;
    margin-left: 70px;
    height: 400px;
}

.ribbon {
    display: inline-block;
    background-color: #c8102e;
    color: white;
    padding: 30px 80px;
    position: relative;
    font-family: 'Exo', sans-serif;
    font-size: 45px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 70px;
}

.ribbon::before,
.ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
}

.ribbon::before {
    left: -20px;
    border: 20px solid transparent;
    border-right-color: #c8102e;
}

.ribbon::after {
    right: -41px;
    border-top: 55px solid #c8102e;
    border-bottom: 50px solid #c8102e;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
}

.region-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-top: 20px;
    margin-left: 80px;
    font-weight: 400;
    font-size: 24px;
    color: #0B080B;
}

.groups {
    margin-top: 20px;
    margin-left: 80px;
}

.groups h3 {
    color: #B61F2D;
    font-family: 'Exo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 49px;
    text-align: left;
    margin-bottom: 0px;
}

.container-ul {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
}

.container-ul ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.container-ul li {
    display: flex;
    align-items: center;
    width: 45%;
    padding: 8px 0;
    position: relative;
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 44.8px;
    text-align: left;
}

.container-ul li:before {
    content: url('/assets/icons/check-circle.svg');
    position: absolute;
    left: -30px;
    top: 25%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.map img {
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.container-image {
    background: #FAFAFA;
    padding: 20px !important;
    margin-top: 80px;
}

/* Media Queries */
@media (max-width: 1441px) {

    .region-chapter .buttons {
        display: flex;
        flex-direction: row;
        gap: 15px;
    }

    .map {
        margin-right: 60px;
    }
}

@media (max-width: 1200px) {
    .region-info {
        margin-left: 150px;
    }

    .groups {
        margin-left: 180px;
    }
}

@media (max-width: 992px) {
    .container-region {
        grid-template-columns: 1fr !important;
        grid-column-gap: 0;
    }

    .region-info {
        margin-left: 50px;
    }

    hr {
        margin-left: 50px;
    }

    .groups {
        margin-left: 80px;
    }
}

@media (max-width: 744px) {
    .container-region {
        display: flex;
        flex-direction: column;
    }

    .region-info {
        font-size: 20px;
        margin-left: 90px;
    }

    .groups {
        margin-left: 90px;
    }

    .region-chapter .buttons {
        display: flex;
        flex-direction: row;
        gap: 15px;
        margin-left: 60px;
        margin-right: 30px;
    }

    .container-ul li {
        font-size: 24px;
    }

    .map {
        margin-left: 40px;
    }
}

@media (max-width: 576px) {
    .container-region {
        display: flex;
        flex-direction: column;
    }

    .region-info {
        font-size: 18px;
        margin-left: 20px;
    }

    .groups {
        margin-left: 20px;
    }

    .container-ul li {
        font-size: 20px;
    }

    .map {
        margin-left: 40px;
    }
}

@media (max-width: 412px) {
    .container-region {
        display: flex;
        flex-direction: column;
    }

    .container-region hr {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .ribbon {
        font-size: 30px;
        padding: 30px 55px;
    }

    .ribbon::after {
        right: -41px;
        border-top: 50px solid #c8102e;
        border-bottom: 40px solid #c8102e;
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
    }

    .region-chapter .buttons button {
        width: 100px;
    }

    .region-chapter .buttons {
        margin-left: 20px;
        margin-right: 20px;
    }

    .region-info {
        font-size: 18px;
        margin-left: 20px;
    }

    .groups {
        margin-left: 20px;
    }

    .container-ul li {
        font-size: 20px;
        width: 50%;
    }

    .map {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.scrolling-wrapper-left-to-right,
.scrolling-wrapper-right-to-left {
    display: flex;
    width: calc(200% + 20px);
    /* Adjusted for the gap */
    animation: scroll-left-to-right 10s linear infinite;
}

.scrolling-wrapper-right-to-left {
    animation: scroll-right-to-left 10s linear infinite;
}

.scrolling-wrapper-left-to-right img,
.scrolling-wrapper-right-to-left img {
    width: 424px;
    /* Set width to 400px */
    height: 275px;
    /* Set height to 400px */
    flex-shrink: 0;
    margin: 0 10px;
    /* Add gap of 10px between images */
}

@keyframes scroll-left-to-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right-to-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.scrolling-section {
    width: 100%;
    overflow: hidden;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-item {
    width: 400px !important;
    height: 275px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px 0px 0px 0px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.grid-text {
    display: flex;
    grid-column: span 4;
    background-color: white;
    margin: 0;
    padding: 30px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Exo', sans-serif;
    font-style: italic;
    font-size: 45px !important;
    font-weight: 700 !important;
    line-height: 63px;
    text-align: left;
    color: #B61F2D;
}

@media (max-width: 745px) {
    .grid-text {
        font-size: 30px !important;
    }
}

@media (max-width: 412px) {
    .grid-text {
        font-size: 20px !important;
    }
}

.container-form {
    max-width: 100%;
    margin-left: 40px;
    margin-right: 40px;
    padding: 20px;
}

.event {
    display: flex;
    background: #FAFAFA;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #D9D9D9;
    margin-top: 60px;
    gap: 100px;
    height: 800px;
}

.event-image {
    flex: 1;
    height: 95%;
}

.event-image img {
    width: 100%;
    height: 100%;
    padding: 20px;
}

.event-details {
    flex: 1;
    padding: 40px;
    margin-top: 250px;
}

.event-title {
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 44.8px;
    text-align: left;
    color: #000000;
}

.event-description {
    color: #000000;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22.4px;
    text-align: left;
}

.event-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 40px;
    text-align: left;
    color: #000000;
}

.icon {
    margin-right: 5px;
}

.register-btn {
    background: #B61F2D;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    height: 50px;
}

.register-btn:hover {
    background: #5C5C5C !important;
    border-color: #5C5C5C !important;
    color: #fff;
}

.contact {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px;
}

.contact-info {
    align-items: center;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-form {
    margin-left: 0px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
}

.contact-title {
    color: #B61F2D !important;
    margin-bottom: 30px;
    font-family: 'Exo', sans-serif;
    font-size: 45px !important;
    font-weight: 700 !important;
    line-height: 55px !important;
    text-align: left;
}

.contact-details {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    color: #000000 !important;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-details::before {
    content: url('/assets/icons/call-icon.svg') !important;
    left: -30px;
    width: 20px;
    height: 20px;
}

.contact-details:nth-of-type(2)::before {
    content: url('/assets/icons/mail-icon.png') !important;
    left: 0px;
    width: 20px;
    height: 20px;
    position: relative;
}

.contact input,
.contact textarea {
    padding: 15px;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 25.2px;
    color: #151515 !important;
    width: 98%;
}

.send-btn {
    background-color: #B61F2D;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    width: 95%;
    height: 68px;
}

.send-btn:hover {
    background: #5C5C5C !important;
    border-color: #5C5C5C !important;
    color: #fff;
}

/* Media Queries */
@media (max-width: 1441px) {
    .send-btn {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .event {
        flex-direction: column;
        align-items: center;
    }

    .event-image,
    .event-details {
        flex: none;
        width: 100%;
    }

    .event-details {
        margin-top: 20px;
        padding: 20px;
    }

    .event-info {
        flex-direction: column;
    }

    .register-btn {
        width: auto;
        height: auto;
    }

    .contact {
        flex-direction: column;
        margin: 50px 20px;
    }

    .contact-info,
    .contact-form {
        width: 90%;
        margin: 20px;
    }

    .contact-form {
        margin-top: 00px;
    }
}

@media (max-width: 992px) {
    .event {
        flex-direction: column;
        align-items: center;
    }

    .event-image {
        height: auto;
    }

    .event-details {
        margin-top: 0;
    }

    .contact {
        margin-top: 30px;
        margin-left: 0px;
    }

    .contact-title {
        font-size: 35px !important;
    }

    .contact-details {
        font-size: 20px;
    }

    .send-btn {
        height: 60px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .container-form {
        margin-left: 20px;
        margin-right: 20px;
    }

    .event {
        margin-top: 40px;
        gap: 20px;
        height: 100%;
    }

    .event-details hr {
        margin-left: 20px;
        margin-right: 20px;
    }

    .register-btn {
        margin-left: 20px;
        width: 90%;
    }

    .event-image img {
        height: 600px;
        width: 94%;
    }

    .event-title {
        font-size: 20px;
        line-height: 30px;
        margin-left: 20px;
    }

    .event-details {
        height: max-content;
    }

    .event-description {
        font-size: 12px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .event-info {
        text-align: center;
        justify-content: center;
        margin-left: 20px;
    }

    .info-item {
        font-size: 16px;
    }

    .contact {
        margin-top: 60px !important;
        margin-left: 0px !important;
    }

    .contact input,
    .contact textarea {
        width: 100%;
    }

    .contact-title {
        font-size: 25px !important;
    }

    .contact-details {
        font-size: 16px;
    }

    .send-btn {
        height: 40px;
        font-size: 14px;
        width: 95%;
    }
}

@media (max-width: 576px) {
    .container-form {
        margin-left: 20px;
        margin-right: 20px;
    }

    .event {
        margin-top: 40px;
        gap: 20px;
    }

    .event-image {
        height: 300px;
    }

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

    .event-description {
        font-size: 12px;
    }

    .info-item {
        font-size: 16px;
    }

    .register-btn {
        font-size: 12px;
        height: 40px;
    }

    .contact {
        margin-top: 60px;
    }

    .contact-title {
        font-size: 25px !important;
    }

    .contact-details {
        font-size: 16px;
    }

    .send-btn {
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 412px) {
    .container-form {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .event {
        margin-top: 40px;
        gap: 20px;
        height: 100%;
    }

    .event-details hr {
        margin-left: 20px;
        margin-right: 20px;
    }

    .register-btn {
        margin-left: 20px;
        width: 90%;
    }

    .event-image img {
        height: 300px;
        width: 290px;
    }

    .event-title {
        font-size: 20px;
        line-height: 30px;
        margin-left: 20px;
    }

    .event-details {
        height: max-content;
    }

    .event-description {
        font-size: 12px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .event-info {
        text-align: center;
        justify-content: center;
        margin-left: 20px;
    }

    .info-item {
        font-size: 16px;
    }

    .contact {
        margin-top: 60px !important;
        margin-left: 0px !important;
    }

    .contact input,
    .contact textarea {
        width: 300px;
    }

    .contact-title {
        font-size: 25px !important;
    }

    .contact-details {
        font-size: 16px;
    }

    .send-btn {
        height: 40px;
        font-size: 14px;
        width: 95%;
    }
}

/* Common CSS */
/* Common CSS */
.social-media {
    background: #0B080B;
    padding: 60px;
    margin-top: 200px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.social-title {
    color: #fff;
    margin-bottom: 30px;
    font-family: 'Exo', sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 49px;
    text-align: left;
}

.check-all {
    font-size: 16px;
    font-weight: 700;
    align-items: center !important;
    color: #fff;
    position: relative;
    font-family: 'DM Sans', sans-serif;
    display: inline-block;
}

.check-text {
    margin-right: 10px;
}

.check-img {
    position: absolute;
    transition: margin-left 0.3s ease;
    margin-left: -20px;
}

.check-img.white {
    filter: brightness(0) invert(1);
    /* Apply a filter to make the icon white */
    left: 115%;
}

.check-all:hover .check-img.white {
    margin-left: 3px;
    opacity: 1;
    filter: none;
    /* Remove the filter to restore the original color */
}

.check-all:hover .check-text {
    color: #FF4253;
    /* Change text color to red on hover */
}

.updates {
    display: flex;
    justify-content: center;
    margin-left: 40px;
    margin-right: 40px;
    gap: 40px;
}

.card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 10px;
    width: 420px;
}

.card-image {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 15px;
}

.card-message {
    font-size: 14px;
    color: #333333;
    margin: 0 0 10px;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 19.6px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    color: #000000;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600 !important;
    line-height: 16.8px;
    text-align: left;
}

.card-footer span {
    display: flex;
    align-items: center;
}

.card img {
    max-width: 100%;
    height: auto;
}

/* Responsive CSS */
@media screen and (max-width: 1440px) {
    .social-media .updates {
        gap: 15px;
    }
}

@media screen and (max-width: 1135px) {
    .social-media {
        padding: 30px;
        margin-top: 80px;
    }

    .check-all {
        font-size: 14px;
    }

    .updates {
        flex-direction: column;
        /* Stack cards vertically */
        align-items: center;
        /* Center align cards */
    }

    .card {
        max-width: 280px;
        height: auto;
        margin-bottom: 20px;
        /* Each card takes full width */
    }
}

@media screen and (max-width: 930px) {
    .social-media {
        padding: 30px;
        margin-top: 80px;
    }

    .check-all {
        font-size: 14px;
    }

    .updates {
        flex-direction: column;
        /* Stack cards vertically */
        align-items: center;
        /* Center align cards */
    }

    .card {
        max-width: 280px;
        height: auto;
        margin-bottom: 20px;
        flex: 0 0 100%;
        /* Each card takes full width */
    }
}

/* For mobile screens */
@media screen and (max-width: 767px) {

    .social-title {
        font-size: 24px !important;
        line-height: 36px !important;
    }

    .social-media {
        padding: 30px;
        margin-top: 80px;
    }

    .check-all {
        font-size: 14px;
    }

    .updates {
        flex-direction: column;
        /* Stack cards vertically */
        align-items: center;
        /* Center align cards */
    }

    .card {
        max-width: 280px;
        height: auto;
        margin-bottom: 20px;
        flex: 0 0 100%;
        /* Each card takes full width */
    }
}

@media screen and (max-width: 412px) {
    .social-title {
        font-size: 24px !important;
        line-height: 36px !important;
    }

    .social-media {
        padding: 30px;
        margin-top: 80px;
    }

    .check-all {
        font-size: 14px;
    }

    .updates {
        flex-direction: column;
        /* Stack cards vertically */
        align-items: center;
        /* Center align cards */
    }

    .card {
        max-width: 280px;
        height: auto;
        margin-bottom: 20px;
        flex: 0 0 100%;
        /* Each card takes full width */
    }
}

/* Common CSS */
.footer {
    background-color: #000000;
    color: #fff;
    padding: 40px 0 0;
    margin-top: 200px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    padding: 0 20px;
    margin-left: 80px;
    margin-right: 80px;
}

.footer-section-info {
    margin-right: 30px;
    box-shadow: 8px 8px 30px 0px #000000;
    background: #161616;
    padding: 20px;
    border-radius: 12px;
    width: 500px;
}

.footer-section {
    margin-right: 30px;
    box-shadow: 8px 8px 30px 0px #000000;
    background: #161616;
    padding: 20px;
    border-radius: 12px;
    width: 500px;
}

.footer-section:last-child {
    margin-right: 0;
}

.footer h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    line-height: 22.4px;
    text-align: left;
    color: #FF4253;
}

.contact-info p {
    margin: 0 0 15px;
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    text-align: left;
    color: #FF4253;
}

.contact-info i {
    color: #8B1C18;
    margin-right: 10px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 10px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22.4px;
    letter-spacing: -0.23999999463558197px;
    text-align: left;
}


.social-icons {
    margin-top: 20px;
}

.social-icons li {
    margin-bottom: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
}

.footer-bottom {
    background: #B61F2D;
    padding: 15px 0;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
}

.footer-links li {
    margin-right: 20px;
}

.social-icons-bottom {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icons-bottom li {
    margin-left: 15px;
}

.social-icons-bottom a {
    color: #fff;
    font-size: 18px;
}

@media screen and (max-width: 1440px) {
    .footer-content .footer-section-info {
        width: 80% !important;
        margin-right: 40px !important;
    }
}

@media screen and (max-width: 1240px) {
    .footer-content {
        flex-wrap: wrap;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Responsive CSS */
@media screen and (max-width: 991px) {
    .footer-content {
        flex-wrap: wrap;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 770px) {
    .footer-content {
        flex-wrap: wrap;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom .social-links {
        display: none;
    }
}

@media screen and (max-width: 412px) {
    .footer-content {
        flex-wrap: wrap;
        margin-left: 20px;
        margin-right: 20px;
    }

    .footer-section {
        width: 300px !important;
        margin-bottom: 20px;
        margin-right: 20px !important;
    }

    .footer-bottom .social-links {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    /* .footer-bottom div {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    } */

    .copy-right {
        display: flex;
        flex-direction: column;
        margin-left: 0px !important;
        align-items: flex-start;
    }

    .copy-right a {
        margin-left: 0px !important;
    }

    .copy-right .line {
        display: none;
    }

    .footer-bottom div span,
    .footer-bottom div a {
        margin: 5px 0;
    }

    .footer-bottom .social-link {
        flex-direction: row;
        gap: 10px;
    }
}


/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    z-index: 9999;
    /* Ensure popup stays on top */
}

.popup-content {
    background-color: #fff;
    width: 80%;
    max-width: 600px;
    /* Limit maximum width */
    margin: 50px auto;
    /* Center popup vertically and horizontally */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    /* Add shadow effect */
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

.close:hover {
    color: #FF4253;
    /* Change color on hover */
}