::-webkit-scrollbar {
    width: 6px; /* Adjust the width as needed */
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: teal; /* Color of the thumb (scrollbar handle) */
  }

:root {
    --color-primary: black;
    --color-antimary: white;
    --color-highlight: teal;
}

* {
    margin: 0;
    padding: 0;
}

html, body {

    border-radius: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    min-height: 100vh; /* Ensure body takes up the full viewport height */

}

.moving {
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.bckgrd {
    position: absolute;
    height: 200%; /* Double the height to have two background elements */
    width: 100%;
    background-size: 100% auto;
}

.bckgrd-1 {
    background-image: url('./media/glasea.jpg'); /* Replace with your background image */
    animation: moving 100s linear 1s infinite;
}

.bckgrd-2 {
    background-image: url('./media/glasea.jpg'); /* Replace with your background image */
    animation: moving 100s linear 1s infinite;
    animation-delay: 15s; /* Half of the total animation time to start after the first one */
}


.bckgrd::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.wrapper {
    height: 100%;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
}

.tabs {
    background: transparent;
    padding: 5px;
    border-radius: 5rem;
    display: flex;
    position: relative;
    border: 2px white solid;
}

input[type="radio"] {
    display: none;
}

label:hover {
    transform: scale(1.2);
    font-weight: bold;
    color: var(--color-highlight);
}

.subscription-form {
    display: flex;
    align-items: center;
  }


.ai {
    display: inline;
    color: var(--color-highlight); /* Change to the desired color for 'a' and 'i' */
    position: relative;
    animation: growAndShrink 2s infinite; /* Animation duration and infinite loop */
} 

.contact-card label {
    width: auto;
}


.company-info p {
    text-align: center;
}


 /*Large screen*/
 @media (min-width: 768px) {

header {
    padding: 20px;
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 2px;
  }

.logo {
    font-size: 3em; 
    color: var(--color-antimary);
    float: left;
    z-index: 2;
    align-items: center;
    justify-content: center;
    letter-spacing: 5px;
    cursor: pointer;
}

label {
    display: block;
    height: 40px;
    width: 120px;
    font-size: 1em;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    color: var(--color-antimary);
    transition: 0.5s ease;
}


.glider {
    position: absolute;
    top: 5px;
    left: 5px;
    border-radius: 2rem;
    height: 40px;
    width: 120px;
    transition: ease .3s;
    color: var(--color-antimary);
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

input[type="radio"]:checked ~ .glider {
    opacity: 1;
    visibility: visible;
    background-color: var(--color-highlight); /* Set the background color to white when checked */
  }

label:focus + .glider {
    display: block; 
  }


#tab1:checked ~label[for='tab1'] {
    color: white;
    font-size:large;
}

#tab2:checked ~label[for='tab2'] {
    color: var(--color-antimary);
    font-size:large;
}

#tab3:checked ~label[for='tab3'] {
    color: var(--color-antimary);
    font-size:large;
}

#tab4:checked ~label[for='tab4'] {
    color: var(--color-antimary);
    font-size:large;
}

#tab1:checked ~ .glider {
    transform: translateX(0);
}

#tab2:checked ~ .glider {
    transform: translateX(120px);
}

#tab3:checked ~ .glider {
    transform: translateX(240px);
}

#tab4:checked ~ .glider {
    transform: translateX(360px);
}

.landing-wrapper {
    position: absolute;
    top: 35%; /* Adjust the top value to position it 1/4 of the way down */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity 3s ease;
}

.content-wrapper {
    position: absolute;
    padding-top: 3.5em;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 3s ease; 
}

.subtitle {
    font-size: 3em; 
    color: var(--color-antimary);
    width: 100%;
    /*padding-bottom: 1em;*/

}

  .arrow-container {
    margin: 10px;
    display: flex;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-antimary); /* Make the circle container transparent */

}

  .arrow {
    color: var(--color-primary); /* Set arrow color to white */
    font-size: 30px; 
    margin: auto;
  }

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 20px; 
}

.card {
    width: 80%;
    max-width: 380px;
    background-color: var(--color-antimary); /* Glassy background color */
    border-radius: 15px;
    padding-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Elevation effect */
    margin: 10px;
    transition: transform 0.3s ease; /* Add a smooth transition effect */
    overflow: hidden;
}

.bio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    min-width: 360px;
    max-width: 30%;
    color: var(--color-antimary);
    border-radius: 15px;
    border: solid 1px var(--color-antimary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Elevation effect */
    margin: 10px;
    transition: transform 0.3s ease; /* Add a smooth transition effect */
    overflow: hidden;
    background-color: rgba(8, 8, 8, 0.1); /* Use an RGBA color with low opacity */
    backdrop-filter: blur(10px);
}

.bio {
    padding: 10px;
    flex-grow: 1;
}

.domains, .lead-role, .achievements {
    margin-top: 15px;
}

.card:hover {
    transform: scale(1.05); /* Enlarge the card on hover */
}

.card p, h1, h2, h3 {
    padding-bottom: 0.1em;
}

.card h3 {
    font-size: 2em;
    font-weight: bold;
    color: var(--color-antimary);
    background-color: teal;
    border: 1px solid teal;
    padding: 10px;
}

.card p {
    font-size: 1.4em;
    padding: 20px;
}

.logo-stack {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
    background-color: var(--color-antimary);
    padding: 10px;
    justify-content: space-evenly;
    width: 100%;
}

.logo-stack img {
    height: 50px; /* Adjust the height as needed */
    object-fit: cover;
}

.company-info img {
    height: auto; /* Adjust the height as needed */
    object-fit: cover;
    margin-left: 20px;
}


.rounded-photo {
    margin-top: 20px;
    border-radius: 50%;
    height: 120px; /* Adjust the height as needed */
    width: 120px;
    object-fit: cover;

}


.contact-card {
    width: 60%;
    background-color: transparent;
    border: 1px solid var(--color-antimary); /* Solid border */
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 50px;
    transition: transform 0.5s ease;
    color: var(--color-antimary);
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    text-align: left;
}

form label {
    justify-content: left;
}

.contact-card form {
    display: flex;
    flex-direction: column;
}

.contact-card label,
.contact-card input,
.contact-card textarea {
    background-color: transparent; /* Transparent content */
    color: var(--color-antimary);
    margin-bottom: 10px;
    font-size: 1em;
}

.contact-card input {
    border: 1px solid var(--color-antimary); /* Solid white border */
    height: 30px;
    font-family: 'Playfair Display', Georgia, serif;
}

.contact-card textarea {
    border: 1px solid var(--color-antimary); /* Solid white border */
    height: 120px;
    font-family: 'Playfair Display', Georgia, serif;
}

button {
    border-radius: 1000px; /* Rounded corners for the button */
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: .5s ease-in-out;
    font-family: 'Playfair Display', Georgia, serif;
    min-width: 150px;
    background-color: var(--color-antimary);
    color: var(--color-primary);
}

button:hover {
    transform: scale(1.1); /* Enlarge the button on hover */
    color: var(--color-antimary);
    background-color: var(--color-highlight);
    color: var(--color-antimary);
}

.learn-more-btn {
    padding: 15px;
    padding-left: 40px;
    padding-right: 40px;
    margin-top: 40px;
    font-size: 1.5em;
    padding-top: 20px;
    padding-bottom: 20px;
}

#contact-submit {
    width: 30%;
    margin: auto;

}

footer {

    margin-top: 170px;
    text-align: center;
    width: 100%;
    color: var(--color-antimary);
}

/* Slide control CSS */
.slider-container {
    position: relative;
    width: 90%; /* Fixed width */
    height: 60vh; /* Fixed height */
    overflow: hidden;
    margin: 0 auto; /* Center the container */
    min-width: 950px;
}

.slider-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: center;
    height: 100%;
}

.slide {
    min-width: 100%; /* Set the width of each slide */
    box-sizing: border-box;
    text-align: center;
    height: 95%;
}

.slider-card {
    min-width: 95%;
    border-radius: 15px;
    border: 1px solid var(--color-antimary);
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Elevation effect */
    margin: auto;
    transition: transform 0.3s ease; /* Add a smooth transition effect */
    background-color: rgba(8, 8, 8, 0.1); /* Use an RGBA color with low opacity */
    backdrop-filter: blur(4px); /* Apply a blur effect to the background */
    text-align: center;
    color: var(--color-antimary);
    overflow: hidden;
}

.company-info {
    width: 100%;
    min-height: 60px;
    display: flex;
    padding-bottom: 5px;
    padding-top: 5px;
    align-items: center;
    font-size: 1.5em;
    background-color: var(--color-antimary);
    color: var(--color-primary);
    justify-content: space-between;
}

.company-description {
    text-align: left;
    padding-left: 30px;
    margin-top: auto;
    margin-bottom: auto;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.company-logo {
    max-width: 60px;    
    max-height: 60px;

}

.feature-boxes {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.feature-box {
    width: calc(33.33% - 10px); /* Adjust the width and margin as needed */
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
    border-right: 1px solid var(--color-antimary);
    text-align: left;
}

/* Remove the pseudo-element from the last feature box */
.feature-box:last-child {
    border-right: none;
}

.feature-box h4 {
    font-size: 1.5em;
    padding: 10px;
    color: var(--color-highlight);
}

.feature-box p {
    padding: 10px 5px;
}

.nav-arrow {
    font-size: 24px;
    color: var(--color-primary);
    cursor: pointer;
    border: 1px solid;
    border-radius: 50%;
    min-width: 40px;
    margin: 0px 20px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.confirmation-message, .confirmation-message p {
    font-weight: bold;
    text-align: center;
    font-size: 1em;
    text-align: left;
    padding: 1em;
    line-height: 2em;
    color: var(--color-primary);
}

}

@keyframes moving {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100vh);
    }
}

@keyframes growAndShrink {
    0%, 100% {
      transform: scale(1); /* Normal size */
    }
    50% {
      transform: scale(1.1); /* Slightly larger size */
    }
}


  /*Mobile screen*/
  @media (max-width: 767px) {

    /*Navigation items*/
    header {
        display: flex;
        flex-direction: column;
        padding: 20px;
        margin: 0;
        min-width: 320px;
      }
    
    .logo {
        font-size: 3em; 
        color: var(--color-antimary);
        z-index: 2;
        margin: auto;
        align-items: center;
        justify-content: center;
        letter-spacing: 5px;
        cursor: pointer;
        margin-bottom: 20px;
    }
    
    .wrapper {
        display: flex;
    }

    .tabs {
        display: flex;
        flex-direction: row;
        background: transparent;
        padding: 5px;
        border-radius: 5rem;
        display: flex;
        position: relative;
        border: 2px white solid;
        width: 100%;
    }

    label {
            font-size: 0.8em;
            width: 100%;
            height: 40px;
            min-width: 80px;
            font-size: 1em;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 2;
            color: var(--color-antimary);
            transition: 0.5s ease;
    }

   
    #tab1:checked ~label[for='tab1'] {
        color: var(--color-highlight);
        font-size:large;
    }
    
    #tab2:checked ~label[for='tab2'] {
        color: var(--color-highlight);
        font-size:large;
    }
    
    #tab3:checked ~label[for='tab3'] {
        color: var(--color-highlight);
        font-size:large;
    }
    
    #tab4:checked ~label[for='tab4'] {
        color: var(--color-highlight);
        font-size:large;
    }

    .landing-wrapper {
        position: absolute;
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 100%;
        opacity: 0;
        transition: opacity 3s ease;
        font-size: 2em;
    }
    
    .content-wrapper {
        position: absolute;
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 100%;
        align-items: center;
        opacity: 0;
        transition: opacity 3s ease;
        font-size: 2em;
        padding-bottom: 100px;
    }

    .subtitle {
        font-size: 1em; 
        color: var(--color-antimary);
        width: 100%;
        padding-bottom: 1em;
    }

    .landing-wrapper .subtitle {
        font-size: 1.5em;
        padding-top: 100px;
    }

    .arrow-container {
        margin: 10px;
        display: flex;
        align-items: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: var(--color-antimary); /* Make the circle container transparent */
    
    }
    
      .arrow {
        color: var(--color-primary); /* Set arrow color to white */
        font-size: 30px; 
        margin: auto;
      }
    
    .card-container {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        width: 100%;
        margin-top: 20px; 
        gap: 30px;
    }
    
    .card {
        width: 80%;
        background-color: var(--color-antimary); /* Glassy background color */
        border-radius: 15px;
        padding-bottom: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Elevation effect */
        margin: auto;
        transition: transform 0.3s ease; /* Add a smooth transition effect */
        overflow: hidden;
    }
    
    .bio-card {
        width: 90%;
        color: var(--color-antimary);
        border-radius: 15px;
        border: solid 1px var(--color-antimary);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Elevation effect */
        margin: auto;
        transition: transform 0.3s ease; /* Add a smooth transition effect */
        overflow: hidden;
        background-color: rgba(8, 8, 8, 0.1); /* Use an RGBA color with low opacity */
        backdrop-filter: blur(10px);
    }
    


    .bio {
        padding: 10px;
    }
    
    
    .card:hover {
        transform: scale(1.05); /* Enlarge the card on hover */
    }
    
    p, h1, h2, h3 {
        padding-bottom: 20px;
    }
    
    h3 {
        font-size: 0.8em;
        font-weight: bold;
    }

    p {
        font-size: 1em;
    }

    .bio p, .card p {
        font-size: 0.5em;
    }

    .card p:first-of-type {
        padding-top: 20px;
    }

    .card h3 {


        color: var(--color-antimary);
        background-color: teal;
        border: 1px solid teal;
        padding: 10px;
    }
    
    h2 {
        font-size: 0.7em;
        font-weight: bold;
        padding: 10px;
    }


    
    .logo-stack {
        display: flex;
        gap: 10px;
        margin-top: 10px;
        justify-content: center;
        background-color: var(--color-antimary);
        justify-content: space-evenly;
    }
    
    .logo-stack img {
        height: 40px; /* Adjust the height as needed */
        object-fit: cover;
        margin: 10px;
    }
    
    .company-info img {
        height: auto; /* Adjust the height as needed */
        object-fit: cover;
        margin-left: 20px;
    }
    

    
    .rounded-photo {
        padding-top: 10px;
        border-radius: 50%;
        height: 100px; /* Adjust the height as needed */
        width: 100px;
        object-fit: cover;
    
    }
    
    .contact-card {
        width: 60%;
        background-color: transparent;
        border: 1px solid var(--color-antimary); /* Solid border */
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.5s ease;
        color: var(--color-antimary);
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        text-align: left;
    }
    
    form label {
        justify-content: left;
    }
    
    .contact-card form {
        display: flex;
        flex-direction: column;
    }
    
    .contact-card label,
    .contact-card input,
    .contact-card textarea {
        background-color: transparent; /* Transparent content */
        color: var(--color-antimary);
        margin-bottom: 10px;
        font-size: .5em;
    }
    
    .contact-card label:hover {
        transform: scale(1.05);
    }

    .contact-card input {
        border: 1px solid var(--color-antimary); /* Solid white border */
        height: 30px;
        font-family: 'Playfair Display', Georgia, serif;
    }
    
    .contact-card textarea {
        border: 1px solid var(--color-antimary); /* Solid white border */
        height: 120px;
        font-family: 'Playfair Display', Georgia, serif;
    }
    

    button {
        border-radius: 1000px; /* Rounded corners for the button */
        padding: 10px;
        cursor: pointer;
        font-weight: bold;
        transition: .5s ease-in-out;
        font-family: 'Playfair Display', Georgia, serif;
        min-width: 50px;
        width: 50%;
        margin: auto;
        background-color: var(--color-antimary);
        color: var(--color-primary);
    }
    
    button:hover {
        transform: scale(1.1); /* Enlarge the button on hover */
        color: var(--color-antimary);
        background-color: var(--color-highlight);
        color: var(--color-antimary);
    }
    
    .learn-more-btn {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 10px;
        font-size: 0.6em;
        padding-top: 15px;
        padding-bottom: 15px;
    }
  
/* Slide control CSS */
.slider-container {
    position: relative;
    width: 90%; /* Fixed width */
    height: auto; /* Fixed height */
    overflow: hidden;
    margin: 0 auto; /* Center the container */
    align-items: flex-start; /* Align slides to the top */

}

.slider-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items:flex-start;
    height: 100%;
}

.slide {
    min-width: 100%; /* Set the width of each slide */
    box-sizing: border-box;
    text-align: center;
    height: 95%;
}

.slide p {
    padding-bottom: 0px;

}

.slider-card {
    min-width: 95%;
    border-radius: 15px;
    border: 1px solid var(--color-antimary);
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Elevation effect */
    margin: auto;
    transition: transform 0.3s ease; /* Add a smooth transition effect */
    background-color: rgba(8, 8, 8, 0.1); /* Use an RGBA color with low opacity */
    backdrop-filter: blur(4px); /* Apply a blur effect to the background */
    text-align: center;
    color: var(--color-antimary);
    overflow: hidden;
}

.company-info {
    width: 100%;
    min-height: 60px;
    display: flex;
    padding-bottom: 5px;
    padding-top: 5px;
    align-items: center;
    font-size: 0.5em;
    background-color: var(--color-antimary);
    color: var(--color-primary);
    justify-content: space-between;
}

.company-description {
    text-align: left;
    padding-left: 30px;
    margin-top: auto;
    margin-bottom: auto;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

h4 {
    font-size: 0.8em;
}

.company-logo {
    max-width: 60px;    
    max-height: 60px;

}


    .feature-boxes {
        flex-direction: column;
    }

    .feature-box {
        width: 100%;
        margin-bottom: 15px;        
        margin-top: 15px;
        border-bottom: 1px solid var(--color-antimary);
        
        /* Remove the pseudo-element from the last feature box in mobile view */
    }

    /* Remove the pseudo-element from the last feature box */
    .feature-box:last-child {
        border-bottom: none;
    }

    .feature-box p {
        font-size: 0.5em;
        padding-top: 10px;
        padding-bottom: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }


    .nav-arrow {
        font-size: 24px;
        color: var(--color-primary);
        cursor: pointer;
        border: 1px solid;
        border-radius: 50%;
        min-width: 40px;
        margin: 0px 20px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    
    }
    
    .confirmation-message, .confirmation-message p {
        font-weight: bold;
        text-align: center;
        font-size: 0.8em;
        text-align: center;
        padding: 1em;
        line-height: 2em;
        color: var(--color-primary);
    }
    
    footer {
        position: fixed;
        bottom: 20px;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    footer *    {
        margin-top: 20px;
        text-align: center;
        width: 100%;
        color: var(--color-antimary);
        font-size: 0.7em;
    }
}