input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: transparent;
}

@keyframes animate {
    from {
        height: 0;
    }

    to {
        height: 120px;
    }
}

@keyframes animate-show {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.mobile-container {
    max-width: 480px;
    margin: auto;
    background-color: #555;
    height: 500px;
    color: white;
    border-radius: 10px;
}

.topnav {
    display: none;
}


.topnav #myLinks {
    display: none;
    position: fixed;
    z-index: 2;
    background: #fff;
    top: 90px;
    height: 200px;
}

.topnav #myLinks.show {
    display: block;
    animation-name: animate;
    animation-duration: 1s;
}

.topnav i {
    color: #5C3081;
    font-size: 35px;
}

.topnav a {
    height: 26px;
    font-family: 'Faktum';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #273755;
    cursor: pointer;
}

.topnav .link {
    margin-left: 50px;
}

.topnav a.icons {
    /* background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0; */
}

.topnav a:hover {
    /* background-color: #ddd;
    color: black; */
}

.active {
    background-color: #04AA6D;
    /* color: white; */
}



.myLinks-container {
    /* z-index: 2; */
    width: 100%;
    position: fixed;
    right: 0;
    background: #fff;
    display: flex;


    row-gap: 15px;
    flex-direction: column;
    align-items: center;
    padding: 22px 0;
    height: inherit;
    border-radius: 0px 0px 1rem 1rem;
    height: auto;
}



#close {
    display: none;
}

#close {
    /* animation-name: animate;
    animation-duration: 1s; */
}

@media (max-width: 822px) {
    
    .section4 {
        height: auto;
        padding-bottom: 3rem;
        width: 92%;
        margin-left: 8%;
        border:#04AA6D;
        justify-content: flex-start;
        
    }

    .section4 .title {
        font-size: 32px;
        padding: 2rem 0 0 0;
        text-align: left;
        margin-top: 60px;
        margin-bottom: 25px;
        justify-content: flex-start;
        margin-right: 8%;
        border: 1;
    }

    .section4 .container {
        background: #FFFFFF;
        padding: 0px 0px 16px;
        width: 100%;
        padding: 0px 0px 3rem;
        margin-left: 0;

        /*margin: 0 0 30px;  Add margin to the bottom */
    }

    .section4 .containerBox {
        flex-wrap: wrap;
        /* Allow containers to wrap */
        justify-content: flex-start;
        /* Center align containers */
    }

    .section4 .container .image {
        height: auto;
        /* Maintain aspect ratio */
        border-radius: 10px;
        margin-bottom: 20px;
        /* Add margin to the bottom */
        height: 140px;
    }

    .section4 .subtitle {
        width: 100%;
        text-align: left; /* Align text to the left */
        padding: 10px 0 6px 0; /* Top, right, bottom, left */
    }

    .section4 .definition {
        margin-right: 8%;

        text-align: left;
        padding-top: 2rem;
        padding-left: 0;
    }
}

@media (max-width: 991px) {
    div#header {
        padding: 0 20px;
        box-sizing: border-box;
        justify-content: space-between;
    }

    body {
        min-width: unset;
        /* Remove the fixed min-width */
        text-align: center;
    }

    .topnav-container {
        display: none;
    }

    .topnav-link {
        padding-left: 0rem;
    }


    .menu-Container {
        display: block;
    }

    .menu-Container #myLinks {
        display: none;
        position: fixed;
        z-index: 2;
        background: #fff;
        top: 90px;
        height: 200px;
    }

    .menu-Container #myLinks.show {
        display: block;
        animation-name: animate;
        animation-duration: 0.7s;
    }

    .menu-Container i {
        color: #5C3081;
        font-size: 35px;
    }

    .menu-Container a {
        height: 26px;
        font-family: var(--font-body);
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0.02em;
        text-decoration: none;
        color: #273755;
        cursor: pointer;
    }

    .menu-Container .link {
        margin-left: 50px;
    }

    #overlay {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
        z-index: 1; /* Behind the menu but above everything else */
    }

    .navigator {
        position: absolute;
        left: 45%;
        margin-top: 130px;
    }

    .section1 {
        padding-bottom: 10px;

    }
    /* Add more media queries as needed */

    .seperator {
        width: 100%;
        /* Make it responsive to the parent container's width */
        max-width: 639px;
        /* Maximum width it can expand to */
        height: 1px;
        background: linear-gradient(90deg, rgba(221, 221, 221, 0.00) 0%, #DDD 51.56%, rgba(221, 221, 221, 0.00) 100%);
        margin: 0 auto;
    }


    .section3 {

        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        padding-left: 8%;
        padding-right: 8%;
        width: 100%;

    }
    /* Reordering to image-content-image-content */
    .section3 .info .image,
    .section3 .info .content {
        flex: 1 1 100%;
    }
    
    /* Specific order fixing for second info block */
    .section3 .info:nth-child(2) .image {
        order: 1; /* Show image first */
    }
    .section3 .info:nth-child(2) .content {
        order: 2; /* Show content after */
    }

    .section3 .info {
        flex-direction: column;
        /* Stack elements vertically */
        align-items: center;
        /* Center align items */
        margin-bottom: 1rem;
        /* Add margin between info sections */
        padding: 0;
    }

    .section3 .image img {
        width: 100%;
        /* Adjust as needed */
        border-radius: 50%;

    }

    .section3 .image {
        height: auto;
        width: auto;
        text-align: center;
    }

    .section3 .content {
        width: 100%;
        text-align: left;
        /* Center align text */
        padding-top: 1rem;
    }

    .section3 .title {
        font-size: 24px;
        /* Reduce font size */
        line-height: 32px;
        /* Adjust line height */
        padding: 10px 0px;
        /* Reduce padding below title */
    }

    .section3 .details {
        font-size: 16px;
        /* Reduce font size */
        line-height: 24px;
        /* Adjust line height */
        text-align: left;
        width: 100%;
    }
    

    .arrow-bullets li{
        text-align: left;
    }



    .diamond,
    .diamond .dot,
    .diamond .dot.dot10,
    .diamond .dot1,
    .diamond .dot3,
    .diamond .dot4,
    .diamond .dot5,
    .diamond .dot10.dot1,
    .diamond .dot10.dot3,
    .diamond .dot10.dot4,
    .diamond .dot10.dot5,
    .diamond.diamond1,
    .diamond.diamond2,
    .diamond.diamond3,
    .diamond.diamond4,
    .diamond.diamond5,
    .diamond.diamond6,
    .diamond6 .dot4,
    .diamond6 .dot5,
    .diamond.diamond7,
    .diamond.diamond8 {
        display: none;
    }

    .section7 {

        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        padding: 10px;
        margin-top: 6rem;
    }

    .section7 .main-title {
        margin-bottom: 0;
    }

    .section7 .info {
        flex-direction: column;
        /* Stack elements vertically */
        align-items: center;
        /* Center align items */
        margin-bottom: 1rem;
        /* Add margin between info sections */
    }

    .section7 .image img {
        width: 100%;
        /* Adjust as needed */
        border-radius: 50%;

    }

    .section7 .image {
        height: auto;
        width: auto;
        text-align: center;
    }

    .section7 .content {
        width: 100%;
        text-align: center;
        /* Center align text */
        padding-top: 1rem;
    }

    .section7 .title {
        font-size: 24px;
        /* Reduce font size */
        line-height: 32px;
        /* Adjust line height */
        padding: 10px 10px;
        /* Reduce padding below title */
    }

    .section7 .details {
        font-size: 16px;
        /* Reduce font size */
        line-height: 24px;
        /* Adjust line height */
        text-align: center;
        width: 100%;
    }

    .section7 .p {
        margin: 1rem 0;
    }

    .dropdown:hover .dropdown-menu {
        /* Disable the hover effect on mobile */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }
    
    /* Only toggle visibility via the active class */
    .dropdown.mobile.active .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
    
    .dropdown.mobile .dropdown-item {
        padding-left: 42px;
    }

    .footer {
        display: flex;
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        opacity: 0.93;
        background: linear-gradient(93deg, #5C3081 42.66%, #19A2AD 85.79%);

    }

    .footer .leftItems {
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 10px 0px 5px 0px
    }

    .footer .rightItems {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 5px 0px 5px 0px;
        align-items: center;
        justify-content: space-between;
    }

    .footer .logo {
        width: 100%;
        height: auto;
        margin-bottom: -1rem;

    }

    .footer .logo-seperator {
        width: 2%;
        /* Span the full width of the container */
        height: 46px;
        /* Remove inherent height */
        background: linear-gradient(to bottom, rgba(221, 221, 221, 0.00) 0%, #DDD 51.56%, rgba(221, 221, 221, 0.00) 100%);
        margin: 0px 0px 0px 0px;
        flex-grow: 0;
        /* Prevent taking extra space */
    }

    .footer .link {
        width: auto;
        height: auto;
        /*left: 1127px;
    top: 40px;*/

        font-family: var(--font-heading);
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 20px;
        margin-left: 0px;
        margin-top: 10px;
        text-decoration: none;
        color: #FFFFFF;
        cursor: pointer;
        padding: 0 8px;
    }

    .footer .link-container {
        text-align: center;
        /*margin-bottom: 10px;*/
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        margin-top: -1rem;
    }

    .footer .policy {

        height: auto;
        /* left: 1075px;
top: 70px; */

        font-family: var(--font-body);
        font-style: normal;
        /* identical to box height */

        text-align: center;
        font-weight: 400;
        font-size: 14px;
        line-height: 18px;
        text-align: center;
        color: #FFFFFF;
        padding: 5px 20px 10px;
    }

    .footer .policy {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px; /* optional: adds small space between lines */
        padding: 5px 20px 10px;
    }
    
    .footer .policy-links, 
    .footer .policy-copyright {
        font-family: var(--font-body);
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 18px;
        color: #FFFFFF;
        text-align: center;
    }

    .image-container img {
        /*margin-right: 8px;*/

    }





    /* Modal Content */
    .modal-content {
        width: auto;
        background-color: #fefefe;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        -webkit-animation-name: animatetop;
        -webkit-animation-duration: 0.4s;
        animation-name: animatetop;
        animation-duration: 0.4s;
        border-radius: 10px;
        padding: 25px;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    /* The Close Button */
    .close {
        color: #000;
        float: right;
        font-size: 28px;
        font-weight: bold;
        position: relative;
        top: -25px;
        right: -12px;
    }

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

    .modal-header {
        /* padding: 2px 16px; */
        background-color: #fff;
        color: #683f8a;
        /* display: none; */
        text-align: center;
    }

    .modal-body {
        padding: 16px 16px;
        font-family: 'Faktum';
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 30px;
        letter-spacing: 0.02em;
        color: #111111;
        text-align: center;
    }

    .modal-footer {
        padding: 2px 16px;
        background-color: #683f8a;
        color: white;
    }


    .modal-form-header {
        color: #5C3081;
        font-family: var(--font-heading);
        font-size: 28px;
        font-style: normal;
        font-weight: 600;
        line-height: 40px;
    }

    .modal-form-subheader {
        color: #333;
        font-family: var(--font-heading);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        padding-top: 8px;
    }


    .modal-content .form-content {
        padding: 10px 0 0 0;
    }

    .modal-content .form-content form {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: column;
    }

    .modal-content .form-content input::placeholder {

        font-family: 'Faktum';
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        /* identical to box height */

        letter-spacing: 0.02em;

        color: #888888;
    }

    .modal-content .form-content input {
        width: auto;
        border: 0;
        padding: 9px 16px;
        font-family: 'Faktum';
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        color: #111111;
        background: #F5F5F5;
    }

    .modal-content .form-content input.no-margin {
        margin: 0 0 20px 0;
    }

    .modal-content .form-content textarea {
        height: 80px;
        width: 100%;
        border: 0;
        padding: 9px 16px;
        font-family: 'Faktum';
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        color: #111111;
        resize: none;
        background: #F5F5F5;
        width: auto;
    }

    .modal-content .form-content input:focus-visible,
    .modal-content .form-content textarea:focus-visible {
        outline: none;
    }

    .modal-content input.submit {
        width: auto;
        height: 35px;
        border-radius: 20px;
        background: #5C3081;
        color: #FFF;
        text-align: center;
        font-family: Faktum;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        cursor: pointer;
        margin-top: 30px;
    }

    .modal-content .label {
        color: #111;
        font-family: var(--font-body);
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        padding: 20px 0 10px 0;
    }

    .disclaimer {
        color: #333;
        font-family: var(--font-body);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-top: 30px;
        margin-bottom: 120px;
    }

    .disclaimer .highlight {
        color: #5C3081;
        font-family: var(--font-body);
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        margin-bottom: 30px;
    }

    .column1 {
        display: flex;
        flex-direction: column;
    }

    .modal-header,
    .modal-body {
        display: none;
    }
}

@media screen and (max-width: 1280px) {

    .section2 {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        padding-bottom: 10px;
        gap: 12px;
        /* Add padding of 20px on the left and right */
    }

    .section2 .title {
        color: #FFF;
        text-align: left;
        font-feature-settings: 'clig' off, 'liga' off;
        font-family: var(--font-heading);
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        /* 100% */
        letter-spacing: 0.8px;
        margin-top: 20px;
        width: 92%;
        padding-right: 0;
        padding-left: 8%;
    }

    .section2 .content {
        width: 92%;
        /* Make content full-width */
        height: auto;
        margin-bottom: 20px;
        text-align: left;
        padding-right: 0;
        padding-left: 8%;
    }

    .section2-1 {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: left;
        justify-content: left;
        box-sizing: border-box;
        padding: 0 20px;
        /* Add padding of 20px on the left and right */

    }


    .section2-1 .content {
        width: 100%;
        /* Make content full-width */
        height: auto;

    }


    .section5 {
        display: flex;
        flex-direction: column;
        height: auto;
        margin-bottom: 9rem;
    }

    .section5 .title {
        font-size: 32px;
        padding: 2rem 0 0 0;
        text-align: center;
        margin-top: 60px;
        justify-content: flex-start;
        margin-left: 8%;
    }

    .section5 .containerBox {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .section5 .leftPanel {
        padding-left: 0;
        background: transparent;
        padding-bottom: 6rem;
        padding-right: 6%;
    }

    .section5 .leftContentBox {
        border-radius: 8px;
        width: 96%;
        box-sizing: border-box;
        margin-left: 8%;
    }

    .section5 .leftContentBox .iconBox {
        width: 60px;
        margin-left: -1rem;
    }


    .section5 .leftContentBox .contents {
        left: 0;
    }

    .section5 .leftContentBox.selected {
        background: #ffffff;
        box-shadow: 0 4px 10px rgba(113, 122, 141, 0.15);
    }

    .section5 .iconBox {
        text-align: center;
        margin-bottom: 0.75rem;
    }

    .section5 .iconBox img {
        max-width: 60px;
        height: auto;
    }

    .section5 .subTitle {
        font-size: 18px;
        font-weight: 600;
        color: #666;
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .section5 .leftContentBox.selected .subTitle {
        color: #19a2ad;
    }

    .section5 .contents {
        font-size: 15px;
        line-height: 1.6;
        color: #111;
        text-align: justify;
        width: 75%;
    }

    .section5 .leftContentBox .contents {
        width: 92%;
    }

    .section5 .leftContentBox.leftContentBox.selected .contents {
        color: #273755;
        width: 70%;
    }

    .section5 .rightPanel {
        width: 100%;
        height: 80px;
        padding: 1rem 0;
        background: transparent;
    }

    .section5 .rightContentBox {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section5 .rightContentBox .image {
        width: 100%;
        max-width: 300px;
        height: 180px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 1rem;
    }

    .section5 .rightPanel .content {
        font-size: 20px;
        line-height: 1.6;
        color: #333;
        text-align: center;
        padding: 0 0.5rem;
        width: 90%
    }

    .section6 {
        padding: 4rem 0 2rem;
    }

    .section6 .main-title {
        font-size: 28px;
        margin-bottom: 40px;
        margin-top: 60px;
    }

    .section6 .card-container {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .section6 .team-image {
        max-width: 90%;
    }

    .section6 .vision-mission-side {
        max-width: 541px;
    }

    .section6 .vision-mission-container {
        padding: 30px 20px;
        align-items: flex-start;
        text-align: left;
    }

    .section6 .content-box {
        text-align: left;
    }

    .section6 .content-box h2 {
        font-size: 22px;
    }

    .section6 .content-box p {
        font-size: 16px;
    }

    .section6 .values-container{
        text-align: left;
    }

    .section6 .values-container h3 {
        font-size: 18px;
    }

    .section6 .values-list li {
        font-size: 16px;
    }

    .section6 .about-container {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .section6 .team-image,
    .section6 .vision-mission-container {
        max-width: 100%;
    }

    .contact-form-header {
        text-align: center;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .section-contact{
        margin-top: 6rem;
        margin-bottom: 2rem;
    }

    .section-contact .contact-container{
        align-items: center;
    }
    
    .contact-form-container {
        padding: 10px 0px;
        margin: auto;
        width: 90%;
    }
    
    .contact-submit {
        width: 100%;
    }
    
    .submit-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .success-message {
        order: 2;
        text-align: center;
        margin-top: 10px;
    }
    
}

@media (max-height: 741px) {
    .section-contact {
        height: auto;
    }
    
}