:root {
    --SourceSansPro: "source_sans_proregular";
    --Goudy: "sorts_mill_goudyregular";
    --ITCOfficinaSerifStd: "ITC Officina Serif Std";
    --letter--spacing: 1.5px;
}
* {
    outline: none;
}
*,
::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    display: flex;
    min-height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-x: hidden;
}
main {
    /* To take all the remaining height  */
    flex-grow: 1;
    overflow-x: hidden;
}

/************** custom classes *************/
.txt {
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: left;
    line-height: 1.7;
    font-weight: normal;
    /* letter-spacing: 2px; */
}
.red {
    color: red;
    font-weight: bold;
}
.success {
    color: green;
    font-weight: bold;
}
.rich-txt h1 {
    font-family: var(--Goudy);
    font-size: clamp(16px, 1.6vw, 30px);
    font-weight: bold;
    color: #101820;
    margin-bottom: 1rem !important;
    letter-spacing: var(--letter--spacing);
}
.rich-txt p,
.rich-txt li {
    font-family: var(--SourceSansPro);
    line-height: 1.7;
}
.rich-txt p {
    font-size: clamp(14px, 1.2vw, 22px);
    line-height: 1.7;
    color: #737b82;
}

.download-pdf {
    text-decoration: underline;
    display: flex;
    align-items: center;
    column-gap: 1.5vw;
    font-size: clamp(14px, 1.2vw, 22px);
    font-family: var(--SourceSansPro);
    color: #101820;
}
.download-pdf img {
    width: clamp(20px, 1.5vw, 16px);
    aspect-ratio: 1;
}
/*
|--------------------------------------------------------------------------
| Hover
|--------------------------------------------------------------------------
*/
.hvr-grow {
    display: block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
}

.hvr-grow:hover,
.hvr-grow:focus,
.hvr-grow:active {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
/*********** The arrow before li ***********/

.rich-txt ul {
    padding-left: 0rem;
}
.rich-txt ul li {
    font-size: clamp(14px, 1.2vw, 22px);
    color: #737b82;
    list-style-type: none;
    /* margin-top: clamp(8px, 0.6vw, 12px); */
    display: flex;
    line-height: 1.7;
}
.rich-txt ul li span {
    color: #737b82;
}
.rich-txt li::before {
    content: "";
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: clamp(8px, 0.9vw, 10px);
    min-width: clamp(8px, 0.9vw, 10px);
    min-height: 20px;
    margin-top: clamp(4px, 0.55vw, 10px);
}

.rich-txt h4 {
    font-family: var(--Goudy);
    font-size: clamp(12px, 1.1vw, 20px);
    color: #101820;
    font-weight: bold;
    letter-spacing: var(--letter--spacing);
}
/************* End stars before li ******************/

/**********  Order list **************/
.rich-txt ol {
    padding-left: 0px !important;
    /* width: 85%; */
    width: 100%;
}
.rich-txt ol p {
    font-family: var(--SourceSansPro) !important;
    font-size: clamp(14px, 1.2vw, 22px);
    font-weight: normal;
    line-height: 1.7;
    color: #737b82;
    padding-left: clamp(20px, 2vw, 40px);
}
.rich-txt ol li {
    font-family: var(--Goudy);
    font-size: clamp(14px, 1.2vw, 22px);
    font-weight: 800 !important;
    color: #101820;
    list-style-type: none;
    display: flex;
    /* margin-top: clamp(8px, 0.6vw, 12px); */
}

/********* Order List End  ***********/

/* treaty and reinsurance details navigation bar */
.navigation-row a {
    font-family: var(--Goudy);
    font-size: clamp(10px, 0.8vw, 15px);
    font-weight: bold;
    color: #737b82 !important;
    text-decoration: none;
    letter-spacing: var(--letter--spacing);
}
.navigation-row a:hover {
    color: #737b82 !important;
}
.navigation-row {
    width: 100%;
    align-items: flex-start;
    margin-bottom: clamp(10px, 1.5vw, 35px);
    /* height: 100%; */
    /* gap: 0 clamp(10px, 5vw, 6vw); */
    /* padding: 3vw clamp(12px, 0.5vw, 0.5vw); */
}
.navigation-row img.arrow-sign-navigation {
    padding: 0 clamp(10px, 1vw, 1rem);
}
/* treaty and reinsurance details navigation bar end */

/* put order of the text-container based on the postion from the back */
.order {
    order: 1;
}
@media (max-width: 1000px) {
    /* always image will be at the top in the mobile version  */
    .order {
        order: -1;
    }
    .rich-txt ol {
        /* width: 95%; */
        width: 100%;
    }
}
/************** end custom classes *************/

/************ Header NavBar ****************/
nav.navbar {
    width: 100%;
    padding: clamp(12px, 1.7vw, 33px);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    z-index: 2;
}
img.ISA-logo {
    width: clamp(15rem, 8.4vw, 162px);
}

nav a.active {
    color: black;
}
a.nav-link {
    display: flex;
    align-items: center;
    font-family: var(--Goudy);
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #737b82;
    letter-spacing: var(--letter--spacing);
}
.nav-link img {
    width: clamp(10px, 0.7vw, 16px);
    margin-top: -3px;
}
a.nav-link {
    font-size: clamp(12px, 1.1vw, 20px);
}
.dropdown-menu li a.dropdown-item {
    font-size: clamp(10px, 0.8vw, 15px);
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    font-family: var(--SourceSansPro);
}
.navbar a {
    font-size: clamp(12px, 1vw, 18px);
}
ul.dropdown-menu {
    background-color: #101820;
    border-radius: 1px;
    margin-top: clamp(10px, 1.5vw, 30px) !important;
    padding: clamp(10px, 1.5vw, 25px) clamp(15px, 1.5vw, 30px)
        clamp(10px, 1.5vw, 25px) clamp(5px, 0.5vw, 10px);
}
a.dropdown-item {
    color: #fff !important;
    width: fit-content;
    background-color: #101820;
}
a.dropdown-item:focus,
a.dropdown-item:hover {
    background-color: #101820;
}
a.dropdown-item.active,
a.dropdown-item:active {
    background-color: #101820;
}
.container-fluid {
    width: 100%;
    height: 100%;
    padding-left: clamp(2%, 5%, 5%) !important;
}
.nav-item {
    position: relative;
}
#navbarSupportedContent {
    width: 50% !important;
}
.navbar-collapse {
    flex-grow: 0 !important;
}
.me-auto {
    margin-right: 0 !important;
}
.navbar-nav {
    width: 100% !important;
    display: flex;
    justify-content: space-evenly !important;
    padding-left: 0;
    margin: 0 !important;
}
hr {
    margin: 5px 0 0 0 !important;
    /* margin-top: 5px !important; */
    border-width: 2px;
    padding-top: 2px;
    visibility: hidden;
}
a.dropdown-item:hover hr {
    visibility: visible;
    animation: left-right 1s ease-in;
    border-width: 2px;
}
a.linked-in {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.5rem;
}
img.linked-in-logo {
    background-color: #004499;
}
@keyframes left-right {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        left: 100%;
    }
}
#navbarSupportedContent {
    width: clamp(55%, 56vw, 1075px) !important;
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0px;
}
/* change language */
.language-form {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.language-change {
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0);
    font-size: clamp(12px, 1vw, 18px);
    font-family: var(--Goudy);
    font-stretch: normal;
    font-style: normal;
    font-weight: bold;
    letter-spacing: normal;
    text-align: left;
    color: #737b82;
    align-items: center;
    margin-top: -5px;
}

@media (max-width: 991px) {
    #navbarSupportedContent {
        position: absolute;
        z-index: 2;
        background: white;
        top: 100%;
        width: 100% !important;
        left: 0px;
        padding-inline-start: 1rem;
    }
    .nav-item {
        padding: 0.5rem 0rem;
    }
}

/**************** Header NavBar Ends  *******************/

/************* Footer *************/
footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    padding: clamp(10px, 1.5vw, 65px) 0;
    background-color: #ececec;
    box-shadow: 0 -3px 6px 0 rgba(0, 0, 0, 0.16);
    z-index: 1;
}
footer img.ISA-logo {
    padding: clamp(12px, 1vw, 18px);
    width: clamp(15rem, 8.4vw, 162px);
}
.footer-content-container {
    width: 70%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
}
.footer-content-container h3 {
    width: 100%;
    font-size: clamp(12px, 0.9vw, 16px);
    font-family: var(--Goudy);
    font-weight: bold;
    color: #101820;
    letter-spacing: var(--letter--spacing);
}
.footer-content-container div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.footer-content-container div.sub-cont-3 {
    margin-top: clamp(3px, 0.4vw, 7px);
    row-gap: clamp(3px, 0.4vw, 7px);
}
.footer-content-container div a {
    font-family: var(--SourceSansPro);
    width: 100%;
    font-size: clamp(10px, 0.8vw, 15px);
    color: #737b82;
    text-decoration: none;
    margin-bottom: clamp(3px, 0.4vw, 7px);
}
.footer-linked-in {
    display: flex;
    align-items: center;
    column-gap: clamp(3px, 0.4vw, 7px);
}
.footer-content-container .linked-in-logo {
    background-color: #fff;
    width: clamp(10px, 1vw, 20px);
    aspect-ratio: 1;
}
@media (max-width: 800px) {
    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    footer .footer-content-container {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        justify-content: space-evenly !important;
    }
    footer .footer-content-container div {
        width: auto;
        align-items: flex-start;
    }
}

@media (max-width: 550px) {
    footer .footer-content-container {
        width: 100% !important;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        justify-content: space-evenly !important;
        flex-wrap: wrap;
    }

    footer .footer-content-container div {
        width: 50% !important;
        align-items: flex-start !important;
    }
    .footer-content-container .sub-cont-2 {
        margin: 0 auto !important;
    }
    .footer-content-container .sub-cont-3 {
        width: 100% !important;
        /* margin: 0; */
    }
    /* .footer-content-container .linked-in-logo {
        width: 1.5vw;
        aspect-ratio: 1;
    } */
}

/*************** Footer Ends  *******************/
/************* Home Page ***********/

/* .home-container {
    width: 100%;
    height: 100%;
    position: relative;
} */
/* .home-container h1 {
    position: absolute;
    top: 30%;
    width: 100%;
    text-align: center;
    font-size: clamp(30px, 6.5vw, 130px);
    color: grey;
    font-family: var(--Goudy);
} */
/* .home-container h1 p {
    font-size: clamp(14px ,3vw ,60px);
    width: fit-content;
    margin-inline: auto;
} */
/* dark overlay on the image on click on nav-links */
/* .home-container.dark::after {
    content: "";
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
} */

/* img.home {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
/* .home-container a {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;
    border: 1px;
    width: fit-content;
    background-color: #101820;
    padding: clamp(0.2rem, 3vw, 10px) clamp(0.2rem, 3vw, 29px);
    font-family: var(--Goudy);
    font-size: clamp(12px, 0.9vw, 16px);
    font-weight: 500;
    line-height: normal;
    color: #fff;
    border-radius: 7px;
} */
/* .home-container a:hover {
    color: #fff;
} */

/***************** Home Page Ends **************/

/************* About Us  ************/

/********** About Us | History, Approach and Markets *********/

.history-container,
.approach-container,
.markets-container {
    width: 100%;
    height: 100%;
    display: flex;
    /* flex-direction: column; */
    gap: clamp(15px, 3vw, 60px);
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    max-width: clamp(600px, 94vw, 1800px);
    margin: 0 auto;
    /* width: 100%;
    height: 100%;
    display: flex;
    gap: 0 clamp(10px, 4.5vw, 87px);
    justify-content: center;
    padding: clamp(15px, 3vw, 90px) clamp(1rem, 4vw, 108px); */
    /* padding: clamp(15px, 2.4vw, 46px) clamp(8px, 0.5vw, 10px); */
}

.history-image-container img,
.approach-image-container img,
.markets-map-container img {
    width: 100%;
    /* object-fit: contain; */
    object-fit: cover;
    height: 100%;
}

/* specific for History */
.history-image-container {
    width: clamp(200px, 47vw, 887px);
    aspect-ratio: 887/575;
    height: fit-content;
}
.history-text-container {
    width: clamp(200px, 36vw, 702px);
}
.history-text-container p span,
.markets-text-container p span {
    color: #737b82 !important;
    width: 100%;
}
.markets-text-container p,
.markets-text-container p span,
.markets-text-container li {
    color: #737b82 !important;
}
/* specific for History Ends */

/* specific for Approach */
.approach-image-container {
    width: clamp(200px, 50vw, 954px);
    aspect-ratio: 954/636;
    height: fit-content;
}
.approach-text-container {
    width: clamp(200px, 40vw, 760px);
}
.approach-text-container p span {
    color: #737b82 !important;
    width: 100%;
}
/* specific for Approach Ends */

/* specific for Markets */
.markets-map-container {
    width: clamp(200px, 40vw, 760px);
    aspect-ratio: 760/510;
    height: fit-content;
}
.markets-map-container #map {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.markets-text-container {
    width: clamp(200px, 39vw, 735px);
}
.markets-text-container a {
    color: #737b82 !important;
    text-decoration: none;
}
.markets-text-container a:hover {
    color: #737b82 !important;
}

/* specific for Markets Ends */

@media (max-width: 1000px) {
    .history-container,
    .approach-container,
    .markets-container {
        row-gap: 4vw;
        align-items: center;
        flex-direction: column;
    }
    .history-text-container,
    .approach-text-container,
    .markets-map-container {
        width: 100%;
    }
    .history-image-container,
    .approach-image-container,
    .markets-text-container {
        width: 100%;
    }
}
/********** About Us | History, Approach and Markets Ends *********/

/********** About Us | mission and vision *********/
.mission-vision-container {
    /* keep them as a note elias*/
    width: 100%;
    height: 100%;
    display: flex;
    /* flex-direction: column; */
    gap: clamp(15px, 3vw, 60px);
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    max-width: clamp(600px, 94vw, 1800px);
    margin: 0 auto;
    /* width: 100%;
    height: 100%;
    gap: 0 clamp(10px, 5vw, 96px);
    display: flex;
    justify-content: center;
    padding: clamp(15px, 3vw, 90px) clamp(1rem, 4vw, 108px); */
    line-height: 1.7;
}
div.mission-vision-img-container {
    aspect-ratio: 1155/665;
    width: 100%;
    /* height: fit-content; */
    height: 100%;
    max-width: 1155px;
}
div.mission-vision-img-container > div {
    aspect-ratio: 1155/665;
    width: clamp(200px, 61vw, 1155px);
    /* width: 100%; */
    height: 100%;
    /* height: fit-content; */
    max-width: 1155px;
}
div.mission-vision-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
div.mission-vision-text-container {
    width: clamp(200px, 23vw, 438px);
    min-width: clamp(200px, 23vw, 438px);
    display: flex;
    flex-direction: column;
    row-gap: clamp(12px, 3vw, 90px);
}
.mission-cont,
.vision-cont {
    width: 100%;
    /* box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16); */
    background-color: #101820;
    font-family: var(--SourceSansPro) !important;
    font-size: clamp(14px, 1.2vw, 22px);
    /* // line-height: 2; */
    color: #fff;
    padding: clamp(10px, 3vw, 90px);
    /* min-height: clamp(100px, 15.7vw, 300px); */
    height: 100%;
}
.vision-cont h1,
.mission-cont h1 {
    font-family: var(--Goudy) !important;
    font-size: clamp(16px, 1.6vw, 30px);
    font-weight: bold;
    letter-spacing: var(--letter--spacing);
}
.mission-cont p span,
.vision-cont p span {
    color: #fff;
    width: 100%;
}
.mission-order {
    order: 2;
}
@media (max-width: 1000px) {
    .mission-vision-container {
        flex-direction: column;
        row-gap: clamp(12px, 3vw, 90px);
    }
    div.mission-vision-text-container {
        width: 100%;
    }
    div.mission-vision-img-container > div {
        width: 100%;
    }
}

/************* About us Ends  ************/

/************ Services | Treaty Services ***************/

/************* treaty services index page  ************/
.treaty-container {
    /* width: fit-content;
    display: flex;
    row-gap: clamp(10px, 2vw, 40px);
    flex-direction: column;
    padding: clamp(15px, 3vw, 90px) clamp(1rem, 4vw, 108px);
    font-family: var(--Goudy);
    margin: 0 auto;
    justify-content: center; */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* gap: clamp(15px, 3vw, 60px); */
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    max-width: clamp(600px, 94vw, 1800px);
    margin: 0 auto;
}
.treaty-info-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: clamp(15px, 3vw, 60px);
    height: fit-content;
}
.treaty-image-container {
    width: clamp(200px, 45vw, 860px);
    aspect-ratio: 860/851;
    height: fit-content;
}
.treaty-image {
    width: 100%;
    /* object-fit: contain; */
    height: 100%;
    /* object-fit: cover; */
}

.treaty-boxes-container {
    width: clamp(200px, 39vw, 746px);
    /* height: 100%; */
    /* to display the 3 boxes correctly have same height*/
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* to display the 3 boxes correctly have same heigh*/
    gap: clamp(10px, 1.25vw, 24px);
    color: #fff;
    justify-content: flex-start;
    align-items: flex-start;
    /* height: fit-content; */
}
.box-container {
    height: 100%;
    width: clamp(100px, 19vw, 361px);
    word-wrap: break-word;
    /* to make the learn more at the end */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* to make the learn more at the end */
    background-color: #101820;
    padding: clamp(12px, 2vw, 40px) clamp(20px, 2.1vw, 42px)
        clamp(18px, 2.5vw, 75px) clamp(10px, 1.5vw, 30px);
}
.box-container img.icon {
    width: clamp(20px, 2.5vw, 46.7px);
    aspect-ratio: 1;
}
.box-container img.icon,
.box-container h3 {
    margin-bottom: clamp(16px, 1.2vw, 27px);
}
.box-container h3 {
    font-family: var(--Goudy);
    font-size: clamp(12px, 1vw, 18px);
    font-weight: bold;
    color: #fff;
    letter-spacing: var(--letter--spacing);
}
.box-container p {
    font-family: var(--SourceSansPro);
    font-size: clamp(10px, 0.9vw, 16px);
    /* // line-height: 2.19 !important; */
    color: #fff;
    /* To hide the line if it is more than 4 line and put  ... prevent from make the box larger  */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /*number of line to show*/
    line-height: 1.7;
    -webkit-box-orient: vertical;
    /* To hide the line if it is more than 4 line and put  ... prevent from make the box larger  */
}
.box-container p span {
    line-height: 1.7;
    width: 100%;
}
.box-container a.learn-more {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
    align-items: center;
    column-gap: 1rem;
    font-family: var(--SourceSansPro);
    /* TO keep learn more down */
    margin-top: auto;
    /* To keep learn more down */
    font-size: clamp(10px, 0.7vw, 14px);
    font-weight: 600;
}
.box-container a.learn-more img {
    width: clamp(8px, 1vw, 10px);
    aspect-ratio: 1;
}

@media (max-width: 1000px) {
    .treaty-info-container {
        flex-direction: row;
        row-gap: 2rem;
        height: fit-content;
    }
    .treaty-image-container {
        width: 100%;
        aspect-ratio: 860/851;
        margin: 0 auto;
    }
    .treaty-boxes-container {
        width: 100%;
        margin: 0 auto;
        grid-template-columns: repeat(2, 1fr);
    }
    .box-container {
        width: auto;
    }
}
@media (max-width: 500px) {
    .treaty-image-container {
        width: 100%;
        aspect-ratio: 860/851;
        margin: 0 auto;
    }
    .treaty-boxes-container {
        width: 100%;
        margin: 0 auto;
        grid-template-columns: repeat(1, 1fr);
    }
    .box-container {
        width: auto;
    }
}

/************* treaty service details page  ************/
.details-container {
    width: 100%;
    height: 100%;
    display: flex;
    /* gap: 0 clamp(10px, 2.4vw, 46px); */
    gap: clamp(15px, 3vw, 60px);
    flex-direction: column;
    /* justify-content: center;
    padding: clamp(12px, 0.5vw, 0.5vw) clamp(12px, 0.5vw, 0.5vw) 0
        clamp(12px, 0.5vw, 0.5vw); */
    /* padding: clamp(15px, 1.5vw, 35px) clamp(1rem, 6vw, 117px); */
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    align-items: center;
}

.details-text-container .text {
    width: 100%;
    font-family: var(--Goudy);
    display: flex;
    flex-direction: column;
    color: #223341;
}
.details-text-container .text h4 {
    width: 100%;
    font-family: var(--Goudy);
    display: flex;
    flex-direction: column;
    color: #223341;
    font-size: clamp(12px, 1.2vw, 22px);
}
.details-text-container .text h4 + p {
    width: 100%;
}

.details-text-container .text ul {
    width: 100%;
    font-family: var(--Goudy);
    display: flex;
    flex-direction: column;
    color: #223341;
}
.treaty-details-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    /* gap: 0 clamp(15px, 1vw, 77px); */
    gap: clamp(15px, 3vw, 60px);

    align-items: flex-start;
    justify-content: center;
}
.details-image-container {
    width: clamp(200px, 41vw, 784px);
    aspect-ratio: 1;
    /* height: fit-content; */
}
.details-image-container img {
    width: 100%;
    object-fit: cover;
    /* object-fit: cover; */
    height: 100%;
}

.details-text-container {
    width: clamp(200px, 46vw, 869px);
}
.details-text-container p,
.details-text-container p span {
    /* // line-height: 1.82; */
    font-size: clamp(12px, 1.1vw, 20px);
    color: #737b82 !important;
}
.details-text-container p span {
    width: 100%;
    display: block;
}
.details-text-container ul li,
.details-text-container ul li span {
    color: #737b82 !important;
}
a.download-pdf {
    margin-top: clamp(12px, 2vw, 20px);
}
a.download-pdf:hover {
    color: #101820;
}
@media (max-width: 1000px) {
    .treaty-details-container {
        flex-direction: column;
        row-gap: clamp(10px, 2.1vw, 40px);
        align-items: center;
    }
    .navigation-row {
        width: 100%;
    }
    .details-image-container,
    .details-text-container {
        width: 100%;
    }
}

/************ Services | Treaty Services Ends ***************/

/****************  Services | Facultative reinforcement ********************/

/********** facultative reinforcement index page  */
.reinsurance-container {
    /* width: fit-content;
    display: flex;
    row-gap: clamp(10px, 2vw, 40px);
    flex-direction: column;
    padding: clamp(15px, 3vw, 90px) clamp(1rem, 4vw, 108px);
    font-family: var(--Goudy);
    margin: 0 auto;
    justify-content: center; */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* gap: clamp(15px, 3vw, 60px); */
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    max-width: clamp(600px, 94vw, 1800px);
    margin: 0 auto;
}
.reinsurance-boxes-container {
    width: 100%;
    /* height: 100%; */
    height: fit-content;
    /* to display the 3 boxes correctly have same height*/
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* to display the 3 boxes correctly have same heigh*/
    flex-direction: row;
    flex-wrap: wrap;
    gap: clamp(15px, 3vw, 60px);
    color: #fff;
    justify-content: flex-start;
    align-items: flex-start;
    /* min-height: 452px; */
}
.reinsurance-box {
    height: 100%;
    word-wrap: break-word;

    width: clamp(100px, 21vw, 396px);
    /* to make the learn more at the end */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* to make the learn more at the end */
    background-color: #101820;
    padding: clamp(15px, 2.4vw, 52px) clamp(18px, 3vw, 59px)
        clamp(30px, 3.5vw, 94.2px) clamp(12px, 2.2vw, 48px);

    line-height: 1.7;
}
.reinsurance-box .icon {
    width: clamp(20px, 2.5vw, 46.7px);
    aspect-ratio: 1;
}

.reinsurance-box img.icon,
.reinsurance-box h3 {
    margin-bottom: clamp(16px, 1.2vw, 30px);
}
.reinsurance-box h3 {
    font-family: var(--Goudy);
    font-size: clamp(12px, 1vw, 18px);
    font-weight: 800;
    letter-spacing: var(--letter--spacing);
    /* // line-height: 2.06; */
}
.reinsurance-box p {
    color: #fff;
    font-family: var(--SourceSansPro);
    font-size: clamp(12px, 0.9vw, 16px);
    /* // line-height: 1.75 !important; */
    margin-bottom: 1rem;
    /* To hide the line if it is more than 4 line and put  ... prevent from make the box larger  */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /*number of line to show*/
    line-clamp: 4;
    -webkit-box-orient: vertical;
    /* To hide the line if it is more than 4 line and put  ... prevent from make the box larger  */
}
.reinsurance-box a.learn-more {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #fff !important;
    align-items: center;
    column-gap: 1rem;
    /* TO keep learn more down */
    /* position: absolute; */
    /* bottom: clamp(20px, 1.5vw, 45px); */
    margin-top: auto;
    /* To keep learn more down */
    font-size: clamp(10px, 0.7vw, 14px);
    font-weight: 600;
    font-family: var(--SourceSansPro) !important;
    /*  // line-height: 2.06; */
}
.reinsurance-box a.learn-more img {
    width: clamp(8px, 1vw, 10px);
    aspect-ratio: 1;
}

@media (max-width: 1200px) {
    .reinsurance-boxes-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .reinsurance-box {
        width: 100%;
    }
    .reinsurance-box p {
        width: 100%;
    }
}
@media (max-width: 600px) {
    .reinsurance-boxes-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .reinsurance-box {
        aspect-ratio: 396/452;
        width: 100%;
        margin-left: 0;
    }
    .reinsurance-box p {
        width: 100%;
    }
}
@media (max-width: 450px) {
    .reinsurance-box {
        width: 100%;
    }
    .reinsurance-box p {
        width: 100%;
    }
}

/* Facultative reinforement index page End */

/**********  Facultative reinforement details page  ***************/
.facultative-details-container {
    /* width: 100%;
    height: 100%;
    display: flex;
    gap: 0 clamp(10px, 5vw, 115px);
    justify-content: center;
    padding: clamp(10px, 1.5vw, 35px) clamp(12px, 0.5vw, 9.6px);
    align-items: flex-start; */
    width: 100%;
    height: 100%;
    display: flex;
    /* gap: 0 clamp(10px, 2.4vw, 46px); */
    gap: clamp(15px, 3vw, 60px);

    /* flex-direction: column; */
    /* gap: clamp(15px, 3vw, 60px); */
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    max-width: clamp(600px, 94vw, 1800px);
    margin: 0 auto;
}
.facultative-details-image-container {
    width: clamp(200px, 44vw, 844px);
    aspect-ratio: 844/745;
    height: fit-content;
}
.facultative-details-image-container img {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    object-fit: cover;
}

.facultative-details-text-container {
    width: clamp(200px, 42.5vw, 815px);
}

.facultative-details-text-container p,
.facultative-details-text-container p span {
    /* // line-height: 1.5 !important; */

    color: #737b82 !important;
}
.facultative-details-text-container p span {
    width: 100%;
    display: block;
}
.facultative-details-text-container .text {
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1000px) {
    .facultative-details-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .facultative-details-text-container {
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .facultative-details-image-container {
        width: 100%;
    }
    .details-text-container .text {
        width: 100% !important;
    }

    .details-text-container .text ul {
        /* width: 85% !important; */
        width: 100% !important;
    }
}

/**********  Facultative reinforement details page End ***************/
/****************  Services | Facultative reinforcement Ends ********************/

/**************** Coporate Accounts **********************/
.corporate-accounts-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 3vw, 60px);
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    max-width: clamp(600px, 94vw, 1800px);
    margin: 0 auto;
}
.corporate-accounts-image-container {
    width: 100%;
    max-height: clamp(300px, 30vw, 576px);
    aspect-ratio: 1680/576;
}
.corporate-accounts-image-container img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}
.corporate-accounts-text-container {
    /* width: clamp(200px, 47vw, 903px); */
    width: 100%;
}
.corporate-text-sections {
    width: 100%;
    display: flex;
    flex-direction: row;
    column-gap: clamp(15px, 3vw, 60px);
    flex-wrap: nowrap;
}
.corporate-text-sections div {
    width: 100%;
}
@media (max-width: 1000px) {
    .corporate-accounts-container {
        row-gap: clamp(10px, 2.1vw, 40px);
        align-items: center;
        flex-direction: column;
    }
    .corporate-accounts-image-container {
        width: 100%;
    }
    .corporate-accounts-text-container {
        width: 100%;
    }
    .corporate-text-sections {
        flex-direction: column;
        /* gap: clamp(15px, 3vw, 60px); */
    }
}

.reinsurance-box p span,
.box-container p span {
    color: #fff !important;
    width: 100%;
    display: block;
}
/**************** Corporate Accounts End *****************/
/***************** Services Ends ***************/
/***************** Careers | Join Our Team ********************/

.join-our-team-container {
    /* width: 100%;
    height: 100%;
    display: flex;
    gap: 0 clamp(10px, 4.5vw, 87px);
    justify-content: center;
    padding: clamp(15px, 2.4vw, 46px) clamp(8px, 0.5vw, 10px); */
    width: 100%;
    height: 100%;
    display: flex;
    /* flex-direction: column; */
    gap: clamp(15px, 3vw, 60px);
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    max-width: clamp(600px, 94vw, 1800px);
    margin: 0 auto;
}

.join-our-team-image-container {
    width: clamp(200px, 40.1vw, 769px);
    aspect-ratio: 769/512;
    height: fit-content;
    /* aspect-ratio: 769/725; */
}
.join-our-team-image-container img {
    width: 100%;
    /* object-fit: contain; */
    object-fit: cover;
    height: 100%;
}
.join-our-team-text-container {
    width: clamp(200px, 43vw, 844px);
}
/* // .join-our-team-text-container p {
    line-height: 1.82;
} */
.join-our-team-text-container p span {
    color: #737b82 !important;
    width: 100%;
    display: block;
}
.available-positions-container {
    width: 100%;
}
/* vacancy view more show less css */
.available-positions-container .hide-vacancy {
    display: none;
}

.available-positions-container .view-more-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.available-positions-container button {
    margin: 0 0.5rem;
    font-size: clamp(12px, 0.9vw, 16px);
    font-weight: 500;
    line-height: normal;
    color: #fff;
    border-radius: 7px;
    background-color: #101820;
    /* border: 1px solid rgba(0, 0, 0, 0); */
    font-family: var(--Goudy);
    border: 1px;
    width: fit-content;
    padding: clamp(0.2rem, 3vw, 10px) clamp(0.2rem, 3vw, 29px);
}
/* vacancy view more show less css ends */
.position {
    width: 100%;
    margin: clamp(10px, 1vw, 20px) 0;
    /* padding: 1vw 1.5vw; */
    padding: clamp(5px, 0.3vw, 5px) clamp(10px, 0.5vw, 10px);
    background-color: #101820;
    color: #fff;
}
.position,
.position p span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--Goudy);
    color: #fff;
    /* // line-height: normal; */
    /* font-size: clamp(10px, 1.2vw, 22px) !important; */
    /* font-size: clamp(10px, 1vw, 14px) !important;     */
    font-size: clamp(10px, 0.8vw, 14px) !important;
}
.position p span {
    width: 100%;
    display: block;
}
.position span {
    font-weight: 800;
}
.position a {
    padding: clamp(5px, 0.3vw, 5px) clamp(10px, 0.5vw, 10px);
    font-size: clamp(10px, 0.7vw, 12px);
    color: #101820;
    border: 1px solid #fff;
    background-color: #fff;
    text-decoration: none;
    font-weight: bold;
    /* padding: clamp(6px, 1vw, 10px) clamp(12px, 1.5vw, 20px); */
    border-radius: 7px;
}
.position a:hover {
    color: #101820;
}
@media (max-width: 1000px) {
    .join-our-team-container {
        flex-direction: column;
        row-gap: clamp(10px, 2.1vw, 40px);
    }
    .join-our-team-image-container {
        width: 100%;
    }
    .join-our-team-text-container {
        width: 100%;
    }
    .available-positions-container {
        width: 60%;
    }
}
@media (max-width: 600px) {
    .available-positions-container {
        width: 100%;
    }
}

/***************  Join Our Team Ends *******************/

/************* Interview proccess and What to Expect   **************/
.interview-process-container,
.what-to-expect-container {
    /* width: 100%;
    height: 100%;
    display: flex;
    gap: 0 clamp(10px, 8.5vw, 168px);
    justify-content: center;
    padding: 3vw clamp(8px, 0.5vw, 10px); */
    width: 100%;
    height: 100%;
    display: flex;
    /* flex-direction: column; */
    gap: clamp(15px, 3vw, 60px);
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    max-width: clamp(600px, 94vw, 1800px);
    margin: 0 auto;
    line-height: 1.7 !important;
}

.interview-process-image-container img,
.what-to-expect-image-container img {
    width: 100%;
    /* object-fit: contain; */
    object-fit: cover;
    height: 100%;
}
/* Specific for what to expect */
.what-to-expect-image-container {
    width: clamp(200px, 39vw, 742px);
    aspect-ratio: 742/492;
    height: fit-content;
}

.what-to-expect-text-container {
    width: clamp(200px, 38vw, 726px);
}
.what-to-expect-text-container ol {
    width: 100% !important;
}
.interview-introduction {
    margin-bottom: 1rem;
}
/* what to expect expectations */
.expectation-container,
.process-container {
    margin-bottom: 1rem;
}
.expectation-text-container,
.process-text-container {
    display: none;
}
h4.expectation-title,
h4.process-title {
    font-size: clamp(12px, 1.2vw, 22px) !important;
    color: #101820 !important;
    font-family: var(--Goudy);
    cursor: pointer;
    display: flex;
    align-items: center;
}
.expectation-title img,
.process-title img {
    vertical-align: initial;
    margin-top: clamp(0px, -0.4vw, -6px);
    /* height: clamp(5px, 0.6vw, 10px); */
    height: 100%;
    width: clamp(7px, 0.75vw, 15px);
}
.expectation-text-container p span,
.process-text-container p span {
    color: #737b82 !important;
    font-family: var(--SourceSansPro) !important;
}
/* what to expect expectations ends */

/* specific for what to expect Ends */

/* Specific for interview process */
.interview-process-image-container {
    width: clamp(200px, 39vw, 742px);
    aspect-ratio: 742/955;
    height: fit-content;
}
.interview-process-text-container {
    width: clamp(200px, 45vw, 853px);
}

/* specific for interview process Ends */

.interview-process-text-container > p:nth-child(2),
.what-to-expect-text-container > p:nth-child(2) {
    font-family: var(--SourceSansPro) !important;
    /* // line-height: 1.82 !important; */
}
.interview-process-text-container ol li,
.interview-process-text-container ol li strong,
.what-to-expect-text-container ol li strong,
.what-to-expect-text-container ol li {
    font-size: clamp(12px, 1.2vw, 22px) !important;
    color: #101820 !important;
    font-weight: bold;
}
.interview-process-text-container ol,
.what-to-expect-text-container ol {
    margin-bottom: 0;
    /* width: 85%; */
    width: 100%;
}
.interview-process-text-container p,
.interview-process-text-container p span,
.what-to-expect-text-container p span {
    color: #737b82 !important;
}
.interview-process-text-container p span,
.what-to-expect-text-container p span {
    width: 100%;
    display: block;
}
.what-to-expect-text-container ol li span {
    color: #101820 !important;
}
ol li::before {
    margin-top: clamp(4px, 0.6vw, 27px) !important;
}
/* direct p after ol */
ol + p {
    padding-left: clamp(20px, 2vw, 40px);
    font-family: var(--SourceSansPro) !important;
    font-size: clamp(14px, 1.2vw, 22px) !important;
    font-weight: normal;
    /* // line-height: 1.5; */
    color: #737b82;
}
.interview-process-text-container ol + p {
    /* width: 85%; */
    width: 100%;
}
@media (max-width: 1000px) {
    .interview-process-container,
    .what-to-expect-container {
        flex-direction: column;
        row-gap: clamp(10px, 2.1vw, 40px);
        align-items: center;
    }
    .interview-process-image-container,
    .what-to-expect-image-container {
        width: 100%;
    }
    .interview-process-text-container,
    .what-to-expect-text-container {
        width: 100%;
    }
}
/************* Interview proccess and What to Expect Ends  **************/

/***************** Careers Ends ********************/

/****************** Contact Us ****************/

/****************** Our Office ***********************/
.our-office-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* gap: clamp(15px, 3vw, 60px); */
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    max-width: clamp(600px, 94vw, 1800px);
    margin: 0 auto;
}
/* our office image  */
.our-office-info-container {
    display: flex;
    column-gap: clamp(20px, 2vw, 40px);
}
.our-office-image-container {
    /* width: clamp(200px, 18vw, 340px); */
    width: clamp(100px, 19vw, 364px);
    aspect-ratio: 340/412;
    align-self: flex-start;
    /* height: fit-content; */
    height: clamp(300px, 21vw, 400px);
    /*width: clamp(200px, 41vw, 788px);
    height: fit-content;
    aspect-ratio: 788/525;*/
}
.our-office-image-container img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}
/* our office image Ends */

.our-office-text-container {
    /* display: flex;
    column-gap: clamp(15px, 1.6vw, 30px);
    flex-wrap: wrap;
    row-gap: clamp(10px, 2.1vw, 40px); */
    display: flex;
    column-gap: clamp(15px, 1.6vw, 30px);
    flex-wrap: wrap;
    row-gap: clamp(10px, 2.1vw, 40px);
    width: clamp(200px, 62vw, 1200px);
    word-wrap: break-word;
    /* width: clamp(200px, 39vw, 746px); */
}

.our-office-box-container {
    /*  //line-height: 2.06; */
    height: clamp(300px, 21vw, 400px);

    color: #fff;
    width: clamp(100px, 19vw, 364px);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    border: solid 0.3px rgba(34, 51, 65, 0.78);
    background-color: #101820;
    padding: clamp(16px, 2.6vw, 49px) clamp(12px, 1.2vw, 23px)
        clamp(18px, 3.7vw, 70px) clamp(14px, 2vw, 36px);
}
.our-office-container h1 {
    font-family: var(--Goudy);
    font-size: clamp(16px, 1.6vw, 30px);
    font-weight: bold;
    color: #101820;
    margin-bottom: 1rem !important;
    letter-spacing: var(--letter--spacing);
}
.our-office-box-container h4.office-country {
    font-size: clamp(14px, 1vw, 18px) !important;
    font-weight: 800 !important;
    font-family: var(--Goudy);
    letter-spacing: var(--letter--spacing);
    margin-bottom: 1.2rem;
    /* // line-height: 2.06 !important; */
}
.our-office-box-container .office-info p {
    font-family: var(--SourceSansPro) !important;
    font-size: clamp(12px, 0.9vw, 16px) !important;
    line-height: 1.7;
    margin-bottom: clamp(3px, 0.3vw, 10px) !important;

    /* // line-height: 2.06 !important; */
}
.our-office-box-container a {
    color: #fff;
}
.our-office-box-container a:hover {
    color: #fff;
}
.office-phone a {
    display: flex;
    flex-direction: row;
    column-gap: 0.5rem;
    margin-bottom: clamp(3px, 0.3vw, 10px) !important;
    font-size: clamp(12px, 0.9vw, 16px) !important;
    font-family: var(--SourceSansPro) !important;
}
.office-phone a img {
    font-size: clamp(12px, 0.9vw, 16px) !important;
    aspect-ratio: 1;
}
.get-direction {
    font-size: clamp(12px, 0.9vw, 16px) !important;
    font-family: var(--SourceSansPro) !important;
}
.our-office-box-container .location-image {
    margin-bottom: clamp(10px, 1vw, 20px) !important;
    width: clamp(15, 2.14vw, 41px);
    height: clamp(20px, 3.1vw, 58px);
    aspect-ratio: 41/58;
}
/* .our-office-box-container h4 {
    margin-bottom: 0px !important;
} */
/* .office-info p {
    margin-bottom: 0px !important;
} */
@media (max-width: 1200px) {
    /* .our-office-container .order {
        order: -1;
    } */
    .our-office-info-container,
    .our-office-text-container {
        display: flex;
        flex-direction: row;
        /* width: 100%; */
        row-gap: clamp(10px, 2.1vw, 40px);
        /* flex-wrap: nowrap; */
    }
    div.our-office-box-container {
        /* width: 45%; */
    }
    /* .interview-process-image-container {
        width: 30%;
        aspect-ratio: 340/412;
        margin: 0 auto;
    } */
    .our-office-image-container {
        /* width: 100%; */
    }
}
@media (max-width: 1000px) {
    .our-office-info-container {
        flex-direction: column;
        flex-wrap: wrap;
    }
    .our-office-text-container {
        width: 100%;
    }
    div.our-office-image-container {
        margin: 0 auto;
        width: 100%;
    }
    .our-office-image-container {
        width: 100%;
    }
    div.our-office-box-container {
        width: 30%;
    }
}
@media (max-width: 800px) {
    div.our-office-box-container {
        width: 47%;
    }
    .interview-process-image-container {
        width: 100%;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    div.our-office-text-container,
    div.our-office-box-container {
        width: 100%;
    }
}
/*********************** Our Office Ends ***************/

/*************** Values *************************/

.values-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 3vw, 60px);
    padding: clamp(15px, 3vw, 60px) clamp(15px, 3vw, 60px);
    max-width: clamp(600px, 94vw, 1800px);
    margin: 0 auto;
    /* width: 100%;
    height: 100%;
    display: flex; */
    /* gap: 0 clamp(10px, 4.5vw, 87px); */
    /* gap: 0 clamp(10px, 4.5vw, 87px);
    flex-direction: column;
    justify-content: center;
    padding: clamp(15px, 3vw, 90px) clamp(1rem, 4vw, 108px); */
    /* padding: clamp(15px, 3vw, 90px) clamp(1rem, 4vw, 108px); */
}
.values-boxes-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: start;
    column-gap: clamp(10px, 2vw, 30px);
}
.box-value {
    width: 18%;
    margin: clamp(12px, 1vw, 1rem) 0;
    /* margin: 0 auto; */
}
.value-image {
    width: clamp(20px, 4.2vw, 80px);
    aspect-ratio: 1;
}
.box-value h3 {
    font-size: clamp(12px, 1vw, 18px) !important;
    font-weight: bold;
    margin: clamp(10px, 1vw, 30px) 0;
    font-family: var(--Goudy);
    color: #101820;
    letter-spacing: var(--letter--spacing);
}

.box-value p,
.box-value p span {
    width: 75%;
    font-size: clamp(12px, 0.9vw, 16px) !important;
    /* // line-height: 1.75 !important; */
    color: #737b82;
    line-height: 1.7 !important;
}
.box-value p span {
    width: 100% !important;
    display: block;
}
@media (max-width: 1200px) {
    .box-value {
        width: 46%;
        justify-items: center;
        align-items: center;
    }
}
@media (max-width: 650px) {
    .box-value {
        /* width: 95%; */
        width: 100%;
        justify-items: center;
        align-items: center;
    }
}

/********************** Values Ends  *************/

/******************  Contact Us Ends ***********************/

/************ Search Div *************/
.search-div {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999;
}
.search-form {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 100%;
}
.input-search {
    width: 100%;
    height: 65px;
    border-radius: 8px;
    border: none;
    padding: 8px 18px;
}

/********** Vacancies Application Popup Form   ***********/
#apply-form-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999;
    font-family: var(--Goudy);
}
.apply-form-header h2 {
    font-weight: bold;
}
#apply-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    max-width: 90%;
    max-height: 80%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    overflow-y: scroll;
}
#apply-form .apply-form-header img.close-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: clamp(15px, 1vw, 20px);
    aspect-ratio: 1;
    cursor: pointer;
}
#apply-form form.apply-form-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    row-gap: 1rem;
    justify-content: center;
}
.apply-form-input-fields {
    width: 100%;
}
.apply-name-email-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 1rem;
}
.apply-email-container,
.apply-name-container,
.apply-country-container,
.apply-mobile-number-container,
.apply-marital-status-container,
.apply-gender-container {
    width: 40%;
}
.apply-form-body input {
    background-color: #eee;
    font-family: var(--SourceSansPro) !important;
}
.apply-email-container input,
.apply-name-container input,
.apply-country-container input,
.apply-mobile-number-container input {
    width: 100%;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 0.5rem;
}
select.apply-position-name,
select.marital_status,
select.gender,
input[type="date"].date_of_birth {
    width: 100%;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 0.6rem;
}

#apply-attachment-upload-container {
    position: relative;
    width: 100%;
    height: 150px;
}

#apply-attachment-upload-container > div {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    pointer-events: none;
}

#apply-attachment-upload-container label.custom-attachement_upload {
    height: 100%;
    border: 1px solid #bbb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 100%;
    background-color: #eee;
    text-align: center !important;
    border-radius: 5px;
}
.apply-attachement-file-name {
    z-index: 2;
    font-weight: bold;
}
#attachement_upload {
    width: 100%;
    height: 100%;
}
div.recaptcha-container {
    width: fit-content !important;
    margin-top: 1rem;
}
div.apply-form-input-fields button {
    width: 100%;
    background-color: #000;
    padding: 0.6rem;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #bbb;
    font-weight: bold;
    text-align: center !important;
}
@media (max-width: 700px) {
    .apply-email-container,
    .apply-name-container,
    .apply-country-container,
    .apply-mobile-number-container,
    .apply-marital-status-container,
    .apply-gender-container {
        width: 100%;
    }
    .apply-email-container input,
    .apply-name-container input {
        width: 100%;
    }
}
/********** Vacancies Application Popup Form  Ends ***********/

.facultative-details-text-container .rich-txt p,
.details-text-container .rich-txt p {
    margin-bottom: 0rem !important;
}
.details-text-container div p,
.details-text-container div p span {
    font-size: clamp(12px, 1.2vw, 22px) !important ;
}
.details-text-container div p span {
    width: 100%;
    display: block;
}
/* corpoarate lineheight make it 1.82 */
.corporate-accounts-text-container p {
    /* // line-height: 1.82 !important; */
}

/* facultative line height */

.facultative-details-text-container .text p span {
    width: 100%;
    display: block;
}
/* .facultative-details-text-container div.text p:has(br) {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
} */
/* .our-office-box-container .office-info p:has(br) {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
} */
p:has(br) {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

p {
    margin-bottom: 0 !important;
}

/* loader */
.loader-container {
    width: 100%;
    height: 100%;
    display: none;
}
.loader {
    border: 8px solid #f3f3f3;
    /* border-top: 8px solid #3498db; */
    border-top: 8px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* liwaa css start */
.home-page-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.home-container {
    width: 100%;
    height: 60vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Optional dark overlay */
.home-container.dark::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* White box for title/description */
.text-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 90%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.text-box h1 {
    font-size: clamp(30px, 6.5vw, 63px);
    color: #333;
    margin-bottom: 1rem;
    font-family: var(--Goudy);
}

.text-box p {
    font-size: clamp(16px, 3vw, 40px);
    color: #555;
    font-family: var(--Goudy);
}

/* Content below the hero */
.home-content-box {
    font-size: 1rem;
    color: #333;
    font-family: var(--Goudy);
    line-height: 1.8;
    padding: 1rem;
}

.membership-team-img {
    object-fit: cover;
    height: 450px;
}

.card-title {
    font-family: var(--Goudy);
}

.card-text {
    font-family: var(--Goudy);
}
/* liwaa css end */
