@import url('https://fonts.googleapis.com/css2?family=Prompt&family=Roboto&display=swap');

* {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-family: 'Prompt', sans-serif;

}

.header {
    position: fixed;
    z-index: 99;
    width: 100%;
    background: #f44336;

}

/* Nav Bar & Menu Bar */
nav {
    position: fixed;
    z-index: 99;
    width: 100%;
    background: #f44336;
}

nav .wrapper {
    position: relative;
    max-width: 1300px;
    padding: 0px 30px;
    height: 100%;
    line-height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wrapper .logo a {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
}

.wrapper .nav-links {
    display: inline-flex;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 9px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    background: #F99C9C;
}

.nav-links .mobile-item {
    display: none;
}

.nav-links .drop-menu {
    position: absolute;
    background: #f44336;
    width: 200px;
    line-height: 50px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
    transition: all 0.3s ease;
    top: 75px;
    opacity: 1;
    visibility: visible;
}

.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 20px;
    font-weight: 400;
    border-radius: 0px;
}

.mega-box {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 30px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
}

.mega-box .content {
    background: #f44336;
    padding: 20px 20px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.mega-box .content .row {
    width: calc(25% - 30px);
    line-height: 35px;
}

.content .row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content .row header {
    color: #fff;
    font-size: 25px;
    font-weight: 600;

}

.content .row .mega-links {
    margin-left: -40px;
    /* border-left: 1px solid rgba(255,255,255,0.09);  */
}

.row .mega-links li {
    padding: 0 20px;
}

.row .mega-links li a {
    padding: 0px;
    padding: 0 20px;
    color: #fff;
    font-size: 15px;
    display: block;
}

.row .mega-links li a:hover {
    color: #fff;
}

.wrapper .btn {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
}

.wrapper .btn.close-btn {
    position: absolute;
    right: 30px;
    top: 10px;
}

@media screen and (max-width: 970px) {
    .wrapper .btn {
        display: block;
    }

    .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 350px;
        top: 0;
        left: -100%;
        background: #f65656;
        display: block;
        padding: 50px 10px;
        line-height: 50px;
        overflow-y: auto;
        box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
        transition: all 0.3s ease;
    }

    /* custom scroll bar */
    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #fff;
    }

    ::-webkit-scrollbar-thumb {
        background: #f44336;
    }

    #menu-btn:checked~.nav-links {
        left: 0%;
    }

    #menu-btn:checked~.btn.menu-btn {
        display: none;
    }

    #close-btn:checked~.btn.menu-btn {
        display: block;
    }

    .nav-links li {
        margin: 15px 10px;
    }

    .nav-links li a {
        padding: 0 20px;
        display: block;
        font-size: 15px;
    }

    .nav-links .drop-menu {
        position: static;
        opacity: 1;
        top: 65px;
        visibility: visible;
        padding-left: 20px;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
    }

    #showDrop:checked~.drop-menu,
    #showMega:checked~.mega-box {
        max-height: 100%;
    }

    .nav-links .desktop-item {
        display: none;
    }

    .nav-links .mobile-item {
        display: block;
        color: #f2f2f2;
        font-size: 15px;
        font-weight: 500;
        padding-left: 20px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .nav-links .mobile-item:hover {
        background: #F99C9C;
    }

    .drop-menu li {
        margin: 0;
    }

    .drop-menu li a {
        border-radius: 5px;
        font-size: 15px;
    }

    .mega-box {
        position: static;
        top: 65px;
        opacity: 1;
        visibility: visible;
        padding: 0 20px;
        max-height: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .mega-box .content {
        box-shadow: none;
        flex-direction: column;
        padding: 20px 20px 0 20px;
    }

    .mega-box .content .row {
        width: 100%;
        margin-bottom: 15px;
        /* border-top: 1px solid rgba(255,255,255,0.08); */
    }

    .mega-box .content .row:nth-child(1),
    .mega-box .content .row:nth-child(2) {
        border-top: 0px;
    }

    .content .row .mega-links {
        border-left: 0px;
        padding-left: 15px;
    }

    .row .mega-links li {
        margin: 0;
    }

    .content .row header {
        font-size: 15px;
    }
}

nav input {
    display: none;
}

/* End Nav Bar & Menu Bar */

/*  */

.home {
  position: relative;
  height: 100vb;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4.5rem;
  padding: 80px 15% 70px;
}

.home-text h1 {
  margin-top: 10%;
  font-size: 2.7rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.home-text p {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 2.5rem;
}

.h-search form {
  position: relative;
  width: 410px;
  max-width: 100%;
}

.h-search form input:first-child {
  display: inline-block;
  width: 100%;
  padding: 17px 130px 16px 15px;
  border: 2px solid #f44336;
  border-radius: .70rem;
}

.h-search form input:last-child {
  position: absolute;
  display: inline-block;
  padding: 12px 30px;
  background: #f44336;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  border-radius: .70rem;
  box-shadow: 0px 0px 5px #fff, 0px 0px 15px #868686;
  top: 6px;
  right: 6px;
}

.home-img {
  margin-top: 50px;
  width: 600px;
  height: 600px;
}

.home-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

header .sticky {
  padding: 8px 15%;
  background: #101821;
}

.feature {
  padding: 60px 15% 50px;
}

.center-left h2 {
  font-size: 1.1rem;
}

.feature-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4.5rem;
  margin-top: 4rem;
}

.f-img {
  width: 100%;
  height: auto;
}

.property-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  align-items: center;
  gap: 2rem;
  margin-top: 4.5rem;
  padding: 80px 15% 70px;
}

.row-content {
  position: relative;
  cursor: pointer;
}

.row-content img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.row-content h5 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}

.row-content p {
  font-size: 1.1rem;
  color: #d6d6d6;
  margin-bottom: 20px;
}

.list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.list a {
  color: #ffffff;
  font-size: 1.1rem;
}

.Residence-list i {
  font-size: 18px;
  color: #1aa090;
}

.center-btn {
  text-align: center;
  margin-top: 4rem;
}

.btn {
  display: inline-block;
  padding: 18px 28px;
  /* background: #1aa090; */
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  transition: all .50s ease;
}

.btn:hover {
  transform: translateY(-7px) scale(0.9);
}

.property-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  align-items: center;
  gap: 2rem;
  margin-top: 4.5rem;
}

.row-content {
  position: relative;
  cursor: pointer;
}

.row-content img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.row-content h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.row-content p {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 20px;
}

.list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.list a {
  color: #ffffff;
  font-size: 1.1rem;
}

.Residence-list i {
  font-size: 18px;
  color: #1aa090;
}

.center-btn {
  text-align: center;
  margin-top: 4rem;
}

.btn {
  display: inline-block;
  padding: 18px 28px;
  /* background: #1aa090; */
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  transition: all .50s ease;
}

.btn:hover {
  transform: translateY(-7px) scale(0.9);
}


/* .about {
  display: flex;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4.5rem;
  padding: 80px 15% 70px;
}

.about-text{
  height: auto;
  width: 100%;
}

.about-text h2 {
  font-size: rem;
  margin-bottom: 25px;
}

.about-text p {
  font-size: 1.1rem;
  color: #000;
  line-height: 30px;
  margin-bottom: 50px;
}
 */
.Subscribe-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: url(img/rmutr4.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 0px;
  padding: 6rem 2rem;
  padding: 80px 15% 70px;
}

.Subscribe-content h2 {
  font-size: 2rem;
  margin-bottom: -30px;
  padding: 80px 15% 70px;
  color: #fff;
}

.Subscribe-content p {
  font-size: 1.1rem;
  line-height: 30px;
  margin-bottom: 27px;
  color: #fff;

}

/* Footer */

.container-footer {
  width: 100%;
  max-width: 1170px;
  margin: auto;
}

.row-footer {
  display: flex;
  flex-wrap: wrap;
}

ul {
  list-style: none;
}

.footer {
  margin-top: 2%;
  background-color: #f44336;
  padding: 70px 0;
}

.footer-col {
  width: 25%;
  padding: 0 17px;
}

.footer-col h4 {
  font-size: 16px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #ffffff;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 15px;
}

.footer-col ul li a {
  font-size: 13px;
  text-transform: capitalize;
  color: #ffffff;
  text-decoration: none;
  font-weight: 300;
  color: #fff;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 10px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

@media(max-width: 767px) {
  .footer-col {
      width: 50%;
      margin-bottom: 30px;
  }
}

@media(max-width: 574px) {
  .footer-col {
      width: 100%;
  }
}

/* End Css */

:root {
  --primary-color1: #669ccb;
  --primary-color2: #f44336;
  --primary-color-dark: #5681a7;
  --secondary-color: #e8f1fa;
  --text-dark: #282d31;
  --text-light: #767268;
  --extra-light: #f3f4f6;

  --max-width: 1200px;
}



@media (min-width: 640px) {
  .nav__links {
    display: flex;
  }

  header .section__container {
    justify-content: flex-start;
  }

  .header__content {
    max-width: 400px;
    align-items: flex-start;
  }

  .header__content p {
    text-align: left;
  }

  .journey__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .display__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .display__card {
    gap: 0;
  }

  .display__card i {
    font-size: 1.75rem;
  }

  .display__card h4 {
    font-size: 1rem;
  }

  .display__card p {
    font-size: 0.7rem;
  }
}

@media (min-width: 786px) {
  .banner__container .section__container {
    justify-content: flex-end;
  }

  .banner__content {
    align-items: flex-end;
    text-align: right;
    max-width: 800px;
  }

  .display__card {
    gap: 0.5rem;
  }

  .display__card i {
    font-size: 2.5rem;
  }

  .display__card p {
    font-size: 0.8rem;
  }
}

@media (min-width: 1024px) {
  .display__card {
    gap: 1rem;
  }

  .display__card i {
    font-size: 3rem;
  }

  .display__card h4 {
    font-size: 1.5rem;
  }

  .display__card p {
    font-size: 1rem;
  }
}

.section__container {
  padding: 5rem 1rem;
  max-width: var(--max-width);
  margin: auto;
}

.section__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color2);
  margin-bottom: 1rem;
  text-align: center;
}

.section__subtitle {
  font-size: 1rem;
  font-style: italic;
  color: var(--primary-color);
  margin-bottom: 5rem;
  text-align: center;
}

img {
  width: 100%;
}

body {
  font-family: "Roboto", sans-serif;
}

.country__name i {
  font-size: 1.2rem;
}

.country__name span {
  font-style: italic;
}

.banner__container {
  background-image: linear-gradient(rgba(35, 71, 103, 0.5),
      rgba(35, 71, 103, 0.5)),
    url("images/5.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.banner__container .section__container {
  padding: 10rem 1rem;
  display: flex;
  justify-content: center;
}

.banner__content {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  color: var(--extra-light);
}

.banner__content h2 {
  font-size: 2rem;
  font-weight: 400;
}

.banner__content button {
  padding: 0.5rem 2rem;
  outline: none;
  border: 2px solid var(--secondary-color);
  background-color: transparent;
  color: var(--secondary-color);
  font-size: 1rem;
  cursor: pointer;
}

/* .display__container { 
 background-color: var(--secondary-color); 
  }  */

.display__container :is(.section__title, .section__subtitle) {
  color: var(--text-dark);
}

.display__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.display__card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  background-color: var(--extra-light);
  text-align: center;
}

.display__card i {
  font-size: 2rem;
  color: var(--primary-color);
}

.display__card h4 {
  font-size: 1rem;
  font-weight: 500;
  padding: 0 1rem;
  color: var(--text-dark);
}

.display__card p {
  font-size: 0.8rem;
  padding: 0 1rem;
  color: var(--text-dark);
}

.display__grid .grid-1 {
  grid-area: 1/1/3/3;
}


@media (min-width: 640px) {
  .nav__links {
    display: flex;
  }

  header .section__container {
    justify-content: flex-start;
  }

  .header__content {
    max-width: 400px;
    align-items: flex-start;
  }

  .header__content p {
    text-align: left;
  }

  .journey__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .display__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .display__card {
    gap: 0;
  }

  .display__card i {
    font-size: 1.75rem;
  }

  .display__card h4 {
    font-size: 1rem;
  }

  .display__card p {
    font-size: 0.7rem;
  }
}

@media (min-width: 786px) {
  .banner__container .section__container {
    justify-content: flex-end;
  }

  .banner__content {
    align-items: flex-end;
    text-align: right;
    max-width: 800px;
  }

  .display__card {
    gap: 0.5rem;
  }

  .display__card i {
    font-size: 2.5rem;
  }

  .display__card p {
    font-size: 0.8rem;
  }
}

@media (min-width: 1024px) {
  .display__card {
    gap: 1rem;
  }

  .display__card i {
    font-size: 3rem;
  }

  .display__card h4 {
    font-size: 1.5rem;
  }

  .display__card p {
    font-size: 1rem;
  }
}

/* End Css */