﻿.carouselImages {
    width: 100%;
}

.indexGrid {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    margin: 7%;
    width: 86%;
    height: 86%;
}

.indexGrid2 {
    display: grid;
    grid-template-columns: repeat(27, 1fr);
    grid-template-rows: repeat(7, 1fr);
    background-color: #ede9d8;
    width: 100%;
    height: 86%;
    gap: 10px;
}

.indexGrid3 {
    display: grid;
    grid-template-columns: repeat(19, 1fr);
    grid-template-rows: repeat(13, 1fr);
    width: 100%;
    height: 86%;
    gap: 10px;
}

.imgContainer {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.gridItem1 {
    grid-column: 2 / 10;
}

.startImage {
    object-fit:contain;
    width:100%;
    height:100%
}

.textGrid {
    max-width: 22vw;
    margin-top: 5%;
    grid-column: 13 / 19;
}

.learnMoreButton {
    display:flex;
    justify-content:right;
    margin-top: 15%;
}

.tBox {
    background: #fefbed;
    border: #fefbed;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

    .tBox:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    }

        .tBox:hover .boxIcons {
            transform: scale(1.05);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
        }

.box-1 {
    grid-column: 3 / 8;
    grid-row: 2 / 7;
}

.box-2 {
    grid-column: 9 / 14;
    grid-row: 2 / 7;
}

.box-3 {
    grid-column: 15 / 20;
    grid-row: 2 / 7;
}

.box-4 {
    grid-column: 21 / 26;
    grid-row: 2 / 7;
}

.tBoxTextTitle {
    font-size: 1.5rem;
    padding: 3px 20px 5px 20px;
    margin-top: 15px;
    font-weight: bold;
}

.tBoxTextDesc {
    font-size: 1em;
    padding: 3px 20px 10px 20px;
    justify-content: left;
}

.animateIn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.onSeen {
    opacity: 1;
    transform: translateZ(0);
    transform: translateY(-30px);
    transform: translateZ(0);
}

.animTyping {
    opacity: 1;
}

.typing-active {
    animation: blink 0.7s step-end infinite;
}

.titleText {
    font-size: 2.5rem;
    font-weight:bold;
}

.descText {
    font-size: 1.5rem;
}

.boxIcons {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-out;
    margin: 15px 20px 0 20px
}

.indexGrid3TextBox {
    grid-column: 4 / 17;
    grid-row: 3 / 6;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.indexGrid3LeftBox {
    grid-column: 4 / 10;
    grid-row: 7 / 12;
}

.indexGrid3RightBox {
    grid-column: 11 / 17;
    grid-row: 7 / 12;
}

.indexGrid3LeftBox, .indexGrid3RightBox {
    background: #fefbed;
    border: #fefbed;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    position: relative;
}
    .indexGrid3LeftBox i, .indexGrid3RightBox i {
        font-size: 1.1rem;
        line-height: 1.6;
        display: block;
        margin-bottom: 20px;
        font-style: italic; 
    }

    .indexGrid3LeftBox b, .indexGrid3RightBox b {
        font-size: 1.2rem;
        color: #d66d75;
        display: block;
    }

    .indexGrid3LeftBox div, .indexGrid3RightBox div {
        font-size: 0.9rem;
        color: #888;
        /*text-transform: uppercase;*/
        letter-spacing: 1px;
    }

    /*.indexGrid3LeftBox::before, .indexGrid3RightBox::before {
        content: "\201D";
        font-size: 80px;
        color: cornflowerblue;
        position: absolute;
        bottom: -20px;
        right: 10px;
        font-family: serif;
        line-height: 1;
    } */

.quote-mark {
    font-size: 80px;
    color: cornflowerblue;
    font-family: serif;
    line-height: 1;
    vertical-align: middle;
    margin-right: 5px;
}

.WhyChooseUsGrid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(11, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    background: #fefaed;
    min-height: 500px;
    width: 100%
}

.WhyUsBox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.WhyUsTextBox {
    border: #ede9d8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    z-index: 100;
    grid-area: 6 / 4 / 7 / 6;
    background: #ede9d8;
}

.WhyUsTopTextBox {
    background: #89CFF0;
    grid-area: 2 / 4 / 5 / 6;
}

.WhyUsLeftTextBox {
    background: #89CFF0;
    grid-area: 8 / 2 / 11 / 4;
}

.WhyUsRightTextBox {
    background: #89CFF0;
    grid-area: 8 / 6 / 11 / 8;
}

.fourthGrid {
    display: grid;
    grid-template-columns: repeat(21, 1fr);
    grid-template-rows: repeat(12, 1fr);
    background: #fefaed;
}

.card-background {
    grid-column: 2 / 21;
    grid-row: 3 / 11;
    min-height: 400px;
    background-color: #2D3336;
    border-radius: 40px;
    background-image: radial-gradient(circle at 0% 0%, rgba(179, 70, 140, 0.5) 0%, transparent 40%), radial-gradient(circle at 100% 100%, rgba(255, 100, 100, 0.5) 0%, transparent 40%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

    .card-background div {
        color: white
    }

.connectButton {
    margin-top: 20px;
    background-color: #ba66a0;
    border-color: #ba66a0;
    transition: transform 0.2s linear
}

    .connectButton:hover {
        background-color: #de78be;
        border-color: #de78be;
    }

    .connectButton:active {
        background-color: #ba66a0;
        border-color: #ba66a0 ;
        transform: scale(0.98);
        box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.5) !important;
    }

        .connectButton:active:focus {
            background-color: #ba66a0;
            border-color: #ba66a0;
            outline: none !important;
            box-shadow: none !important;
            background-color: #ba66a0;
        }

line {
    stroke: #ccc; 
    stroke-linecap: round;
    transition: stroke 0.6s ease, stroke-width 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
    opacity: 0.8;
    stroke-width: 8;
    animation: pulse 3s infinite ease-in-out;
}

.line-active {
    stroke: #ccc;
    stroke-width: 17 !important;
    opacity: 1;
    animation: none;
}

.cursorHover {
    transition: color 0.3s ease;
    cursor: pointer
}

    .cursorHover:hover {
        color: #00bfff
    }

@media (min-width: 768px) {
    .tBox { /* the 4 boxes */
        min-height: 400px; 
    }
    .titleText {
        font-size: 1.5rem;
    }
    .descText {
        font-size: 1rem;
    }
}