@import url("../../css/new_frontend/fonts/font.css");
:root{
	--primary-color:#020659;
	--grey-color:#87889C;
    --primary-light-color:#B0C9D9;
    --light-grey-color:#f3f3f3;
    --font-color: #020659
}

.min-width{
    width: min-content;
}
.fit-width{
    width: fit-content;
}
.sub-button{
    border-radius: 100px !important;
}
.sub-button-pad {
    padding: .5em 5em !important;
}

.banner{
    margin-top: 10em;
}

.width-avaliable {
    width: -webkit-fill-available;
}

.minus-10em{
    margin-top: -10em !important;
}
.minus-5em{
    margin-top: -5em !important;
}
.minus-3em{
    margin-top: -3em !important;
}

.nav-link {
    padding: .5rem .5rem !important;
}

.justify-self-right{
    justify-self: right;
}
.justify-self-center{
    justify-self: center;
}
.justify-item-center{
    justify-items: center;
}
.justify-content-between{
    justify-content: space-between;
}
.justify-content-center{
    justify-content: center;
}
.text-align-center{
    text-align: center;
}
.text-force-align-center{
    text-align: -webkit-center;
}
.place-self-center{
    place-self: center;
}
.justify-self-end {
    justify-self: end;
}
.btn{
    border-radius: 25px;
    padding: 8px 24px;
}

.text-primary{color: var(--primary-color) !important;}
.text-light-primary{color: var(--primary-light-color) !important;}
.text-grey, .nav-link{color: var(--grey-color) !important;}
.nav-link:hover{color: var(--primary-color) !important;}
.bg-primary, .btn-primary{background-color: var(--primary-color) !important; border-color: var(--primary-color) !important;}
.btn-grey, .bg-grey{background-color: var(--light-grey-color) !important;}
.btn-secondary{color: var(--primary-color) !important;background-color: #FFFFFF !important;}
.container-radius{
    border-radius: 10px;
    border: 1px solid #D4D5E3;
}
.main-container{
    padding: 4% 5%;
}
.child-container{
    padding: 4% 5%;
    border: 1px solid #D4D5E3;
    background-color: #FFFFFF;
}


h1{
    font-size: xxx-large;
    font-weight: bold;
    color: var(--font-color) !important;
}

h2{
    font-size: xx-large;
    font-weight: bold;
    color: var(--font-color) !important;
}
h3{
    color: var(--font-color) !important;
}
h5{
    color: var(--font-color) !important;
}


.brands::before, .brands::after {
    content: "";
    display: block;
    height: 1px;
    background-color: rgba(2, 6, 89, 0.10);
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
  }

.brand-container{
    width: -webkit-fill-available !important;
    display: flex;
    border: 1px solid rgba(2, 6, 89, 0.10);
    justify-content: space-around;
    border-radius: 25px;
    padding: .4em;
    margin: 0 1em;
}

.brand-container-logo{
    width: 50%;
    object-fit: contain;
    aspect-ratio: 3 / 2;
    align-content: center;
}

.brand-container-name{
    font-weight: bold;
}

canvas {
    display: block; /* Ensure it's visible */
    width: 100% !important; /* Prevent sudden resizing */
    height: 125px !important; /* Prevent sudden resizing */
}


.name-container{
    width: fit-content;
    border: 1px solid rgba(2, 6, 89, 0.10);
    border-radius: 25px;
    padding: 8px 25px;
    margin: auto;
}

.solution-padding{
    padding: 7% 25%;
}

.first-ring{
    border-radius: 100px;
    border: 20px solid #EDEEF3;
    padding: 30px;
}
.third-ring{
    background-color: #EDEEF3;
    border-radius: 100px;
    padding: 20px;
}
.second-ring{
    background-color: var(--primary-color);
    border-radius: 100px;
    padding: 20px;
}
.secondary-container{
    background-color: var(--primary-color);

}

.main-container-title{
    position: relative;
    display: inline-block;
    padding: 0 15px; /* Space for the line */
}
.main-container-title::before{
    content: "";
    position: absolute;
    left: 0; /* Position the line on the left side */
    top: 0;
    bottom: 0;
    width: 3px; /* Line width */
    background-color: black; /* Line color */
    border-radius: 0px 10px 10px 0px;
}

.business-card:hover{
    background-color: var(--primary-color) !important;
}
.business-card > .hover-business-card{
    display: none !important;
}
.business-card:hover > .hover-business-card, .business-card:hover > .hover-business-card h3{
    display: block !important;
    color: #FFFFFF !important;
}
.business-card:hover > .main-business-card{
    display: none !important;
}
.hover-business-card {
    padding: 3em 2em 1em 2em;
}
.hover-business-card-info {
    border: 1px solid #EDEEF3;
    border-radius: 10px;
}
.owl-dots {
    text-align: center;
    margin-top: 15px;
}

.owl-dot {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: #ccc !important; /* Default color */
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s ease;
}

.owl-dot.active {
    background: #ff5722; /* Active dot color */
    transform: scale(1.2); /* Slightly enlarge active dot */
}


.img-card img{
    aspect-ratio: 3 / 2;
    object-fit: contain;
    width: 60%;
    margin: 4rem;
}
.img-card{
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(2, 6, 89, 0.08) 0%, rgba(2, 6, 89, 0.02) 100%);
}
.img-card-icon{
    padding: 10px;
    border-radius: 12px;
    background: #EBEBF1;
}
.tools-card-icon {
    display: inline-grid;
    margin: 5px;
    border-radius: 6px;
    background: #EBEBF1;
    padding: 4px;
    place-self: center;
}
.bottom-border{
    border-bottom: 1px solid #D4D5E3;
}

.sub-card:hover, .sub-card:hover h3 {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
}
.sub-card:hover a  {
    background-color: #FFFFFF !important;
    color: var(--primary-color) !important;
}

.faq-img-1{
    width: 190%;
}
.faq-img-2{
    width: 150%;
    margin-top: 10em;
}
.faq-card img{
    object-fit: contain;
    width: 100%;
}

.footer-icon{
    border-radius: 40px;
    height: 2em;
    width: 2em;
    padding: 2px;
    background: #F9FEFE;
    box-shadow: 0px 1px 15px 0px rgba(53, 53, 53, 0.16);
    text-align: -webkit-center;
    margin: 5px;
    align-content: center;
}

.footer-img{
    text-align: center;
}
.footer-img img{
width: 200px;
}

.grid-container{
    display: flex;
    flex-flow: wrap;
    align-items: flex-start;
}
.child2 {
    flex-grow: 1;
    flex-basis: 100px;
    margin: 10px; 
  }
.child {
    flex-grow: 1;
    flex-basis: 200px;
    margin: 10px; 
    height: auto;
}

.growth-heading
{
    margin: 3rem !important;
}


@media (max-width: 992px) {  /* Small Tablets & Large Phones */
    h1 {
        font-size: 30px !important;
    }
    .growth-heading
    {
        margin: 1rem !important;
    }
    .storesImg {
        width: 100px !important;
    }
    .storesLink{
        justify-self: center !important;
        padding: .5em;
    }
    .media-icons{
        justify-self: center;
    }

}

@media (max-width: 768px) {  /* Small Tablets & Large Phones */
    h1 {
        font-size: 30px !important;
    }
    .sub-content-center{
        place-self: center;
    }
}

@media (max-width: 576px) {  /* Mobile Phones */
    h1 {
        font-size: 30px !important;
    }
    .sub-button-pad{
        padding: 8px 20px  !important
    }
    .sub-button-annual {
        padding: 8px 20px !important
    }
    .font-parent-fix{
        font-size: 10px;
    }
    .font-child-fix{
        font-size: 8px;
    }
    .img-parent-fix
    {
        width: 150px;
    }
    .tools-card-icon{
        margin: 0px;
    }
    #navbarNav > .nav-link {
        font-size: 10px;
    } 
    .img-card img{
        width: 50%;
    }
}

.priceToggle {position: relative;box-sizing: border-box;}
.priceToggle input[type=checkbox] {position: absolute;left: 0;top: 0;z-index: 10;width: 100%;height:100%;cursor:pointer;opacity: 0;}
.priceToggle label {position: relative;display: flex;align-items: center;box-sizing: border-box;}
.priceToggle input[type=checkbox]:checked+label:before {background: #ffffff;}
.priceToggle label:before {content: "";width: 64px; height: 32px;position: relative;display: inline-block;            background: #fff;border-radius: 46px;border: 3px solid #021859;box-sizing: border-box;transition: 0.2s ease-in;}
.priceToggle input[type=checkbox]:checked+label:after {left: 38px;background: #021859;}
.priceToggle label:after {content: "";position: absolute;width: 18px;height: 18px;border-radius: 50%;left:10px;top: 7px;z-index: 2;background: #021859;box-sizing: border-box;transition: 0.2s ease-in;}
.priceToggle {display: flex;align-items: center;justify-content: center;gap: 1rem;}
.priceToggle span {display: block;}

#plans div.fca-ept-layout5 {margin: 0 !important;max-width: unset !important;padding: 0 !important;}
div.fca-ept-layout5 {font-size: 16px;font-family: inherit;margin: 50px auto;display: flex;padding-right: 10px;line-height: 1.5;}
#plans div.fca-ept-layout5 div.fca-ept-column {flex: 0 0 220px !important;}
#plans div.fca-ept-layout5 div.fca-ept-column {--tw-border-opacity: 1 !important;background-color: transparent !important;border-style: none !important;border-right: 1px solid #eee !important;margin: 8px 0 0 !important;padding-top: 0;z-index: 10;}
div.fca-ept-layout5 div.fca-ept-column {border: 1px solid #e9e9e9;font-family: inherit;flex-grow: 1;flex-shrink: 1;flex-basis: 0%;z-index: 0;position: relative;display: grid;grid-template-rows: auto auto auto 1fr;padding-top: 10px;}
#plans .fca-ept-layout5 .fca-ept-comparison-div .fca-ept-comparison {background-color: transparent !important;}
div.fca-ept-layout5 div.fca-ept-comparison-div ul {font-family: inherit;letter-spacing: inherit;text-align: start;margin: 0;padding-left: 0;font-weight: bolder;background-color: #fff;}
#plans .fca-ept-layout5 .fca-ept-comparison-div .fca-ept-comparison li:first-child {border-top-width: 0 !important;}
div.fca-ept-layout5 div.fca-ept-comparison-div .fca-ept-comparison li {border-top: 1px solid #e9e9e9;border-left: 1px solid #e9e9e9;font-family: inherit;min-height: 60px;box-sizing: border-box;text-align: center;list-style-type: none;padding: 1em;margin: 0;}
#plans div.fca-ept-layout5 div.fca-ept-plan-div {--tw-bg-opacity: 1;background-color: rgb(255 255 255 / var(--tw-bg-opacity));min-height: 150px;position: relative;width: 100%;}
div.fca-ept-layout5 div.fca-ept-plan-div {font-family: inherit;text-align: center;justify-self: center;}
#plans div.fca-ept-layout5 div.fca-ept-plan-div .fca-ept-plan {--tw-text-opacity: 1 !important;background-color: transparent !important;color: rgb(153 153 153 / var(--tw-text-opacity)) !important;display: block;font-family: PingARLT;font-size: 0.875rem !important;font-weight: 500;line-height: 20px !important;margin-top: 0;padding-bottom: 0.5rem;padding-top: 0.5rem;}
div.fca-ept-layout5 div.fca-ept-plan-div .fca-ept-plan {display: inline;vertical-align: top;font-weight: 500;}
#plans div.fca-ept-layout5 div.fca-ept-plan-div:after {--tw-bg-opacity: 1;background-color: rgb(248 248 248 / var(--tw-bg-opacity));bottom: 0;content: "";display: block;height: 24.5px;left: 0;position: absolute;right: 0;width: 100%;content: unset;}
#plans div.fca-ept-layout5 div.fca-ept-column:nth-child(2) a.fca-ept-button {--tw-text-opacity: 1 !important;}
#fca-ept-table-ad1a div.fca-ept-column a.fca-ept-button {background-color: #01a3a4;border-bottom: 4px solid rgb(0, 103, 103);}
#plans div.fca-ept-layout5 a.fca-ept-button {--tw-text-opacity: 1 !important;background-color: transparent !important;border-style: none !important;color: rgb(34 34 34 / var(--tw-text-opacity)) !important;font-family: PingARLT !important;font-size: 1.35rem !important;font-weight: 500;line-height: 32px !important;margin-bottom: 0 !important;    padding-bottom: 0 !important;white-space: nowrap;width: 100% !important;}
div.fca-ept-layout5 a.fca-ept-button {font-family: inherit;padding: 10px;justify-self: center;margin-bottom: 15px;width: 75%;border-radius: 5px;white-space: normal;text-align: center;font-weight: 500;align-self: self-end;text-decoration: none !important;-webkit-appearance: unset;cursor: pointer;}
/* div.fca-ept-layout5 .fca-ept-button,div.fca-ept-layout5 li,div.fca-ept-layout5 span {word-break: break-all;} */
#plans div.fca-ept-layout5 div.fca-ept-price-div {background-color: transparent !important;border-style: none !important;min-height: unset !important;padding-top: 0 !important;}
#plans div.fca-ept-layout5 div.fca-ept-price-div {min-height: 60px;}
div.fca-ept-layout5 div.fca-ept-price-div {font-family: inherit;padding: 0.6em;border-top: 1px solid #e9e9e9;text-align: center;}
#plans div.fca-ept-layout5 div.fca-ept-features-div,#plans div.fca-ept-layout5 div.fca-ept-features-div ul {background-color: transparent !important;}
#plans div.fca-ept-layout5 div.fca-ept-features-div,#plans div.fca-ept-layout5 div.fca-ept-features-div ul {background-color: transparent !important;}
#plans div.fca-ept-layout5 div.fca-ept-features-div,#plans div.fca-ept-layout5 div.fca-ept-features-div ul {background-color: transparent !important;}
div.fca-ept-layout5 div.fca-ept-features-div ul {font-family: inherit;letter-spacing: inherit;text-align: start;margin: 0;padding-left: 0;font-weight: 500;background-color: #fff;}
#plans div.fca-ept-layout5 div.fca-ept-features-div ul li {--tw-text-opacity: 1;align-items: center;color: rgb(68 68 68 / var(--tw-text-opacity));display: flex;font-family: PingARLT !important;font-weight: 500;justify-content: center;line-height: 45px;min-height: 100px;}
div.fca-ept-layout5 div.fca-ept-features-div .fca-ept-features li {font-family: inherit;border-top: 1px solid #e9e9e9;text-align: center;min-height: 60px;box-sizing: border-box;    list-style-type: none;padding: 1em;margin: 0;}
#plans div.fca-ept-layout5 div.fca-ept-features-div ul li span {--tw-text-opacity: 1;color: rgb(0 73 86 / var(--tw-text-opacity));}
div.fca-ept-layout5 div.fca-ept-features-div .fca-ept-features li span:not(div.fca-ept-tooltip-div > span.fca-ept-tooltiptext) {font-size: inherit !important;}
div.fca-ept-layout5 span.fca-ept-mobile-comparison {display: none;}
#plans div.fca-ept-layout5 div.fca-ept-features-div ul li span {--tw-text-opacity: 1;color: rgb(0 73 86 / var(--tw-text-opacity));}
div.fca-ept-layout5 div.fca-ept-features-div .fca-ept-features li span:not(div.fca-ept-tooltip-div > span.fca-ept-tooltiptext) {font-size: inherit !important;}
#plans div.fca-ept-layout5 div.fca-ept-column {flex: 0 0 220px !important;}
#plans div.fca-ept-layout5 div.fca-ept-column {--tw-border-opacity: 1 !important;background-color: transparent !important;border-style: none !important;border-right: 1px solid #eee !important;margin: 8px 0 0 !important;padding-top: 0;z-index: 10;}
div.fca-ept-layout5 div.fca-ept-column {border: 1px solid #e9e9e9;font-family: inherit;flex-grow: 1;flex-shrink: 1;flex-basis: 0%;z-index: 0;position: relative;display: grid;    grid-template-rows: auto auto auto 1fr;padding-top: 10px;}
#plans .fca-ept-plan-image img {margin-top: 1rem;max-width: 110px !important;width: 100%;height: auto;object-fit: contain;object-position: center;}
#plans div.fca-ept-layout5 div.fca-ept-plan-div .fca-ept-plan {--tw-text-opacity: 1 !important;background-color: transparent !important;color: rgb(153 153 153 / var(--tw-text-opacity)) !important;display: block;font-family: PingARLT;font-size: 0.875rem !important;font-weight: 500;line-height: 20px !important;margin-top: 0;padding-bottom: 0.5rem;padding-top: 0.5rem;}
#plans .fca-ept-layout5 .fca-ept-comparison-div .fca-ept-comparison li:nth-child(2) {border-top: none;}
div.fca-ept-layout5 div.fca-ept-comparison-div {display: flex;flex-grow: 1;flex-shrink: 1;flex-basis: 0%;}

@media (max-width: 1312px) {
    #plans .fca-ept-layout5 .fca-ept-comparison-div .fca-ept-comparison li strong {max-width: 900px;}
}
@media (max-width: 1023px) {
    #plans .fca-ept-plan-image img { max-width: 50px !important;}
    #plans div.fca-ept-layout5 a.fca-ept-button {font-size: 1.2rem !important;line-height: 30px !important;}
    #plans div.fca-ept-layout5 div.fca-ept-column {flex: 0 0 150px !important;}
}
@media screen and (max-width: 992px){
  .icon-one:before, .icon-two:before, .icon-two:after, .icon-three:after, .icon-three:before, .icon-clm:before{content: none;}
  .loop{display: none;}
  /* section.banner {background-size: cover;} */
  #plans div.fca-ept-layout5 div.fca-ept-plan-div {min-height: 180px;}
  #plans div.fca-ept-layout5 div.fca-ept-plan-div:after {height: 24px;}
  /* img.moving{max-width: 650px;} */
  img.moving{width: 84%;}
  /* curveness css */
    /* img.shapeBanner {top: 66px;}*/
    h1.bannerText{font-size: 46px !important;}
  /* curveness css */
}
@media (max-width: 908px) {
    #plans div.fca-ept-layout5 {display: flex !important;font-size: 15px;min-width: 700px;width: calc(100vw - 32px); }
}
section#plans {
    overflow-x: scroll !important;
}
@media (max-width: 800px) {
    #plans .fca-ept-layout5 .fca-ept-comparison-div .fca-ept-comparison li strong {min-width: 950px; width: calc(100vw - 32px);}
    #plans div.fca-ept-layout5 div.fca-ept-comparison-div {display: flex !important;}
    div.fca-ept-layout5 div.fca-ept-comparison-div {display: none;}
}
.loop {filter: contrast(0.5);  opacity: .3; position: absolute;}
.about-one {bottom: 0;left: 0;transform: scale(1.6);}
.about-two {bottom: 0;right: 0;transform: scale(0.6);}
.about-three {left: 0;bottom: 0;}
.about-four {right: 0;bottom: 2rem;transform: scale(0.8);}

.grid-block.addons-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 4fr));
}
.grid-block--gap-20 {
    grid-gap: 20px;
}
.grid-block {
    display: grid;
}
.panel {
    margin-bottom: 50px;
    -webkit-box-shadow: none;
    /* box-shadow: none; */
    border-color: #eee;
    border-radius: 4px;
    color: #444;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.panel-heading {
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}
.panel-heading {
    position: relative;
}
.panel-heading {
    padding: 15px 20px;
    border-bottom: 1px solid transparent;
}
.panel-default > a {
    width: -webkit-fill-available;
}

.addon_image {
    width: -webkit-fill-available;
    aspect-ratio: 1;
    object-fit: contain;
    vertical-align: middle;
}
.panel-body {
    position: relative;
    padding: 20px;
    justify-self: center;
}
.panel-title {
    display: inline-block;
    font-size: 17px !important;
    color: #444;
    position: relative;
    margin-top: 0;
}
.rec-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
.flexbetween {
    display: flex;
    justify-content: space-between;
}
.justify-center {
    justify-content: center;
}
.btn-tiffany {
    color: #fff !important;
    background-color: #021859;
    border-color: #021859;
}
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}
/* .separator:not(:empty)::before {
    margin-right: .5em;
} */
.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}
.container.bg-grey.container-radius.main-container.mt-3.p-5.sub-card {
    height: 100%;
}

.video-container {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-fit: fill; Makes sure the video covers the entire container */
}

.text-overlay {
    position: absolute;
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; 
    text-align: center;
    font-family: Arial, sans-serif; */
    z-index: 2; /* Ensure text is above the video */
}
.grow-1
{
    flex-grow: 1;
}
.col-fex {
    display: flex;
    flex-direction: column;
}
.eid-banner {
    background: url(/images/eid-xl-en.jpg) 0 0 no-repeat;
    background-position: center;
    background-size: cover;
}
@media (max-width: 1399px) {
    /* .video-container {
        height: 60vh;
    } */
}
@media (max-width: 1199px) {
    .eid-banner {
        background: url(/images/eid-lg-en.jpg) 0 0 no-repeat;
        background-position: center;
        background-size: cover;
    }
    /* .video-container {
        height: 50vh;
    } */
}
@media (max-width: 991px) {
    .eid-banner {
        background: url(/images/eid-md-en.jpg) 0 0 no-repeat;
        background-position: center;
        background-size: cover;
    }
    .eid-banner-text {
        margin-top: 55%;
    }
    /* .video-container {
        height: 40vh;
    } */
}
@media (max-width: 768px) {
    .eid-banner {
        background: url(/images/eid-sm-en.jpg) 0 0 no-repeat;
        background-position: center;
        background-size: cover;
    }
    /* .video-container {
        height: 35vh;
    } */
}
@media (max-width: 599px) {
    /* .video-container {
        height: 26vh;
    } */
    .video-container {
        height: 40vh;
    }
    h1.pt-sm-0.p-0.mb-3.wow.fadeInDown
    {
        font-size: 20px !important;
    }
    .col-xs-12.col-sm-12.col-md-12.col-lg-6.col-xl-6 {
        text-align-last: center;
    }
     a.btn.btn-primary.mb-5
    {
        margin-top: 25%;
    }
}
#header {
    z-index: 9999;
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6); /* semi-transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Optional: subtle border */ 
}
.navbar-toggler {
    padding: .25rem .25rem;
}
.nav-mob-btn {
    color: #fff !important;
    font-size: smaller;
    padding: 10px;
}

.round-card {
    background-color: #021859;
    color: #fff !important;
    text-align-last: center;
    height: 100px;
    align-content: center;
    border-radius: 100px;
    padding: 10px;
    margin: 10px;
}
.secondar-header {
    background: #020659;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* position: fixed; */
    /* top: 50px; */
    z-index: 1000000;
    width: 100%;
    font-weight: 700;
    z-index: 1;

}
@media screen and (max-width: 991px) {
    .secondar-header {
        overflow: hidden;
        white-space: nowrap;
    }
    .marquee-content{
        display: inline-block;
        animation: scroll-left 20s linear infinite;
    }
    @keyframes scroll-left {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}
@media screen and (max-width: 575px) {
  .secondar-header {font-size: 14px;padding:0 4rem;}
}
#askAiBtn, #ai-popup-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #6b46c1;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;
  text-align: -webkit-center;
}

/* Popup Window */
#askAiPopup {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 380px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.25);
  z-index: 10000;
  font-family: system-ui, sans-serif;
  overflow: hidden;
}

/* Header */
#askAiHeader {
  background: #6b46c1;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: 600;
}

/* Messages Container */
#askAiMessages {
  max-height: 300px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column-reverse; /* newest at top */
  gap: 10px;
  background: #fafafa;
}

/* Message Bubbles */
.message {
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.5;
  font-size: 14px;
  border-radius: 8px;
  padding: 8px 10px;
  max-width: 90%;
  width: fit-content;
}

.user {
  background: #6b46c1;
  color: #fff;
  align-self: flex-end;
}

.ai {
  background: #e9e9e9;
  color: #222;
  align-self: flex-start;
}

/* Input Section */
#askAiFooter {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #ddd;
  background: #fff;
  padding: 10px;
}

#askAiInput {
  width: 100%;
  height: 70px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px;
  resize: none;
  margin-bottom: 8px;
}

#askAiSend {
  background: #6b46c1;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 0;
  cursor: pointer;
}


/* ai voice */
.ai-popup {
  position: fixed;
  bottom: 86px;
  right: 20px;
  width: 330px;
  max-height: 600px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column-reverse;
  overflow: hidden;
  z-index: 9999;
  font-family: "Inter", sans-serif;
}

.ai-response {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column-reverse;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.5;
  height: 400px;
}

.ai-response .ai-msg,
.ai-response .user-msg {
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  max-width: 90%;
}

.ai-response .ai-msg {
  background: #eef2ff;
  border: 1px solid #d9e0ff;
  align-self: flex-start;
}

.ai-response .user-msg {
  background: #e9f7ef;
  border: 1px solid #b8eac9;
  align-self: flex-end;
}

.ai-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #fafafa;
  border-top: 1px solid #ddd;
}

#ai-input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
}

#ai-input:focus {
  border-color: #6366f1;
}

#voice-btn,
#send-btn, 
#stop-audio-btn {
  border: none;
  background: #6366f1;
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#voice-btn:hover,
#send-btn:hover,
#stop-audio-btn {
  background: #4f46e5;
}

#voice-btn.recording {
  background: #dc2626;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}