/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* 
COLOR THEME
MAIN COLOR: #fcc419;
GRAY: #343a40;
TINT HOVER:#ffd43b;
Accent:
*/

/* ------------------------------------ */
/* UNIVERSAL SETTINGS & REUSABLE STYLES */
/* ------------------------------------ */

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "inter", sans-serif;
  color: #343a40;
  font-size: 1.6rem;
}

/* ------------------------------------ */
/* REUSABLE STYLES */
/* ------------------------------------ */

.container {
  max-width: 120rem;
  padding: 0 2.4rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

.grid--2-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* .grid--2-cols-hero {
  display: grid;
  grid-template-columns: 50fr 50fr;
} */

.grid--3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.grid--center-v {
  align-items: center;
}

.grid--top {
  align-items: top;
}

.all-caps {
  text-transform: uppercase;
}

.border-line-grey {
  border-bottom: 1px solid #ddd;
}

.border-line-grey-right {
  border-right: 1px solid #ddd;
}

.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  background-color: #ffd43b;
  color: #fff;
  padding: 1.6rem 3.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  margin-top: 2.4rem;
}

.btn--md:link,
.btn--md:visited {
  padding: 1.2rem 2.4rem;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 800;
  color: #555;
  letter-spacing: -0.5px;
}

.heading-primary {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 3.2rem;
  letter-spacing: -0.5px;
  line-height: 1;
}
.heading-secondary {
  font-size: 4.4rem;
  margin-bottom: 4.8rem;
  line-height: 1.2;
}

.heading-tertiary {
  font-size: 2.4rem;
  /* margin-bottom: 2.4rem; */
  line-height: 1.2;
}

.standard-bullet-icon {
  color: #ffd43b;
  --ionicon-stroke-width: 2.4rem;
  font-size: 2.4rem;
}

/* ------------------------------------ */
/* NAVIGATION */
/* ------------------------------------ */

.header {
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff9db;
  height: 20vh;
}

.logo-box {
  display: grid;
  grid-template-columns: 20fr 80fr;
  align-items: center;
}

.logo-img {
  width: 5vw;
  border-radius: 50%;
  margin: 1rem 1rem 1rem 0;
}

.logo-desc {
  color: rgb(68, 68, 68);
}
.logo-brand-name {
  font-size: 2.4rem;
  font-weight: 600;
  color: #495057;
  /* 24 / 30 / 36 */
}

.logo-brand-caption {
  font-size: 1.6rem;
  font-weight: 500;
  /* 24 / 30 / 36 */
  color: #777;
}
.nav-bar-list {
  display: grid;
  grid-template-columns: repeat(6, max-content);
  text-transform: uppercase;
  gap: 1rem;
  list-style: none;
}

.nav-bar-link:link,
.nav-bar-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  font-size: 1.8rem;
  padding: 0.5rem 0.5rem;
  /* background-color: #868e96; */
  color: #495057;
  /* border-radius: 0.5rem; */
  transition: background-color 0.2s, color 0.2s;
}
.nav-bar-link:hover,
.nav-bar-link:active {
  background-color: #f59f00;
  color: #f8f9fa;
}

/* ------------------------------------ */
/* PAGE */
/* ------------------------------------ */

.section-page {
  padding: 4.8rem 0 4.8rem 0;
}

/* ------------------------------------ */
/* HERO */
/* ------------------------------------ */

.section-hero {
  padding: 2.4rem 0 2.4rem 0;
  /* height: 80vh; */
}

.hero-img {
  max-width: 100%;
}
/* The above setting to be done on the image itself as shown above and not on the div holding the image. If the above setting is applied on the div holding the image the image will not scale and the website will have horizontal empty space resulting in a horizontal scroll bar */

.hero-description {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* ------------------------ */
/* SERVICES */
/* ------------------------ */

.section-services {
  padding: 2.4rem 0 2.4rem 0;
  background-color: #fff9db;
}
.services-list {
  list-style: none;
  text-transform: uppercase;
  font-size: 2.4rem;
  font-weight: 600;
  color: #fcc419;
  /* display: flex; */
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
  text-align: center;
}
.services-list-item-1 {
  grid-column: 2/4;
  grid-row: 1;
}

.services-list-item-2 {
  grid-column: 4/6;
  grid-row: 1;
}

.services-list-item-3 {
  grid-column: 6/8;
  grid-row: 1;
}

.services-list-item-4 {
  grid-column: 8/10;
  grid-row: 1;
}

.services-list-item-5 {
  grid-column: 10/12;
  grid-row: 1;
}

/* ------------------------ */
/* SPECIALIZATIONS */
/* ------------------------ */

.section-specialization {
  display: none;
  padding: 12.8rem 0 0 0;
}

.specialization-heading {
  text-align: center;
}

.specializations-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  grid-auto-rows: 30rem;
  row-gap: 1rem;
  column-gap: 1rem;
  justify-items: center;
  align-items: center;
  color: #fff;
  list-style: none;
  text-transform: uppercase;
  font-size: 2.4rem;
  font-weight: 600;
  /* height: 150vh; */
  padding-top: 8rem;
  /* background-color: #868e96; */
}

.specializations-list-item {
  /* background-color: #12b886; */
  width: 95%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.list-residential {
  background-image: linear-gradient(
      rgb(255, 212, 59, 0.6),
      rgb(255, 212, 59, 0.6)
    ),
    url("../img/gal-1.jpeg");
  background-size: cover;
  object-fit: cover;
}

.list-commercial {
  background-image: linear-gradient(
      rgb(255, 212, 59, 0.6),
      rgb(255, 212, 59, 0.6)
    ),
    url("../img/retail.jpg");
  background-size: cover;
}

.list-office {
  background-image: linear-gradient(
      rgba(18, 184, 134, 0.7),
      rgba(18, 184, 134, 0.7)
    ),
    url("../img/office.jpg");
  background-size: cover;
}

.list-retail {
  background-image: linear-gradient(
      rgba(18, 184, 134, 0.7),
      rgba(18, 184, 134, 0.7)
    ),
    url("../img/retail.jpg");
  background-size: cover;
}
.list-warehouse {
  background-image: linear-gradient(
      rgba(18, 184, 134, 0.7),
      rgba(18, 184, 134, 0.7)
    ),
    url("../img/warehouse2.jpg");
  background-size: cover;
}
.list-staff {
  background-image: linear-gradient(
      rgba(18, 184, 134, 0.7),
      rgba(18, 184, 134, 0.7)
    ),
    url("../img/staff_accomodation.jpg");
  background-size: cover;
}
.list-industrial {
  background-image: linear-gradient(
      rgba(18, 184, 134, 0.7),
      rgba(18, 184, 134, 0.7)
    ),
    url("../img/industrial_park.jpg");
  background-size: cover;
}
.list-commercial2 {
  background-image: linear-gradient(
      rgba(18, 184, 134, 0.7),
      rgba(18, 184, 134, 0.7)
    ),
    url("../img/commercial_plot.jpg");
  background-size: cover;
}

/* See above. Grid item converted to flex box for vertical and horizontal centering inside grid item */

/* ------------------------ */
/* OFF PLAN */
/* ------------------------ */

.section-offplan {
  display: none;
  padding: 12.8rem 0 0 0;
}

.offplan-heading {
  text-align: center;
}

/* .grid--offplan-2-col {
  display: grid;
  grid-template-columns: 25fr 45fr;
  column-gap: 4rem;
  padding: 9.6rem 4.8rem 9.6rem 4.8rem;
  align-items: center;
  justify-items: center;
}

.grid--offplan-2-col-rev {
  display: grid;
  grid-template-columns: 45fr 25fr;
  column-gap: 4rem;
  padding: 9.6rem 4.8rem 9.6rem 4.8rem;
  align-items: center;  
} */

.grid--offplan-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 20fr 1fr 1fr;
  column-gap: 4rem;
  padding: 9.6rem 3.2rem 9.6rem 3.2rem;
  align-items: center;
  justify-items: center;
}

.grid--offplan-2-col-rev {
  display: grid;
  grid-template-columns: 1fr 1fr 20fr 2fr 1fr 1fr;
  column-gap: 4rem;
  padding: 9.6rem 3.2rem 9.6rem 3.2rem;
  align-items: center;
}

.offplan-property-1 .offplan-photo {
  grid-column: 3 / 4;
}
.offplan-property-1 .offplan-text {
  grid-column: 4 / 5;
}

.offplan-property-2 .offplan-photo {
  grid-column: 4 / 5;
  grid-row: 1;
  justify-self: right;
}
.offplan-property-2 .offplan-text {
  grid-column: 3 / 4;
  grid-row: 1;
}

.offplan-property-3 .offplan-photo {
  grid-column: 3 / 4;
}
.offplan-property-3 .offplan-text {
  grid-column: 4 / 5;
  justify-self: right;
}

/* .grid--offplan-2-col .offplan-text {
  justify-self: end;
} */

.offplan-property-1.grid--offplan-2-col {
  padding-top: 8rem;
}

.offplan-property-3.grid--offplan-2-col {
  padding-bottom: 12.8rem;
}

/* .grid--offplan-1-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 9.6rem;
  padding: 9.6rem;
} */

.offplan-photo {
  display: block;
  width: 20vw;
  object-position: bottom;
  height: 20rem;
}

/* .offplan-property-2 .offplan-photo {
  grid-column: 2/3;
}
.offplan-property-2 .offplan-text {
  grid-column: 1/2;
  grid-row: 1/-1;
} */
.offplan-subheading {
  font-weight: 500;
  color: #555;
  letter-spacing: -0.5px;
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}
.offplan-text {
  width: 70%;
  text-align: center;
}

.offplan-description {
  margin-bottom: 2rem;
}

.offplan-property-3 {
  border-bottom: none;
}

/* ------------------------ */
/* CLASS FEATURES */
/* ------------------------ */

.section-cfeatures {
  padding: 12.8rem 0 0 0;
}

.cfeatures-heading {
  text-align: center;
}
.cfeatures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8rem 4.8rem 0 4.8rem;
  gap: 7.5rem;
}
.cfeatures-icon {
  color: #fcc419;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 2.4rem;
}

.cfeatures-title {
  margin-bottom: 1.6rem;
  font-size: 2rem;
  /* 14 / 16 / 18 / 20 */
}

.cfeatures-text {
  font-size: 1.8rem;
  line-height: 2.4rem;
  letter-spacing: 0.5px;
}

/* ------------------------ */
/* REAL ESTATE TRAINING */
/* ------------------------ */

.section-training {
  padding: 12.8rem 0 0 0;
}

.training-heading {
  text-align: center;
}
.training-course--1 .course-textbox .course-heading {
  color: #12b886 !important;
}

.training-course--2 .course-textbox .course-heading {
  color: #fab005 !important;
}

.training-course--3 .course-textbox .course-heading {
  color: #fa5252 !important;
}

.training-course--4 .course-textbox .course-heading {
  color: #12b886 !important;
}

.training-course--1 .course-textbox .course-heading .academic-tuition-heading {
  color: #228be6 !important;
}

.course-level-beginner,
.course-level-intermediate,
.course-level-advanced {
  color: #555;
  font-size: 1.2rem;
  text-transform: uppercase;
  background-color: #ced4da;
  padding: 5px;
  text-align: left;
  letter-spacing: 0.5px;
}
/*
.course-level-intermediate {
  color: #555;
}

.course-level-advanced {
  color: #555;
}
*/
.grid--training {
  display: grid;
  grid-template-columns: repeat(3, minmax(20vw, 30rem));
  justify-content: center;
  column-gap: 4.8rem;
  row-gap: 5.2rem;
  padding-top: 8rem;
}

.training-box {
  justify-items: start;
}
.training-course {
  box-shadow: 0 0rem 5rem 0 rgba(0, 0, 0, 30%);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
}

.course-image {
  max-width: 100%;
}

.course-textbox {
  padding: 2rem;
}

.course-heading {
  margin-top: 2rem;
  margin-bottom: 1.6rem;
}

.course-description {
  margin-bottom: 2rem;
}

.course-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.course-feature-item {
  display: grid;
  grid-template-columns: min-content 1fr;
  align-items: center;
  column-gap: 2rem;
}

.course-icon {
  font-size: 2.4rem;
}

.btn--course {
  display: inline-block;
  align-self: center;
  justify-self: center;
  margin: 1.6rem 0;
}

.page-section-training {
  padding-bottom: 12.8rem;
}

/* ------------------------------- */
/* RESIDENTIAL PROPERTIES FOR SALE */
/* ------------------------------- */

.section-rsales {
  display: none;
  padding: 12.8rem 0 0 0;
}

.rsales-heading {
  text-align: center;
}

.grid--rsales {
  display: grid;
  grid-template-columns: repeat(3, minmax(20vw, 40rem));
  justify-content: center;
  column-gap: 3.2rem;
  row-gap: 3.2rem;
  padding-top: 8rem;
}

.rsales-property {
  box-shadow: 0 2rem 5rem 0 rgba(0, 0, 0, 7%);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
}

.rsales-image {
  width: 100%;
}

.rsales-featurebox {
  padding: 2.4rem 2.4rem;
  margin-top: 1.6rem;
}

.rsales-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 3.2rem;
  justify-content: center;
  margin-bottom: 1rem;
}

/* .rsales-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
} */

.rsales-feature-item {
  display: grid;
  grid-template-columns: min-content 1fr;
  align-items: start;
  column-gap: 2rem;
}

.rsales-icon {
  font-size: 2.4rem;
}

.btn--rsales {
  text-align: center;
}

/* ------------------------------- */
/* COMMERCIAL PROPERTIES FOR SALE */
/* ------------------------------- */

.section-csales {
  padding: 12.8rem 0 0 0;
  display: none;
}

.csales-heading {
  text-align: center;
}

.grid--csales {
  display: grid;
  grid-template-columns: repeat(3, minmax(20vw, 40rem));
  justify-content: center;
  column-gap: 3.2rem;
  row-gap: 5.2rem;
  padding-top: 8rem;
}

.csales-property {
  box-shadow: 0 2rem 5rem 0 rgba(0, 0, 0, 7%);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
}

.csales-image {
  width: 100%;
}

.csales-featurebox {
  padding: 2.4rem 2.4rem;
  margin-top: 1.6rem;
}

.csales-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 3.2rem;
  justify-content: center;
  margin-bottom: 1rem;
}

/* .csales-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
} */

.csales-feature-item {
  display: grid;
  grid-template-columns: min-content 1fr;
  align-items: start;
  column-gap: 2rem;
}

.csales-icon {
  font-size: 2.4rem;
}

.btn--csales {
  text-align: center;
}

/* ------------------------ */
/* OUR REAL ESTATE SERVICES */
/* ------------------------ */

.section-management {
  padding: 12.8rem 0 0 0;
}

.grid--management {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* justify-items: center; */
  padding: 0 2.4rem;
}

.management-heading {
  padding-bottom: 8rem;
}

.management-box {
  position: relative;
}

.management-box::after {
  display: block;
  content: "";
  position: absolute;
  border: 0.5px solid #ddd;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.management-heading {
  text-align: center;
}

.package-textbox {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: min-content min-content 1fr min-content;
}

.package-heading {
  margin-top: 2rem;
  margin-bottom: 1.6rem;
}

.package-description {
  margin-bottom: 2rem;
}

.package-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.package-feature-item {
  display: grid;
  grid-template-columns: min-content 1fr;
  align-items: center;
  column-gap: 2rem;
}
/* ------------------------ */
/* ABOUT */
/* ------------------------ */

.section-about {
  padding: 12.8rem 0 12.8rem 0;
}

.about-heading {
  text-align: center;
}
/* .about-box {
  max-width: 80vw;
  margin: 0 auto;
} */
.about-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2rem;
  justify-content: center;
  padding-top: 8rem;
}
.about-listitem {
  display: grid;
  grid-template-columns: min-content 1fr;
  align-items: center;
  column-gap: 2rem;
}
.about-icon {
  color: #fcc419;
  --ionicon-stroke-width: 4.8rem;
  font-size: 3.2rem;
}

/* ------------------------ */
/* GALLERY */
/* ------------------------ */

.section-gallery {
  padding: 6.4rem 0 0 0;
  background-color: #f8f9fa;
}

.gallery-heading {
  text-align: center;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(7, 1fr);
  grid-gap: 1.5rem;
  padding: 1.6rem 1.5rem 1.5rem 1.5rem;
}
.gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item--1 {
  grid-row: 1 / span 2;
  grid-column: 1 / span 2;
}

.gallery-item--2 {
  grid-row: 1 / span 3;
  grid-column: 3 / span 3;
}

.gallery-item--3 {
  grid-row: 1 / span 2;
  grid-column: 6 / 7;
}

.gallery-item--4 {
  grid-row: 1 / span 2;
  grid-column: 7 / -1;
}

.gallery-item--5 {
  grid-row: 3 / span 3;
  grid-column: 1 / span 2;
}

.gallery-item--6 {
  grid-row: 4 / span 2;
  grid-column: 3 / span 2;
}

.gallery-item--7 {
  grid-row: 4 / 5;
  grid-column: 5 / 6;
}

.gallery-item--8 {
  grid-row: 3 / span 2;
  grid-column: 6 / span 2;
}

.gallery-item--9 {
  grid-row: 3 / span 3;
  grid-column: 8 / -1;
}

.gallery-item--10 {
  grid-row: 6 / span 2;
  grid-column: 1 / 2;
}

.gallery-item--11 {
  grid-row: 6 / span 2;
  grid-column: 2 / span 2;
}

.gallery-item--12 {
  grid-row: 6 / span 2;
  grid-column: 4 / 5;
}

.gallery-item--13 {
  grid-row: 5 / span 3;
  grid-column: 5 / span 3;
}

.gallery-item--14 {
  grid-row: 6 / span 2;
  grid-column: 8 / -1;
}

/* ------------------------ */
/* FOOTER */
/* ------------------------ */

.footer {
  border-top: 1px solid #dee2e6;
  background-color: #fff9db;
  padding: 12.8rem 0 12.8rem 0;
}

.footer-caption {
  text-align: center;
  padding: 0rem 0 12.8rem 0;
  color: #fcc419;
  font-size: 2.4rem;
  font-weight: 600;
}
.grid--footer {
  display: grid;
  grid-template-columns: 47fr 25fr 28fr;
  align-items: start;
  background-image: linear-gradient(to right, #ffe066, #fcc419);
  padding: 2.4rem 2.4rem;
  column-gap: 1.2rem;
}

.logo-col {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.logo-col-img {
  display: block;
  width: 5rem;
  border-radius: 50%;
  margin: 0rem 1rem 1rem 0;
}

.logo-col-contact-heading {
  font-size: 1.6rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}

.logo-col-contact-address {
  font-style: normal;
  margin-bottom: 0.25rem;
}
.logo-col-contact-telephone {
  text-decoration: none;
  color: inherit;
}

.logo-col-social-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  /* padding: 1.2rem 0 1.2rem 0; */
}

.logo-col-social-caption {
  font-weight: 600;
  color: #555;
  font-size: 1.6rem;
}

.logo-col-social-icon {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  color: #495057;
  /* border: 3px solid black; */
  /* border-radius: 50%; */
}

.footer-col-name {
  font-size: 1.6rem;
  color: #555;
  font-weight: 600;
  margin-bottom: 2.4rem;
}

.nav-col-list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  list-style: none;
}
.nav-col-list-item {
  text-decoration: none;
  color: #343a40;
  font-size: 1.6rem;
  /* font-weight: 500; */
  letter-spacing: 0.5px;
}
.links-col-list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  list-style: none;
}
.links-col-list-item {
  text-decoration: none;
  color: #343a40;
  font-size: 1.6rem;
  /* font-weight: 500; */
  letter-spacing: 0.5px;
}

.links-col-btn:link,
.links-col-btn:visited {
  display: inline-block;
  box-shadow: inset 0 0 0 3px #fab005;
  background-color: #ffe066;
  color: #555;
  margin-top: 0;
  transition: all 0.5s;
}

.links-col-btn:hover,
.links-col-btn:active {
  background-color: #fab005;
  box-shadow: inset 0 0 0 3px #ffe066;
  color: #fff;
  margin-top: 0;
}

/* ------------------------ */
/* CONTENT FORMATTING */
/* ------------------------ */

.content-heading {
  margin: 3rem 0 1rem 0;
}
