@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&family=Montserrat:wght@400;500&display=swap");
/* ======================== */
/* Common CSS*/
/* ======================== */
:root {
  --primaryColor: #d64c31;
  --pinkLight: #fff0e7;
  --white: #ffffff;
  --gray: #7c7d98;
  --deepGray: #4a455c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: montserrat;
}

.container {
  max-width: 1380px;
  padding: 0 50px;
  margin: auto;
}
a {
  text-decoration: none;
}
.border {
  border: 1px solid gray;
}
/* ======================== */
/* Common CSS*/
/* ======================== */
/* ======================== */
/* Header section start*/
/* ======================== */
.header {
  width: 100%;
  max-height: 100%;
  position: relative;
}
.header .header-img {
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
}
.header .header-img img {
  width: 100%;
}
/* ======================== */
/* Header section end*/
/* ======================== */

/* ======================== */
/* Blog section start*/
/* ======================== */
.blog {
  padding: 50px 0;
}

.blog h2 {
  font-size: 80px;
  font-family: cormorant;
  font-weight: 500;
  color: var(--deepGray);
  margin-bottom: 20px;
}
.blog-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-basis: 1;
}
.blog-container .cards-one {
  width: 65.5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.blog-container .cards-one .card-1 {
  width: 48%;
}
.blog-container .cards-one .card-2 {
  width: 100%;
}

.blog-container .card-img {
  max-height: 330px;
  overflow: hidden;
}
.blog-container .card-img img {
  width: 100%;
  margin: 0;
  padding: 0;
}

.blog-container .card-content {
  margin-top: -5px;
  background: var(--deepGray);
  padding: 40px;
  color: var(--white);
}

.blog-container .card-content h5 {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
  font-family: montserrat;
}

.blog-container .card-content h3 {
  font-size: 40px;
  font-weight: 500;
  font-family: montserrat;
  padding: 15px 0;
}
.blog-container .card-content p {
  line-height: 1.8;
  font-weight: 300;
  font-size: 18px;
}
.blog-btn {
  margin: 30px 0 0 0;
  padding: 15px 30px;
  color: var(--white);
  font-weight: 500;
  font-size: 18px;
  background: var(--primaryColor);
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  transition: 0.3s;
}
.blog-btn:hover {
  background: var(--white);
}

.blog-btn a {
  color: var(--white);
}
.blog-btn:hover a {
  color: var(--deepGray);
}

.card-two {
  width: 32%;
}
.card-two .card-content {
  background: var(--gray);
} /* ======================== */
/* Blog section end*/
/* ======================== */

/* ======================== */
/* Post section start*/
/* ======================== */
.post {
  margin: 20px 0 0 0;
  padding: 20px 0 100px 0;
  background: var(--pinkLight);
}
.post h2 {
  font-size: 80px;
  font-family: cormorant;
  font-weight: 500;
  color: var(--deepGray);
  margin-bottom: 20px;
}

.post-card .post-img {
  max-height: 330px;
  overflow: hidden;
}
.post-card .post-img img {
  width: 100%;
}
.post-content .content {
  padding: 40px;
  background: var(--white);
}
.post-content h5 {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
  font-family: montserrat;
}

.post-content .content h3 {
  font-size: 40px;
  font-family: montserrat;
  margin: 0;
  font-weight: 500;
  padding: 15px 0;
  color: var(--primaryColor);
}
.post-content .content p {
  line-height: 1.8;
  font-weight: 500;
  font-size: 18px;
}
.post-btn {
  margin: 30px 0 0 0;
  padding: 13px 30px;
  font-size: 18px;
  font-family: montserrat;
  font-weight: 500;
  background: var(--white);
  border: 3px solid var(--gray);
  cursor: pointer;
  letter-spacing: 1px;
  transition: 0.3s;
}
.post-btn:hover {
  background: var(--primaryColor);
  border: 3px solid var(--primaryColor);
}
.post-btn a {
  color: #000;
}
.post-btn:hover a {
  color: var(--white);
}
/* ======================== */
/* Post section end*/
/* ======================== */

/* ======================== */
/* Footer section start*/
/* ======================== */

.footer {
  background: var(--primaryColor);
}

.footer-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 0;
}

.footer .footer-content .logo img {
  height: 50px;
}
.subscribe h2,
.footer .footer-content h2 {
  font-size: 30px;
  padding: 10px 0;
  font-weight: 500;
}
.footer .footer-content p {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.8;
}

.footer .footer-content ul {
  display: flex;
  padding: 20px 0;
}
.footer .footer-content ul a {
  text-decoration: none;
  color: var(--white);
  transition: 0.3s;
}
.footer .footer-content ul a:hover {
  text-decoration: none;
  color: #000;
}
.footer .footer-content ul li {
  list-style: none;
  font-size: 18px;
  font-family: montserrat;
  font-weight: 400;
  font-weight: 400;
  margin-right: 25px;
  cursor: pointer;
}
.footer .footer-content p:nth-child(5) {
  font-size: 18px;
  font-weight: 500;
}

.subscribe input {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border: none;
  outline: none;
  border-radius: 3px;
}
.sub-btn {
  margin: 15px 0;
  font-size: 22px;
  font-family: montserrat;
  font-weight: 500;
  padding: 13px 20px;
  border-radius: 3px;
  border: none;
  background: var(--pinkLight);
  cursor: pointer;
  transition: 0.3s;
}
.sub-btn:hover {
  background: var(--primaryColor);
  color: var(--white);
}
.subscribe p:nth-child(4) {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.8;
  padding: 0 0 10px 0;
}
.subscribe ul {
  padding: 10px 0;
  display: flex;
}

.subscribe ul li {
  list-style: none;
  margin-right: 30px;
  font-size: 40px;
  cursor: pointer;
}
.subscribe ul li:hover a {
  color: var(--primaryColor);
}
.subscribe ul li a {
  text-decoration: none;
  color: var(--white);
  transition: 0.3s;
}
/* ======================== */
/* Footer section end*/
/* ======================== */

/* ======================== */
/* Navbar section start*/
/* ======================== */
.navbar {
  display: flex;
  align-items: center;
  padding: 10px 0;
  max-height: 250px;
  /* position: fixed;
  z-index: 1; */
}
.nav-logo {
  padding: 0 10px;
}
.navbar a {
  text-decoration: none;
}

.navbar .bar-content ul {
  display: flex;
  padding: 0 20px;
}
.navbar .bar-content ul li {
  list-style: none;
  margin: 0 20px;
  font-family: montserrat;
  font-weight: 400;
  color: var(--deepGray);
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 5px solid transparent;
  transition: 0.3s;
}
.navbar .bar-content ul li:hover {
  color: var(--primaryColor);
  border-bottom: 5px solid var(--primaryColor);
}

/* ======================== */
/* Navbar section end*/
/* ======================== */

@media only screen and (max-width: 688px) {
  .container {
    max-width: 1380px;
    padding: 0 10px;
    margin: auto;
  }
  .header-content {
    margin-top: -80px;
    width: 100%;
    display: flex;
    flex-flow: row-reverse;
  }
  .header-content .content {
    padding: 15px 30px;
    background: var(--primaryColor);
    width: 85%;
  }
  .header-content .content h1 {
    font-size: 40px;
    font-family: cormorant;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--white);
  }
  .header-content .content p {
    color: var(--white);
    font-weight: 400;
    letter-spacing: 1px;
    /* text-align: justify; */
    font-size: 14px;
    line-height: 1.8;
  }
  .blog-container .cards-one {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .blog-container .cards-one .card-1 {
    width: 100%;
    margin: 10px 0;
  }
  .blog-container .cards-one .card-2 {
    width: 100%;
    margin: 10px 0 !important;
  }
  .card-two {
    width: 100%;
  }
  .post-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 35px;
    justify-content: center;
  }
  .footer-section {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .footer .footer-content {
    width: 100%;
    padding: 40px 0;
    color: var(--white);
  }
  .footer .footer-content ul li {
  font-size: 15px;
  margin-right: 20px;
}
  .subscribe {
    width: 100%;
    background: var(--deepGray);
    color: var(--white);
    padding: 70px 50px 20px 50px;
  }
  #open {
    display: block;
  }
  .navbar {
    z-index: 1;
    background: var(--white);
  }
  .navbar .bar-content {
    display: none;
  }
  .mobile {
    display: none;
  }
  .mobile-content {
    display: none;
  }
  .active .mobile-content ul {
    width: 100%;
  }
  .active .mobile-content ul li {
    list-style: none;
    padding: 20px 20px;
    font-size: 24px;
    font-weight: 400;
    font-family: montserrat;
    color: var(--white);
    border-bottom: 1px solid var(--white);
    transition: 0.5s;
    text-align: center;
  }
  .active .mobile-content ul li:hover {
    cursor: pointer;
    background: #fff0e7;
    color: #4a455c;
  }
  .active {
    display: block;
    transition: 0.5s;
  }
  .active .mobile-content {
    min-height: auto;
    background: #4a455c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
  }
  .navbar .nav-logo img {
    height: 40px;
  }
  .mobile-menu .icon {
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 25px;
    right: 10px;
    top: 10px;
    position: absolute;
  }
}

@media only screen and (min-width: 688px) {
  .container {
    max-width: 1380px;
    padding: 0 10px;
    margin: auto;
  }
  .header-content {
    margin-top: -80px;
    width: 100%;
    display: flex;
    flex-flow: row-reverse;
  }
  .header-content .content {
    padding: 20px 30px;
    background: var(--primaryColor);
    width: 80%;
  }
  .header-content .content h1 {
    font-size: 40px;
    font-family: cormorant;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--white);
    padding: 10px 0;
  }
  .header-content .content p {
    color: var(--white);
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 1.8;
    /* text-align: justify; */
    padding-right: 20px;
  }
  .blog-container .cards-one {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .blog-container .cards-one .card-2 {
    width: 100%;
    margin: 30px 0;
  }
  .card-two {
    width: 100%;
  }
  .post-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 35px;
    justify-content: center;
  }
  .subscribe {
    width: 400px;
    background: var(--deepGray);
    color: var(--white);
    padding: 70px 50px 20px 50px;
    margin-top: -50px;
  }
  .footer .footer-content {
    width: 50%;
    padding: 50px 0;
    color: var(--white);
  }
  #open {
    display: block;
  }
  .navbar .bar-content {
    display: none;
  }
  .mobile-content {
    display: none;
  }
  .active .mobile-content ul {
    width: 100%;
  }
  .active .mobile-content ul li {
    list-style: none;
    padding: 18px 0;
    color: var(--white);
    font-size: 24px;
    font-weight: 400;
    font-family: montserrat;
    border-bottom: 1px solid var(--white);
    transition: 0.5s;
    display: block;
    text-align: center;
  }
  .active .mobile-content ul li:hover {
    cursor: pointer;
    background: #fff0e7;
    color: #4a455c;
  }
  .active {
    display: block;
    transition: 0.5s;
  }
  .active .mobile-content {
    min-height: 300px;
    background: #4a455c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
  }
  .navbar .nav-logo img {
    height: 50px;
  }
  .mobile-menu .icon {
    border-radius: 5px;
    padding: 9px 10px;
    cursor: pointer;
    font-size: 25px;
    right: 10px;
    top: 10px;
    position: absolute;
  }
}

@media only screen and (min-width: 992px) {
  .container {
    max-width: 1380px;
    padding: 0 50px;
    margin: auto;
  }

  .header-content {
    margin-top: -100px;
    width: 100%;
    display: flex;
    flex-flow: row-reverse;
  }
  .header-content .content {
    padding: 20px 40px;
    background: var(--primaryColor);
    width: 80%;
  }
  .header-content .content h1 {
    font-size: 70px;
    font-family: cormorant;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--white);
    padding: 10px 0;
  }
  .header-content .content p {
    color: var(--white);
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 18px;
    line-height: 1.8;
    padding-right: 40px;
  }
  .blog-container .cards-one {
    width: 65.5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .blog-container .cards-one .card-2 {
    width: 100%;
    /* margin: 30px 0; */
  }
  .card-two {
    width: 33%;
    padding: 0 20px;
  }
  .post-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 35px;
    justify-content: center;
  }

  .subscribe {
    width: 400px;
    background: var(--deepGray);
    color: var(--white);
    padding: 70px 50px 20px 50px;
    margin-top: -50px;
  }
  .footer .footer-content {
    width: 50%;
    padding: 50px 0;
    color: var(--white);
  }
  #open {
    display: none;
  }
  .navbar .bar-content {
    display: block;
  }
  .active {
    display: none;
  }
  .mobile-content {
    display: none;
  }
  .navbar .nav-logo img {
    height: 60px;
  }
}

@media only screen and (min-width: 1312px) {
  .container {
    max-width: 1380px;
    padding: 0 50px;
    margin: auto;
  }
  .header-content {
    margin-top: -170px;
    width: 100%;
    display: flex;
    flex-flow: row-reverse;
  }
  .header-content .content {
    padding: 60px 120px;
    background: var(--primaryColor);
    width: 70%;
  }
  .header-content .content h1 {
    font-size: 115px;
    font-family: cormorant;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--white);
    padding: 10px 0;
  }
  .header-content .content p {
    color: var(--white);
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 25px;
    line-height: 1.8;
    padding-right: 70px;
  }
  .post-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 35px;
    justify-content: center;
  }
  .subscribe {
    width: 500px;
    background: var(--deepGray);
    color: var(--white);
    padding: 70px 50px 20px 50px;
    margin-top: -50px;
  }
  .footer .footer-content {
    width: 50%;
    padding: 50px 0;
    color: var(--white);
  }
  #open {
    display: none;
  }
  .navbar .bar-content {
    display: block;
  }
  .active {
    display: none;
  }
  .mobile-content {
    display: none;
  }
  .navbar .nav-logo img {
    height: 60px;
  }
}
