/* Font Family */
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Light.eot');
    src: url('../fonts/Gilroy-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gilroy-Light.woff2') format('woff2'),
        url('../fonts/Gilroy-Light.woff') format('woff'),
        url('../fonts/Gilroy-Light.ttf') format('truetype'),
        url('../fonts/Gilroy-Light.svg#Gilroy-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
/* @font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Semibold.eot');
    src: url('../fonts/Gilroy-Semibold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gilroy-Semibold.woff2') format('woff2'),
        url('../fonts/Gilroy-Semibold.woff') format('woff'),
        url('../fonts/Gilroy-Semibold.ttf') format('truetype'),
        url('../fonts/Gilroy-Semibold.svg#Gilroy-Semibold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
} */
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-ExtraBold.eot');
    src: url('../fonts/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Gilroy-ExtraBold.woff2') format('woff2'),
        url('../fonts/Gilroy-ExtraBold.woff') format('woff'),
        url('../fonts/Gilroy-ExtraBold.ttf') format('truetype'),
        url('../fonts/Gilroy-ExtraBold.svg#Gilroy-ExtraBold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Serif Display';
    src: url('../fonts/DMSerifDisplay-Italic.eot');
    src: url('../fonts/DMSerifDisplay-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/DMSerifDisplay-Italic.woff2') format('woff2'),
        url('../fonts/DMSerifDisplay-Italic.woff') format('woff'),
        url('../fonts/DMSerifDisplay-Italic.ttf') format('truetype'),
        url('../fonts/DMSerifDisplay-Italic.svg#DMSerifDisplay-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'DM Serif Display';
    src: url('../fonts/DMSerifDisplay-Regular.eot');
    src: url('../fonts/DMSerifDisplay-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/DMSerifDisplay-Regular.woff2') format('woff2'),
        url('../fonts/DMSerifDisplay-Regular.woff') format('woff'),
        url('../fonts/DMSerifDisplay-Regular.ttf') format('truetype'),
        url('../fonts/DMSerifDisplay-Regular.svg#DMSerifDisplay-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2315346D'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:checked {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2315346D'/%3e%3c/svg%3e");
}

body{
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #2B2F3B;
    background: #E9E9E9;
}
h1, h2, h3, h4, h5, h6{
    font-family: 'DM Serif Display', sans-serif;
}
html {
  scroll-behavior: smooth;
}
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}
.nav-link {
  margin-right: 1rem;
  transition: color 0.3s ease;
  color: #2B2F3B !important;
  font-family: 'DM Serif Display', sans-serif;
}
.nav-link:hover {
  color: #000;
}
.nav-link:active{
  color: #000;
}
.btn-primary{
    background: #162544;
    color: #fff;
    border-color: #162544;
}
.navbar .btn{
    padding: 6px 10px;
}
.btn{
    padding: 12px;
    transition: 0.3s;
    font-family: 'DM Serif Display', sans-serif;
    font-size: 14px;
}
.btn-primary:hover, .btn-primary:focus{
    color: #162544;
    background: transparent;
    border-color: #162544;
}
.btn-outline-primary{
    color: #162544;
    border-color: #162544;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active{
    color: #fff;
    background-color: #162544;
    border-color: #162544;
}
.card-title, .profiles-sec .banner-title, .single-page-banner .banner-title{
    font-size: 44px;
    font-family: 'DM Serif Display', sans-serif;
    font-weight: 400;
}
.single-page-banner .banner-title {
    /* margin-bottom: 45px; */
    color: #ffffff;
}
.card-title span{
    color: #2F5397;
}
.banner-section p{
    font-weight: 600;
}
.banner-section{
    background-image: url("../images//white-stone.png");
    background-size: cover;
    padding: 86px 15px 170px;
    position: relative;
    background-position: right;
}
.single-page-banner {
    background-image: url("https://thecrest.ai/wp-content/uploads/2025/07/bg-gradient-about.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 15px 50px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* .single-page-banner .banner-section1 {
    padding: 50px 15px 50px;
} */
.main-content {
    padding: 50px 15px 50px;
}
.iframe-sec {
    background-color: #f9fafb;
}
.iframe-sec .col-md-12 {
    padding-left: 0;
    padding-right: 0;
}
.image-block{
    display: flex;
    justify-content: right;
}
.frame-img{
    position: absolute;
    right: -25px;
    top: 36%;
    transform: translate(-50%, -50%);
    width: 10%;
}
.our-number{
    font-size: 16px;
    color: #162544;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    width: 200px;
    margin-top: 250px;
}
.down-arrow{
    background: #E6F0FB;
    border-radius: 50%;
    padding: 8px 10px;
}
.count-wrapper{background: #15346D;}
.count-section{padding: 22px;color: #fff;}
.my-counter {
    display: flex;
    flex-direction: row;
    gap: 100px;
    justify-content: space-between;
}
.spacer {
    width: 1px;
    background-color: #ffffff91;
}
.spacer-inner {
    height: (100%, 1px);
}
/* .count-block{text-align: center;border-right: 1px solid #ffffff91;} */
.count-block{text-align: center;}
.count-block h2{font-size: 44px;}
/* .count-block:last-child{border: 0;text-align: right;} */
/* .count-block:last-child div{text-align: right;margin: 0 0 0 auto;} */
.count-block:last-child div{margin: 0 0 0 auto;}
/* .count-block:last-child h2{margin-right: 20px;} */
/* .count-block:first-child {text-align: left;} */
/* .count-block:first-child div{text-align: left;margin: initial;} */
.count-block:first-child div{margin: initial;}
/* .count-block:first-child h2{margin-left: 35px;} */
.count-block div{border-top: 1px solid #ffffff91;padding-top: 12px;width: fit-content;margin: 0 auto;font-weight: 600;}
.social-icons i{
    background: #fff;
    padding: 10px 12px;
    border-radius: 50%;
    color: #15346D;
    font-size: 16px;
}
.footer-sec{
    background: #162544;
    color: #fff;
}
.footer-sec a{
    color: #FCFCFC !important;
}
.footer-sec .contact-nav .nav-link {
    margin-right: 0;
}
.copyright{
    border-top: 1px solid #ffffff91 !important;
}
.copyright span{
    color: #D0D4DB !important;
}
.bg-blue{
    background: #162544;
}
.bg-blue .nav-link{color: #EFF1F4 !important;}
.bg-light-blue{background: #C3D4E9;}
.bg-light-blue .top-sec h3{color: #121215 !important}
.bg-white{
    background: #FCFCFC;
    color: #2B2F3B;
}
.content-sec .card-header{
    color: #162544;
    background: transparent;
    border-bottom: 2px solid #162544;
}
.content-sec h4{
    color: #162544;
    margin-top: 10px;
}
.content-sec .card-body{
    color: #2B2F3B;
    font-size: 14px;
}
.content-sec .card-body li{
    margin: 6px 0;
}
.content-sec .active{
    color: #A3C5FF !important;
}
.switch-wrapper{
    color: #FFF;
}
.switch-wrapper .form-check-label {
    color: #FCFCFC;
    font-family: 'DM Serif Display', sans-serif;
    font-size: 14px;
}
.switch-wrapper .form-switch .form-check-input {
    height: 20px;
    width: 40px
}
.form-switch{
    padding-left: 0;
}
.form-switch .form-check-input{
    margin: 0 .3rem;
}
.top-sec{
    color: #fff;
    border-bottom: 1px solid #A3C5FF;
    margin-bottom: 50px;
}
.top-sec h3{
    color: #A3C5FF;font-size: 44px;
}
.top-sec .sub-title{
    font-weight: 600;
}
.top-sec p{
    flex-basis: 50%;
    font-size: 16px;
}
.about-sec .top-sec, .about-sec .navbar-nav a{
    color: #2B2F3B !important;
}
section .nav-link {
    font-family: 'Gilroy', sans-serif;
}
section .navbar-nav .active{
    font-weight: bold;
}
.about-sec .navbar-nav .active{
    color: #2F5397 !important;
}
.about-sec .top-sec h3{
    color: #15346D;
}
.about-sec .top-sec{
    border-color: #828693
}
.product-block i{
    background: #B6CAFB;
    /* padding: 6px 9px; */
    padding: 7px 8px 6px;
    border-radius: 50%;
    /* font-size: 20px; */
    font-size: 16px;
}
.margin-align{margin-top: -170px;padding-top: 170px;}
.digital-identity-sec h4{
    color: #15346D;
    font-size: 28px;
}
.digital-identity-sec h4 + a{font-weight: 600;}
.digital-identity-sec h6{
    color: #2F5397;
}
.million-joined{
    background: #15346D;
    color: #fff; 
}
.million-joined h6{
    color: #fff; 
    font-weight: 600;
    font-size: 14px;
    font-family: 'Gilroy', sans-serif;
}
.font-size-16{font-size: 16px;}
.font-size-20{font-size: 20px !important;}
.font-size-24{font-size: 24px !important;}
.font-size-28{font-size: 28px !important;}
.digital-block-wrapper .col-lg-3{
    width: 304px !important;
}
.digital-block-wrapper .col-lg-6{
    width: 415px !important;
}
.accordion-button{font-family: 'DM Serif Display', sans-serif;font-size: 20px;}
.location{
    position: absolute;
    top: -21px;
    right: 14px;
    background: #2F5397;
    padding: 7px 12px;
    border-radius: 6px;
    color: #fff;
}
.slider-img{
    position: relative;
    /* width: 400px;
    height: 400px; */
    width: 513px;
    height: 513px;
    border-radius: 50%;
    /* background-color: #C3D4E9; */
    margin: 60px auto;
    background: linear-gradient(140deg, #aec8ea, #e8f2ff);
}
/* .testimonial-slider img{
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 378px;
    height: 505px;
    border-radius: 50%;
} */
.testimonial-slider img{
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 513px;
    height: 595px;
    border-radius: 50%;
}
.testimonial-content h5{
    color: #416BBA;
    font-size: 20px;
}
.testimonial-content h4{
    font-size: 28px;
}
.testimonial-content p{
    color: #2B2F3B;
    font-size: 16px;
}
.carousel-inner .controls .btn{
    background: #E6F0FB;
    color: #15346D;
    border-radius: 50%;
    /* padding: 8px 12px; */
    padding: 5px 11px;
    font-size: 24px;
}
.testimonial-slider {
  position: relative;
}

.image-wrapper {
  background: #C3D4E9;
  border-radius: 50%;
  width: 380px;
  padding: 10px 50px;
  margin: 0 auto;
  position: relative;
}

.image-wrapper img {
  position: absolute;
  top: -60px; /* adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  width: 200px; /* or whatever fits */
  border-radius: 50%;
}
.form-check-input:checked {
    background-color: #D6E8FA;
    border-color: #D6E8FA;
}
.check-2{
    background: #D6E8FA;
    border-radius: 50%;
    padding: 3px 4px 2px;
    color: #162544;
    font-size: 16px;
    margin-right: 6px;
}
.check-1 {
    font-size: 16px;
    padding: 3px 4px 2px;
    background: #828693;
    border-radius: 50%;
    color: #FCFCFC;
    margin-right: 6px;
}
.accordion-button::after {
  display: none;
}
.toggle-icon::before {
  content: "−";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.accordion-button.collapsed .toggle-icon::before {
  content: "+";
}
.accordion-item, .accordion-button, .accordion-item:first-of-type .accordion-button, .accordion-button:not(.collapsed){
    background: transparent;
    border: 0;
    color: #000;
    box-shadow: none;
    padding: 10px 0;
}
.accordion-body{padding: 10px 0;font-size: 16px;}
.accordion-item{
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 #FCFCFC;
}
.accordion-item:last-child{
    box-shadow: none;
}
.accordion-button:focus{
    border: 0;
    box-shadow: none;
}
.image-overlay-wrapper {
  position: relative;
  display: inline-block;
}

.image-overlay-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 52, 109, 0.5);
  pointer-events: none;
  border-radius: inherit;
}
a{color: #162544;}
.form-control{
    border: 0;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 0 0;
}
.form-control:focus{
    box-shadow: none;
}
.form-label{
    font-weight: 600;
    color: #2B2F3B;
}
.product-margin{
    margin-top: -50px;
}
/* Custom styling to match screenshot: sticky card bottom-right */
.cookie-consent {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1080; /* above most UI */
    max-width: 400px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-radius: 6px;
    overflow: hidden;
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease;
    opacity: 0;
    pointer-events: none;
}
.cookie-consent .card {
    background-color: #FCFCFC;
}
.cookie-consent .card-title {
    font-size: 28px;
    font-family: 'DM Serif Display', sans-serif;
    font-weight: 400;
    color: #15346D;
    line-height: 1.3em;
}
.cookie-consent .card-text {
    font-size: 14px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    color: #2B2F3B !important;
    line-height: 1.5em;
}
.cookie-consent.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cookie-consent .card-body {
    padding: 18px;
}
.cookie-consent .actions {
    display:flex;
    gap:12px;
    justify-content: flex-end;
    margin-top: 8px;
}
.cookie-consent .reject-btn {
    background: transparent;
    color: #1f2b3a;
    border: none;
    padding: 0;
    text-decoration: underline;
}

/* Responsive */
@media(max-width: 1399px){
    .banner-section{padding: 60px 15px 80px;}
    /* .single-page-banner .banner-section1 {padding: 60px 15px;} */
    .frame-img {right: -20px;top: 40%;}
    .digital-block-wrapper .col-lg-3{width: 27% !important;}
    .digital-block-wrapper .col-lg-6 {width: 46% !important;}
    .slider-img{width: 350px;height: 350px;}
    .testimonial-slider img{width: 378px;height: 410px;top:-60px;}
}
@media(max-width: 1199px){
    /* .count-block{padding: 0 35px;} */
    .product-margin{margin-top: -25px;}
    .frame-img {right: -15px;top: 43%;}
    .banner-section {padding: 60px 15px 20px;}
    .our-number{margin-top: 200px;}
    .digital-block-wrapper .col-lg-3{width: 100% !important;}
    .digital-block-wrapper .col-lg-6{width: 100% !important;}
    .my-counter {gap: 10px;}
}
@media(max-width: 991px){
    .product-margin{margin-top: 0px;}
    .image-overlay-wrapper {display: none;}
    .contact-form {display: block !important;}  
    .contact-form img{margin-bottom: 15px;width: 100%;}  
    .contact-form video{margin-bottom: 15px;width: 100%;}
    .contact-form .w-75{width: 100% !important;} 
    .testimonial-slider {display: block !important;text-align: center;} 
    .controls {justify-content: center;}
    .banner-section .row{flex-direction: column-reverse;}
    .banner-section {padding: 10px 15px 20px;background-size: contain;position: relative;background-position: top right;background-repeat: no-repeat;}
    .frame-img {right: 0;top: 155px;height: auto !important;}
    .our-number {margin-top: 40px;}
    .banner-section .card-text{margin: 15px 0 !important;}
    .banner-section .img-fluid{height: 315px;}
    .banner-section .col-lg-4{margin-top: 90px;}
    .navbar-collapse{margin-top: 15px;}
    .navbar-nav .bi-dash{margin-left: 0 !important;}
    .faq-content{width: 100% !important;}
    .slider-img{margin: 60px auto 0;}
    .count-block h2 {font-size: 24px;}
    .count-block:first-child {text-align: center;}
    .count-block:first-child h2 {margin-left: 0;}
    .count-block:first-child div {text-align: center;margin: 0 auto;}
    .count-block:last-child {text-align: center;}
    .count-block:last-child h2 {margin-right: 0;}
    .count-block:last-child div {text-align: center;margin: 0 auto;}
}
@media(max-width: 767px){
    section .navbar-nav{display: none;}
    .top-sec {display: block !important;margin-bottom: 20px;}
    .footer-sec .col-md-7{display: flex;align-items: center;justify-content: space-between;}
    .footer-sec .list-unstyled {margin: 0 !important;}
    .count-section{flex-wrap: wrap;}
    /* .count-block{flex-basis: 50%;margin-bottom: 30px;border: 0;} */
    .my-counter {flex-direction: column;align-items: center;}
    .product-wrapper{display: block !important;}
    .product-block{width: 90% !important;}
    .product-margin:nth-child(2) {margin-left: 30px !important;}
    .product-margin:nth-child(3) {margin-left: 60px !important;}
    .product-wrapper > div:first-child {margin-bottom: 36px !important;}
    .margin-align {padding-top: 120px;}
    .banner-section .col-lg-4 {margin-top: 60px;}
    .banner-section .img-fluid {height: 240px;}
    /* .single-page-banner .banner-section1 {padding: 40px 15px 40px;} */
    .single-page-banner {padding: 40px 15px 40px; min-height: 240px;}
    .main-content {padding: 40px 15px 40px;}
    .btn{font-size: 14px;}
    .top-sec h3 {font-size: 30px;}
    .card-title, .profiles-sec .banner-title {font-size: 42px;}
    .profiles-sec .banner-title {margin-bottom: 30px;}
}
@media(max-width: 575px){
    .banner-section .col-lg-4 {margin-top: 15px;}
    .banner-section .img-fluid {height: 240px;}
    .banner-section .image-block{background-image: url(../images//mobile-banner.PNG);background-size: cover;min-height: 425px;background-position: right;}
    .banner-section .image-block img{display: none;}
}
@media(max-width: 479px){
    .count-block{flex-basis: 100%;}
    .banner-section .image-block {min-height: 335px;}
}
@media (max-width: 420px){
    .cookie-consent { right: 12px; left: 12px; max-width: none; }
}
@media(max-width: 400px){
    .banner-section .image-block {min-height: 270px;}
    .slider-img{width: 300px;height: 300px;}
    .testimonial-slider img{width: 325px;height: 359px;}
}