:root {
  --homePageBgClr: #fdf36f;
  --primaryffClr: #3c738c;
  --generalBgClr: #e2e6e9;
  --buttonClr: linear-gradient(90deg, #3c738c, #101f26);
  --spacialffClr: #763f41;
  --aboutffClr: #d9d9d9;
  --aboutBgClr: #121212;
  --newPageBg: #222529;
  --newPageBgVar: #272a2d;
  --newGreen: #0bc5af;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  /* border: 1px solid red; */
}

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

body {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  color: var(--primaryffClr);
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  max-width: 100%;
  display: block;
  height: auto;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Big Shoulders Text", sans-serif;
}
/* header section*/

#home-page {
  background-color: var(--homePageBgClr);
  padding: 3rem 2.5rem;
}

.close {
  display: none;
}

.logo img {
  width: 15rem;
  filter: invert(0.7);
}

.menu,
.close {
  width: 3rem;
  filter: invert(0.7);
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*navigation section*/

.list {
  display: flex;
  list-style: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  position: fixed;
  width: 50%;
  height: 100vh;
  top: 0;
  right: 0;
  z-index: 2;
  background-color: var(--generalBgClr);
  right: -50%;
  transition: 0.5s ease-in-out;
}

.list li a {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--primaryffClr);
  font-family: "Big Shoulders Text", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 1.6px;
}

.open .list {
  transform: translateX(-100%);
}

.open .action .menu {
  display: none;
}

.open .action .close {
  display: flex;
  position: fixed;
  z-index: 2;
  right: 3rem;
  top: 3rem;
}

/* hero section */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  text-align: center;
  text-transform: capitalize;
}

.hero p {
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 300;
}

.special {
  color: #e22047;
}

.btn {
  display: block;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background: var(--buttonClr);
  border-radius: 5rem;
  padding: 0.75rem 2rem;
  color: #fff;
  width: 100%;
  letter-spacing: 0.3rem;
}

.btn--contact {
  width: 100%;
  max-width: 30rem;
}
.btn-back {
  width: 100%;
  max-width: 30rem;
}

/* aboutUs - section */

#about-page {
  padding: 0 2.5rem 2.5rem 2.5rem;
  background-color: var(--aboutUsBgClr);
  color: var(--aboutffClr);
  background-color: var(--aboutBgClr);
  display: grid;
  grid-template-columns: 1fr;
}

.light {
  background: var(--aboutffClr);
  color: #676666;
}
.subHeading {
  margin-bottom: 0;
  text-transform: uppercase;
  font-size: 3.2rem;
}
hr {
  margin: 4px 0;
  width: 50%;
}

.subHeading1 {
  margin-top: 0;
  text-transform: uppercase;
  font-size: 3.2rem;
}

.boldPara {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.2;
  font-family: "Big Shoulders Text", sans-serif;
}

.noramlPara {
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 200;
}

/* services section */

#service-page {
  padding: 3rem 2.5rem;
  background-color: var(--generalBgClr);
}
.service {
  /* box-shadow: #b5daeb 2.4px 2.4px 3.2px; */
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding: 2rem;
  border-radius: 10px;
}
.service h4 {
  font-size: 3rem;
  text-transform: uppercase;
  font-family: "Big Shoulders Inline Display", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.btn-service {
  margin-left: 0;
  padding: 1rem 1.5rem;
  width: 100%;
  max-width: 30rem;
}

/* clients section */

#client-page {
  padding: 3rem 2.5rem;
  background-color: var(--aboutBgClr);
  color: var(--aboutffClr);
}
.images {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;

  gap: 7rem;
}
.images img {
  max-width: 317px;
  justify-self: center;
}

/* footer section */

#contact-page {
  background-color: var(--homePageBgClr);
  padding: 3rem;
}

.footer {
  text-align: center;
  padding: 3rem 2.5rem;
}
.logo img {
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

h5 {
  font-size: 2rem;
  font-style: normal;
}

.social {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social img {
  width: 50px;
}
.contact-details {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
}
.contact-details hr {
  display: none;
}

/* digital marketing services page  */

/* Page header */
.digitalPage {
  background-color: var(--newPageBg);
  padding: 3rem 2.5rem;
  color: var(--aboutffClr);
}
/* Digital Page */

#digital {
  padding-top: 3rem 2.5rem;
}
.intro {
  display: grid;
  grid-template-columns: 1fr;
}
.intro .num {
  font-size: 9rem;
  font-family: "Big Shoulders Inline Display", sans-serif;
  color: var(--newGreen);
}
.intro .main-h1 {
  display: block;
  font-size: 3.2rem;
}
.intro .para {
  font-size: 1.6rem;
}
.digi-img img {
  border-radius: 0 0 50% 50%;
  border: 1rem solid var(--generalBgClr);
}
#digital hr,
#traditionalPage hr,
#studio hr,
#development hr,
#cyber hr {
  width: 100%;
  height: 18px;
  border: 0;
  background-color: var(--newGreen);
  border-radius: 10px;
  margin-top: 3rem;
}
.contents {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.page-subHeading img {
  width: 70px;
  fill: var(--newGreen);
}
.page-subHeading {
  display: flex;
  gap: 3rem;
}
.content {
  background-color: var(--newPageBgVar);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem;
}

/* Traditional advertising services page  */

/* Page header */
.traditionalPage {
  background-color: var(--newPageBg);
  padding: 3rem 2.5rem;
  color: var(--aboutffClr);
}

/* Traditional  Page */
#traditionalPage {
  padding-top: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
}
.traditional-img img {
  border-radius: 0 0 50% 50%;
  border: 1rem solid var(--generalBgClr);
}

/* studio page section */
/* Page header */
.studioPage {
  background-color: var(--newPageBg);
  padding: 3rem 2.5rem;
}

/* Studio Page */
.studioPage {
  background-color: var(--newPageBg);
  padding: 3rem 2.5rem;
  color: var(--aboutffClr);
}

/*studio page*/
#studio {
  padding-top: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
}

.studio-img img {
  border-radius: 0 0 50% 50%;
  border: 1rem solid var(--generalBgClr);
  object-fit: cover;
}
.studio-img {
  height: 100%;
}

#studio .page-subHeading {
  display: flex;
  flex-direction: column;
}
#studio .page-subHeading img {
  object-fit: cover;
  border-radius: 0 50% 0 50%;
  width: 100%;
}

/* tech development section */

/* Page header */

/* Studio Page */
.developmentPage {
  background-color: var(--newPageBg);
  padding: 3rem 2.5rem;
  color: var(--aboutffClr);
}

/*studio page*/
#development {
  padding-top: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
}

.development-img img {
  border-radius: 0 0 50% 50%;
  border: 1rem solid var(--generalBgClr);
  object-fit: cover;
}
.development-img {
  height: 100%;
}

#development .page-subHeading {
  display: flex;
  flex-direction: column;
}
#development .page-subHeading img {
  object-fit: cover;
  border-radius: 0 50% 0 50%;
  width: 100%;
}

/* cyber security page  */
/* Page header */
.cyberPage {
  background-color: var(--newPageBg);
  padding: 3rem 2.5rem;
  color: var(--aboutffClr);
}

/* techdevlopment page */
#cyber {
  padding-top: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
}
.cyber-img img {
  border-radius: 0 0 50% 50%;
  border: 1rem solid var(--generalBgClr);
  object-fit: cover;
}
.cyber-img {
  height: 100%;
}

#cyber .page-subHeading {
  display: flex;
  flex-direction: column;
}
#cyber .page-subHeading img {
  object-fit: cover;
  border-radius: 0 50% 0 50%;
  width: 100%;
}

/* media queries */

@media screen and (min-width: 768px) {
  /* hero section */
  .action .menu {
    display: none;
  }
  .hero-image {
    max-width: 55%;
    margin: 0 auto;
  }
  .list {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    position: static;
    width: 100%;
    height: 0;
    background-color: transparent;
  }
  .digitalPage .list li a {
    color: var(--newGreen);
  }
  .hero h1 {
    font-size: 4.5rem;
  }
  .intro h1 {
    align-self: end;
  }
  .hero p {
    font-size: 1.8rem;
    padding: 3rem;
    margin: 0;
  }
  /* about section */
  #about-page {
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
  }
  .faceImage {
    grid-column: 2/3;
    grid-row: 1/3;
  }
  .aboutBtn {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .boldPara {
    font-size: 3rem;
  }
  .right-para {
    align-self: center;
  }
  .heading {
    align-self: end;
  }
  /* services section */
  #service-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .sheading {
    grid-column: 1/-1;
  }

  .cyber {
    grid-column: 1/-1;
  }
  /* client section */

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

  .social {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-details {
    grid-template-columns: 1fr auto 1fr;
    justify-content: center;
    align-items: center;
  }
  .contact-details hr {
    background-color: var(--newGreen);
    display: grid;
    rotate: 90deg;
    height: 5px;
    width: 20rem;
    border: 0;
  }

  /* digital marketing services 768px size */
  .intro {
    grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .para {
    grid-column: 1/2;
    justify-content: center;
    align-items: center;
  }
  .digi-img {
    grid-column: 2/3;
    grid-row: 1/3;
    /* padding-top: 5rem; */
  }

  .service-img {
    justify-self: center;
    align-self: center;
  }
  .service-img img {
    max-width: 80%;
    margin-inline: auto;
    border-radius: 0 100px 0 100px;
    border: 1rem solid var(--generalBgClr);
  }

  .contents {
    grid-template-columns: 1fr 1fr;
    margin-top: 3rem;
  }
  .analytics {
    grid-column: 1/-1;
  }

  /* traditional media page 768px */
  .traditional-img {
    grid-column: 2/3;
    grid-row: 1/3;
    padding-top: 5rem;
  }
  .traditional-img img {
    border-radius: 0 100px 0 100px;
    border: 1rem solid var(--generalBgClr);
  }
  .print {
    grid-column: 1/-1;
  }
  /* studio page 768px */
  #studio-page {
    grid-template-columns: 1fr 1fr;
  }
  #studio .btn-back {
    grid-column: 1/-1;
  }

  .studio-img {
    grid-column: 2/3;
    grid-row: 1/3;
    padding-top: 5rem;
  }

  /* development section */

  .development-img {
    grid-column: 2/3;
    grid-row: 1/3;
    padding-top: 5rem;
  }
  #development .btn-back {
    grid-column: 1/-1;
    grid-row: 3/4;
  }
  /* cyber section */
  .cyber-img {
    grid-column: 2/3;
    grid-row: 1/3;
    padding-top: 5rem;
  }
  #cyber .btn-back {
    grid-column: 1/-1;
    grid-row: 3/4;
  }
}

@media screen and (min-width: 1024px) {
  /* navigation */
  .list {
    gap: 8rem;
  }
  .hero {
    grid-template-columns: 1fr 1.25fr;
  }
  .hero h1 {
    font-size: 6.3rem;
    margin: 5rem auto;
  }
  .hero-image {
    grid-column: 2/3;
    grid-row: 1/3;
    max-width: 100%;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .btn-service {
    width: 100%;
  }
  /* digital marketing services 1240px size */

  .intro h1 {
    padding-top: 2rem;
  }
  .contents {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 3rem;
  }
  .service-img img {
    max-width: 80%;
  }
  .service-img {
    padding: 5rem;
  }

  .pooh {
    grid-column: 1/-1;
    grid-row: 2/3;
  }
  .analytics {
    grid-column: 3/4;
    grid-row: 3/4;
  }

  /* aboutus section */
  .right-para {
    padding-inline: 3rem;
  }
  /* traditional media 1240px */
  .traditional-contents {
    grid-column: 1/-1;
    grid-row: 3/4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
  }
  .print {
    grid-column: 2/4;
    grid-row: 2/3;
  }
  .digi-img {
    /* max-width: 80%; */
    margin: 0 auto;
  }
  .digi-para {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 1240px) {
  /* hero section */
  .hero h1 {
    align-self: end;
    margin-bottom: 0;
  }
  .hero p {
    align-self: start;
  }
  /* about US section */
  .heading {
    align-self: end;
  }
  /* services section */
  #service-page {
    grid-template-columns: repeat(3, 1fr);
  }
  .service {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.25fr 1fr 0.1fr;
  }

  #cyber .contents {
    grid-template-columns: repeat(3, 1fr);
  }
  .cyber {
    grid-template-columns: 1fr;
    grid-column: 2/4;
    grid-row: 3/4;
  }
}

@media screen and (min-width: 1440px) {
  /* hero section */
  .hero-content {
    align-self: start;
    margin-top: 0;
  }
  /* digital marketing page */
  .digital-contents {
    grid-template-columns: repeat(4, 1fr);
  }
  .pooh {
    grid-column: 1/3;
    grid-row: 2/3;
  }
  .analytics {
    grid-column: 4/5;
    grid-row: 2/3;
  }

  /* cyber section at 1440px */
  .cyber-contents {
    grid-template-columns: repeat(3, 1fr);
  }
}
