:root {
  --background-color: #f4f4f4;
  --color-primary: #1e5eb2;
  --color-secondary: #fff;
  --dark-color: #333;
  --max-width: 1100px;
  --img-uri: url("../resources/img/showcase.jpg") no-repeat center center/cover;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Times New Roman", Times, serif;
  line-height: 1.5;
  background: var(--background-color);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
ul {
  list-style: none;
}
p {
  margin: 0.5rem 0;
  line-height: 1.7;
}
img {
  width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.55rem;
  line-height: 1.3;
  color: var(--color-primary);
}

/* utility */
.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 2rem;
  overflow: hidden;
}
.card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: minmax(200px, auto) 1fr;
  gap: 1rem;
  background: #fff;
  padding: 1rem;
}

.card img {
  text-align: center;
  border-radius: 10px;
  min-height: 200px;
  object-fit: cover;
  margin: 0 auto;
}

.card > div {
  align-items: center;
  justify-content: center;
  padding-left: 20px;
  margin: 0 auto;
}
.card-content {
  border-radius: 20px;
  border: 2px solid #f4f4f4;
  padding: 15px;
  margin: 20px auto;
  text-align: center;
  width: 90%;
}

.btn {
  cursor: pointer;
  display: inline-block;
  border: 1px solid #fff;
  color: var(--color-secondary);
  background: var(--color-primary);
  padding: 0.5rem 1.5rem;
}
.btn-light {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
}
.bg-primary {
  background: #fff;
}
.py-2 {
  padding: 20px 0;
}
.f-width {
  width: 100%;
}

.l-heading {
  font-size: 3rem;
}
.hidden {
  display: none;
}
.l-text {
  font-size: 20px;
}
.justify-text {
  text-align: justify;
}

.text-primary {
  font-weight: bold;
  font-size: 18px;
  color: #ff9f21;
}
.text-secondary {
  color: var(--color-primary);
}
.lazy-img {
  filter: blur(10px);
}
.payment-list {
  display: flex;

  justify-content: space-between;

  padding: 5px 30px 0 30px;
}
.page-container {
  display: grid;
  grid-template-columns: 5fr 2fr;
  margin: 1rem;
  gap: 1.5rem;
}
.social {
  padding: 1rem;
}
.page-container > *:first-child {
  grid-row: 1 / span 3;
  padding: 20px;
}
.social p {
  color: var(--color-primary);
}
.social ul {
  display: flex;
}
.social ul li {
  text-align: center;
}
.social ul a {
  padding: 5px;
  text-align: center;
}

.text-red {
  color: red;
}

/* navigation */
#main-nav {
  background: var(--color-secondary);
  top: 0;
  z-index: 2;
  height: 80px;
}

#main-nav.sticky {
  position: sticky;
}

#main-nav .container {
  display: grid;
  grid-template-columns: 4fr 9fr 2fr;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
}

#main-nav .logo {
  width: 110px;
}
#main-nav .nav-list {
  display: flex;
}

#main-nav .nav-list a {
  padding: 0.75rem;
  margin: 0 5px;
}
#main-nav .container #main-menu li a:hover,
#main-nav .container #main-menu li .current {
  color: #cedbec;
}
.current {
  border-bottom: 1px solid #1e5eb2;
}

.btn-bars {
  display: none;
}

.sidebar {
  display: none;
}
/* showcase */
#showcase {
  color: var(--color-secondary);
  background: var(--dark-color);
  padding: 2rem;
  position: relative;
}
#showcase:before {
  content: "";
  background: var(--img-uri);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}
#showcase .showcase-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  justify-content: center;
  align-items: center;
  height: 70vh;
}

#showcase .showcase-content {
  z-index: 1;
}
#showcase .showcase-content h1 {
  color: var(--color-secondary);
}
#showcase .showcase-content p {
  margin-bottom: 1rem;
}

/* home articles */
#home-articles .articles-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

#home-articles .articles-container > *:first-child,
#home-articles .articles-container > *:nth-child(2) {
  grid-column: 1 / span 2;
}

#home-articles .articles-container .articles-content {
  background: #fff;
  padding-left: 20px;
}
#home-articles .articles-container .articles-content h2 {
  padding-top: 20px;
  text-align: center;
  /* color: #333; */
}
#home-articles .articles-container .articles-content > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

#home-articles .articles-content div > .card {
  grid-template-columns: 1fr;
}
#home-articles .articles-content .card-content ul li {
  text-align: justify;
  padding: 5px 0;
}

#home-articles iframe {
  display: block;
  border-radius: 10px;
  width: 60%;
  height: 350px;
  margin: 20px auto;
}

#home-articles .btn-blog {
  display: flex;
  text-align: center;
  justify-content: center;
  margin: auto;
  width: 50%;
}
/* blog */

.post-container .card {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
}
.post-container .card div p {
  overflow: hidden;
  height: 300px;
}
.post-container .card div,
.post-container .card img {
  width: 50%;
}

.post-container .card:nth-child(even) {
  flex-direction: row-reverse;
}

/* Hero */
.hero {
  background: url("../resources/img/bg-blog-contact.jpg") no-repeat center
    center/cover;
  height: 40vh;
  text-align: center;
  position: relative;
}
.hero:before {
  content: "";
  background: #000;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.2;
}
.hero h1 {
  z-index: 3;
  text-align: center;
  padding-top: 100px;
  color: var(--color-secondary);
}
/* about */

/* contact */

#contact .form-container input,
textarea {
  display: block;
  padding: 23px 15px;
  margin: 15px 0;
  width: 100%;

  background-color: #f4f4f4;
  border: 2px solid #f4f4f4;

  border-radius: 10px;
}

#contact .form-container textarea {
  height: 200px;
}
#contact .form-container button {
  padding: 15px;
}
#contact .form-container input:focus,
#contact .form-container textarea:focus {
  outline: none;
  border: #1e5eb2 2px solid !important;
}

/* Video */
.video {
  width: 95%;
  margin: auto;
}
/*  ///////////////////////////*/

/* SLIDER */

.slider {
  width: 100%;
  min-height: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s;
  text-align: center;
}

.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  color: #333;
  border-radius: 50%;
  height: 2.5rem;
  width: 2.5rem;
  font-size: 1.25rem;
  cursor: pointer;
}

.slider__btn--left {
  left: 6%;
  transform: translate(-50%, -50%);
}

.slider__btn--right {
  right: 6%;
  transform: translate(50%, -50%);
}

.dots {
  position: relative;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dots__dot {
  border: none;
  background-color: #b9b9b9;
  opacity: 0.7;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  margin-right: 1rem;
  cursor: pointer;
  transition: all 0.5s;
}

.dots__dot:last-child {
  margin: 0;
}

.dots__dot--active {
  background-color: #666668;
  opacity: 1;
}

/* TESTIMONIALS */

.testimonials {
  width: 100%;
}

.testimonial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.testimonials figure.snip1390 {
  font-family: "Roboto", Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 230px;
  max-width: 90%;
  width: 100%;
  color: var(--color-primary);
  text-align: center;
  font-size: 16px;
  background-color: var(--background-color);
  padding: 30px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 10px;
}
.testimonials figure.snip1390 *,
.testimonials figure.snip1390 *:before,
.testimonials figure.snip1390 *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
.testimonials figure.snip1390 figcaption {
  width: 100%;
}
.testimonials figure.snip1390 h2,
.testimonials figure.snip1390 h4,
.testimonials figure.snip1390 blockquote {
  margin: 0;
}
.testimonials figure.snip1390 h2,
.testimonials figure.snip1390 h4 {
  font-weight: 300;
}
.testimonials figure.snip1390 h2 {
  color: var(--color-primary);
}
.testimonials figure.snip1390 h4 {
  color: #ff9f21;
}
.testimonials figure.snip1390 blockquote {
  font-size: 1rem;
  padding: 45px 20px 40px 50px;
  margin: auto;
  margin-top: 30px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: inset -1.4px -1.4px 2px rgba(0, 0, 0, 0.3);
  text-align: left;
  position: relative;
  width: 80%;
}
.testimonials figure.snip1390 blockquote:before {
  font-family: "FontAwesome";
  content: "\201C";
  position: absolute;
  font-size: 30px;
  opacity: 0.25;
  font-style: normal;
  top: 0px;
  left: 20px;
}
.testimonials figure.snip1390 .profile {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  display: inline-block;
  box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
  border: solid 5px #a6a57a;
}

.testimonials img {
  object-fit: scale-down;
}

.testimonials .testimonials-container {
  max-width: 600px;
  margin: auto;
}

/* scroll btn */
.scroll__btn {
  margin-right: 20px;
  position: fixed;
  top: 90%;
  right: 00;
  z-index: 60;
  border: none;
  background: rgba(197, 196, 196, 0.7);
  color: #333;
  border-radius: 50%;
  height: 3rem;
  width: 3rem;
  font-size: 1.25rem;
  cursor: pointer;
 
}
/* footer */

#main-footer {
  background: var(--color-secondary);
  color: var(--color-primary);
}

#main-footer img {
  width: 150px;
}

#main-footer .footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
#main-footer .footer-container > *:last-child {
  background: var(--background-color);
  grid-column: 1 / span 4;
  padding: 8px;
  text-align: center;
  font-size: 16px;
}
#main-footer .footer-container input[type="email"] {
  width: 90%;
  padding: 8px;
  margin-bottom: 8px;
}

#main-footer .footer-container input[type="submit"] {
  width: 90%;
}
.list li {
  padding: 8px 0;
  border-bottom: var(--color-primary) dotted 1px;
}
.list li a:hover {
  color: var(--dark-color);
}
