/******* Designed by Eyad Daher ********
* Template Name: Crea tech 
* Version: 1.0
* Author: Eyad Daher
* Author URI: https://www.eyaddaher.com
* License: Free to use for personal and commercial projects

/*-------- root settings --------*/
:root {
  --primary-color: #302764;
  --secondary-color: #95559D;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #FBBA16;
  --info-color: #0dcaf0;
  --light-color: #f8f9fa;
  --dark-color: #3F4B9B;
  --default-font: "Lexend", sans-serif;
  --second-font: "Lexend", sans-serif;
  --nav-font: "Lexend", sans-serif;
  --border-radius: 0.25rem;
  --accent-color: #FBBA16;
  --nav-color: rgba(255, 255, 255, 0.905);
  --nav-hover-color: #FBBA16;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #FBBA16;
}

/*-------- global settings --------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: var(--default-font);
    font-optical-sizing: auto;
    color: var(--light-color);
    background-color: var(--dark-color);
    line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

/* hidenavbar for scroll */
#header {
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

body.show-navbar #header {
  transform: translateY(0);
}

#hero {
  transition: opacity 0.5s ease, visibility 0.5s ease;
  /* background-color: var(--dark-color); */
  background-image: linear-gradient(to top right, var(--secondary-color), var(--dark-color));
}

body.show-navbar #hero {
  opacity: 0;
  visibility: hidden;
}

hr.post-hr:last-child, hr.page-hr:last-child{
    display:none;
}



/*-------- Hero Section --------*/
.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 120px 0 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 30%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.rowflex {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-logo {
    width: 100%;
    max-height: 200px;
    margin-bottom: 50px;
    margin-right: 20px;
    /* filter: brightness(0) invert(1); */
}

.hero-moto {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
    float: left;
    filter: brightness(0) invert(1);
}

.hero-letter {
    width: 100%;
    max-width: 250px;
    margin-bottom: 20px;
    margin-right: 40px;
    float: right;
    /* filter: invert(18%) sepia(75%) saturate(629%) hue-rotate(359deg) brightness(93%) contrast(90%); */
    filter: brightness(0) invert(1);
}

.marquee-container{
    overflow: hidden;
    position: relative;
    font-size: 5rem;
    color: var(--light-color);
    position:absolute;
    top: 100%;
}

.marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 200px;
  overflow-x: hidden;
  margin: 0 auto;

  /* Fade mask left & right */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.track {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(50%); }
  to { transform: translateX(-100%); }
}

.indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.chevron {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-left: 4px solid white;
  border-bottom: 4px solid white;
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0) rotate(-45deg);
  }
  40% {
    transform: translateX(-50%) translateY(10px) rotate(-45deg);
  }
  60% {
    transform: translateX(-50%) translateY(5px) rotate(-45deg);
  }
}

/*-------- Header --------*/
.header {
    --background-color: var(--secondary-color);
    --heading-color: #ffffff;
    --contrast-color: #ffffff;
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 10px 0;
    transition: all 0.5s;
    z-index: 997;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    height: 60px;
    margin-right: 18px;
    filter:brightness(0) invert(1);
}

.header .logo img.sitename {
    max-height: 20px;
    margin-right: 8px;
    filter:brightness(0) invert(1);
}

.header .logo h1 {
    font-size: 32px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
}

.header .logo span {
    color: var(--accent-color);
    font-size: 32px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
    color: var(--contrast-color);
    font-size: 14px;
    padding: 8px 30px;
    margin: 0 0 0 30px;
    border-radius: 4px;
    transition: 0.3s;
    border: 2px solid var(--accent-color);
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
    color: var(--default-color);
    background: var(--accent-color);
}

/* navbar */
.navmenu {
    padding: 0;
}

.navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navmenu li {
    position: relative;
}

.navmenu a,
.navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-optical-sizing: auto;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
}

.navmenu li:last-child a {
    padding-right: 0;
}

.navmenu li:hover>a,
.navmenu .active,
.navmenu .active:focus {
    color: var(--nav-hover-color);
}

.navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 0;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.navmenu .dropdown ul li {
    min-width: 200px;
}

.navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
}

.navmenu .dropdown ul a i {
    font-size: 12px;
}

.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover>a {
    background-color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
}

.navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
}

/* About section */
/* flexbox about */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.content-package {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--light-color)
}

.content-package.right {
  flex-direction: row-reverse;
}

.content-package img {
  width: 200px;
  height: auto;
  border-radius: 8px;
}

.content-text {
  flex: 1;
}

.content-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.content-description {
  font-size: 16px;
  color: var(--light-color);
}


/* footer */
.footer {
  color: var(--light-color);
  background-color: var(--secondary-color);
  font-size: 14px;
  position: relative;
  /* margin-top: 30px; */
}

.footer .footer-top {
  padding: 20px 0;
  background-color: color-mix(in srgb, var(--footer-background-color) 90%, white 10%);
  
}

.footer .social-links{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.footer .social-links div{
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  /* background-color: var(--light-color); */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
  border-radius: 4px;
  font-size: 16px;
  margin-right: 10px;
  transition: 0.3s;
  transition: all 0.3s;
  overflow: hidden;
  padding:10px;
}

.footer .social-links a:hover {
  scale: 0.9;
  /* background-color: var(--accent-color); */
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

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

.footer .copyright {
  padding: 20px 0;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

/* about */
.about{
    background-color: #3F4B9B;
}

.about .gy-4{
    --bs-gutter-y: 6rem;
}

.footer-border-left {
    border-left:2px solid #fff;padding-left:30px!important;
}

.mc-field-group input
 {
    margin: 15px;
    font-family: inherit;
    font-size: 1.1rem;
    line-height: 1.2rem;
    
}

#mc_embed_signup form{
    max-width:330px!important;
}

#mc-embedded-subscribe{
    padding:10px;
    font-size:1.2rem;
    margin-bottom:15px;
}

/*-------- Mobile Responsive --------*/
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 40px 0;
    }

    .hero-logo,
    .hero-moto {
        max-width: 70%;
        max-height: 100%;
        margin: 20px auto !important;
        display: block;
        float: none;
    }

    .hero-letter {
        max-width: 40%;
        max-height: 90px;
        margin: 20px auto !important;
        display: block;
        float: none;
    }

    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--second-font);
        font-optical-sizing: auto;
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--accent-color), white 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: color-mix(in srgb, var(--accent-color), white 90%);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        background-color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown>.dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu>ul {
        display: block;
    }

    /* about */
    .content-package {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-package.right {
        flex-direction: column;
    }

    

    .content-package img {
        width: auto;
        max-width: 80%;
        max-height: 150px;
       
    }
}

/*-------- Tablet Responsive --------*/
@media (max-width: 1024px) {
    
    .hero {
        padding: 100px 0 60px 0;
    }

    .hero-logo,
    .hero-moto {
        max-width: 70%;
        max-height: 100%;
        margin: 20px auto;
        display: block;
        float: none
    }

    .hero-letter {
        max-width: 40%;
        max-height: 90px;
        margin: 20px auto !important;
        display: block;
        float: none;
    }

    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        height:fit-content;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--second-font);
        font-optical-sizing: auto;
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--accent-color), white 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: color-mix(in srgb, var(--accent-color), white 90%);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--second-font);
        font-optical-sizing: auto;
        font-size: 17px;
        font-weight: 900;
        background-color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown>.dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
        height:100vh;
    }

    @font-face {
        font-display: block;
        font-family: "bootstrap-icons";
        src: url("../fonts/bootstrap-icons.woff2?dd67030699838ea613ee6dbda90effa6") format("woff2"),
        url("../fonts/bootstrap-icons.woff?dd67030699838ea613ee6dbda90effa6") format("woff");
    }

    .bi-list::before {
        content: "\f479";
    }

    .bi-x::before {
        content: "\f62a";
    }

    .bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
        display: inline-block;
        font-family: bootstrap-icons !important;
        font-style: normal;
        font-weight: normal !important;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        vertical-align: -.125em;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .mobile-nav-active .navmenu>ul {
        display: block;
    }

    /* about */
    .content-package {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-package.right {
        flex-direction: column;
    }

    

    .content-package img {
        width: auto;
        max-width: 80%;
        max-height: 150px;
       
    }

    .d-none {
        display: none !important;
    }

    .mobile-none {
        display: none !important;
    }

    .marquee-container{
        
        font-size: 3rem;
        color: var(--light-color);
        position:absolute;
        top: 100%;
    }

    .marquee {
        
        width: 80vw!important;
        max-width: 90%;
       
    }

    .footer{
        max-width: 100vw;
        overflow: hidden
    }

    .m-direction{
        flex-direction: column;
    }

    .footer-border-left {
        border-left:none!important;
        text-align: center!important;
    }

    .mobile-justify {
        justify-content: center!important;
    }

    .mobile-flex-column{
        flex-direction: column!important;
        align-items: center!important;
        padding-left:30px;
        overflow: hidden;
    }

    .mobile-flex-justify-center{
        justify-content: center!important;
        align-items: center!important;
    }
}