/* SELECTED PAGE INDEX*/

.header-middle li:nth-child(1) a::after {
    width: 110%; /* selected page highlighted underline */
}

.header-middle li:nth-child(1) a {
    color: #6164b8; /* selected page highlighted color */
}

/* ---------------- */

.intro { 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    align-items: center; /* Centers items horizontally */ 
    justify-content: center; /* Centers items vertically */ 
    text-align: center; /* Justifies the text */ 
    width: 100vw; 
    background: #25324d; 
    margin: 0 auto; /* Centers the div horizontally */ 
    margin-top: 0px; 
    font-family: "Roboto-Slab", Helvetica, Arial, Verdana, sans-serif; 
    font-weight: 100; 
    height: calc(100vh - 100px); /* Ensures full viewport height minus 100px */ 
    
}


.intro_bg_img {
    width: 100%;
    height: 100%;
    
}


.intro img { 
    max-width: 100%; /* Ensures the image doesn't overflow */ 
    height: 100%;
    opacity: 0.3
}


.intro_fg_text { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    display: flex; 
    width: 80%; 
    transform: translate(-50%, -50%); 
    font-size: 3rem; 
    color: #fff; 
    font-weight: bold; 
    text-shadow: 0 1px 4px #000; 
    justify-content: center; /* Centers text horizontally within the box */
    align-items: center; /* Centers text vertically within the box */
}



.owner { 
    position: relative; 
    display: flex; 
    width: 100%; 
    height: 66vh; /* Ensure it covers the full height */ 
    background-image: url('../static/images/teleimage.png'); /* Set your background image */ 
    background-size: cover; /* Cover the entire section */ 
    background-position: center; /* Center the background image */ 
    background-color: rgba(255, 255, 255, 0.95);
    
}

.owner_image_container { 
    width: 33%; /* Adjust as needed */ 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 20px; /* Optional: adds some space around the image */ 
    
} 
    
.owner_img { 
    max-width: 100%; /* Ensures the image fits within the container */
    border-radius: 25px 7px; 
    border: 2px solid #fff; 
    height: auto; /* Keeps aspect ratio intact */
    width: 50%; /* Sets the width while preserving aspect ratio */
}


.owner_text_container { 
    width: 67%; /* Remaining space for text */ 
    padding: 20px; /* Adjust padding as needed */ 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: rgba(255, 255, 255, 0.9); /* Optional: adds a semi-transparent background for better text readability */ 
    
} 

.owner_fg_text { 
    color: #999; 
    font-family: "Roboto-Slab", Helvetica, Arial, Verdana, sans-serif; 
    text-align: left;
    font-size: 1.0rem;
}




.q {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    align-items: center;
    margin: 8px 0 16px 0;
}

.calc {
    display: flex;
    flex-flow: column nowrap;
    background: #25324d;
    border-radius: 20px 7px;
    padding: 16px;
    text-align: center;
}

.section{height: auto !important};

.calctitle {
    display: flex;
    width: 80%;
    text-align: center;
    margin-bottom: 8px;
}

.input {
    display: flex;
    width: 40%;
    min-width: 140px;
    height: 16px;
    padding: 8px;
    margin: auto;
    border-radius: 7px;
    border: 0;
    text-align: center;
    margin: 0.5px;
}

#avg {border-radius: 7px 7px 0 0 !important;}
#xbuyi {border-radius: 0 0 7px 7px !important;}

.owner_fg_text p {
    margin: 0;
    text-align: center;
    width: 100%; /* Ensure paragraph takes full width */
}

/* 5 columns */

/*main {overflow: hidden;}*/

.five_column_container_main { 
    display: flex; 
    margin: 0 auto; 
    justify-content: center; 
    
} 
.five_column_container { 
    display: grid; 
    align-items: flex-end; 
    grid-template-columns: repeat(4, 1fr); /* Set exact number of columns */ 
    gap: 32px; 
    margin: 32px; 
    margin-top: 30px; 
    
} 
.five_column { 
    display: flex; 
    flex-direction: column; 
    align-items: center; /* Center content horizontally */ 
    justify-content: center; /* Center content vertically */ 
    backdrop-filter: blur(10px); 
    background-color: rgba(255, 255, 255, 0.15); 
    padding: 20px; 
    border: 2px solid #fff; 
    border-radius: 25px 7px; 
    min-height: 540px;
}





.lastcol {margin-top: 37.5%;}

.calcbutton {
    display: flex;
    border-radius: 25px 7px;
    border: 0;
    padding: 8px 18px 8px 18px;
    margin: auto;
    bottom: 0;
    background: #92bdc4;
    color: white;
    border: 2px solid white;
   transition: color 0.2s ease;
}


.quiz {
    border-radius: 25px 7px;
    background-color: #25324d;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 1.0rem;
    padding: 20px;
    width: 200px;
    transition: all 0.5s;
    cursor: pointer;
}

.quiz:hover {
    background: white;
    color: #25324d;
}

.label1 {padding: 8px;}
.label2 {padding: 8px;}

.top {   
    font-size: 1.0rem; 
    color: #ccc;
}



/*@media(max-width: 600px) {
    .five_column_container {
        min-width: 50vw;
        margin: 0 auto;
    }

    .five_column {
        min-width: 60%;
        margin: auto;
    }
}*/

.col_title {
    display: flex;
    color: white;
    font-size: 1.0rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.five_column > p {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-size: 1.0rem;
}










/*  testimonial fade in out */

.testimonial-slider {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    border: 0px solid #9d9d9d;
    border-radius: 0px;
    background-color: rgba(190,210,210,0.2);
}

.testimonial-slider ul.slider {
    display: flex;
    list-style: none;
    padding: 0;
    position: relative;
    width: 100%;
    min-height: 300px;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
}

.testimonial-slider ul.slider li {
    position: absolute;
    display: block;
    width: 90%;
    opacity: 0;
    margin: 0 auto;
}

.testimonial-slider ul.slider li:nth-child(1) {
    opacity: 1;

    -webkit-animation: fade-animation-1 40s infinite;
            animation: fade-animation-1 40s infinite;
}
.testimonial-slider ul.slider li:nth-child(2) {
    -webkit-animation: fade-animation-2 40s infinite;
            animation: fade-animation-2 40s infinite;
}
.testimonial-slider ul.slider li:nth-child(3) {
    -webkit-animation: fade-animation-3 40s infinite;
            animation: fade-animation-3 40s infinite;
}
.testimonial-slider ul.slider li:nth-child(4) {
    -webkit-animation: fade-animation-4 40s infinite;
            animation: fade-animation-4 40s infinite;
}

.testimonial-slider q {
    display: inline-block;
    font-family: "Ink Free", Helvetica, Arial, Verdana, sans-serif;
    font-size: 1.0rem;
    line-height: 1.2em;
    letter-spacing: -0.5pt;
    text-shadow: 0 5px 10px rgba(0,0,0,0.3);
    max-width: 80%;
    color: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin 0 auto;
    margin-right: 20px;
    margin-left: 20px;
}

.left-quote, .right-quote {
    display: flex;
    position: absolute;
    font-family: "Raleway", Helvetica, Arial, Verdana, sans-serif;
    font-size: 150px;
    text-shadow: 0 5px 10px rgba(0,0,0,0.5);
    color: #fff;
}

.left-quote {
    left: 0;
    margin-top: -50px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.right-quote {
    right: 0;
    margin-top: -110px;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
}

.testimonial-slider .source {
    margin-top: 25px;
    color: #888;
    font-family: "Raleway", Helvetica, Arial, Verdana, sans-serif;
    font-family: "Roboto-Slab", Helvetica, Arial, Verdana, sans-serif;
    font-style: italic;
    font-size: 1.0rem;
    line-height: 1.3em;
    z-index: -10;
    text-align: center;
    margin-bottom: 0px
}

/* KEYFRAME DECLARATIONS */
@keyframes fade-animation-1 {
    0%, 25%, 100% {
        opacity:0
    }
    3%, 22% {
        opacity: 1;
    }
}

@keyframes fade-animation-2 {
    0%, 25%, 50%, 100% {
        opacity:0
    }
    28%, 47% {
        opacity: 1;
    }
}

@keyframes fade-animation-3 {
    0%, 50%, 75%, 100% {
        opacity:0
    }
    53%, 72% {
        opacity: 1;
    }
}

@keyframes fade-animation-4 {
    0%, 75%, 100% {
        opacity:0
    }
    78%, 97% {
        opacity: 1;
    }
}

@-webkit-keyframes fade-animation-1 {
    0%, 25%, 100% {
        opacity:0
    }
    3%, 22% {
        opacity: 1;
    }
}

@-webkit-keyframes fade-animation-2 {
    0%, 25%, 50%, 100% {
        opacity:0
    }
    28%, 47% {
        opacity: 1;
    }
}

@-webkit-keyframes fade-animation-3 {
    0%, 50%, 75%, 100% {
        opacity:0
    }
    53%, 72% {
        opacity: 1;
    }
}

@-webkit-keyframes fade-animation-4 {
    0%, 75%, 100% {
        opacity:0
    }
    78%, 97% {
        opacity: 1;
    }
}





.highlight {
    color: #92BDC4;
    font-weight: bold;
    font-size: 1.0rem;
}

.wavy-dividera {
    display: flex;
    margin: 0;

    padding: 0;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
   /* transform: rotate(180deg); */
}


.wavy-dividerb {
    display: flex;
    margin: 0;
    padding: 0;
}


.wavy-divider1 {
    display: flex;
    margin: 0;

    padding: 0;
   /* -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    transform: rotate(180deg); */
}


.wavy-divider2 {
    display: flex;
    margin: 0;
    padding: 0;
}

.wavy-divider3 {
    margin: 0;
    padding: 0;

}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
    overflow: hidden;
    padding: 60px 0;
    background: rgba(255, 255, 255, );
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--bg-color1));
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--bg-color1));
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    will-change: animation, animation-play-state;
    display: inline-block;
    animation: 35s slide infinite linear;
}

.logos-slide img {
    height: 40px;
    margin: 0 40px;
}


@media (max-width: 1000px) { 
    .five_column_container { 
        grid-template-columns: 1fr; /* Single column on smaller screens */ 
    } 
    
}


@media (max-width: 860px) {
    .left-quote, .right-quote {
        display: flex;
        position: absolute;
        font-family: "Raleway", Helvetica, Arial, Verdana, sans-serif;
        font-size: 50px;
        line-height: 1.0em;
        color: #fff;
    }

    .left-quote {
        left: 0;
        margin-top: -50px;
        margin-left: 20px;
    }

    .right-quote {
        right: 0;
        margin-top: -80px;
        margin-right: 10px;
    }

 

    .intro_fg_text {
        font-size: 1.4rem;
    }

    
    .five_column_container { 
        grid-template-columns: 1fr; /* Change to single column */ 
        align-content: center; 
        width: 100%; 
        padding: 0 15%; 
        
    }
    
    .five_column {
        min-height: 240px;
    }

    .intro { 
        width: 100vw;
        height: calc(50vh - 100px); 
    }
    
    .owner { 
        height: 33vh; /* Ensure it covers the full height */ 
}
    
    .owner_fg_text {
        font-family: "Roboto-Slab", Helvetica, Arial, Verdana, sans-serif;
        font-size: 0.8rem;
    }
    
    .owner_img { 
        
        height: auto; /* Keeps aspect ratio intact */
        width: 110%; /* Sets the width while preserving aspect ratio */
    }
}