/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/
:root {
  --ranz-orange: #FF6B35;
  --ranz-navy: #1B3A5C;
  --ranz-light-blue: #4A90A4;
  --ranz-dark: #0F1F2E;
  --ranz-cyan: #3fcdc7;
  --ranz-light-gray: #f8f9fa;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  text-decoration: none;
}

/*--------------------------------------------------------------
# Section General Styles
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

.section-bg {
  background-color: var(--ranz-light-gray);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--ranz-navy);
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: var(--ranz-orange);
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
  color: #666;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 80px;
  transition: all 0.5s;
  z-index: 997;
  background: var(--ranz-navy);
}

#header.header-transparent {
  background: transparent;
}

#header.header-scrolled {
  background: rgba(27, 58, 92, 0.95);
  height: 70px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  padding: 4px 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 80px;
  transition: all 0.3s;
}

#header.header-scrolled .logo img {
  max-height: 80px;
}

#main {
  margin-top: 80px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--ranz-orange);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: var(--ranz-navy);
  font-weight: 400;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: var(--ranz-orange);
  background: rgba(255, 107, 53, 0.05);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle:hover {
  color: var(--ranz-orange);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(15, 31, 46, 0.95);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
  border-radius: 10px;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--ranz-navy);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--ranz-orange);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: var(--ranz-orange);
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

#hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 130%;
  height: 95%;
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.9), rgba(74, 144, 164, 0.7)), 
              url("/ranz-website/img/picha carousel.jpeg") center top no-repeat;
  background-size: cover;
  z-index: 0;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%) rotate(0deg);
}

#hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 130%;
  height: 96%;
  background: var(--ranz-orange);
  opacity: 0.15;
  z-index: 0;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%) translateY(18px) rotate(2deg);
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  height: 100vh;
  z-index: 1;
}

#hero h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#hero h2 span {
  color: var(--ranz-orange);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero p {
  max-width: 80%;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #fff;
  font-size: 18px;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

#hero .carousel-control-prev,
#hero .carousel-control-next {
  width: 10%;
  z-index: 2;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 48px;
  line-height: 1;
  width: auto;
  height: auto;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  color: var(--ranz-orange);
  transform: scale(1.2);
}

#hero .btn-get-started {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  animation-delay: 0.8s;
  border: 2px solid var(--ranz-orange);
  background: transparent;
  text-transform: uppercase;
}

#hero .btn-get-started:hover {
  background: var(--ranz-orange);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

@media (min-width: 1024px) {
  #hero p {
    width: 60%;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

@media (max-width: 768px) {
  #hero::after {
    width: 180%;
    height: 95%;
    border-radius: 0 0 50% 50%;
    transform: translateX(-50%) rotate(0deg);
  }

  #hero::before {
    top: 0;
    width: 180%;
    height: 94%;
    border-radius: 0 0 50% 50%;
    transform: translateX(-50%) translateY(20px) rotate(4deg);
  }

  #hero h2 {
    font-size: 36px;
  }

  #hero p {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  #hero h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  #hero p {
    font-size: 15px;
  }

  #hero::after {
    left: 40%;
    top: 0;
    width: 200%;
    height: 95%;
    border-radius: 0 0 50% 50%;
    transform: translateX(-50%) rotate(0deg);
  }

  #hero::before {
    left: 50%;
    top: 0;
    width: 200%;
    height: 94%;
    border-radius: 0 0 50% 50%;
    transform: translateX(-50%) translateY(20px) rotate(4deg);
  }

  #hero .btn-get-started {
    padding: 12px 32px;
    font-size: 14px;
  }
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-duration: 0.6s;
  transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  opacity: 0;
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .container {
  box-shadow: 0 5px 25px 0 rgba(214, 215, 216, 0.6);
  background: #fff;
  border-radius: 10px;
}

.why-us .icon-box + .icon-box {
  margin-top: 50px;
}

.why-us .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #fff5f2;
  border-radius: 6px;
  transition: 0.5s;
  border: 2px solid rgba(255, 107, 53, 0.1);
}

.why-us .icon-box .icon i {
  color: var(--ranz-orange);
  font-size: 32px;
}

.why-us .icon-box:hover .icon {
  background: var(--ranz-orange);
  border-color: var(--ranz-orange);
}

.why-us .icon-box:hover .icon i {
  color: #fff;
}

.why-us .icon-box .title {
  margin-left: 95px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
}

.why-us .icon-box .title a {
  color: var(--ranz-navy);
  transition: 0.3s;
}

.why-us .icon-box .title a:hover {
  color: var(--ranz-orange);
}

.why-us .icon-box .description {
  margin-left: 95px;
  line-height: 24px;
  font-size: 14px;
}

.why-us .video-box {
  position: relative;
}

.why-us .video-box img {
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: 10px;
}

.why-us .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--ranz-orange) 50%, rgba(255, 107, 53, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.why-us .play-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.why-us .play-btn::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(255, 107, 53, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.why-us .play-btn:hover {
  transform: scale(1.05);
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services {
  padding-bottom: 20px;
}

.services .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  margin: 0 0 40px 0;
  background: #fff;
  box-shadow: 0 5px 26px 0 rgba(68, 88, 144, 0.14);
  transition: all 0.3s ease-in-out;
  text-align: center;
  border: 1px solid #fff;
  border-radius: 8px;
}

.services .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px 0 rgba(68, 88, 144, 0.20);
}

.services .icon {
  margin: 0 auto 20px auto;
  padding-top: 17px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 72px;
  height: 72px;
}

.services .icon i {
  font-size: 36px;
  line-height: 1;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}


.services .title a {
  color: var(--ranz-navy);
  transition: 0.3s;
}

.services .title a:hover {
  color: var(--ranz-orange);
}

.services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
  color: #666;
}

.services .icon-box-orange .icon {
  background: #fff5f2;
}

.services .icon-box-orange .icon i {
  color: var(--ranz-orange);
}

.services .icon-box-orange:hover {
  border-color: var(--ranz-orange);
}

.services .icon-box-blue .icon {
  background: #e8f4f8;
}

.services .icon-box-blue .icon i {
  color: var(--ranz-light-blue);
}

.services .icon-box-blue:hover {
  border-color: var(--ranz-light-blue);
}

.services .icon-box-cyan .icon {
  background: #e6fdfc;
}

.services .icon-box-cyan .icon i {
  color: var(--ranz-cyan);
}

.services .icon-box-cyan:hover {
  border-color: var(--ranz-cyan);
}

.services .icon-box-navy .icon {
  background: #e8eef3;
}

.services .icon-box-navy .icon i {
  color: var(--ranz-navy);
}

.services .icon-box-navy:hover {
  border-color: var(--ranz-navy);
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features {
  background: #fff;
}

.features .row + .row {
  margin-top: 100px;
}

.features h3 {
  font-weight: 600;
  font-size: 26px;
  color: var(--ranz-navy);
  margin-bottom: 15px;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.features ul i {
  font-size: 20px;
  padding-right: 8px;
  color: var(--ranz-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.features p:last-child {
  margin-bottom: 0;
}

.features p {
  color: #666;
  line-height: 1.8;
}

.features .fst-italic {
  color: #555;
}

.features img {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .features .row + .row {
    margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .why-us .video-box {
    margin-bottom: 30px;
  }
  
  .why-us .icon-box .icon {
    float: none;
    margin: 0 auto 15px auto;
  }
  
  .why-us .icon-box .title,
  .why-us .icon-box .description {
    margin-left: 0;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Home Clients Section
--------------------------------------------------------------*/
.home-clients {
  padding: 60px 0;
}

.home-clients-header {
  text-align: center;
  margin-bottom: 50px;
}

.home-clients-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.home-clients-header p {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

.home-clients-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.home-clients-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 150px;
}

.home-clients-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.home-clients-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-clients-item a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .home-clients-header h2 {
    font-size: 28px;
  }
  
  .home-clients-wrapper {
    gap: 40px;
  }
  
  .home-clients-item {
    width: 180px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .home-clients-header h2 {
    font-size: 24px;
  }
  
  .home-clients-wrapper {
    gap: 30px;
  }
  
  .home-clients-item {
    width: 150px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  .home-clients-header h2 {
    font-size: 22px;
  }
  
  .home-clients-wrapper {
    gap: 20px;
  }
  
  .home-clients-item {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
    height: 90px;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: var(--ranz-light-gray);
  margin-top: 70px;
  border-bottom: 3px solid var(--ranz-orange);
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ranz-navy);
  margin: 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

.breadcrumbs ol li a {
  color: var(--ranz-orange);
  transition: 0.3s;
}

.breadcrumbs ol li a:hover {
  text-decoration: underline;
  color: var(--ranz-navy);
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs h2 {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Section General
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--ranz-navy);
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: var(--ranz-orange);
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
  color: #666;
  font-size: 15px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  background: #fff;
}

.about h3 {
  font-weight: 600;
  font-size: 26px;
  color: var(--ranz-navy);
  margin-bottom: 20px;
}

.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.about ul i {
  font-size: 20px;
  padding-right: 8px;
  color: var(--ranz-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.about p {
  color: #666;
  line-height: 1.8;
}

.about p:last-child {
  margin-bottom: 0;
}

.about .fst-italic {
  color: #555;
  font-size: 16px;
  margin-bottom: 20px;
}

.about img {
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .about img {
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Subsidiaries Section
--------------------------------------------------------------*/
.subsidiaries {
  background: var(--ranz-light-gray);
}

.subsidiary-box {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.subsidiary-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--ranz-orange);
}

.subsidiary-logo {
  margin-bottom: 20px;
  padding: 20px;
  background: var(--ranz-light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.subsidiary-logo img {
  max-width: 100%;
  height: auto;
  transition: all 0.3s;
}

.subsidiary-box:hover .subsidiary-logo img {
  transform: scale(1.1);
}

.subsidiary-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--ranz-navy);
}

.subsidiary-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .subsidiary-box {
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.home-services {
  padding: 60px 0;
}

.home-services .home-icon-box {
  padding: 40px 30px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
  border-radius: 10px;
  height: 100%;
}

.home-services .home-icon-box .home-icon {
  margin-bottom: 15px;
}

.home-services .home-icon-box .home-icon i {
  font-size: 48px;
  line-height: 1;
  transition: 0.3s;
}

.home-services .home-icon-box .home-title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.home-services .home-icon-box .home-title a {
  color: #1e4356;
  text-decoration: none;
  transition: 0.3s;
}

.home-services .home-icon-box .home-description {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color: #5e5e5e;
}

.home-services .home-icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 100px 0px rgba(110, 123, 131, 0.15);
}

.home-services .home-icon-box-pink .home-icon i {
  color: #ff689b;
}

.home-services .home-icon-box-cyan .home-icon i {
  color: #3fcdc7;
}

.home-services .home-icon-box-green .home-icon i {
  color: #41cf2e;
}

.home-services .home-icon-box-blue .home-icon i {
  color: #2282ff;
}

.home-services .home-icon-box-pink:hover .home-title a,
.home-services .home-icon-box-cyan:hover .home-title a,
.home-services .home-icon-box-green:hover .home-title a,
.home-services .home-icon-box-blue:hover .home-title a {
  color: #68A4C4;
}

/*--------------------------------------------------------------
# Service Details
--------------------------------------------------------------*/
.home-service-details {
  padding: 60px 0 40px 0;
  background: #f8f9fa;
}

.home-service-details .home-card {
  border: 0;
  padding: 0 30px;
  margin-bottom: 60px;
  position: relative;
  width: 100%;
  background: transparent;
}

.home-service-details .home-card-img {
  width: calc(100% + 60px);
  margin-left: -30px;
  overflow: hidden;
  z-index: 9;
  border-radius: 10px 10px 0 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.home-service-details .home-card-img img {
  max-width: 100%;
  width: 100%;
  height: 300px;
  object-fit: contain;
  transition: all 0.3s ease-in-out;
}

.home-service-details .home-card-body {
  z-index: 10;
  background: #fff;
  border-top: 4px solid #fff;
  padding: 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  transition: 0.3s;
  border-radius: 0 0 10px 10px;
}

.home-service-details .home-card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.home-service-details .home-card-title a {
  color: #1e4356;
  transition: 0.3s;
  text-decoration: none;
}

.home-service-details .home-card-text {
  color: #5e5e5e;
  line-height: 26px;
  margin-bottom: 15px;
}

.home-service-details .home-read-more {
  text-align: center;
}

.home-service-details .home-read-more a {
  color: #777777;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  transition: 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.home-service-details .home-read-more a:hover {
  color: #68A4C4;
}

.home-service-details .home-card:hover .home-card-img img {
  transform: scale(1.1);
}

.home-service-details .home-card:hover .home-card-body {
  border-color: #68A4C4;
}

.home-service-details .home-card:hover .home-card-body .home-card-title a {
  color: #68A4C4;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .home-breadcrumbs {
    margin-top: 68px;
  }

  .home-breadcrumbs h2 {
    font-size: 24px;
  }

  .home-services {
    padding: 40px 0;
  }

  .home-service-details {
    padding: 40px 0 20px 0;
  }

  .home-service-details .home-card {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .home-breadcrumbs {
    margin-top: 60px;
  }

  .home-breadcrumbs h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .home-services .home-icon-box {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .home-service-details .home-card-img {
    padding: 15px;
  }

  .home-service-details .home-card-img img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .home-breadcrumbs {
    text-align: center;
  }

  .home-breadcrumbs .d-flex {
    flex-direction: column;
    align-items: center !important;
  }

  .home-breadcrumbs ol {
    justify-content: center;
    margin-top: 10px;
  }

  .home-services .home-icon-box .home-icon i {
    font-size: 40px;
  }

  .home-service-details .home-card-img {
    padding: 10px;
  }

  .home-service-details .home-card-img img {
    height: 200px;
  }

  .home-service-details .home-card-body {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.home-team {
  background: #fff;
  padding: 60px 0 30px 0;
}

.home-section-title {
  padding-bottom: 20px;
}

.home-section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1e4356;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.home-section-title p {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

.home-team .home-member {
  margin-bottom: 100px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: 0.3s;
  height: 100%;
}

.home-team .home-member:hover {
  transform: translateY(-10px);
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.15);
}

.home-team .home-member .home-member-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.home-team .home-member .home-member-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: 0.3s;
}

.home-team .home-member:hover .home-member-img img {
  transform: scale(1.1);
}

.home-team .home-member .home-social {
  position: absolute;
  left: 0;
  bottom: -40px;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: bottom ease-in-out 0.4s, opacity ease-in-out 0.4s;
  text-align: center;
  background: rgba(30, 67, 86, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-team .home-member .home-social a {
  transition: color 0.3s;
  color: #fff;
  margin: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.home-team .home-member .home-social a:hover {
  color: #68A4C4;
}

.home-team .home-member .home-social i {
  font-size: 18px;
  line-height: 0;
}

.home-team .home-member .home-member-info {
  padding: 25px 20px;
}

.home-team .home-member .home-member-info h4 {
  font-weight: 700;
  margin: 0 0 10px 0;
  font-size: 20px;
  color: #1e4356;
}

.home-team .home-member .home-member-info span {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 15px;
  color: #68A4C4;
  line-height: 1.4;
}

.home-team .home-member .home-member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 24px;
  color: #666;
  margin: 0;
}

.home-team .home-member:hover .home-social {
  bottom: 0;
  opacity: 1;
}



/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 30px;
}

.contact .info-box {
  color: #444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
  margin-bottom: 30px;
}

.contact .info-box i {
  font-size: 32px;
  color: #68A4C4;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #a2cce3;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #666;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  margin-bottom: 30px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input::focus,
.contact .php-email-form textarea::focus {
  background-color: #68A4C4;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #68A4C4;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}

.contact .php-email-form button[type=submit]:hover {
  background: #8dbad2;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/
.map {
  padding: 0;
  margin-bottom: -6px;
}

.map iframe {
  width: 100%;
  height: 380px;
}


/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .home-section-title h2 {
    font-size: 28px;
  }

  .home-team {
    padding: 40px 0 20px 0;
  }

  .home-team .home-member {
    margin-bottom: 30px;
  }

  .home-team .home-member .home-member-img img {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .home-section-title h2 {
    font-size: 24px;
  }

  .home-team .home-member .home-member-img img {
    height: 580px;
  }

  .home-team .home-member .home-member-info {
    padding: 20px 15px;
  }

  .home-team .home-member .home-member-info h4 {
    font-size: 18px;
  }

  .home-team .home-member .home-member-info span {
    font-size: 13px;
  }

  .home-team .home-member .home-member-info p {
    font-size: 13px;
    line-height: 22px;
  }
}

@media (max-width: 576px) {
  .home-section-title h2 {
    font-size: 22px;
  }

  .home-section-title p {
    font-size: 14px;
  }

  .home-team .home-member .home-member-img img {
    height: 450px;
  }

  .home-team .home-member .home-social a {
    margin: 0 8px;
  }

  .home-team .home-member .home-social i {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#home-footer {
  background: #0b212d;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#home-footer .home-footer-newsletter {
  padding: 50px 0;
  background: #0d2735;
}

#home-footer .home-footer-newsletter h4 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  color: #a2cce3;
}

#home-footer .home-footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
}

#home-footer .home-footer-newsletter form input[type=email] {
  border: 0;
  padding: 8px 15px;
  width: calc(100% - 120px);
  outline: none;
}

#home-footer .home-footer-newsletter form input[type=email]::placeholder {
  color: #999;
}

#home-footer .home-footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  margin: 3px;
  background: #68A4C4;
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
  cursor: pointer;
}

#home-footer .home-footer-newsletter form input[type=submit]:hover {
  background: #468db3;
}

#home-footer .home-footer-top {
  background: #0d2735;
  border-top: 1px solid #17455e;
  border-bottom: 1px solid #123649;
  padding: 60px 0 30px 0;
}

#home-footer .home-footer-top .home-footer-info {
  margin-bottom: 30px;
}

#home-footer .home-footer-top .home-footer-info h3 {
  font-size: 18px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  color: #a2cce3;
  font-weight: 600;
}

#home-footer .home-footer-top .home-footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color: #fff;
}

#home-footer .home-footer-top .home-social-links a {
  font-size: 18px;
  display: inline-block;
  background: #1e4356;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#home-footer .home-footer-top .home-social-links a:hover {
  background: #68A4C4;
  color: #fff;
  text-decoration: none;
}

#home-footer .home-footer-top h4 {
  font-size: 18px;
  font-weight: 600;
  color: #a2cce3;
  position: relative;
  padding-bottom: 12px;
}

#home-footer .home-footer-top .home-footer-links {
  margin-bottom: 30px;
}

#home-footer .home-footer-top .home-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#home-footer .home-footer-top .home-footer-links ul i {
  padding-right: 8px;
  color: #a2cce3;
  font-size: 14px;
  line-height: 1;
}

#home-footer .home-footer-top .home-footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#home-footer .home-footer-top .home-footer-links ul li:first-child {
  padding-top: 0;
}

#home-footer .home-footer-top .home-footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}

#home-footer .home-footer-top .home-footer-links ul a:hover {
  color: #a2cce3;
}

#home-footer .home-footer-top .home-footer-contact {
  margin-bottom: 30px;
}

#home-footer .home-footer-top .home-footer-contact p {
  line-height: 26px;
}

#home-footer .home-copyright {
  text-align: center;
  padding-top: 30px;
}

#home-footer .home-credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

#home-footer .home-credits a {
  color: #a2cce3;
  text-decoration: none;
}

#home-footer .home-credits i {
  color: #e74c3c;
  margin: 0 5px;
}

/* Back to Top Button */
.home-back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #68A4C4;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.home-back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.home-back-to-top:hover {
  background: #468db3;
  color: #fff;
}

.home-back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  #home-footer .home-footer-newsletter h4 {
    font-size: 20px;
  }

  #home-footer .home-footer-newsletter form input[type=email] {
    width: calc(100% - 110px);
  }

  #home-footer .home-footer-top {
    padding: 40px 0 20px 0;
  }

  #home-footer .home-footer-top .home-footer-links,
  #home-footer .home-footer-top .home-footer-contact,
  #home-footer .home-footer-top .home-footer-info {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  #home-footer .home-footer-newsletter form {
    flex-direction: column;
  }

  #home-footer .home-footer-newsletter form input[type=email] {
    width: 100%;
    margin-bottom: 10px;
  }

  #home-footer .home-footer-newsletter form input[type=submit] {
    position: relative;
    width: 100%;
  }
}