body {font-family: 'Roboto', sans-serif; font-size:15px; font-weight:400; color:#191919;}
h1, h2, h3, h4, h5, h6 {font-weight:700;}
p {text-align:justify;}
.title_text {font-size:18px; font-weight:400;}

/** Row Equal Heights **/
.row.equal-cols {display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap;}
.row.equal-cols:before, .row.equal-cols:after {display: block;}
.row.equal-cols > [class*='col-'] {display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column;}
.row.equal-cols > [class*='col-'] > * {-webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto;}

/** Banner **/
.carousel-caption {width:100%; background:url(../images/bg_banner.png) top left repeat; right: 0 !important; bottom: 0 !important; left: 0 !important;} 
.carousel-caption h5 {font-size:51px; color:#fff; font-weight:500;}
.carousel-caption p {font-size:21px; text-align:center;}

/** Navigation **/
.nav-blue {position: absolute; top: 36px; z-index: 9; left: 0; right: 0;}
.navbar {background:#fff; padding: 0 !important;}
.navbar-brand {background:#fff; margin:0 !important; padding:0 18px 0 24px !important;}
.collapse, .navbar-collapse {background:#060e3e url(../images/menu_bg.jpg) left center no-repeat;}
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link {color:#fff !important; text-transform:uppercase; font-weight:600; margin-right:15px;}
.navbar-light .navbar-nav .nav-link:hover {color:#00ccff !important;}
.navbar-nav {padding:27px 0 24px 0 !important;}
.carousel-indicators li {cursor:pointer;}
.call-us {color:#fff200 !important; font-size:18px; font-weight:500; padding: 6px 36px 0 0;}

/** Welcome Section **/
.welcome_sec {background:#fff; padding:48px 0;}
.welcome_sec .blocks_three {background:#fff577; padding:30px 0; margin:0;}
.welcome_sec .middle_block {border-left:#cec332 2px solid; border-right:#cec332 2px solid;}
.welcome_sec .blocks_three .customers {text-align:left; width: max-content; white-space: nowrap; margin:0 auto; overflow:hidden;}
.welcome_sec .blocks_three .customers img {float:left; margin-right:15px;}
.welcome_sec .blocks_three .customers p {font-size:18px; font-weight:500; color:#000; padding:0; margin-bottom:0; float:left;}
.welcome_sec .blocks_three .customers p span {color:#060e3e; font-weight:900; font-size:30px;}
.welcome_sec .about_block {margin-top:30px;}
.welcome_sec .about_block h6 {font-size:18px; font-weight:500; text-transform:uppercase;}
.welcome_sec .about_block h1 {font-size:33px; color:#474646; font-weight:500; margin-bottom:15px;}
.welcome_sec .about_block h1 span {color:#33449c; text-transform:uppercase; font-weight:900;}
.welcome_sec .about_block h1 span span {color:#e72027;}

.bt_readmore {background-color: #cd3b40; border: none; color: #fff !important; padding: 10px 18px; text-align: center; text-decoration: none; display: inline-block;transition-duration: 0.4s; cursor: pointer; text-transform:uppercase; font-weight:400;}
.bt_readmore:hover {background-color: #3a447c; color: #fff; text-decoration:none;}

/** Our Specialities **/
.specialities_sec {background:#e2e4f1; padding:48px 0;}
.heading_text {font-size:33px; color:#33449c; text-align:center;}
.heading_text span {color:#e72027;}
.speciality_block {text-align:center; padding:30px 0; background:#fff; color:#0b1d85; font-weight:700; margin-top:18px;}
.speciality_block img {margin-bottom:15px;}
.partners_logo img {border:#a3a5b6 1px solid; margin-top:21px; filter: grayscale(100%); opacity: 0.75;}
.partners_logo img:hover {filter: grayscale(0%); opacity: 1;}

/** Footer **/
.footer_nav {background:#323337; color:#fff; padding:30px 0;}
.footer_nav .logo_block {background:#fff; padding:15px; text-align:center;}
.footer_nav h3 {font-size:19px; font-weight:500; margin:3px 0 9px 0;}
.footer_nav p {margin:0; padding:0;}
.footer_nav a {color:#fff; font-weight:400;}
.footer_nav a:hover {color:#fff; text-decoration:underline;}
.footer_nav .quick_links {margin-left:45px;}
.footer_cr {background:#000; text-align:center; padding:12px; color:#CCC;}

/** About us **/
.about_sec {background:url(../images/banner_subpage.jpg) top center no-repeat fixed; min-height:330px;}
.about_sec h1, .about_sec p {text-align:center; color:#fff;}
.about_sec h1 {padding-top:190px; font-size:30px; font-weight:600;}
.about_sec p a {color:#fff;}
.about_sec p a:hover {color:#fff200; text-decoration:none;}
.img-about {width:100%;}
.about_new {background:url(../images/bg_about.jpg) bottom left no-repeat;}

/** Mission **/
.mission_sec {background:#0c1446 url(../images/bg_mission.jpg) center top no-repeat !important;}
.mission_sec .our_vision {background:#fff; padding:30px; text-align:center;}
.mission_sec h3 {font-size:18px; color:#071882; margin:18px 0 6px 0;}
.mission_sec p {text-align:center; margin:0;}

/** Services **/
.spl_new {border:#caccdb 1px solid !important;}
.sevice_title {font-size:21px; text-align:center;}

/** Contatc us **/
.form_inp {background:#fff; padding:9px; width:100%; color:#666; border:#cecece 1px solid; margin-bottom:15px;}
.contact_title {font-size:27px; font-weight:300; color:#000; margin-bottom:21px;}

.bt_submit {background-color: #3a447c; border: none; color: #fff !important; padding: 10px 18px; text-align: center; text-decoration: none; display: inline-block;transition-duration: 0.4s; cursor: pointer; text-transform:uppercase; font-weight:400;}
.bt_submit:hover {background-color: #cd3b40; color: #fff; text-decoration:none;}

/*****************************************************
**************** Responsive Fixes ********************
*****************************************************/
@media (max-width:991px) {	
.navbar {padding:9px !important;}
.navbar-nav {padding:21px 0 15px 0 !important;}	
.collapse, .navbar-collapse {background:#060e3e; padding-left:15px; margin:12px 0;}	
.carousel-indicators {z-index:1 !important;}
.navbar-brand {padding:0 !important;}
.welcome_sec .blocks_three .customers img {width:24%;}
.welcome_sec .blocks_three .customers p {font-size:15px;}
.welcome_sec .blocks_three .customers p span {font-size:24px;}
}
@media (max-width:767px) {
.call-us {font-size:15px; margin-bottom:12px;}	
.welcome_sec .middle_block {border-top:#cec332 1px solid; border-bottom:#cec332 1px solid; border-left:none; border-right:none;}
.welcome_sec .blocks_three {padding:0;}
.welcome_sec .blocks_three .customers {padding:18px 0;}
.welcome_sec .blocks_three .customers img {width:25%;}
.welcome_sec .blocks_three .customers p {font-size:15px;}
.welcome_sec .blocks_three .customers p span {font-size:24px;}
.welcome_sec .about_block h6 {margin-top:12px;}
.welcome_sec .about_block h6 {font-size:16px;}
.welcome_sec .about_block h1, .heading_text {font-size:24px; margin-top: 15px;}
.footer_nav .quick_links {margin:21px 0;}
.footer_nav .logo_block {padding:9px 0;}
.footer_nav .logo_block img {width:30%;}
.our_vision {margin:6px 0;}
.welcome_sec .about_block {margin-top:0;}
.sevice_title {font-size:18px;}
.contact_title {font-size:21px;}
.welcome_sec .blocks_three {margin-bottom:12px;}
.about_sec {min-height:270px;}
.about_sec h1 {padding-top: 168px;}
}

/* RISCFRE rebrand */
.brand-lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 100%; }
.navbar-brand .brand-lockup { width: 360px; max-width: 100%; }
.navbar-brand .brand-lockup img { display: block; width: 100%; max-width: 360px; height: auto; }
.brand-former-name, .former-name { display: block; font-size: 11px; line-height: 1.25; color: #343b75; font-weight: 500; letter-spacing: .2px; }
.footer_nav .brand-lockup { align-items: center; }
.footer_nav .brand-lockup img { display: block; width: 100%; max-width: 260px; height: auto; }
.footer_nav .brand-former-name { font-size: 10px; }
@media (max-width: 991px) {
  .navbar-brand .brand-lockup { width: 280px; }
  .navbar-brand .brand-lockup img { max-width: 280px; }
}
@media (max-width: 575px) {
  .navbar-brand .brand-lockup { width: 230px; }
  .navbar-brand .brand-lockup img { max-width: 230px; }
}


/* Homepage image layout refinement - preserve original proportions */
.home-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.welcome_sec .about_block > .col-md-4 > img,
.welcome_sec .about_block .img-fluid {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.speciality_block img {
  display: inline-block;
  max-width: 100%;
  width: auto;
  height: 76px;
  object-fit: contain;
}

.home-gallery-image {
  display: block;
  width: 100%;
  height: 250px;
  margin: 10px 0;
  padding: 10px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(145deg, #f0f2fb 0%, #dfe5f4 100%);
  border: 1px solid #cbd3e8;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(6, 14, 62, 0.09);
  box-sizing: border-box;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.specialities_sec .row.equal-cols > [class*="col-"] {
  margin-bottom: 14px;
}

.partners_logo img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

@media (max-width: 767px) {
  .home-gallery-image {
    height: 220px;
    margin: 8px 0;
  }
  .speciality_block img {
    height: 64px;
  }
  .home-banner {
    width: 100%;
    height: auto;
  }
}

.home-gallery-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(6, 14, 62, 0.14);
}
