* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: "Rubik", sans-serif;
  --font-serif: "Cardo", serif;
}

body {
  background: #e9e7ec;
  overflow-x: hidden !important;
  background: #f1f1f1;
}

/* section 1 starts here */
.section1 {
  height: 100vh;
  width: 100%;
  background: url(../../assets/sec1.png) no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow-x: hidden !important;
}
.blue_grad,
.black_grad,
.sec1,
.center_text {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
.section1 .blue_grad {
  background: linear-gradient(
    90deg,
    #08254f 1.01%,
    rgba(8, 37, 79, 0.71) 32.46%,
    rgba(8, 37, 79, 0.73) 50.18%,
    rgba(8, 37, 79, 0.719575) 74.74%,
    #08254f 100%
  );
}
.section1 .black_grad {
  background: radial-gradient(
    100% 511.03% at 0% 0%,
    #01121c 0%,
    rgba(1, 18, 28, 0) 15.1%,
    rgba(1, 18, 28, 0.381679) 86.46%,
    #01121c 100%
  );
}
.sec1_row {
  height: 100vh;
}
.section1 .logos {
  height: 96px;
  position: relative;
}
.section1 .logos img {
  height: 69px;
}
.section1 .logos .row {
  height: 69px !important;
  width: 100%;
  position: relative;
}
.section1 .logos .logo2 {
  position: absolute;
  right: 0;
  top: 0;
}
.section1 .logos::after {
  content: " ";
  position: absolute;
  background-color: rgba(255, 255, 255, 0.6);
  height: 2px;
  width: 100%;
  left: 0;
  bottom: 0;
}
/* nav bar starts here */

.section1 .nav {
  width: 100%;
  height: 55px;
}
.section1 .nav ul {
  list-style: none;
  width: 100%;
}
.section1 .nav ul li {
  display: inline-block;
  width: calc((100% - 22px) / 5);
}
.section1 .nav ul li a {
  font-family: Playfair Display;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 1.12px;
  color: white;
  text-transform: uppercase;
  display: block;
  height: 55px;
  line-height: 55px;
  position: relative;
}
.section1 .nav ul li a::before {
  content: " ";
  height: 2px;
  width: 0%;
  background-color: rgb(2, 164, 240);
  position: absolute;
  top: -2px;
  transition: 0.3s;
}
.section1 .nav ul li a::after {
  content: " ";
  height: 50%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  position: absolute;
  top: 25%;
  right: 0;
  transition: 0.25s;
}
.section1 .nav ul li .last_a::after {
  content: none;
}
.section1 .nav ul li a:hover {
  text-decoration: none;
  color: rgb(2, 164, 240);
}
.section1 .nav ul li a:hover::before {
  width: 100%;
  transition: 0.25s;
}

.section1 .footer_lp {
  height: 35px;
  background: rgba(160, 164, 166, 0.5);
  position: absolute;
  bottom: 0;
  left: 0;
}

.section1 .center_text {
  font-family: Playfair Display;
  font-size: 59px;
  font-weight: 400;
  line-height: 78px;
  color: white;
  text-transform: uppercase;
  margin-top: 50px;
  height: calc(100% - 50px);
}
.section1 .center_text p {
  font-size: 24px;
  line-height: 28px;
}

/* Gallery Section Styling */
.grid {
  position: relative;
  margin: 0 auto;
  padding: 1em 0 4em;
  max-width: 1000px;
  list-style: none;
  text-align: center;
}

/* Common style */

.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
  min-width: 320px;
  max-width: 480px;
  max-height: 360px;
  width: 48%;
  background: #3085a3;
  text-align: center;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.grid figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure h2 {
  word-spacing: -0.15em;
  font-weight: 300;
}

.grid figure h2 span {
  font-weight: 800;
}

.grid figure h2,
.grid figure p {
  margin: 0;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/* Individual effects */

/***** Layla *****/
/*---------------*/

figure.effect-layla {
  background: #18a367;
}

figure.effect-layla img {
  height: 390px;
}

figure.effect-layla figcaption {
  padding: 3em;
}

figure.effect-layla figcaption::before,
figure.effect-layla figcaption::after {
  position: absolute;
  content: "";
  opacity: 0;
}

figure.effect-layla figcaption::before {
  top: 50px;
  right: 30px;
  bottom: 50px;
  left: 30px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

figure.effect-layla figcaption::after {
  top: 30px;
  right: 50px;
  bottom: 30px;
  left: 50px;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
}

figure.effect-layla h2 {
  padding-top: 26%;
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-layla p {
  padding: 0.5em 2em;
  text-transform: none;
  opacity: 0;
  -webkit-transform: translate3d(0, -10px, 0);
  transform: translate3d(0, -10px, 0);
}

figure.effect-layla img,
figure.effect-layla h2 {
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-layla img,
figure.effect-layla figcaption::before,
figure.effect-layla figcaption::after,
figure.effect-layla p {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}

figure.effect-layla:hover img {
  opacity: 0.7;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

figure.effect-layla:hover figcaption::before,
figure.effect-layla:hover figcaption::after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

figure.effect-layla:hover h2,
figure.effect-layla:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

figure.effect-layla:hover figcaption::after,
figure.effect-layla:hover h2,
figure.effect-layla:hover p,
figure.effect-layla:hover img {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}

@media screen and (max-width: 50em) {
  .content {
    padding: 0 10px;
    text-align: center;
  }
  .grid figure {
    display: inline-block;
    float: none;
    margin: 10px auto;
    width: 100%;
  }
}
*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}

/* body {
	background: #2f3238;
	color: #fff;
	font-weight: 400;
	font-size: 1em;
	font-family: 'Raleway', Arial, sans-serif;
} */

a {
  outline: none;
  color: #3498db;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #528cb3;
}

/* foooter starts from, here */

.footer1 {
  /* height: 283px; */
  background: rgba(14, 15, 19, 1);
  overflow-x: hidden;
}
.footer1 .footer_heading {
  font-family: Playfair Display;
  font-size: 39px;
  font-weight: 400;
  line-height: 52px;
  text-align: left;
  color: white;
  margin-top: 15px;
  margin-bottom: 19px;
}
.footer1 .footer_para {
  font-family: Playfair Display;
  font-size: 22px;
  font-weight: 400;
  line-height: 31px;
  letter-spacing: 0em;
  color: white;
}
.footer1 .footer_para a {
  color: white;
  text-decoration: none;
}
.footer1 .footer_para a:hover {
  color: rgb(25, 111, 231);
}
.footer12 {
  background: rgba(4, 58, 86, 1);
  /* height: 84px; */
}
.footer1 .footer12 p {
  font-family: Playfair Display;
  font-size: 22px;
  font-weight: 400;
  line-height: 31px;
  display: block;
}

/* footer ends here */
/* MEDIA QUERIES */

@media (max-width: 768px) {
  .section1 .nav ul li a {
    letter-spacing: 0px;
    font-size: 12px;
  }
  .footer1 .footer12 p {
    font-size: 16px;
  }
}

@media (max-width: 426px) {
  .section1 .logos img {
    height: 40px !important;
  }
  .section1 .nav ul li a {
    font-size: 7px;
    margin-left: -10px !important;
  }
  .section1 .logos {
    height: 60px;
    margin-top: 20px !important;
  }
  .section1 .center_text {
    font-size: 24px;
    line-height: 32px;
  }
  .section1 .center_text p {
    font-size: 17.78px;
  }
  .section1,
  .sec1_row {
    height: 80vh;
  }

  .footer1 .footer_heading {
    text-align: center !important;
    margin-top: 30px;
  }
  .footer1 .footer_para {
    text-align: center !important;
  }
  .footer1 .footer12 {
    margin-top: 20px !important;
  }
  .footer1 .footer12 p {
    font-size: 8px;
    margin: 10px auto !important;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(9, 2fr);
  grid-template-rows: repeat(18, 9vw);
  margin-bottom: 5rem;
  margin-top: 5rem;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery figure {
  margin: 0;
}

.gallery__item--1 {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 7;
}

.gallery__item--2 {
  grid-column-start: 4;
  grid-column-end: 10;
  grid-row-start: 1;
  grid-row-end: 4;
}

.gallery__item--3 {
  grid-column-start: 4;
  grid-column-end: 7;
  grid-row-start: 4;
  grid-row-end: 7;
}

.gallery__item--4 {
  grid-column-start: 7;
  grid-column-end: 10;
  grid-row-start: 4;
  grid-row-end: 10;
}

.gallery__item--5 {
  grid-column-start: 1;
  grid-column-end: 7;
  grid-row-start: 7;
  grid-row-end: 10;
}
.gallery__item--6 {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 10;
  grid-row-end: 16;
}
.gallery__item--7 {
  grid-column-start: 4;
  grid-column-end: 10;
  grid-row-start: 10;
  grid-row-end: 13;
}
.gallery__item--8 {
  grid-column-start: 4;
  grid-column-end: 7;
  grid-row-start: 13;
  grid-row-end: 16;
}
.gallery__item--9 {
  grid-column-start: 7;
  grid-column-end: 10;
  grid-row-start: 13;
  grid-row-end: 19;
}
.gallery__item--10 {
  grid-column-start: 1;
  grid-column-end: 7;
  grid-row-start: 16;
  grid-row-end: 19;
}

.section1 .nav ul .nav-mobile {
  display: none;
  cursor: pointer;
  position: absolute;

  width: 50px;
  top: 10px;
  right: 0;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

.section1 .nav ul .nav-mobiles {
  display: none;
  width: 50px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: -50px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

.nav-mobile img,
.nav-mobiles img {
  float: right;
}

.icn {
  z-index: 100;
  display: block;
  color: white;
}

@media screen and (max-width: 900px) {
  .section1 .nav ul li {
    width: 100%;
    display: none;
  }
  .section1 .nav ul .nav-mobile {
    display: block;
  }
}
@media screen and (min-width: 900px) {
  .section1 .nav ul li {
    display: inline-block;
    width: calc((100% - 22px) / 5);
  }
  .nav-mobile {
    display: none;
  }
}
