@import url('https://fonts.googleapis.com/css2?family=Almarai&family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

@import url("/css/bootstrap.min.css");
@import url("/css/responsive.css");
@import url("/css/animations.css");


/* ELEMENTS */
:root {

    --j-dark: #070707;
    --j-light: #f7f7f7;
    --j-grey: #8d99ae;

    --j-100: #1d4355;

    --j-200: #449342;
    --j-200-30: #7cb37b;
    --j-200-50: #a2c9a1;
    --j-200-70: #c7dfc6;

    --j-300: #289dd2;
    --j-300-30: #69bae0;
    --j-300-50: #94cee9;
    --j-300-70: #bfe2f2;

    --j-400: #41c1ba;
}

body {
    overflow-x: hidden !important;

    /* background: linear-gradient(25deg, #ffffff 40%, transparent 41%, transparent 59%, #ffffff 60%), linear-gradient(90deg, transparent 45%, #eae7e7 45%, #eae7e7 55%, transparent 55%, transparent 20%, #eae7e7 20%, #eae7e7 30%, transparent 30%);
    background-size: 1em 1em;
    background-color: transparent;
    opacity: 1;
    background-attachment: fixed; */
    background-color: var(--j-light);
}

.link{
    color: var(--j-300);
    text-decoration: underline;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    margin-bottom: 0px !important;
}

a {
    color: inherit;
    text-decoration: none;
}

/* FONTS */

.font-title {
    font-family: "EB Garamond", serif;
    font-weight: 500;
    font-style: normal;
}

.font-normal {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.font-handwriting {
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.font-arabic {
    font-family: 'Almarai', sans-serif;
}


/* BACKGROUNDS & Borders*/

.bg-hero {

    background-image: url("/assets/hero-lg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */

}

.bg-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.bg-j-dark {
    background-color: var(--j-dark);
}

.bg-j-grey {
    background-color: var(--j-grey);
}

.bg-j-light {
    background-color: var(--j-light);
}

.bg-j-100 {
    background-color: var(--j-100);
}

.bg-j-200 {
    background-color: var(--j-200);
}

.bg-j-300 {
    background-color: var(--j-300);
}

.bg-j-400 {
    background-color: var(--j-400);
}

.rounded-25 {
    border-radius: 25px;
}

/* TEXT COLORS & SIZEZ */

.text-wrap{
    word-wrap: break-word;
}

.text-break {
    word-wrap: break-word;
}

.text-j-dark {
    color: var(--j-dark);
}

.text-j-grey {
    color: var(--j-grey);
}

.text-j-light {
    color: var(--j-light);
}

.text-j-100 {
    color: var(--j-100);
}

.text-j-200 {
    color: var(--j-200);
}

.text-j-300 {
    color: var(--j-300);
}

.text-j-400 {
    color: var(--j-400);
}

.fs-small {
    font-size: small !important;
}

.fs-smaller {
    font-size: smaller !important;
}

.fs-x-small {
    font-size: x-small !important;
}

.fs-xx-small {
    font-size: xx-small !important;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

.pointer {
    cursor: pointer;
}


.text-fade {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    /* position: relative; */
}

.text-fade-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* position: relative; */
}

.text-fade-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    /* position: relative; */
}

.text-fade-4 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    /* position: relative; */
}

.text-fade-5 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    /* position: relative; */
}

.text-fade-6 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    /* position: relative; */
}

.text-fade-7 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    /* position: relative; */
}

.text-justify {
    text-align: justify;
}


/* IMAGES */
/* Widths & Height */
.z-4 {
    z-index: 4 !important;
}

.w-100vw {
    width: 100vw !important;
}

.h-100vh {
    height: 100vh !important;
}

.w-fit {
    width: fit-content;
}


/* Buttons */
.btn-action {
    text-align: center;
    background-color: var(--j-300);
    /* border: 2px solid var(--j-100); */
    color: var(--j-light);
    padding: .4rem 1rem;
    border-radius: .3rem;
    letter-spacing: 1px;
    transition: .3s;
    font-weight: bold;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.btn-action:hover {
    opacity: .9;
}

.btn-action-outline {
    text-align: center;
    background-color: transparent;
    color: var(--j-300);
    border: 2px solid var(--j-300);
    padding: .2rem .7rem;
    border-radius: .3rem;
    letter-spacing: 1px;
    transition: .3s;
}

.btn-action-outline:hover {
    border: 2px solid var(--j-300);
    background-color: var(--j-300);
    color: var(--j-white);
}

.navbar-link {
    border-bottom: 2px solid transparent;
    padding-bottom: .3rem;
    transition: .3s;
}

.navbar-link:hover {
    border-bottom: 2px solid var(--j-200);
}

.navbar-link-active {
    padding-bottom: .3rem;
    border-bottom: 2px solid var(--j-200);
}

.swiper-pagination-clickable {
    position: static !important;
    margin-top: 1rem;
}

/* Custom */

/* Sroll bar */
/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--j-300);
}

.offcanvas {
    width: 80% !important;
}

.point {
    cursor: pointer !important;
}


/* BLOG PAGE STYLES */
.blog-badge {
    /* px-2 py-1 bg-j-primary rounded text-light ls-1 me-2 */
    padding: .1rem .4rem;
    border-radius: 3px;
    color: var(--j-light);
    letter-spacing: 1px;
    background-color: var(--j-400);
}

.article-container {
    padding: .5rem;
    border-radius: .4rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    background-color: var(--j-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-body {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.article-container>.article-body>.article-p {
    /* font-normal text-j-dark text-fade fs-x-small fw-bold */

    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: x-small;
    font-weight: bold;

    color: var(--j-100);

    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display: flex;
    align-items: center;
    gap: .7rem;
}


.article-container>.article-body>.article-h1 {
    /* my-2 font-title text-j-dark */

    font-family: "EB Garamond", serif;
    font-weight: 500;
    font-style: normal;
    color: var(--j-100);

}

.article-container>.article-body>.article-aside {
    /* font-normal text-j-dark */

    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;

    color: var(--j-dark);
    text-align: justify;
}

.article-container>.article-body>.article-aside>p>a {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: underline;

    word-wrap: break-word;

}

.form-control:focus {
    outline: none !important;
}

.ratio-9x16 {
    aspect-ratio: 9/10 !important;
}

.ratio-3x4 {
    aspect-ratio: 3/4 !important;
}

/* SERVICES */
.service-container {
    overflow: hidden !important;
    border-radius: .75rem;
}

.service-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: .5s;
}

.service-image:hover {
    transform: scale(1.3);
    filter: brightness(.7);
}

.service-body {
    width: calc(100% - .75rem);
    /* width: 100%; */
    position: absolute;
    bottom: -.5rem;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.service-body>aside {

    border-radius: .5rem;
    padding: .25rem .5rem;
    color: var(--j-light);

}


figure {
    margin-bottom: 0;
}

.img-scale {
    transform: scale(2.5);
}

.img-border {
    border-color: var(--j-400);
    border-width: .2rem;
    border-style: solid;
    padding: .2rem;
    background-color: white;
}

/* Newsletter */
.newsletter-container {
    position: fixed;
    z-index: 3;
    bottom: 0;
    right: 0;
    padding: 1rem;
}

.chat-message {
    width: fit-content;
    padding: .6rem;
    border-radius: .8rem;
    border-top-right-radius: 0;
    background-color: var(--j-300-30);
    color: var(--j-light);

}

/* HERO section */
.hero-section {
    min-height: 60vh;
    margin: 1rem;
    margin-top: 75px;
    border-radius: .4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

span[aria-expanded="true"] {
    display: none;
}

.border-tag-start{
    border-left: 4px solid var(--j-300-30);
}
.border-tag-bottom{
    border-bottom: 4px solid var(--j-300-30);
}

.rotate-1{
    transform: rotate(-1deg);
}