/*-- Body Reset --*/
body {
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  color: #616971;
  background-color: #0f0c34;
}

/*========== HOME HTML PAGE ==========*/


/*===== TOP BAR =====*/

.top-bar {
  background: #02439B;
  height: 2.5rem;
  padding: .5rem 0;
}
.top-bar a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}
.top-bar a:hover {
  color: #f8f9f9;
  font-weight: bolder;
}
.btn-group-sm button {
  font-size: .6rem;
  color: white;
}
.btn-group-sm button:hover {
  color: white;
}
.btn-group-sm a {
  font-size: .6rem;
  color: black;
}
.btn-group-sm a:hover {
  font-size: 1rem;
  font-weight: bolder;
  color: #3366ff;
}
.top-bar img {
  margin-left: 10px;
  border: 1.2px solid lightgray;
  border-radius: 6px;
}



/*===== NAVIGATION BAR =====*/

.navbar img {
  height: 4rem;
}
.navbar {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .1rem;
  box-shadow: 0 .5rem .5rem rgb(2, 66, 155)!important;
  z-index: 1;
  /* background: rgba(250, 250, 250, .5)!important; */
  /* background: rgb(255, 255, 255)!important; */
  background: rgb(15, 12, 52)!important;
  opacity: 1 !important;
}
#navbarResponsive .nav-link {
    color: #f8f2f2;   /* change to any color */
}
.nav-item {
  padding: .5rem;
}
.nav-link {
  color: #5b5555;
}
.nav-link:hover {
  color: #02439B!important;
}
.dropdown-menu a {
  font-size: .8rem;
  color: black;
}
.dropdown-menu a:hover {
  font-size: 1rem;
  font-weight: bold;
  color: #02439B;
}
.fa-home, .fa-envelope, .fa-newspaper {
  margin-right: 2px;
}
#navbarResponsive .active {
  color: rgba(0, 0, 0, 0.812);
  font-weight: bolder;
  /* text-shadow: 4px 2px lightgray; */
  /* box-shadow: 8px 8px 5px gray; */
}
#navbarResponsive .nav-link.active {
  color: rgb(17, 17, 19); /* your custom blue */
  font-weight: bold;
  /* background-color: rgba(240, 240, 240, 1); optional highlight background */
  /* border-radius: 5px; optional rounded effect */
}


/*===== CAROUSEL =====*/

.carousel{
  box-shadow: 0 1rem 1rem rgb(2, 66, 155);
}

#business .carousel-item img {
  width: 400px;
  height: 200px;
}
.carousel-img,
.carousel-item img {
    width: 100%;
    height: 100vh;          /* Full screen height */
    object-fit: cover;     /* Crop nicely without distortion */
}
.carousel-item video {
    width: 100%;        /* adjust: 40%, 50%, 70% */
    height: 65vh;
    margin: 0 auto;    /* center horizontally */
    display: block;
}
.video-wrapper {
    position: relative;
}

.carousel-inner img{
  max-height: 38rem!important;
}
.carousel-inner h5 {
  text-shadow : .5rem .5rem .8rem rgba(0, 0, 0, 1);
  font-size: 2.2rem;
}
.carousel-inner p {
  text-shadow : .5rem .5rem .8rem rgba(0, 0, 0, 1);
  font-size: 1.2rem;
}
.carousel-inner {
  position: relative;
}
.carouselblock {
  position: absolute;
  bottom: 0;
/* Fallback color */
/* Black background with 0.5 opacity */
  /* background: rgb(0, 0, 0); 
  background: rgba(0, 0, 0, 0.5);  */
  color: #f1f1f1;
  width: 100%;
  padding: 25px;  
}
.carouselblock p {
  word-spacing: 2px;
  font-size: 1.2rem;
  /* color: #F9F9F9; */
  color: #0a0808;
  text-shadow: 0 0 5px white, 0 0 8px yellow;
  font-weight: bolder;
}
.carouselbox1 {
  position: absolute;
  top: 70%;
  right: 5%;
  border-radius: 1rem;
  background-color: rgba(23, 32, 42, 0.5);
  color: white;
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 30px;  
}
.carouselbox2 {
  position: absolute; 
  top: 60px;
  right: 100px;
  border-radius: 1rem;
  background-color: rgba(23, 32, 42, 0.5);
  color: white;
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 30px;
}
.carouselbox3 {
  position: absolute; 
  bottom: 60px;
  left: 100px;
  border-radius: 1rem;
  background-color: rgba(23, 32, 42, 0.5);
  color: white;
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 30px;
}


/*===== CAROUSEL-transition speed =====*/
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  transition: transform .8s ease;
}

/*===== MKP INC BANNER =====*/

.jumbotron {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, .2);
}
.jumbotron h2 {
  font-size: 3.3rem;
  font-weight: 700;
  /* color: #808b96; */
  color: white;
  text-shadow: .3rem .3rem .5rem rgba(  0, 0, 0, 2);
  z-index: 1;
}
.jumbotron p {
  font-size: 1rem;
  letter-spacing: .1rem;
  /* color:  #566573; */
  color: white;
  z-index: 1;
}
.border-primary {
  height: .2rem;
  background-color: #02439B;
  margin: 0 auto 2rem;
}




/*===== FIXED BACKGROUND =====*/

#features {
  background-image: url(../img/MKP25.png);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 300px!important;
  width: auto!important;
  height: auto!important;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}




/*===== CSR PAGE HEADING =====*/

.border-secondary {
  height:.2rem;
  background-color: #02439B;
  margin: 0 auto 2rem;
}
#csrpage p {
  color: white;
  font-size: 1rem;
  font-family: "Lucida Handwriting";
  letter-spacing: 1px;
  text-indent: 2rem;
}
#csrpage h4 {
  color: white;
}
.fa-quote-left, .fa-quote-right {
  margin-right: 5px;
  margin-left: 5px;
  color: #02439B;
}
#csrpicturerow h5{
  color: white;
}


/*===== CSR PICTURE ROW=====*/

.fa-grip-lines-vertical {
  color: #02439B;
  margin-right: 10px;
  font-size: 1.5rem;
}
/* equal columns spacing */
.csrimage {     
  float: left;
  width: 25%;
  padding: 5px;
}
/* style image inside the grid */
.csrimage img {
  opacity: 0.5;
  cursor: pointer;
  border-radius: 4px;
  border-style: hidden double double hidden;
  border-color: darkgray;
  border-width: 6px;
  box-shadow: 6px 6px gray;
}
.csrimage img:hover {
  opacity: 1;
}


/*===== NEWS =====*/

.mkpnewslist a {
  /* background-color: white; */
  color: white;
  font-size: 18px;
  text-align: left;
}
.container-fluid h4 {
    color: white;
}
.mkpnewslist a:hover {
  /* color: gray; */
  color: #3366ff;
  font-weight: bolder;
  text-shadow: 2px 2px 5px gray;
}

#mkpnews .fa-newspaper {
  color: #02439B;
  margin-right: 10px;
  font-size: 1.8rem;
}
.fa-ellipsis-v {
  margin-left: 2rem;
  margin-right: 2rem;
}
.viewallbtn a {
  display: inline-block;
  border-radius: 15px;
  background-color:#02439B;
  border: none;
  box-shadow: 4px 4px 2px gray;
  color: white;
  text-align: center;
  font-size: 17px;
  font-style: italic;
  padding: 10px;
  width: 150px;
  transition: all 0.3s;
  cursor: pointer;
}
.viewallbtn a span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}
.viewallbtn a span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
  text-shadow: 2px 2px gray;
  font-weight: bolder;
}
.viewallbtn a:hover span {
  padding-right: 25px;
  text-shadow: 2px 2px gray;
  font-weight: bolder;
}
.viewallbtn a:hover span:after {
  opacity: 1;
  right: 0;
}


/*===== BUSINESS PATNER SLIDE =====*/ 

#business {
  box-shadow: 0 1rem 1rem rgba(6, 10, 236, 1);
}
#business img{
  max-height: 15rem!important;
  margin: 0 1rem 0 1rem;
}
#business {
  background-image: url(../img/AWARDS.png);
  background-size: cover;
  background-attachment: fixed;
  min-height: 200px!important;
  max-height: 200px!important;
}




/*===== 1st COLUMN FOOTER  VISIT US CONTACT US EMAIL US =====*/

footer {
  background-color: #090231;
  color: white;
  padding: 1.5rem 1rem 1rem;
}
footer p {
  font-size:.8rem;
}
.fa-map-marker-alt, .fa-phone, .fa-envelope-open-text {
  margin-bottom: .5rem;
  color: #02439B;
  font-size: 1.1rem;
}
.emailsupport a {
  color: white;
}
.emailsupport :hover {
  font-size: 1rem;
  font-weight: bolder;
  color: #02439B;
}


/*===== 2nd COLUMN FOOTER =====*/  

footer{
    /* margin-top: 250px; */
    /* background: #333333; */
    color: white;
    position: relative;
    width: 100%;
}
footer img{
    width: 120px;
    margin-top: 43px;
}
footer span{
    margin-top: 25px;
}
footer h6{
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    text-align: left;
    margin-bottom: 15px;
    margin-top: 50px;
}
footer .col-3{
    padding-left: 35px;
}
footer a{
    text-decoration: none;
    transition: 0.5s;
    color: white;
}
footer a:hover{
    /* color: #1e6fbb; */
    color: #02439B;
}
footer .fa-whatsapp{
    margin-right: 5px;
}
.copyright{
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    text-align: center;
    height: 45px;
    background-color: #242424;
    padding-top: 15px;
}
.footer-container{
    display: flex;
}
.social {
    display: flex;
    align-items: center;
    margin-top: 13px;
    padding-left: 5px;
}
.social i {
    color: #fff;
    font-size: 17px;
    margin-right: 15px;
}
footer hr {
  border-top: .4rem solid #02439B;
  width: 100%;
  margin-bottom: 2rem;
}
.fa-facebook {
  color: #3498db;
}
.fa-twitter {
  color: #1da1f2;
}
.fa-google-plus {
  color: #dd4b39;
}
.fa-instagram {
  color:  #c0392b ;
}
.fa-youtube {
  color: #bb0000;
}
.fa-facebook, .fa-twitter, .fa-google-plus, .fa-instagram, .fa-youtube {
  margin: 1.5rem;
  font-size: 1.5rem;
}
.fa-facebook:hover,.fa-twitter:hover,.fa-google-plus:hover,.fa-instagram:hover,.fa-youtube:hover {
  color: #d5d5d5;
}



/*===== SOCKET - 2025 WWW.MKP.COM.PH =====*/ 

.socket {
  /* background-color: #222222; */
  /* border-top: .15rem solid #1ebba3; */
  background-color: black;
  border-top: .15rem solid #02439B;
  letter-spacing: 1.5px;
}
.socket a {
  color: white;
  text-decoration: none;
}
.socket a:hover {
  font-size: 1rem;
  font-weight: bolder;
  /* color: #1ebba3; */
  color: #02439B;

}
/* .socket p:hover {
  font-size: 1rem;
  font-weight: bolder;
  color: #1ebba3;
} */



/*===== MEDIA QUERIES =====

/* Devices under 1200px (xl) */
@media (max-width: 1199.98px) {

.carousel-inner h5 {
  font-size: 1.8rem;
}
.carousel-inner p {
  font-size: .8rem;
}
}


/* Devices under 992px (lg) */
@media (max-width: 991.98px) {

.carousel-inner h5 {
  font-size: 1.4rem;
}
.carousel-inner p {
  font-size: 0.6rem;
}
}


/* Devices under 768px (md) */
@media (max-width: 767.98px) {

.carousel-inner h5 {
  font-size: 1rem;
}
.carousel-inner p {
  font-size: 0.5rem;
}
}


/* Devices under 768px (sm) */
@media (max-width: 576px) {

#features {
  background-image: url(../img/MKP25.png);
  background-size: cover;
  background-attachment: fixed;
  min-height: 180px!important; 
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}

}
/* For phones */
@media (max-width: 768px) {
  .container {
    width: 100%;
  }
}



/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/
