@import url('variables.css');

*, *::before, *::after {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gradient-light);
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    color: var(--text-med-contrast);
    max-width: 100vw;
    height: 100%;
    background-color: var(--background-orange);
}

button {
    max-height: 100px;
    height: 100%;
    max-width: 300px;
    width: 100%;
    background: var(--background-med);
    font-family: "Lato", sans-serif;
    font-size: 2em;
    border-radius: 10px;
}

ul {
    list-style-type: none;
    text-align: center;
    justify-content: center;
    padding: 0;
}

#blog {
    visibility: hidden;
}

#grid-container {
    display: grid;
    grid-template-rows: auto auto auto;
    overflow-x: clip;
}

#banner img {
    width: 100vw;
    height: 100%;
}

#header {
    max-height: 8vh;
    position: sticky;
    top: 0;
    z-index: 10;
    transition: all 0.3s ease;
    width: 100vw;
}

#header::before {
    content: '';
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--gradient-med);
    transition: top 0.9s ease, transform 0.9s ease, opacity 0.9s ease;
    opacity: 0;
    transform: translateY(-100%);
    z-index: -1;
}


#header.gradient-active::before {
    opacity: 1;
    transform: translateY(0);
}

.header-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

#bps-logo {
    box-sizing: border-box;
    opacity: 0.65;
    border-radius: 50%;
    margin: 5px 0 0 5px;
}

/* Style for the full-screen menu */
.full-screen-nav {
    position: fixed;
    width: 75%;
    height: 85%;
    background: var(--gradient-light);
    top: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    transform: scale(0);
    transform-origin: top right;
    transition: transform 0.25s ease;
    border-top: 2rem solid var(--background-orange);
}

.full-screen-nav.active {
    transform: scale(1);
}

.full-screen-nav ul {
    list-style: none;
    padding: 0;
}

.full-screen-nav ul li {
    padding: 10px;
}

.full-screen-nav ul li a {
    color: #fff; /* Adjust the text color as needed */
    font-size: 2.5rem;
    text-decoration: none;
}

.full-screen-nav a:hover {
    animation: glow-text 1.5s ease-in-out infinite alternate;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 1000;
    padding-right: 15px;
}

.hamburger-menu div {
    width: 1.75rem;
    height: 0.25rem;
    background: var(--background-dark);
}

/* Hide by default */
#navigation {
    display: none;
}

.dropdown-content {
    display: none;
}

.main-content {
    display: grid;
    grid-template-rows: 1fr auto;
    width: 100%;
}

#cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    box-shadow: var(--background-orange-shadow) 2px 4px 8px 0;
}

.image-overlay-text {
    position: absolute;
    top: 3vh;
    width: 100%;
    color: var(--background-orange);
    text-align: center;
}

#aicc-link {
    position: absolute;
    top: 15vh;
    left: 75vw;
    width: 20vw;
    background-color: var(--background-orange);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 10px;
}

#aicc-link img {
    width: 50%;
    height: auto;
    align-self: center;
}

#aicc-auth {
    text-decoration: none;
    font-size: .75rem;
    color: var(--background-dark);
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

#main-header {
    font-size: 2.5rem;
    font-weight: bold;
}

#mission-statement {
    display: flex;
    flex-direction: column;
    color: var(--background-med);
    background-color: var(--background-orange);
    align-content: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 25px 0 20px 0;
}

#mission-statement-text {
    font-size: 1.2rem;
    padding: 10px;
}

#cta-main {
    font-size: .75rem;
    z-index: 1;
}

#cta-main button {
    max-width: 45vw;
    height: 5vh;
    color: var(--background);
    box-shadow: #52380d 2px 4px 8px 0;
}

#cta-main button:hover {
    animation: glow-text 1.5s ease-in-out infinite alternate;
}

.content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-wrapper {
    grid-area: carousel-wrapper;
    position: relative;
    display: flex;
    max-width: 100vw;
    width: 100%;
    height: 100%;
    align-items: center;
    background-color: var(--gradient-med);
    padding: 0;
}

#carousel-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
    height: 100%;
    width: 100%;
    padding: 0;
}

.carousel-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
    min-width: 100vw;
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    white-space: normal;
    overflow-y: scroll;
    padding: 0;
}

.carousel-control {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.wrap-image {
    max-width: 90%;
    height: auto;
    border: 10px #df975d;
    border-radius: 50px;
    flex: 1 0 150px;
    padding-top: 1em;
}

.wrap-image img {
    width: 100%;
    height: auto;
}

.carousel-item ul {
    font-size: 1.25rem;
    margin: 20px;
    flex: 0 1;
}

.list-heading {
    font-weight: bold;
}

.carousel-item li {
    font-size: 1rem;
    font-weight: normal;
}

#carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    padding-bottom: 2rem;
}

#carousel-indicators .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: gray;
    margin: 0 5px;
    cursor: pointer;
}

#carousel-indicators .dot.active {
    background-color: var(--background-dark);
}

#dna {
    padding-top: 100px;
}

#dna-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

#dna-container #image-container {
    padding-bottom: 20px;
}

#dna-container h2 {
    text-align: center;
    padding: 0 10px 0 10px;
}

#dna-image {
    max-width: 85vw;
    height: auto;
    border-radius: 50px;
    box-shadow: var(--background-orange-shadow) 2px 4px 8px 0;

}

#learn-more {
    color: var(--background-dark);
    text-decoration: none;
    font-size: 1.5rem;
}


#learn-more::after {
    font-family: "Font Awesome 5 Free"; /* Adjust based on the version of FontAwesome */
    content: "\f061"; /* FontAwesome unicode for right arrow */
    padding-left: 5px; /* Space between text and icon */
}

#process {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 150px 0 150px;
    background: var(--gradient-light2);
}

#process h3 {
    font-size: 1.2rem;
}

#card-container {

}

.card {
    perspective: 1000px;
}

.card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
    height: 150px;
    width: 95vw;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    min-height: 125px;
    background-color: var(--background-orange);
    border-radius: 50px;
    text-align: center;
    padding: 15px 15px 0 15px;
}

.card-back {
    transform: rotateY(180deg);
}

.card-back p {
    font-size: 1rem;
    padding: 5px;
}

#neo4j-overview {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    padding-bottom: 5vh;
}

#neo4j-content {
    max-width: 75vw;
    font-size: 1.25em;
}

#neo4j-link {
    text-decoration: None;
    color: white;
}

.fade-in{
    width: 10vw;
    height: auto;
    opacity: 0;
    transition: opacity 2s ease-in;
}

#gpts {
    padding-top: 150px;
}

#gpts-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
}

#openai-img {
    max-width: 15vw;
    height: auto;
}

#gpts-container h2 {
    margin-bottom: 0;
}

#gpts-container p {
    margin-top: 5px;
    padding: 0 5px 0 5px;
    font-size: 1.2rem;
    max-width: 75vw;
}

#widget {
    display: flex;
    justify-content: center;
    padding-bottom: 8vh;
}

/* Footer Styles */
.footer .footer-item {
    font-family: "Montserrat", sans-serif;
    text-align: center;
    padding: 0;
    margin: 0;
}

#footer {
    background-color: var(--background-orange);
    display: flex;
    width: 100%;
    height: fit-content;
    justify-content: center;
    flex-direction: column;
}

.footer-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#accordion-container {
    padding-bottom: 50px;
}

.footer-accordion .accordion-header {
    background-color: var(--background-med);
    color: white;
    padding: 10px;
    border: none;
    text-align: center;
    outline: none;
    font-size: 1rem;
    transition: 0.4s;
    width: 60%;
    border-radius: 10px;
    box-shadow: #52380d 2px 8px 8px 0;
}

.accordion-header:hover {
    cursor: pointer;
}

.footer-accordion .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    width: 80%;
    background-color: var(--background-orange);
    padding: 0 20px;
    font-size: 1.25rem;
}

.active + .accordion-content {
    max-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: visible;
}

#social-links {
    display: flex;
    justify-content: center;
    padding-top: 25px;
    border-top: 2px solid var(--background-dark)
}

#links a {
    color: var(--background-med);
    padding: 0 0 75px 25px;
    text-decoration: none;
}

/* Animations */
@keyframes glow-text {
    0%, 100% {
        text-shadow: none;
    }
    50% {
        text-shadow: 0 0 10px #F0F0F0,
        0 0 20px var(--background-med3),
        0 0 30px var(--background-med3),
        0 0 40px var(--background-med3),
        0 0 50px var(--background-med3);
    }
}

/* General transition style */
.animate-quick {
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.animate-slow {
    opacity: 0;
    transition: transform 2s ease-out, opacity 2s ease-out;

}

/* From top */
.animate-from-top {
    transform: translateY(-100%)
}

/* From bottom */
.animate-from-bottom {
    transform: translateY(100%);
}

/* From left */
.animate-from-left {
    transform: translateX(-50%);
}

/* From right */
.animate-from-right {
    transform: translateX(25%);
}

/* Final visible state for all */
.visible {
    opacity: 1;
    transform: translate(0, 0); /* Resets both X and Y translations */
}

@keyframes BlueprintDraw {
    0% {
        opacity: 0;
        text-shadow: none;
    }
    50% {
        opacity: 0.5;
        text-shadow: 0 0 6px rgba(0, 150, 255, 0.5);
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 12px rgba(0, 150, 255, 1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(720deg);
    }
}

img.spin {
    animation: spin 1.75s linear;
}
