/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

nav ul a,
nav .brand-logo {
  color: #444;
}

p {
  line-height: 2rem;
}

a {
  color: #6ba4fd;
}

img {
  max-width: 100%;
  height: auto;
}

.container p {
  font-size:1.2rem;
}

.row p {
  line-height: 1.7rem;
}

#download-button {
  background-color: #004a89;
}

#download-button:hover {
  background-color: #025eaf;
}

.sidenav {
  width: 250px;
}

.sidenav li > a {
  font-size: 18px;
}

.sidenav-trigger {
  color: #db2227;
}

h2.brown-text {
  color: #db2227 !important;
}


.parallax:after {
  content:"";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,0.25);
  z-index: 1;
  height:100%;
  width: 100%;
  margin: auto;
}

.parallax-container {
  min-height: 380px;
  line-height: 0;
  height: auto;
  color: rgba(255,255,255,.9);
} 

.parallax-container .section {
    width: 100%;
  }
 
#index-banner .parallax img {
  transform: translateX(0) !important;
  left: -100%;
  right: -100%;
  top: -100%;
  bottom: -100%;
  margin:  auto;
}


  .page-footer {
    background-color: #004a89;
  }

  .social-media a {
    font-size: 30px;
    margin-right:1rem;
}

.social-media .fab.fa-facebook:hover {
  color: #4267B2;
}

.social-media .fab.fa-whatsapp:hover {
  color: #25d366;
}

 /*
Back to top button 
*/
#back-top {
	position: fixed;
  bottom: 0;
  right:-30px;
  /* margin-left: -150px; */
}
#back-top a {
	width: 108px;
	display: block;
	text-align: center;
	font: 11px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
  color: #bbb;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover {
	color: #000;
}
/* arrow icon (span tag) */
#back-top span {
  display: block;
  color: #db2227; /* red */
  color: white;
	/* rounded corners */
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
  transition: 1s;
  background-color: #004a89;
  padding: 5px 0;
  max-width:60px;
}

/* #back-top a:hover span {
  color: #004a89;
	background-color: #777;
} */

.cm-logo-carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  row-gap: 8px;
}

.partner-logo {
  width: 100px; /* Adjust this value to fit your partner logo size */
  height: 100px; /* Adjust this value to fit your partner logo size */
  margin-right: 8px;
  background-color: #f5f5f5; /* Add a background color to the logo box */
  border: 1px solid #ccc; /* Add a border to the logo box */
  border-radius: 5px; /* Add rounded corners to the logo box */
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* padding: 10px;  */
}

/* FAQ */
dl {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
}

dt {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
  position:relative;
}

dd {
  margin: 0;
  font-size: 18px;
}

dd.closed{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

dd.open {
  max-height: 1000px;
  transition: max-height 0.6s ease-in;
}


dt {
  background-color: #f5f5f5;
}

.question-container {
  position: relative;
}

dt::after {
  content: "\f078"; /* Font Awesome 5 down arrow */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease-out;
}

dd.closed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

dd.open {
  max-height: 1000px;
  transition: max-height 0.6s ease-in;
}
dt::after {
  content: var(--arrow-content, "\f078");
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease-out;
}

/* .question-container:not(:last-child) dt::after {
  content: "\f078"; /* Font Awesome 5 down arrow */

/* } */


.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 -10px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top:37px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  /* border-radius: 8px; */
  position:relative;
  max-width:400px;
}

.service a {
  overflow:hidden;
}

.service a img {
  transition: transform 400ms cubic-bezier(0.42, 0, 0.58, 1),opacity 300ms;
}

.service a:hover img {
  transform: scale(1.05, 1.05) !important;
}

.service img {
  max-width: 100%;
  margin-bottom: 10px;
}

.service h2 {
  position: absolute;
  font-size: 1rem;
  top: 0;
  margin: 0;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 100%;
  text-align: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.service p {
  margin: 0;
  text-align: justify;
  padding: 0 1rem 1rem;
  line-height: unset;
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-container {
  margin: 10px;
}

.gallery-container img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
  z-index: 9999;
}

.popup img {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: block;
}

.popup .close {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
  z-index:10;
}

.popup .popup-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.popup img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.popup .arrow {
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.3s ease;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.popup .arrow:hover {
  opacity: 0.7;
}

.popup .previous {
  left: 20px;
}

.popup .next {
  right: 20px;
}

/* Videos */
.video-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 20px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
  display:block;
}


@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }
  #index-banner .section {
    top: 10%;
  }

  #index-banner h1 {
    font-size: 3.8rem;
  }
  
  .row p {
    line-height: 1.5rem;
  }

  #logo-container {
    margin-top: 0;
  }

  .service {
  padding-top:35px;
  }
  
}

@media only screen and (max-width: 740px) {
  .parallax img {
      min-width:740px !important;
  }
 }

@media only screen and (max-width : 600px) {
  #index-banner .section {
    top: 0;
  }

  #index-banner h1 {
    font-size: 3.2rem;
  }

  #index-banner h5 {
    font-size: 1.3rem;
  }

}

.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
  font-size: inherit;
}

footer.page-footer {
  margin: 0;
}

#logo-container {
  margin-top:6px;
}

.brand-logo img {
  position: absolute;
  left:-9999px;
}

@media (max-width:1210px) {
  .brand-logo {
    background: none !important;
    width: auto !important;
    height: auto !important;
  }
  .brand-logo img {
    position: static;
    max-width: 100%;
  }

}