/* @import url("https://fonts.googleapis.com/css?family=PT+Serif:400,700&display=swap"); */

@import "top-services.css";
* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  font-family: "PT Serif", serif;
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 100%;
}

main {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}

a {
    color: unset;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

 
.header-blue .menu li a {
    color: white;
} 

.header-blue .menu li a:hover {
    color: white;
}

.header-blue .menu li .btn.btn-blue {
    background: #FF9900;
}

.header-blue .menu li .btn.btn-blue:hover {
    background-color: #ffa929;
}

.menu {
  display: flex;
  align-items: center;
  list-style: none;
  font-size: 18px;
  font-weight: 800;

}

.menu li {
  margin-left: 20px;
}

.menu li a {
  color: #192965;
  transition: all 0.3s;
}

.menu li a:hover {
  color: #30448e;
  text-decoration: underline;
}

.menu li .btn.btn-blue {
  color: white;
}

.menu li .btn.btn-blue:hover {
  color: white;
}


.wrapper {
    max-width: 1080px;
    padding: 0 15px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 30px;
    color: #192965;
    width: 130px;
    margin-left:-50px;
}

header {
    padding-top: 30px;
    margin-bottom: 20px;
}

.btn {
    border-radius: 10px;
    font-weight: 500;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 40px;
    padding: 8px 15px;
    color: #FFEDE3;
}

.btn-blue {
    background-color: #192965;
}

.btn-blue:hover {
    background-color: #30448e;
}

.btn-orange {
    background-color: #FF9900;
}

.btn-orange:hover {
    background-color: #ffa929;
}

.footerh3 {
  color: black;
}

h2:not([class]) {
    margin-bottom: 25px;
    font-size: 35px;
    color: #192965;
    width: 100%;
    text-align: center;
}

h3:not([class]) {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 500;
    color: white;
}

p:not([class]) {
    margin-bottom: 15px;
    font-size: 18px;
}

ul:not([class]) {
    padding-left: 25px;
    font-size: 16px;
    margin-bottom: 15px;
}

main {
    padding-bottom: 40px;
}

footer {
    background-color: #192965;
    padding: 35px 0;
    color: #ffffff;
}

footer .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

footer .logo {
    color: #ffffff;
    margin-bottom: 30px;
}

.footer-text {
    font-size: 16px;
    max-width: 420px;
    margin-left:-50px;
}

footer .links {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

footer .links a {
    padding: 10px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

footer .links a img {
    margin-right: 10px;
}

footer .links a:hover {
    text-decoration: underline;
}

footer .links-title {
    text-align: center;
    width: 100%;
    font-weight: 800;
    margin-bottom: 10px;
}

.mt-40 {
  margin-top: 40px; 
}

.links.d-flex {
  flex-direction: row;
}

.links.d-flex a {
  margin-left: 20px;
}

ul.links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 10rem;
  max-width: 800px;
  margin: auto;
  padding: 0 15px;
}

@media (max-width: 767px) {
  
  .footer-text, .logo {
    margin-left: 0;
  }
  
  ul.links {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 5rem;
  }

  ul.links {
    margin: 0;
  }

  footer .links-title {
    text-align: left;
  }
  
    .menu,
  .menu li .btn.btn-blue {
    font-size: 13px;
  }
  
   .menu li {
    margin-left: 10px;
  }

  .menu li:first-child {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  ul.links {
    grid-template-columns: repeat(1, 1fr);
    gap: 0 0;
  }

  .links.d-flex a {
    margin-left: 10px;
    font-size: 14px;
  }
  
    .header-content {
    flex-direction: column;
  }
  
  .menu {
    margin-top: 15px;
    
  }
  
      .menu,
  .menu li .btn.btn-blue {
   font-size: 11px;
  }
  
  .menu li .btn.btn-blue {
      padding: 5px 10px;
      height: 30px;
  }
  
}

ul.links li {
  display: block;
  width: 50%;
}

ul.links li a {
  font-size: 15px;
}


@media(max-width: 767px) {
    h2:not([class]) {
        font-size: 24px;
    }

    footer .wrapper {
        -ms-flex-wrap: wrap-reverse;
            flex-wrap: wrap-reverse;
    }

    footer .wrapper div:first-child {
        margin-top: 20px;
    }

    .logo {
        font-size: 24px;
    }
}
