@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Sora:wght@100..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--primary-text);
}

:root {
  --primary: #2d6eb5;
  --secondery: #f9c243;
  --primary-text: #131313;
  --bg: #f0f0f0;
  --bg2: #f4f4f4;
  --sub-text: #747474;
  --border: 1px solid #000014;
  --border-lite: 1px solid #4a4a4a;
  --light: #ffffff;
  --softwhite: #ededed;
}

[class*="grid"] {
  display: grid;
}

.align-center {
  align-items: center;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

i svg {
  width: unset;
  height: 1.8rem;
  fill: var(--light);
}

p,
a,
input,
select,
textarea,
button {
  font-size: 1.8rem;
  font-weight: 400;
}

p {
  color: var(--sub-text);
  line-height: 1.8;
}

h1,
h2 {
  text-transform: uppercase;
  font-size: 5rem;
  font-weight: 500;
}

h3 {
  text-transform: capitalize;
  font-size: 4rem;
  font-weight: 400;
}

h4 {
  text-transform: capitalize;
  font-size: 3.5rem;
  font-weight: 500;
}

h5 {
  text-transform: capitalize;
  font-size: 3rem;
  font-weight: 500;
}

h6 {
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--sub-text);
}

img,
video {
  max-width: 100%;
}

.container {
  max-width: 1320px;
  padding: 0 2rem;
  margin: auto;
  width: 100%;
}
header .links a.active {
  color: var(--secondery);
}

.container-max {
  max-width: 1540px;
  padding: 0 2rem;
  margin: auto;
  width: 100%;
}

button,
.btn {
  height: 5.5rem;
  cursor: pointer;
  background: var(--primary-text);
  color: var(--light);
  border-radius: 5rem;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

button .center {
  display: flex;
  align-items: center;
  gap: 1rem;
}

button p {
  color: var(--light);
  text-transform: capitalize;
  transition: 0.3s;
  font-size: 2rem;
  line-height: 1;
  white-space: nowrap;
}

button i {
  width: 3rem;
  overflow: hidden;
  transition: 0.3s;
  color: var(--light);
  font-size: 2rem;
}

button i:nth-child(3) {
  width: 0rem;
  opacity: 0;
}

button:hover i:nth-child(1) {
  width: 0;
  opacity: 0;
}

button:hover i:nth-child(3) {
  width: 3rem;
  opacity: 1;
}

button.empty :is(p, i) {
  color: var(--primary-text);
}

button:hover {
  background: var(--primary);
  border-color: transparent;
}

button.empty {
  border: var(--border);
  background: #ffffff0e;
  backdrop-filter: blur(20px);
  color: var(--primary-text);
}

section {
  padding: 8rem 0;
}

header {
  height: 8rem;
  width: 100%;
  position: fixed;
  left: 0;
  background: transparent;
  z-index: 999;
  transition: 0.3s;
}

header .logo img {
  height: 6rem;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 100%;
  padding: 0 3rem;
  gap: 3rem;
}

header .links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

header .links a {
  color: white;
}

header .logo {
  width: 100%;
}

header.sticky {
  background: var(--primary-text);
  transition: 0.3s;
}

.menu {
  display: none;
}

main {
  height: calc(var(--vh) * 100);
  position: relative;
  min-height: 60rem;
}

main :is(h1, h3, p) {
  color: white;
}

main button p {
  color: white !important;
}

main button {
  border-color: #ffffff44 !important;
}

main button i {
  color: white !important;
}

main video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

main .container {
  position: relative;
}

main .container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  max-width: 90rem;
  width: 100%;
  margin: auto;
}

.content h1 {
  font-size: 6rem;
  text-transform: uppercase;
}
.grade {
  background: linear-gradient(90deg, var(--primary), var(--secondery));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

main .bottom-content {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 5rem;
  bottom: 0;
  padding: 5rem;
  left: 0;
}

main .bottom-content .text-content {
  max-width: 45rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.bottom-content h5 {
  font-size: 1.6rem;
  color: #ffffff99;
}

.bottom-content h3 {
  font-size: 2.3rem;
  font-weight: 400;
  text-transform: lowercase;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.title {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 8rem;
}

.image-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

.image-stack .frame {
  width: 100%;
  aspect-ratio: 1/2;
  border-radius: 2rem;
  overflow: hidden;
}

.image-stack .frame:nth-child(1) {
  transform: rotate(5deg);
}

.image-stack .frame:nth-child(2) {
  transform: skew(2deg, 10deg) translateY(-8rem);
}

.image-stack .frame:nth-child(3) {
  transform: rotate(5deg);
}

.image-stack .frame:nth-child(4) {
  transform: skew(2deg, 1deg) translateY(-8rem);
}

/* .image-stack .frame:nth-child(5) {
    transform: rotate(-5deg);
} */

.image-stack .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.whychoose {
  background: url(images/backwave.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding: 15rem 0;
}

.why__choose__title h2 {
  color: var(--light);
  text-transform: uppercase;
  padding-top: 0;
}

.why__choose__title h3 {
  color: var(--light);
}

.why__choose__title button {
  background-color: var(--light);
  border: none;
}

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 8rem;
}

.grid-4 .card {
  padding: 8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.grid-4 .card button {
  width: fit-content;
}

.grid-4 .card:nth-child(1),
.grid-4 .card:nth-child(3) {
  border-right: var(--border-lite);
}

.grid-4 .card:nth-child(1),
.grid-4 .card:nth-child(2) {
  border-bottom: var(--border-lite);
}

.card__img img {
  height: 14rem;
}

.card__img p {
  color: var(--softwhite);
  font-weight: 300;
}

.gap-5 {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.big-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  align-items: center;
}

.big-card .content-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.big-card .frame {
  width: 100%;
  aspect-ratio: 2/1.5;
  overflow: hidden;
  border-radius: 2rem;
}

.big-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.big-card .content-box h2 {
  font-size: 1.8rem;
}

.big-card .content-box h3 {
  font-size: 2.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.animated-box {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.animated-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
}

.team-cards .team-card {
  width: 100%;
  aspect-ratio: 1/1.4;
  position: relative;
  border-radius: 2rem;
  /* border-top-left-radius: 50rem;
    border-top-right-radius: 50rem; */
  overflow: hidden;
}

.team-cards .team-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#00001400, #000014);
  z-index: 1;
}

.team-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-card .content {
  position: absolute;
  bottom: 0;
  padding: 3rem;
  z-index: 2;
  gap: 0;
}

.team-card .content h3 {
  color: white;
  font-size: 3rem;
  text-transform: uppercase;
}

.team-card .content p {
  color: white;
  font-size: 1.5rem;
  line-height: 100%;
  padding: 0.5rem 0;
  opacity: 80%;
  font-weight: 300;
}

.items {
  display: flex;
  flex-direction: column;
}

.items .item {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: center;
  border-bottom: var(--border-lite);
}

.items .item .mx {
  max-width: 60rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.items .item .frame {
  width: 25rem;
  aspect-ratio: 2/1.8;
  overflow: hidden;
  border-radius: 2rem;
}

.items .item .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.items .item h3 {
  font-size: 2.3rem;
}

.focus button {
  background-color: var(--primary);
  border: none;
}

.focus button p,
.focus button i {
  color: var(--light);
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social a {
  width: 4rem;
  aspect-ratio: 1/1;
  background: #ffffff18;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5rem;
  backdrop-filter: blur(10px);
}

.social :is(i, svg) {
  color: white;
  font-size: 2.3rem;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 1.4rem; /* space between cards */
  align-items: stretch;
}

main.main2 {
  min-height: unset;
  height: 40rem;
}

.grid-3.projects {
  gap: 1.5rem;
  row-gap: 3rem;
}

.gap-1 {
  gap: 3rem;
}

.card .frame {
  width: 100%;
  border-radius: 2rem;
  overflow: hidden;
}

.card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card .body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card .body h3 {
  font-size: 2rem;
  text-transform: capitalize;
}

.books .book-frame {
  width: 40rem;
  aspect-ratio: 1/1.4;
  overflow: hidden;
  border-radius: 2rem;
}

.books .book-frame img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

footer {
  padding: 5rem 0 0 0;
  margin-top: 8rem;
  background: var(--primary);
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

footer .flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 3rem;
}

footer .flex > div {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

footer .flex > div a {
  font-size: 3rem;
}

footer .copy {
  display: flex;
  flex-direction: column; /* element up-down হবে */
  justify-content: center; /* vertical center */
  align-items: center; /* horizontal center */
  text-align: center;
  font-size: 1.6rem;
  text-transform: uppercase;
}

footer .social-2 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

footer .social-2 a {
  font-size: 2rem !important;
  font-weight: 500;
  color: var(--light);
  font-weight: 300;
}

footer h5 {
  font-size: 2rem;
  color: var(--light);
  font-weight: 300;
}

footer p,
footer a {
  color: var(--light);
  font-weight: 300;
}

.last__logo {
  background: url(images/footer1.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding: 8rem 0 60rem 0;
}

.footer__closing {
  color: var(--light);
}

.footer__closing a {
  text-transform: capitalize;
  text-decoration: underline;
}

.prilav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.footer__closing img {
  height: 10rem;
  margin-bottom: 2rem;
}

.scroll-carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.scroll-carousel-slider {
  display: inline-flex;
  position: relative;
}

.sc-slide {
  display: inline-block;
  position: relative;
}

.sc-slide img,
.sc-slide video {
  max-width: fit-content !important;
}

/* GRID LAYOUT */
.contactGridUnique {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* LEFT IMAGE */
.contactGridImageUnique img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.contactGridFormUnique {
  background-color: var(--light);
  height: 100%;
  padding: 3rem 4rem;
  border-radius: 2rem;
  box-shadow: rgba(17, 12, 46, 0.069) 0px 48px 100px 0px;
}

.contactGridFormUnique h2 {
  color: var(--primary);
  padding-bottom: 2rem;
}

/* FORM */
.contactFormUnique .formGroupUnique {
  margin-bottom: 1rem;
}

.formGroupUnique {
  padding: 0.5rem 0;
}

.contactFormUnique label {
  font-weight: 400;
  padding-bottom: 1rem;
  font-size: 1.8rem;
  color: var(--primary-text);
}

/* INPUTS STYLE */
.contactFormUnique input,
.contactFormUnique textarea {
  width: 100%;
  margin-top: 1rem;
  padding: 1.2rem 1.2rem;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
  background: #fafafa;
  font-size: 1.7rem;
  font-weight: 300;
  outline: none;
  transition: all 0.25s ease;
}

/* TEXTAREA */
.contactFormUnique textarea {
  min-height: 120px;
  resize: vertical;
}

/* BUTTON */
.contactFormUnique button {
  background-color: var(--primary);
  border: none;
}

.contactFormUnique button i,
.contactFormUnique button p {
  color: var(--light);
}

@media (max-width: 1024px) {
  html {
    font-size: 45%;
  }
}

@media (max-width: 660px) {
  html {
    font-size: 62%;
  }

  h1,
  h2 {
    font-size: 3rem;
  }

  h3 {
    font-size: 2.5rem;
  }

  h4 {
    font-size: 2.3rem;
  }

  h5 {
    font-size: 2rem;
  }

  h6 {
    font-size: 1.8rem;
  }

  button p {
    font-size: 1.6rem;
  }

  section {
    padding: 5rem 0;
  }

  button,
  .btn {
    height: 5rem;
    padding: 0 1.5rem;
  }

  header .container {
    justify-content: space-between;
  }

  header .bars span {
    width: 3.5rem;
    height: 2px;
    background: var(--bg2);
    display: block;
    border-radius: 1rem;
    transition: 0.3s;
  }

  header .bars span:nth-child(2) {
    width: 2.5rem;
  }

  header .bars span:nth-child(3) {
    width: 3rem;
  }

  header .bars {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  header.active .menu .bars span {
    width: 3.5rem;
    transition: 0.3s;
  }

  .menu {
    display: block;
  }

  header {
    width: 100%;
    border-radius: 0;
    top: 0;
    height: 8rem;
    padding: 0 2rem;
  }

  header .container {
    padding: 0;
  }

  header .logo img {
    height: 4rem;
  }

  header .links {
    position: fixed;
    flex-direction: column;
    background: var(--bg2);
    width: 100%;
    height: calc(var(--vh) * 100);
    top: 8rem;
    left: 0;
    align-items: center;
    justify-content: center;
    transform: translateX(-110%);
    transition: 0.3s;
    overflow: hidden;
  }

  header.active .links {
    transform: translateX(0);
    transition: 0.3s;
  }

  header .links a {
    color: var(--primary-text);
  }

  main {
    padding-top: 5rem;
  }

  main .bottom-content {
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    gap: 1.5rem;
    padding-bottom: 5rem;
    text-align: center;
  }

  .bottom-content h3 {
    font-size: 1.8rem;
  }

  main .bottom-content .text-content {
    gap: 1rem;
  }

  .title h2 {
    font-size: 3.5rem;
  }

  [class*="grid"],
  .big-card {
    grid-template-columns: 1fr !important;
  }
  .team-cards {
    grid-template-columns: 1fr;
  }
  .contactGridUnique {
    grid-template-columns: 1fr;
  }

  .content h1 {
    font-size: 3rem;
  }

  footer .flex {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 3rem;
  }

  footer {
    margin-top: 5rem;
  }

  footer .flex > div a {
    font-size: 2rem;
  }

  footer .copy {
    text-align: center;
    font-size: 1.4rem;
  }

  footer .container {
    gap: 5rem;
  }

  main .container {
    height: fit-content;
    margin-top: 20vh;
  }

  .image-stack {
    gap: 1.8rem;
  }

  /* .card {
        align-items: center;
        justify-content: center;
        text-align: center;
        border-bottom: var(--border-lite);
        padding-bottom: 3rem;
    } */

  .card:last-child {
    border-bottom: unset;
    padding-bottom: unset;
  }

  .grid-4 .card {
    padding: 3rem 0;
    border: none !important;
    border-top: var(--border-lite) !important;
    /* align-items: center;
        justify-content: center;
        text-align: center; */
  }

  .grid-4 .card:first-child {
    padding-top: 0;
    border-top: unset !important;
  }

  .fix {
    grid-area: 1/1/2/2;
  }

  .big-card {
    gap: 3rem;
  }

  .items {
    gap: 3rem;
  }

  .items .item {
    grid-template-columns: 1fr;
    padding: 0;
    border: unset;
    gap: 1.5rem;
  }

  .items .item .frame {
    width: 100%;
  }

  .title {
    margin-bottom: 5rem;
  }

  .items .item button {
    width: fit-content;
  }

  .books .book-frame {
    max-width: 20rem;
  }

  main.main2 {
    height: 30rem;
  }

  main.main2 .container {
    margin: unset;
    height: 100%;
  }

  .image-stack .frame {
    border-radius: 0.5rem;
  }
}

header .dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.6rem;
  color: white;
  height: 8rem;
  cursor: pointer;
}

header .dropdown {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg2);
  border-radius: 2rem;
  padding: 2rem;
  top: 6rem;
  transform: scale(0);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: top;
}
header .dropdown :is(a, p) {
  color: var(--primary-text);
  cursor: pointer !important;
}

.dropdown-wrap i {
  font-size: 1.8rem;
  color: white;
}
.dropdown-wrap {
  white-space: nowrap;
}
header .ctam {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero--animated {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero__fallback,
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__fallback {
  background: #000 url('./assets/hive-honeycomb-hero-static.svg') center center / cover no-repeat;
}

.hero__bg {
  border: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}