@import url('./hero.css');

:root {
    --menu-color: #16222e;
    --primary-color: #065E0D;
    --primary-hover-color: #717685;
}
html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Poppins-fallback";
    size-adjust: 110.50%;
    ascent-override: 107%;
    src: local("Arial");
}
@font-face {
    font-family: "Open Sans-fallback";
    size-adjust: 105.41000000000004%;
    ascent-override: 103%;
    src: local("Arial");
}
html,
body {
    /* font-family: 'Poppins',"Poppins-fallback", sans-serif; */
    font-family: 'Open Sans', 'Open Sans-fallback' ;
}

.flex {
    display: flex;
}
.w-100 {
    width: 100%;
}
.gap-2 {
    gap: 4rem;
}
.lightgreen {
    background-color: rgba(0, 202, 17, 0.034);
}
.align-top {
    align-items: flex-start;
}
/* buttons */

html a.button,
.button {
    padding: 10px 20px;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }


  /* Main button style - adjust the color to match your branding */
  html a.button-primary, .button-primary {
    background-color: var(--primary-color); /* Dark blue: primary color */
    color: white;
  }
  
  .button-primary:hover {
    background-color: var(--primary-hover-color); /* A darker shade of blue for hover state */
  }

  html a.button-primary:hover, a.button-primary:hover {
    color: #122; /* A darker shade of blue for hover state */
  }

  /* Secondary button style */
  html a.button-secondary, .button-secondary {
    background-color: #e7e7e7; /* Light grey: secondary color */
    color: #333;
  }
  
  html a.button-secondary:hover, .button-secondary:hover {
    background-color: #cfcfcf; /* A darker shade of grey for hover state */
  }



/* forms */

/* Form grid layout */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.grid-2 .full-width {
    grid-column: span 2;
}
  
  .input-base:focus {
    outline: none;
    border-color: #005a9c; /* Highlight color when focused */
  }
  
  /* Specific styles for textarea */
  textarea.input-base {
    height: 120px; /* Adjust height as necessary */
    resize: vertical; /* Allows vertical resizing, none to disable */
  }
  
  /* Extend this base style for different types of inputs */
  input[type="text"].input-base,
  input[type="password"].input-base,
  input[type="date"].input-base,
  input[type="email"].input-base {
    /* If you need type-specific styles, add them here */
  }
  
  /* Placeholder style */
  ::placeholder {
    color: #aaa; /* Light color for placeholder text */
  }
  
  /* Adjust the color to match your branding */
  .input-base:hover,
  .input-base:focus {
    border-color: #007bff; /* Blue border for hover state */
  }
  
  /* Apply these styles to your input elements by adding class 'input-base' */
  
  @keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
  }
  
@keyframes cr {
    to {
        /* transform: rotateX(51deg);
    box-shadow: 0px 34px 9px #333; */
        transform: rotateX(75deg) translateY(-60px);
        box-shadow: 0px 50px 25px #444;
    }
}

@keyframes sh {
    to {
        box-shadow: 0px 11px 10px #333;
        background-color: #2087fd;
    }
}


h1 {
    font-size: 3rem;
    font-size: calc(7px + 2.4vw);
}
h2,
h3,
h4 {
    color: #3B4856;
}

h2 {
    font-size: 2.6rem;
    font-size: calc(7px + 2vw);
    font-weight: bold;
}

.menu {
    width: 100%;
    height: 107px;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(7px);
}

@supports (backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px)) {
    .menu {
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px); /* For Safari */
        background-color: rgba(255, 255, 255, 0.45); 
    }
}

.menu a {
    color: var(--menu-color);
}
.menu a.logo-text {
    font-weight: 300;
}
.menu a.active {
    border-bottom: 3px solid var(--primary-color);
}

.menu img.logo {
    filter:grayscale(1);
}
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 220ms;
}

a:hover {
    color: var(--primary-hover-color);
}

.logo-text {
    padding-left: 10px;
    font-weight: bold;
    font-size: 2.5rem;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
}

.menu-items a:hover:not(.button)
{
    border-bottom: var(--primary-hover-color) 3px solid;
}

.menu-items a img {
    transition: all 200ms ease-in;
    transform-origin: center;
}

.menu-items a:hover img ,
.menu-items a.active img 
{
    transform: scale(1.1);
}

.menu-items a {
    transition: all 300ms;
    text-align: center;
    display: block;
    font-size: 1rem;
    padding: 8px 9px;
}

section, footer {
    padding: 0 120px;
}


.menu-text {
    max-width: 200px;
}



.handle {
    cursor: pointer;
    position: absolute;
    transform: rotate(-90deg) translatex(-231px) translateY(-84px);
    background-color: rgba(255, 255, 255, 0.85);
    padding: 12px 30px 0 30px;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    display: none;
}

.card-row {
    --justify-content: space-between;
    --row-gap: .65rem;
    display: flex;
    flex-wrap: wrap;
    column-gap: .8rem;
    row-gap: var(--row-gap);
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    overflow-x: auto;
    width: 100%;
    justify-content: var(--justify-content);
}


.card-row .card .card-title {
    text-align: center;
    padding: 0 12px;
    min-height: 50px;
}

.card-row .card {
    width: var(--card-width);

    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.42) 25%), var(--bg-image);
    border: 2px solid var(--border-color);
}

.card {
    --card-overlay-color: rgba(255, 255, 255, .55);
    background-color: var(--card-overlay-color);
}

.card>div {
    --blur: 10px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    transition: all 212ms ease-in;
    flex: 1;
    border-radius: 8px;

}

.card>div:hover {
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

.card .card-body {
    padding: 12px;
}
.vertical-full.card-row {
    row-gap: 3rem;
    justify-content: space-around;
}
.card-row.vertical-full .card .card-content { 
    display: grid;
    grid-template-columns: 2fr 3fr; /* First column for merged title, second column for image and body */
    grid-template-rows: auto 1fr; /* First row for merged title, second row for image and body */
    grid-template-areas: "image title"
                         "image body"
    ;
    gap: 1rem;
}
.card-row.vertical-full.title-100 .card .card-content { 
    display: grid;
    grid-template-columns: 2fr 3fr; /* First column for merged title, second column for image and body */
    grid-template-rows: auto 1fr; /* First row for merged title, second row for image and body */
    grid-template-areas: "title title"
                         "image body"
    ;
    gap: 1rem;
}

.card-row.vertical-full .card .card-content .card-image, 
.card-row.vertical-full .card .card-content .card-body { 
    padding: 0!important;
}
.card-row.vertical-full .card .card-content .card-body {
    width: 100%; /* Take up full width */
}
.card-row.vertical-full .card .card-content .card-body {
    padding:20px;
    grid-area: body;
}
.card-row.vertical-full .card .card-content .card-title { 
    grid-area: title;
}

.card-row.vertical-full .card .card-image {
    width: 100%;
    grid-area: image;
}
.card-row.vertical-full .card .card-image img {
    --image-mask: radial-gradient(closest-side, rgba(0,0,0,1) 7%, rgba(0,0,0,1) 70%,  rgba(255,255,255,0) 100%);
    -webkit-mask-image: var(--image-mask);
    mask-image: var(--image-mask);
    border-radius: 10px;
}
.card-row.vertical-full .card-content {
    margin: 1rem;
}
.card-row.vertical-full .card-title h3 {
    font-size: 1.4rem;
    padding: 0;
}
/* .card-row.vertical-full .card:nth-child(2n) .card-content{ 
    grid-template-columns: 3fr 2fr;
} */
/* .card-row.vertical-full .card:nth-child(2n) .card-body{
    order: 1;
}

.card-row.vertical-full .card:nth-child(2n) .card-image{
    order: 2;
} */

.text-shadow-white {
    text-shadow: 1px 1px 10px #fff, 1px 1px 10px #ccc;
}

.card .card-image {
    text-align: center;
    width: 50%;
    margin: auto;
}

.card .card-image img {
    width: 100%;
}

html .card.transparent {
    background-image: none;
    background: transparent;
}

.p-1 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.p-3 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.p-4 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.m-4 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}
.ml-1{
    margin-left: 1rem;
}

.mt-4 {
    margin-top: 4rem;
}

#other .card-image {
    opacity: .3;
    max-width: 200px;
}

#other .card-body {
    text-align: justify;
}
section {
    --overlay-color: transparent;
    background: var(--overlay-color);
}
section.dark {
    --overlay-color: linear-gradient(135deg, rgb(23, 21, 29) 0%, rgb(23, 21, 29) 100%);
    --bg-image: url('');
    background: var(--overlay-color), var(--bg-image);
    color: #FAF7F6;
}
section.dark h1, section.dark h2, section.dark h3, section.dark h4 {
    color: #999963;
}
.w-50 {
    width: 50%;
}

#hero h1 {
    color: #FAF7F6;
    font-weight: normal;
}

#hero h2 {
    color: #DADADA;
    font-weight: normal;
}

.m-auto {
    margin: auto;
}
footer {
    background-color: #1b7f8f;
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5rem;
}
footer .footer-menu {
    flex: 2;
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
footer .footer-menu a {
    color: #FFF;
    text-decoration: underline;
}

footer .footer-menu a:hover {
    color: #5bd9e2;
}
.text-white {
    color: #fff;
}
.text-white h1, 
.text-white h2, 
.text-white h3, 
.text-white h4, 
.text-white h5
{
    color: #fff;
}
.text-white :link {
    color: #fff;
    text-decoration: underline;
}
#footerline {
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.vehicle-routing .card .card-image {
    width: 75%;
}
iframe {
    border: none;
}

.stats-tiles {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.tile {
    text-align: center;
    width: 200px;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 8px;
}

.tile i {
    font-size: 64px;
    margin-bottom: 10px;
    color: var(--primary-color)
}

.tile .stat-number {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

.tile .stat-text {
    font-size: 14px;
    color: #555;
    padding-top: 1rem;
}

/* Timeline component */
.timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
}

.timeline:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e9ecef;
    content: "";
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
    text-align: left;
}

.timeline-item .timeline-icon {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 18px;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: calc(50% - 20px);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: calc(50% - 20px);
}

.timeline-item .timeline-content {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
    max-width: 45%;
}

.timeline-item .timeline-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .timeline-item:nth-child(odd) .timeline-icon {
        right: initial!important;
        left: -20px;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: -20px;
    }
    .timeline-item:nth-child(even) {
        padding-left: initial!important;
    }

    .timeline:before  {
        left: initial!important;
    }

    .timeline-item:nth-child(odd) {
        padding-right: initial!important;
        text-align: left;
    }
    .timeline-item .timeline-content {
        max-width: initial;
    }
}


/* alert card */
.alert-card {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid #f8d7da;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.alert-icon {
    margin-right: 10px;
    font-size: 24px;
    color: #721c24;
}
.alert-content h2 {
    margin: 0 0 10px;
    font-size: 18px;
}
.alert-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* feature box */
.feature-box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.feature-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 280px;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s ease-in-out;
}

.feature-box:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.feature-box .icon {
    font-size: 2rem;
    color: #007BFF;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #444;
}

.feature-box p {
    font-size: 0.9rem;
    color: #666;
}

.interactive-demo {
    margin: 1rem 0;
}

.qr-code {
    display: block;
    margin: 0 auto 10px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.qr-instructions {
    margin: .25rem 0 .5rem;
}

.qr-link {
    display: inline-block;
    padding: .5rem .75rem;
    font-weight: 600;
    border-radius: 10px;
    background: #111;
    color: #fff;
    text-decoration: none;
}

.qr-steps {
    text-align: left;
    margin: 1rem auto 0;
    padding-left: 1.25rem;
    max-width: 320px;
    font-size: .95rem;
}

.demo-footer {
    text-align: center;
    margin-top: 2.25rem;
    padding: 2rem;
    background-color: #fafafa;
}

.demo-footer-text {
    font-size: 1.1rem;
    margin: 0.25rem 0 1rem;
}

.try-now-link {
    display: inline-block;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1;
    border-radius: 12px;
    background: #111;
    color: #fff;
    border: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.demo-footer-note {
    margin-top: 0.75rem;
    color: #6b7280;
    font-size: 0.95rem;
}
.qr-code-container {
    flex: 0 0 280px;
    min-width: 280px;
    text-align: center;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
}
.image-pair {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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