/* =================================
   Global Styles & Resets
   ================================= */
:root {
    --neumorphic-shadow: inset 0 0 15px rgba(55, 84, 170, 0), inset 0 0 20px rgba(255, 255, 255, 0), 7px 7px 15px rgba(55, 84, 170, 0.15), -7px -7px 20px white, inset 0px 0px 4px rgba(255, 255, 255, 0.2);
    --neumorphic-shadow-hover: inset 7px 7px 15px rgba(55, 84, 170, 0.15), inset -7px -7px 20px white, 0px 0px 4px rgba(255, 255, 255, 0.2);
    --neumorphic-shadow-flat: 7px 7px 15px rgba(55, 84, 170, 0.15), -7px -7px 20px white;
    --bg-color: #f1f3f6;
    --primary-color: #2596be;
    --accent-color: #daa520;
    --dark-bg: #1a1a1a;
}

html {
    scroll-behavior: auto;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
}

/* =================================
   Typography
   ================================= */
.nav-company_name {
    opacity: 0;
    top: 20px;
    left: 155px;
    font-size: 1.5em;
    position: absolute;
    font-weight: bold;
    font-family: 'Encode Sans SC', sans-serif;
    color: white !important;
}

.nav-company_name span {
    font-weight: 100 !important;
    font-family: 'Encode Sans SC', sans-serif;
    color: white !important;
}

.company-name {
    margin-top: 2em;
    font-size: 3.5em;
    font-weight: bold;
    font-family: 'Encode Sans SC', sans-serif;
    color: white !important;
}

.company-name span {
    font-weight: 100 !important;
    font-family: 'Encode Sans SC', sans-serif;
    color: white !important;
}

.company-name span div,
.company-name span span {
    font-weight: 100 !important;
}

blockquote {
    border-left: 5px solid #323639 !important;
}

.collection-header>h5 {
    font-size: 1.15em !important;
    font-weight: bold !important;
}

.organ-image-landing-title {
    font-size: 3em;
    align-items: flex-end;
    justify-content: center;
    margin-top: 0;
    color: rgb(70, 57, 26);
    font-family: 'Roboto Light', sans-serif;
}


/* =================================
   Layout & Sections
   ================================= */
.section {
    width: 100%;
    position: relative;
}

.section-one {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1;
}

#section-two {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Changed back to 100vh for cleaner pinning */
    background-color: #1a1a1a;
    /* Changed from brown to match loading page */
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 20;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 85%;
    height: 55vh;
    gap: 0;
    margin: 0 auto;
    perspective: 1000px;
    position: relative;
}

.intro-text-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    text-align: center;
    width: 80%;
    pointer-events: none;
}

.intro-title {
    font-family: 'Dancing Script', 'Great Vibes', cursive !important;
    font-size: 5.5rem;
    font-weight: 700;
    color: goldenrod;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.intro-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 2rem auto 0;
    font-weight: 300;
}

.info-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    transition: background 0.3s;
    border-radius: 0;
}

/* Internal Border Logic for Merged State - Handles 3 cards */
.info-card:nth-of-type(1) {
    border-right-width: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.info-card:nth-of-type(2) {
    border-left-width: 0;
    border-right-width: 0;
}

.info-card:nth-of-type(3) {
    border-left-width: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.info-card .info-text,
.info-card img {
    opacity: 0;
    /* Initially hidden, animated in JS */
}

.info-card:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.info-card:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.info-card h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.info-card p {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.info-card .btn {
    margin-top: auto;
}

.section-three {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em 0;
    background-color: #333333 !important;
    position: relative;
    z-index: 20;
}

#section-four {
    padding: 2em 0;
    position: relative;
    z-index: 20;
    background-color: #f1f3f6;
}

.separator {
    height: 150px;
    background: #f1f3f6;
    clip-path: ellipse(111% 100% at -1.2% 100%);
}

.divider-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5vh;
    z-index: 9;
}

.divider {
    border: none;
    border-bottom: solid #2596be 1px;
    margin: 2%;
    width: 25%;
}

.info-wrapper img {
    width: 50%;
}

/* =================================
   Navigation
   ================================= */
.brand-logo {
    position: absolute;
    z-index: 99;
    display: flex;
}

.brand-logo-img {
    width: 100px;
    margin-left: 42px;
    margin-top: 6px;
    border-radius: 15px;
}

/* --- Dropdowns --- */
/* Materialize sets .dropdown-content { overflow-y: auto }, and per spec a
   visible overflow-x computes to auto when the other axis isn't visible. So a
   label even a few pixels wider than the width Materialize's JS measured shows
   a horizontal scrollbar across the bottom of the panel. Materialize also pins
   that measured width inline, so we let the panel shrink-wrap its own content
   instead and keep the labels on one line. */
#products_dropdown,
#build_dropdown,
#about_dropdown {
    overflow: hidden;
    width: auto !important;
    min-width: max-content;
}

#products_dropdown li > a,
#build_dropdown li > a,
#about_dropdown li > a {
    white-space: nowrap;
}

nav {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent) !important;
    box-shadow: none !important;
}

nav ul a {
    color: white !important;
}

.nav-wrapper {
    background-color: transparent !important;
}

.floating-nav-display {
    position: fixed;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    top: 15%;
    right: 5%;
    z-index: 100;
    height: 8%;
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: lighter !important;
    font-family: 'Encode Sans SC', sans-serif;
    transition: all 1.3s ease-in-out;
}

.landing-nav {
    margin-top: 2em;
    animation: fadein 1s 2s forwards;
    opacity: 0;
    position: absolute;
    bottom: 15%;
    left: 50%;
    width: 100%;
    transform: translateX(-20%);
    font-size: 1.5em;
    line-height: 2em;
    visibility: hidden;
}

.landing-nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style-type: none;

}

.landing-nav li {
    margin: 0 1em;
}

.landing-nav a {
    color: #5d5d5d;
    text-decoration: none;
    font-size: 1.2em;
    font-family: 'Encode Sans SC', sans-serif;
    font-weight: 300;
    transition: color 0.3s;
}

.landing-nav a:hover {
    color: #2596be;
}

/* =================================
   Components
   ================================= */

.organ-image-landing {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.organ-image-landing img {
    max-width: 55vw;
    height: 65vh;
    left: 0;
    top: 0;
}

.organSvg {
    display: block;
    position: relative;
    top: 0;
    opacity: 1;
    height: 160px;
    width: 160px;
    stroke: #f1f3f6 !important;
    filter: drop-shadow(1px 0 0 black) drop-shadow(0 1px 0 black) drop-shadow(-1px 0 0 black) drop-shadow(0 -1px 0 black);
    margin-bottom: 20px;
    /* Space between organ and text */
}

.processorSvg {
    display: block;
    position: absolute;
    top: calc(50% - 175px);
    /* Adjusted to sit at the top of the organ SVG */
    transform: translateY(-50%);
    height: 33px;
    width: 33px;
    stroke: #f1f3f6 !important;
    /* Light color for stroke */
}

.line {
    /* Keep goldenrod but ensure visibility */
    z-index: 5;
    width: 100%;
    margin-top: 1rem;
    opacity: 0;
}

#preloader .line {
    animation: fadein 1s 1s ease-in forwards;
}

.landing-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-family: 'Encode Sans SC', sans-serif;
    font-weight: 300;
    transition: color 0.3s;
}

/* --- Cards --- */
.card,
.card-panel {
    border-radius: 20px !important;
    background-color: #fefefe !important;
    border: solid white 1px;
    box-shadow: var(--neumorphic-shadow);
    margin: 9%;
}

.card .card-content,
.card .card-action {
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    background: #f1f3f6 !important;
}

.card-image {
    background: #f1f3f6;
    padding: 2em;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.card-image img {
    border: solid white 1px;
    box-shadow: var(--neumorphic-shadow);
    border-radius: 20px !important;
    opacity: 1;
}

.card-reveal {
    background: #f1f3f6 !important;
}

/* --- Buttons --- */
.btn {
    background-color: #2596be !important;
    color: white !important;
}

.btn-flat,
.collapsible {
    border: solid white 1px;
    box-shadow: var(--neumorphic-shadow);
    margin: 3em;
    border-radius: 20px;
    border: none !important;
    color: #5d5d5d;
}

.btn-flat:hover {
    box-shadow: 0 0 0px rgba(255, 255, 255, 0), 0px 0px 0px white, 0px 0px 0px rgba(255, 255, 255, 0) !important;
    transition: all 5ms ease-in-out;
}

.btn-floating:hover,
.fab:hover {
    border: solid white 1px;
    box-shadow: var(--neumorphic-shadow-hover);
}

.btn-floating i {
    border-radius: 20px !important;
}

.transparent-btn {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: none;
    padding: 0 2rem;
    line-height: 36px;
    height: 36px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    color: var(--accent-color);
    /* Add base text color to match border */
}

.btn-large.transparent-btn {
    height: 54px;
    line-height: 54px;
    padding: 0 28px;
    font-size: 15px;
}

.transparent-btn:hover {
    background-color: var(--accent-color);
    color: var(--dark-bg) !important;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

/* --- Modals --- */
.modal {
    margin: 2% !important;
    width: 55vw;
    left: 25%;
    border-radius: 20px !important;
    background-color: #fefefe !important;
    border: solid white 1px;
    box-shadow: var(--neumorphic-shadow);
}

.modal-large {
    width: 95vw !important;
    left: 0 !important;
    max-height: 90vh !important;
    min-height: 90vh !important;
    top: 0 !important;
    background-color: #f1f3f6 !important;
}

.modal-content>h4 {
    position: absolute;
}

/* --- Carousel --- */
.carousel.carousel-slider {
    height: 100dvh !important;
    width: 100dvw !important;
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Dark overlay for readability */
.carousel .carousel-item::after {
    content: "";
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 80%);
    /* Adjust opacity as needed */
    z-index: 1;
    pointer-events: none;
}

.carousel .carousel-item {
    width: 100dvw !important;
    height: 100dvh !important;
    border: none;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0;
    top: 0 !important;
    left: 0 !important;
    z-index: -1;
}

.carousel .carousel-item.active {
    z-index: 1;
}

.carousel .carousel-item img,
.carousel .carousel-item video.carousel-video {
    width: 100dvw !important;
    height: 100dvh !important;
    object-fit: cover !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    top: 0 !important;
    left: 0 !important;
}

.carousel-caption {
    position: absolute;
    top: calc(50% + 60px);
    left: calc(20% - 250px);
    text-align: left;
    color: white;
    z-index: 20;
    /* High enough to sit above the dark overlay and landing text */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    max-width: 50%;
}

.carousel.carousel-slider .carousel-item h2.slide-title {
    font-family: 'Encode Sans SC', sans-serif;
    font-size: 2.5rem;
    margin: 0;
    font-weight: 300;
    /* Match the lighter weight used elsewhere */
    line-height: 1.2;
    opacity: 0;
    /* Hidden initially for GSAP */
    transform: translateY(20px);
}

@media (max-width: 768px) {
    .carousel-caption {
        top: auto;
        bottom: 20%;
        left: 5%;
        right: auto;
        text-align: center;
        max-width: 90%;
    }

    .carousel.carousel-slider .carousel-item h2.slide-title {
        font-size: 1.5rem;
    }
}

.company-name {
    color: white !important;
    background: transparent !important;
}

.landing-logo,
.landing-nav {
    z-index: 10;
    position: relative;
}

.landing {
    position: relative;
    width: 100%;
    background: transparent !important;
}

.landing-text-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    top: calc(50% - 50px);
    left: calc(20% - 250px);
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
    width: auto;
}

.landing-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 60vh;
    margin-left: 12%;
    margin-top: 10vh;
    position: relative;
    z-index: 10;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.landing-nav {
    z-index: 10;
    position: relative;
}



.circle {
    border-radius: 20px !important;
    box-shadow: var(--neumorphic-shadow);
}

.collection {
    border-radius: 20px;
    border: none;
}

.collection .collection-organ-list-item {
    background-color: #fff;
    line-height: 1.5rem;
    padding: 75px 262px !important;
    margin: 70px !important;
}

.avatar img {
    height: 5em !important;
    width: 5em !important;
    top: -30px !important;
}

/* =================================
   Animations & Keyframes
   ================================= */
.fadein {
    animation: fadein 1s 1s ease-in forwards;
    opacity: 0;
}

.fadeout {
    animation: fadeout 1s 1s ease-in forwards;
}

.fade-in-down {
    animation: fade-in-down 2s forwards;
}

.fade-out-right {
    animation: fade-out-right 1s forwards;
}

.fade-in_nav-company_name {
    animation: nav-company_name-fadin 1s 2s forwards ease-in;
}

@keyframes fadein {
    to {
        opacity: 1;
    }
}

@keyframes fadeout {
    to {
        opacity: 0;
    }
}

@keyframes fade-in-down {
    0% {
        transform: translate(0, -50%);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

@keyframes fade-out-right {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: translate(50%, 0);
        opacity: 0;
    }
}

@keyframes nav-company_name-fadin {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Scroll Indicator Animation */
.scroll-indicator span {
    position: absolute;
    z-index: 99;
    bottom: 6em;
    left: 50%;
    width: 30px;
    height: 50px;
    margin-left: -15px;
    border: 2px solid white;
    border-radius: 50px;
    box-sizing: border-box;
}

.scroll-indicator span::before {
    position: absolute;
    top: 10px;
    left: 50%;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: white;
    border-radius: 100%;
    animation: sdb10 2s infinite;
}

@keyframes sdb10 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        transform: translate(0, 20px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.neumorphic {
    background-color: #f1f3f6 !important;
    border: none !important;
    box-shadow: var(--neumorphic-shadow-flat);
}

/* =================================
   Footer - Classy Dark Theme
   ================================= */
.classy-dark-footer {
    background-color: #1a1a1a !important;
    padding-top: 60px !important;
    margin-top: 0;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
    color: #fff;
}

.logo-circle {
    background-color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    flex-shrink: 0;
}

.footer-img {
    width: 75%;
    height: auto;
    filter: none;
    display: block;
}

.footer-logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-company-name {
    font-size: 2em !important;
    margin-top: 0 !important;
    font-family: 'Encode Sans SC', sans-serif !important;
}

.gold-text {
    color: #daa520 !important;
    font-family: 'Playfair Display', serif !important;
    letter-spacing: 1px;
}

.footer-links-container {
    display: flex;
    justify-content: space-between;
}

.footer-links-column h5 {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.footer-link-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.footer-link-item svg {
    width: 22px;
    height: 22px;
    margin-right: 12px;
}

.footer-link-item a {
    color: #ccc !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 300;
}

.footer-link-item a:hover {
    color: #daa520 !important;
    padding-left: 5px;
}

.classy-copyright {
    background-color: #111 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0 !important;
}

.classy-copyright .gold-text {
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif !important;
    opacity: 0.8;
}

/* =================================
   Other Layout Components
   ================================= */
.about-blockquote {
    border-left: 5px solid #2596be !important;
    font-size: 1.75rem;
    font-weight: 300;
    margin: 2rem 0;
    padding-left: 1.5rem;
}

#section-four p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-founders-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.about-image {
    width: 400px;
    height: 400px !important;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-placeholder-container {
    margin: 1rem auto;
    max-width: 400px;
}

.divider-large {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.custom-list {
    margin-left: 1.5rem;
}

.custom-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.15rem;
}

.image-placeholder-container {
    margin: 1rem 0;
}

.caption {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.scrollspy-section {
    padding-top: 2rem;
    margin-bottom: 3rem;
}

/* =================================
   Media Queries
   ================================= */
@media only screen and (max-width: 600px) {
    .company-name {
        font-size: 2em;
        /* Adjusted size for mobile */
        margin-top: 1em;
        /* Adjusted margin for mobile */
    }

    #section-two .info-wrapper {
        flex-direction: column;
        /* Stack image and text vertically */
        text-align: center;
        /* Center text within the wrapper */
        width: 95dvw;
        /* Adjust width for better mobile fit */
    }

    .info-wrapper>img {
        margin-right: 0;
        /* Remove right margin when stacked */
        margin-bottom: 1em;
        /* Add space between image and text */
        max-width: 150px;
        /* Make image smaller on mobile */
        width: 50%;
        /* Make image smaller on mobile */
    }

    .info-wrapper .info-text {
        align-items: center;
        /* Center flex items (h4, p, btn) horizontally */
        width: auto;
        /* Allow text to take necessary width */
    }

    .info-wrapper .info-text>h4 {
        font-size: 1.2em;
        /* Smaller font size for headings */
    }

    .text_section-two p {
        /* Assuming there might be p tags directly under text_section-two */
        font-size: 0.9em;
        /* Smaller font size for paragraphs */
    }

    .info-wrapper .btn {
        width: 80%;
        /* Adjust button width for mobile */
        max-width: 180px;
        /* Constrain button width */
    }

    .landing-logo {
        margin-bottom: 95% !important;
    }

    .landing-nav {
        visibility: visible;
    }
}

@media only screen and (min-width: 601px) {
    nav {
        height: 84px !important;
    }
}

/* =================================
   Lenis Smooth Scroll
   ================================= */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

.testim {
    width: 100%;
    position: relative;
    padding: 2em 0;
}

.testim .wrap {
    position: relative;
    width: 100%;
    max-width: 1020px;
    padding: 40px 20px;
    margin: auto;
}

.testim .arrow {
    display: block;
    position: absolute;
    color: #eee;
    cursor: pointer;
    font-size: 2em;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    padding: 5px;
    z-index: 22222222;
}

.testim .arrow:before {
    cursor: pointer;
}

.testim .arrow:hover {
    color: #2596be;
}


.testim .arrow.left {
    left: 10px;
}

.testim .arrow.right {
    right: 10px;
}

.testim .dots {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 60px;
    left: 0;
    display: block;
    z-index: 3333;
    height: 12px;
}

.testim .dots .dot {
    list-style-type: none;
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #eee;
    margin: 0 10px;
    cursor: pointer;
    -webkit-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    position: relative;
}

.testim .dots .dot.active,
.testim .dots .dot:hover {
    background: #2596be;
    border-color: #2596be;
}

.testim .dots .dot.active {
    -webkit-animation: testim-scale .5s ease-in-out forwards;
    -moz-animation: testim-scale .5s ease-in-out forwards;
    -ms-animation: testim-scale .5s ease-in-out forwards;
    -o-animation: testim-scale .5s ease-in-out forwards;
    animation: testim-scale .5s ease-in-out forwards;
}

.testim .cont {
    position: relative;
    overflow: hidden;
}

.testim .cont>div {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 0 70px 0;
    opacity: 0;
}

.testim .cont>div.inactive {
    opacity: 1;
}


.testim .cont>div.active {
    position: relative;
    opacity: 1;
}


.testim .cont div .img img {
    display: block;
    width: 100px;
    height: 100px;
    margin: auto;
    border-radius: 50%;
}

.testim .cont div h2 {
    color: #2596be;
    font-size: 1em;
    margin: 15px 0;
}

.testim .cont div p {
    font-size: 1.15em;
    color: #eee;
    width: 80%;
    margin: auto;
}

.testim .cont div.active .img img {
    -webkit-animation: testim-show .5s ease-in-out forwards;
    -moz-animation: testim-show .5s ease-in-out forwards;
    -ms-animation: testim-show .5s ease-in-out forwards;
    -o-animation: testim-show .5s ease-in-out forwards;
    animation: testim-show .5s ease-in-out forwards;
}

.testim .cont div.active h2 {
    -webkit-animation: testim-content-in .4s ease-in-out forwards;
    -moz-animation: testim-content-in .4s ease-in-out forwards;
    -ms-animation: testim-content-in .4s ease-in-out forwards;
    -o-animation: testim-content-in .4s ease-in-out forwards;
    animation: testim-content-in .4s ease-in-out forwards;
}

.testim .cont div.active p {
    -webkit-animation: testim-content-in .5s ease-in-out forwards;
    -moz-animation: testim-content-in .5s ease-in-out forwards;
    -ms-animation: testim-content-in .5s ease-in-out forwards;
    -o-animation: testim-content-in .5s ease-in-out forwards;
    animation: testim-content-in .5s ease-in-out forwards;
}

.testim .cont div.inactive .img img {
    -webkit-animation: testim-hide .5s ease-in-out forwards;
    -moz-animation: testim-hide .5s ease-in-out forwards;
    -ms-animation: testim-hide .5s ease-in-out forwards;
    -o-animation: testim-hide .5s ease-in-out forwards;
    animation: testim-hide .5s ease-in-out forwards;
}

.testim .cont div.inactive h2 {
    -webkit-animation: testim-content-out .4s ease-in-out forwards;
    -moz-animation: testim-content-out .4s ease-in-out forwards;
    -ms-animation: testim-content-out .4s ease-in-out forwards;
    -o-animation: testim-content-out .4s ease-in-out forwards;
    animation: testim-content-out .4s ease-in-out forwards;
}

.testim .cont div.inactive p {
    -webkit-animation: testim-content-out .5s ease-in-out forwards;
    -moz-animation: testim-content-out .5s ease-in-out forwards;
    -ms-animation: testim-content-out .5s ease-in-out forwards;
    -o-animation: testim-content-out .5s ease-in-out forwards;
    animation: testim-content-out .5s ease-in-out forwards;
}

@-webkit-keyframes testim-scale {
    0% {
        -webkit-box-shadow: 0px 0px 0px 0px #eee;
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        -webkit-box-shadow: 0px 0px 10px 5px #eee;
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        -webkit-box-shadow: 0px 0px 10px 5px #2596be;
        box-shadow: 0px 0px 10px 5px #2596be;
    }

    100% {
        -webkit-box-shadow: 0px 0px 0px 0px #2596be;
        box-shadow: 0px 0px 0px 0px #2596be;
    }
}

@-moz-keyframes testim-scale {
    0% {
        -moz-box-shadow: 0px 0px 0px 0px #eee;
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        -moz-box-shadow: 0px 0px 10px 5px #eee;
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        -moz-box-shadow: 0px 0px 10px 5px #2596be;
        box-shadow: 0px 0px 10px 5px #2596be;
    }

    100% {
        -moz-box-shadow: 0px 0px 0px 0px #2596be;
        box-shadow: 0px 0px 0px 0px #2596be;
    }
}

@-ms-keyframes testim-scale {
    0% {
        -ms-box-shadow: 0px 0px 0px 0px #eee;
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        -ms-box-shadow: 0px 0px 10px 5px #eee;
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        -ms-box-shadow: 0px 0px 10px 5px #2596be;
        box-shadow: 0px 0px 10px 5px #2596be;
    }

    100% {
        -ms-box-shadow: 0px 0px 0px 0px #2596be;
        box-shadow: 0px 0px 0px 0px #2596be;
    }
}

@-o-keyframes testim-scale {
    0% {
        -o-box-shadow: 0px 0px 0px 0px #eee;
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        -o-box-shadow: 0px 0px 10px 5px #eee;
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        -o-box-shadow: 0px 0px 10px 5px #2596be;
        box-shadow: 0px 0px 10px 5px #2596be;
    }

    100% {
        -o-box-shadow: 0px 0px 0px 0px #2596be;
        box-shadow: 0px 0px 0px 0px #2596be;
    }
}

@keyframes testim-scale {
    0% {
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        box-shadow: 0px 0px 10px 5px #2596be;
    }

    100% {
        box-shadow: 0px 0px 0px 0px #2596be;
    }
}

@-webkit-keyframes testim-content-in {
    from {
        opacity: 0;
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-moz-keyframes testim-content-in {
    from {
        opacity: 0;
        -moz-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
}

@-ms-keyframes testim-content-in {
    from {
        opacity: 0;
        -ms-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

@-o-keyframes testim-content-in {
    from {
        opacity: 0;
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes testim-content-in {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes testim-content-out {
    from {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    to {
        opacity: 0;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@-moz-keyframes testim-content-out {
    from {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }

    to {
        opacity: 0;
        -moz-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@-ms-keyframes testim-content-out {
    from {
        opacity: 1;
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    to {
        opacity: 0;
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@-o-keyframes testim-content-out {
    from {
        opacity: 1;
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@keyframes testim-content-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@-webkit-keyframes testim-show {
    from {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    to {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes testim-show {
    from {
        opacity: 0;
        -moz-transform: scale(0);
        transform: scale(0);
    }

    to {
        opacity: 1;
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

@-ms-keyframes testim-show {
    from {
        opacity: 0;
        -ms-transform: scale(0);
        transform: scale(0);
    }

    to {
        opacity: 1;
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@-o-keyframes testim-show {
    from {
        opacity: 0;
        -o-transform: scale(0);
        transform: scale(0);
    }

    to {
        opacity: 1;
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes testim-show {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@-webkit-keyframes testim-hide {
    from {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    to {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}

@-moz-keyframes testim-hide {
    from {
        opacity: 1;
        -moz-transform: scale(1);
        transform: scale(1);
    }

    to {
        opacity: 0;
        -moz-transform: scale(0);
        transform: scale(0);
    }
}

@-ms-keyframes testim-hide {
    from {
        opacity: 1;
        -ms-transform: scale(1);
        transform: scale(1);
    }

    to {
        opacity: 0;
        -ms-transform: scale(0);
        transform: scale(0);
    }
}

@-o-keyframes testim-hide {
    from {
        opacity: 1;
        -o-transform: scale(1);
        transform: scale(1);
    }

    to {
        opacity: 0;
        -o-transform: scale(0);
        transform: scale(0);
    }
}

@keyframes testim-hide {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0);
    }
}

@media all and (max-width: 300px) {
    body {
        font-size: 14px;
    }
}

@media all and (max-width: 500px) {
    .testim .arrow {
        font-size: 1.5em;
    }

    .testim .cont div p {
        line-height: 25px;
    }

}

/* =================================
   Preloader
   ================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #1a1a1a;
    /* Dark background to contrast SVGs */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out, visibility 1s;
}

#preloader .landing-logo {
    margin: 0;
    margin-top: 0;
    /* Resetting all previous margins */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* Header social icon */
.nav-social-link i {
    font-size: 1.25rem;
    vertical-align: middle;
    transition: color 0.3s;
}

.nav-social-link:hover i {
    color: #daa520;
}
