@font-face {
    font-family: Furore;
    src: url("/assets/font/Furore.otf");
}

@font-face {
    font-family: Alexandria;
    src: url("/assets/font/Alexandria.ttf") format('truetype');
}

:root {
    --primary: #43477e;
    --dark-primary: #17233d;
    --light-primary: #43477e;
    --details: #51aee6;
    
    --text: white;
    --dark-text: black;

    --gradient-dark: #17233d;
    --gradient-light: #43477e;

    --nav-bg: rgba(255, 255, 255, 0);
}

html[lang="en"] {
    font-family: Furora, sans-serif;
    font-weight: 400;
    font-style: normal
}

html[lang="ar"] {
    font-family: Alexandria, sans-serif;
    font-weight: 400;
    font-style: normal
}

body {
    padding-bottom: 20px;
    background-color: black;
    overflow-x: hidden;
}

.navbar {
    background-color: var(--nav-bg);
    transition: background-color .35s ease;
    margin-bottom: 20px
}

.scrolled {
    background-color: var(--dark-primary) !important
}

.nav-btn {
    color: var(--text);
    border-color: var(--text);
    border-radius: 8px
}

.nav-btn:hover {
    color: var(--details);
    border-color: var(--details);
    transition-duration: .1s
}

.nav-link {
    font-weight: 600 !important;
}

.nav-link:hover {
    font-weight: 800 !important
}

.nav-link.activated {
    padding: 10px 1.5rem;
    border-color: var(--details);
    font-size: 1.1rem;
    background-color: var(--details);
    color: var(--text) !important;
    font-weight: 500;
    display: inline-block;
    /* Ensures a consistent box model for both button and link */
    text-align: center;
    /* Centers the text inside the link */
    line-height: 1.5;
    /* Adjusts line height to prevent height growth on click */
    box-sizing: border-box;
    /* Ensures padding and border are included in the element's width and height */
}

.nav-link.activated.btn {
    padding: 10px 1.5rem;
    /* Ensures consistent padding for both button and link */
}

.navbar-toggler {
    border: none
}

.navbar-toggler:focus {
    box-shadow: none
}

.navbar-toggler-icon {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="rgb(81, 174, 230)"%3E%3Crect y="6" width="30" height="1.5" rx="1" /%3E%3Crect y="14" width="30" height="1.5" rx="1" /%3E%3C/svg%3E')
}

.offcanvas {
    background-color: var(--dark-primary)
}


.footer-logo {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    overflow-clip-margin: content-box;
    overflow: clip;
}

@media (max-width:479px) {
    .footer-logo {
        height: 150px;
        width: 95%;
        margin-bottom: 1rem
    }

    .image-container img {
        width: 100%;
        height: 100%
    }

    .nav-logo {
        max-width: 290px;
        height: 60px
    }
}

.text,
.text-header {
    color: var(--text) !important
}

.text-hover {
    color: var(--text) !important;
    opacity: .7;
    transition: opacity .3s ease
}

.text-hover:hover {
    opacity: .9
}

.underline-animation {
    color: var(--text) !important;
    display: inline-block;
    position: relative
}

.underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--details);
    transform-origin: bottom right;
    transition: transform .25s ease-out
}

.underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    color: var(--details)
}

.white-btn {
    color: var(--text);
    border-color: var(--text);
    border-radius: 8px
}

.white-btn:hover {
    color: var(--details);
    border-color: var(--details);
    transition-duration: .1s
}


.flex-footer {
    display: flex;
    align-items: center;
    margin-top: 70px;
    white-space: nowrap;
    padding-top: 1rem
}

.flex-footer .nav-links {
    display: flex;
    align-items: center;
    margin-left: 5.5rem;
    margin-right: 3rem
}

.nav-logo {
    max-width: 290px;
    height: 80px
}

.icon {
    color: var(--text)
}

.icon:hover {
    color: var(--details)
}

.pt-rem-10 {
    padding-top: 10rem !important;
}

.black-bg {
    color: var(--text);
    background-color: black !important;
}

.white-bg {
    color: var(--dark-text);
    background-color: white !important;
}
.dark-bg {
    color: var(--text);
    background-color: var(--dark-primary) !important;
}

.light-bg {
    color: var(--dark-text);
    background-color: var(--light-primary) !important;
}

.about h1,
.about h2 {
    letter-spacing: .01em;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
    max-width: 90%;
}

.about h1 {
    font-size: 2rem;
    font-weight: 500
}

.about h2 {
    font-size: 2rem;
    max-width: 100%;
    font-weight: 400
}

.about h3 {
    font-size: 1.5rem;
    line-height: 35px
}

.about h5 {
    padding-top: .3rem;
    font-size: 1.25rem;
    line-height: 1.5;
    opacity: .8;
}

.about p {
    padding-top: 1rem;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400
}

.gradient-text {
    font-size: 100%;
    letter-spacing: .01em;
    line-height: 50px;
    display: inline-block;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(to bottom right, var(--gradient-dark), var(--gradient-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700
}

/* Animation */
.animation-wrapper {
    width: 50%;
    padding-bottom: 20%;
}

.sphere-animation {
    position: absolute;
    top: 0%;
    left: 50%;
    width: 580px;
    height: 580px;
    margin: -290px 0 0 -290px;
}

.sphere path {
    fill: url(#sphereGradient);
    stroke-width: 1px;
    stroke: rgba(80,80,80,.35);
    backface-visibility: hidden;
}

@media (min-width: 500px) {
    .sphere path {
        stroke-width: .4px;
    }
}

@media (max-width: 640px) {
    .mobile-center {
        text-align: center;
        max-width: 100%;
        /* Adjust this value as needed */
        margin: 0 auto;
    }

    .mobile-center p {
        text-align: left;
        display: inline-block;
        margin: 0 auto;
    }
}

.card,
.card-dark {
    border-radius: 10px;
    padding: 20px;
    max-width: 300px;
    margin: 0 10px;
    min-height: 330px;
    width: 100%;
    box-sizing: border-box;
    transition: .3s transform cubic-bezier(.155, 1.105, .295, 1.12), .3s box-shadow, .3s -webkit-transform cubic-bezier(.155, 1.105, .295, 1.12);
    cursor: pointer
}

.card {
    background-color: #f8f8f8;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, .2)
}

.card-dark {
    background-color: var(--primary-ldark);
    box-shadow: 3px 3px 8px rgba(255, 255, 255, .2);
    color: var(--text);
    transition: all .3s ease
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 20px -7px rgba(31, 31, 31, .5);
    transition: all .5s ease;
    top: -2px
}

.card h2 {
    font-size: 1.5rem;
    line-height: 35px !important;
    font-weight: 600 !important
}

.card p {
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 300 !important
}

.cards-wrapper {
    display: flex;
    justify-content: center
}

@media (min-width:768px) {
    .card {
        width: calc(33.333% - 20px)
    }
}

@media (max-width:768px) {
    .card-container {
        flex-wrap: wrap
    }

    .card {
        flex: 100%;
        margin: 16px 0
    }

    .image-container img {
        width: 100%;
        height: 100%
    }
}

.image-wrapper {
    height: 10vw;
    display: flex;
    align-items: center;
    justify-content: center
}

.image-wrapper img {
    max-width: 100%;
    max-height: 100%
}

.image-wrapper-big {
    height: 30vw;
    display: flex;
    align-items: center;
    justify-content: center
}

.image-wrapper-big img {
    max-width: 100%;
    max-height: 100%
}

@media (max-width:767px) {
    .image-wrapper {
        height: 45vw
    }

    .carousel-item {
        margin-left: .4
    }

    .card-text {
        font-size: 27px !important;
        font-weight: 700 !important
    }
}

.carousel-indicators {
    top: auto;
    bottom: -10%;
}

.card-text {
    font-size: 40px
}

.carousel-item {
    text-transform: capitalize
}

/*Certificate logos*/
.slider-cont {
    overflow: hidden;
}
.slider {
    animation: slidein 40s linear infinite;
    white-space: nowrap;
    display: inline-block !important;
}
.logos {
    width: 100%;
    display: inline-block;
}

.fab {
    width: calc(40% / 5);
    animation: fade-in 0.5s 
    cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards;
}
  
@keyframes slidein {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-100%, 0, 0);
    }
}
  
@keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}
/*End*/

/* Devider */
.editorial {
    display: block;
    width: 100%;
    height: 40px;
    max-height: 40px;
    margin: 0;
    z-index:5;
    bottom: 0;
    /*position:absolute;*/
    left:0px;
    float:left;
}
  
.parallax1 > use {
    animation: move-forever1 10s linear infinite;
    &:nth-child(1) {
      animation-delay: -2s;
    }
}
.parallax2 > use {
    animation: move-forever2 8s linear infinite;
    &:nth-child(1) {
      animation-delay: -2s;
    }
}
.parallax3 > use {
    animation: move-forever3 6s linear infinite;
    &:nth-child(1) {
      animation-delay: -2s;
    }
}
.parallax4 > use {
    animation: move-forever4 4s linear infinite;
    &:nth-child(1) {
      animation-delay: -2s;
    }
}
@keyframes move-forever1 {
    0% {
      transform: translate(85px, 0%);
    }
    100% {
      transform: translate(-90px, 0%);
    }
}
@keyframes move-forever2 {
    0% {
      transform: translate(-90px, 0%);
    }
    100% {
      transform: translate(85px, 0%);
    }
}
@keyframes move-forever3 {
    0% {
      transform: translate(85px, 0%);
    }
    100% {
      transform: translate(-90px, 0%);
    }
}
@keyframes move-forever4 {
    0% {
      transform: translate(-90px, 0%);
    }
    100% {
      transform: translate(85px, 0%);
    }
}  
/* Devider End */
.image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-container img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 991px) {
    .image-container {
        flex: 1 1 100%;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .image-container {
        justify-content: center;
    }

    h2 {
        max-width: 100%;
    }
}

/*Spinner*/
.loader-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--dark-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.pl,
.pl__worm {
	animation-duration: 3s;
	animation-iteration-count: infinite;
}
.pl {
	animation-name: bump;
	animation-timing-function: linear;
	width: 8em;
	height: 8em;
}
.pl__ring {
	stroke: hsla(var(--hue),10%,10%,0.1);
	transition: stroke 0.3s;
}
.pl__worm {
	animation-name: worm;
	animation-timing-function: cubic-bezier(0.42,0.17,0.75,0.83);
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
	:root {
		--bg: hsl(var(--hue),10%,10%);
		--fg: hsl(var(--hue),10%,90%);
	}
	.pl__ring {
		stroke: hsla(var(--hue),10%,90%,0.1);
	}
}

/* Animations */
@keyframes bump {
	from,
	42%,
	46%,
	51%,
	55%,
	59%,
	63%,
	67%,
	71%,
	74%,
	78%,
	81%,
	85%,
	88%,
	92%,
	to { transform: translate(0,0); }
	44% { transform: translate(1.33%,6.75%); }
	53% { transform: translate(-16.67%,-0.54%); }
	61% { transform: translate(3.66%,-2.46%); }
	69% { transform: translate(-0.59%,15.27%); }
	76% { transform: translate(-1.92%,-4.68%); }
	83% { transform: translate(9.38%,0.96%); }
	90% { transform: translate(-4.55%,1.98%); }
}
@keyframes worm {
	from { stroke-dashoffset: 10; }
	25% { stroke-dashoffset: 295; }
	to { stroke-dashoffset: 1165; }
}
/*end*/

/* Popup Modal */
.modal-cls-btn {
    border-color: var(--dark-primary);
    color: var(--dark-primary);
    opacity: .7;
    transition: opacity .3s ease
}

.modal-cls-btn:hover {
    border-color: var(--dark-primary);
    color: var(--dark-primary);
    opacity: .9
}

.modal-sub-btn {
    padding-left: 30px;
    padding-right: 30px;
    border-color: var(--dark-primary);
    color: var(--dark-primary)
}

.modal-sub-btn:hover {
    color: var(--text);
    background-color: var(--dark-primary)
}

.modal-input,
.modal-textarea {
    display: block;
    width: 100%;
    border: 0;
    padding: 10px 5px;
    background: #fff no-repeat;
    background-image: linear-gradient(to bottom, var(--details), var(--details)), linear-gradient(to bottom, #b3b3b3, #b3b3b3);
    background-size: 0 2px, 100% 1px;
    background-position: 0 100%, 50% 100%;
    transition: background-size .5s cubic-bezier(.64, .09, .08, 1)
}

.modal-input:focus,
.modal-textarea:focus {
    background-size: 100% 2px, 100% 1px;
    outline: 0
}
/* End */

/* Blog posts in index */
.main {
    margin: 0 auto;
    max-width: auto; /* Set a specific max-width for better control */
}

.article {
    color: var(--text);
    display: flex;
    flex-direction: column;
    margin: 20px;
    text-decoration: none;
    width: 50%;
    border-radius: 5px;
}

.article img {
    border-radius: 5px 5px 0 0;
}

html[lang="ar"] .article {
    background-image: linear-gradient(290deg, var(--dark-primary) 0%, var(--primary) 60%, var(--details) 100%);
}

html[lang="en"] .article {
    background-image: linear-gradient(-290deg, var(--dark-primary) 0%, var(--primary) 60%, var(--details) 100%);
}

.article-title {
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 500;
}
.article-content {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.5;
    text-transform: capitalize;
}
.article-info {
    font-size: 0.85em;
    justify-content: space-between;
    margin-top: 10px;
}

.article-tag {
    color: var(--details);
    font-size: 15px;
    opacity: 1 !important;
    background-color: none;
    border: 1px solid var(--details);
    border-radius: 5px;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 3px;
}

.article-authers {
    color: var(--text);
    text-decoration: none;
    text-transform: capitalize;
}

.article-auther {
    color: var(--details);
    text-decoration: none;
    text-transform: capitalize;
}

.article-image {
    background: var(--primary-ldark);
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.article-image img {
    display: block;
    object-fit: cover; /* Maintain aspect ratio for images */
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
}

.article:hover img{
    transform: scale(1.1);
}

.article-image.is-16by9 {
    padding-top: 56.25%;
}
.article-body {
    flex: 1;
    padding: 20px;
}
@media (max-width: 767px) {
    .column {
      flex-basis: 100%;
      margin-bottom: 0px;
    }

    .article {
        margin: 0 10px 20px 10px; /* Adjust margins for better spacing */
    }
}

@media (max-width: 1000px) {
    .article {
        width: 95%;
    }
}
/*End*/
.split-sm {
    display: none;
    color: white;
}

@media (max-width: 576px) {
    .split-sm {
        display: block;
    }
}

.cmd {
    color: var(--details);
    font-weight: 600;
    font-family: monospace
}