@font-face {
  font-family: "DG Trika";
  src: url("../fonts/DG-Trika-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@keyframes lightbulbPop {
  0%,
  85% {
    opacity: 0;
    transform: scale(0.3) translateY(20px);
  }
  10%,
  25% {
    opacity: 1;
    transform: scale(1.2) translateY(-10px);
  }
  30%,
  80% {
    opacity: 1;
    transform: scale(1) translateY(-5px);
  }
  90%,
  100% {
    opacity: 0;
    transform: scale(0.3) translateY(20px);
  }
}
@keyframes bagSwing {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  75% {
    transform: rotate(-15deg);
  }
}
@keyframes popAnimation1 {
  0%,
  90% {
    opacity: 0;
    transform: scale(0.5) translateY(10px);
  }
  5%,
  15% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  20%,
  100% {
    opacity: 0;
    transform: scale(0.5) translateY(10px);
  }
}

@keyframes popAnimation2 {
  0%,
  90% {
    opacity: 0;
    transform: scale(0.5) translateY(10px);
  }
  5%,
  15% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  20%,
  100% {
    opacity: 0;
    transform: scale(0.5) translateY(10px);
  }
}
@keyframes sparkleAnimation {
  0%,
  90% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  5%,
  15% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
  20%,
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(360deg);
  }
}
@keyframes colorChange {
  0%,
  100% {
    filter: none;
  }
  50% {
    filter: grayscale(100%) sepia(100%) hue-rotate(-10deg) saturate(800%)
      brightness(40%);
  }
}
@keyframes infiniteRotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background-image: url("../images/background/texture.jpg");
  background-size: contain;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.logo-nav img {
  height: 50px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 4rem;
}
.nav-links a {
  text-decoration: none;
  color: #3d3d3d;
  font-size: 1rem;
  &:hover {
    color: #7182ff;
    font-weight: bold;
  }
}
.cta-button {
  background-color: transparent;
  color: #3d3d3d;
  border: solid 2px #7182ff;
  padding: 0.5rem 1rem;
  border-radius: 14px;
  cursor: pointer;
  &:hover {
    color: #7182ff;
  }
}
.hero {
  width: 100%;
}
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  height: 82vh;
  width: 100%;
}
.w .lightbulb {
  position: absolute;
  align-self: flex-start;
  margin-left: 75px;
  margin-top: -52px;
  transform: translateX(-50%);
  font-size: clamp(20px, 4vw, 40px);
  z-index: 5;
  opacity: 0;
  animation: lightbulbPop 6s infinite;
  animation-delay: 1s;
  pointer-events: none;

}
.hero-top h1 {
  font-family: "DG Trika", sans-serif;
  font-size: clamp(20px, 10vw, 128px);
  color: #332675;
}
.hero-bottom {
  text-align: center;
  margin-top: 2rem;
  color: #332675;
  font-weight: bold;
  margin-bottom: 40px;
  width: 100%;
}
.hero-bottom p {
  font-size: 32px;
  margin-bottom: 28px;
}
.hero-bottom h1 {
  font-size: 64px;
  margin-bottom: 36px;
}
.start-btn {
  padding: 19.5px 126px;
  border: none;
  border-radius: 12px;
  background-color: #332675;
  color: white;
  font-weight: bold;
  cursor: pointer;
  &:hover {
    background-color: #4a3b8d;
  }
}
.about-us {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.about-left {
  flex: 1;
  background-position: center;
  display: flex;
  align-items: flex-start;
}
.about-left img {
  max-width: 100%;
  height: auto;
}
.about-right {
  flex: 1;
}
.about-head {
  font-size: 48px;
  color: #332675;
  font-weight: bold;
  margin-bottom: 10%;
}
.about-qustion {
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 10%;
}
.about-answer {
  color: #666666;
  line-height: 1.8;
  font-size: 16px;
  font-weight: 500;
  margin-right: 10%;
  margin-bottom: 5%;
}
.learn-more {
  background-color: #332675;
  border: none;
  font-weight: bold;
  color: white;
  display: block;
  width: 40%;
  padding: 20px 0;
  border-radius: 12px;
  margin: 0 auto;
  cursor: pointer;
  &:hover {
    background-color: #4a3b8d;
  }
}
.container {
  display: flex;
  gap: 100px;
}
.left-cards,
.right-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 150px;
}
.left-cards {
  align-items: flex-end;
}

.card {
  width: 80%;
  height: 450px;
  background: linear-gradient(135deg, #7182ff, #444e99);
  border-radius: 400px 400px 10px 10px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: rotate(3deg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 3px dashed #3a3a7a;
  border-radius: 400px 400px 13px 13px;
  transform: rotate(-8deg);
  z-index: 1;
  clip-path: inset(0 round 100px 100px 5px 5px);
}
.icon {
  width: 185px;
  border-radius: 50%;
  overflow: hidden;
  padding: 5px;
  transform: rotate(-3deg);
  margin-top: -8px;
}

.description {
  transform: rotate(-3deg);
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 40%;
  h3 {
    margin-bottom: 10px;
    width: 75%;
    font-size: 32px;
  }
  p {
    font-size: 16px;
    width: 74%;
    background-color: #7182ff;
    padding: 10px;
    border-radius: 10px;
    margin-top: 40px;
  }
}
.reverse {
  transform: rotate(-3deg);
  .icon {
    transform: rotate(3deg);
  }
  .description {
    transform: rotate(3deg);
  }
}
.reverse::before {
  transform: rotate(8deg);
}
.right-cards > .reverse {
  margin-top: 150px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #332675;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
.why {
  margin-bottom: 200px;
  margin-top: 200px;
}

.services-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  row-gap: 100px;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
  place-items: center;
}

.service-card {
  background-color: #ffffff;
  border-radius: 30px;
  padding: 27px 16px;
  width: 67%;
  height: 78%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease;
  box-shadow: 4px 6px 6.3px #bfbfc1;
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 13%;
  left: 0;
  height: 50px;
  width: 4px;
  background: #332675;
  border-radius: 2px;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card div {
  width: 50px;
  height: 50px;
  background-color: #f1f3ff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.service-card div img {
  width: 40px;
  height: 30px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
  font-weight: 600;
  margin-left: 25px;
}
.service-card h3.smaller {
  font-size: 17px;
}

.service-card p {
  font-size: 13px;
  color: #666666;
  margin: 0 0 4px 25px;
  width: 100%;
}

.service-card a {
  color: #a1a1a1;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 31%;
  margin-left: 25px;
  font-size: 12px;
}

.service-card a:hover {
  text-decoration: underline;
}
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 100px;
  h1 {
    font-size: 48px;
    color: #332675;
    font-weight: bold;
    margin-bottom: 80px;
  }
}
.o h1 {
  display: none;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 20px; */
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5vw;
  width: 100%;
  max-width: 1200px;
}

.letter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 80px;
}

.letter h1 {
  font-family: "DG Trika", sans-serif;
  font-size: clamp(60px, 8vw, 128px);
  color: #332675;
  z-index: 1;
  position: relative;
}

.letter img {
  position: absolute;
  width: clamp(60px, 8vw, 128px);
  height: auto;
  z-index: 2;
}

.t .girl-on-t {
  top: -13%;
  left: -33%;
  z-index: 3;
}

.t .pop1,
.t .pop2 {
  width: clamp(30px, 5vw, 50px);
  opacity: 0;
  z-index: 4;
}

.t .pop1 {
  top: -40px;
  right: 113px;
  animation: popAnimation1 5s infinite;
}

.t .pop2 {
  top: -65px;
  right: 25px;
  animation: popAnimation2 5s infinite 0.5s;
}

.sparkles {
  position: absolute;
  top: -55px;
  right: 45px;
  width: 60px;
  height: 60px;
  pointer-events: none;
}

.sparkles::before,
.sparkles::after {
  content: "✨";
  position: absolute;
  font-size: 20px;
  opacity: 0;
  animation: sparkleAnimation 5s infinite;
}

.sparkles::before {
  top: 0;
  left: 0;
  animation-delay: 0.2s;
}

.sparkles::after {
  top: 20px;
  left: 30px;
  animation-delay: 0.7s;
}

.r .bag {
  animation: bagSwing 8s infinite ease-in-out;
  transform-origin: top center;
  margin-right: -75%;
  margin-top: 55%;
  width: clamp(40px, 7vw, 100px);
}
.d .d-bg {
  align-self: center;
  margin-right: 13%;
  width: clamp(60px, 9vw, 135px);
}

.o {
  position: relative;
}

.o .o-bg {
  width: clamp(60px, 8vw, 128px);
}

.o .arrows-rotating {
  z-index: 2;
  animation: infiniteRotation 6s linear infinite;
  width: clamp(20px, 8vw, 80px);
}

.letter img {
  width: clamp(60px, 8vw, 128px);
  margin-bottom: 15px;
}
/* .letter .d-bg {
    width: clamp(60px, 15vw, 95px);
  } */
.t .pop1,
.t .pop2 {
  width: clamp(25px, 8vw, 40px);
}

.sparkles {
  width: 40px;
  height: 40px;
}

.sparkles::before,
.sparkles::after {
  font-size: 16px;
}

.letter {
  transition: transform 0.3s ease;
}

.letter:hover {
  transform: scale(1.05);
}

.letter img {
  will-change: transform;
  backface-visibility: hidden;
}
.n .n-img {
  z-index: -1;
  align-self: flex-start;
  margin-top: 25%;
  margin-right: 56%;
  width: clamp(60px, 9vw, 130px);
  animation: colorChange 6s infinite;
}
.w .w-bg {
  width: clamp(60px, 15vw, 180px);
  margin-bottom: 50px;
}
:root {
  --bubble-w: 400px;
  --bubble-h: 240px;
}

.map {
  font-family: "Poppins", system-ui, Arial, sans-serif;
  padding: 40px 0 90px;
  margin-bottom: 100px;
}

.map-title {
  text-align: center;
  margin: 0 0 26px;
  font-weight: 800;
  font-size: 48px;
  color: #2b2d6b;
  letter-spacing: 0;
  line-height: 1;
}

.map-board {
  position: relative;
  width: 100%;
  aspect-ratio: 1380 / 701;
  background: url("../images/map/map.png") center/cover no-repeat;
  isolation: isolate;
}

.bubble {
  position: absolute;
  width: var(--bubble-w);
  min-height: var(--bubble-h);
  background: url("../images/map/chat-buble.png") center/100% 100% no-repeat;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.18));
  padding: 32px 0px 0px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bubble h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0;
  color: #2f2f73;
}
.bubble p {
  width: 85%;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #111827;
}

.bubble-1 {
  top: 10%;
  left: 58%;
}
.bubble-2 {
  top: 38%;
  left: 10%;
}
.bubble-3 {
  top: 72%;
  left: 42%;
}
.footer {
  background: #332675;
  color: #1f2937;
  border-top: 1px solid #ebedf5;
  position: static;
  width: 100%;
  bottom: 0;
  position: static;
  bottom: 0;
  width: 100%;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}
.logo {
  height: 36px;
}

.copyright {
  text-align: center;
  font-size: 14px;
  color: #d3d3d3;
    a{
    color: #ffffff;
    margin: 0 10px;
  }
}

.social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social img {
  width: 20px;
  height: 20px;
  display: block;
}
.ann {
  display: flex;
  z-index: -5;
  position: absolute;
  span {
    font-size: 14px;
    font-weight: bold;
  }
}
.ann-t {
  flex-direction: column;
  align-self: start;
  margin-top: -64px;
  margin-left: 130px;
  img {
    height: 60px;
    width: auto;
  }
  span {
    margin-top: -10px;
    margin-left: 24px;
    width: 200px;
  }
}
.ann-r {
  flex-direction: column-reverse;
  align-self: flex-end;
  margin-bottom: 25px;
  margin-left: 180px;
  img {
    height: clamp(40px, 7vw, 50px);
    width: auto;
  }
  span {
    margin-left: 50px;
    width: 200px;
  }
}
.ann-n {
  flex-direction: column-reverse;
  align-self: flex-start;
  margin-top: -15px;
  margin-left: 180px;
  img {
    height: clamp(40px, 7vw, 50px);
    width: auto;
  }
  span {
    margin-left: 55px;
    margin-bottom: 45px;
    width: 200px;
  }
}
.ann-d {
  flex-direction: column-reverse;
  align-self: flex-end;
  margin-left: 165px;
  img {
    height: clamp(40px, 7vw, 100px);
    width: auto;
  }
  span {
    width: 200px;
    margin-bottom: -5px;
    margin-left: -3px;
  }
}
.ann-o {
  flex-direction: column-reverse;
  align-self: flex-end;
  margin-left: -162px;
  margin-bottom: -187px;
  img {
    height: clamp(40px, 24vw, 170px);
    width: auto;
  }
  span {
    width: 264px;
    margin-bottom: 24px;
    margin-left: -265px;
  }
}
.ann-w {
  flex-direction: column-reverse;
  align-self: flex-end;
  margin-left: 78px;
  margin-bottom: -50px;
  img {
    height: clamp(60px, 15vw, 150px);
    width: auto;
  }
  span {
    width: 200px;
    margin-bottom: -5px;
    margin-left: -75px;
  }
}
@media screen and (min-width: 1400px) {
  .services-container {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1400px;
  }
  .navbar {
    max-width: 1400px;
    margin: 0 auto;
  }

  .hero {
    max-width: 1400px;
    margin: 0 auto;
  }

  .about-us {
    max-width: 1400px;
    margin: 0 auto;
  }

  .why {
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 100px;
  }
  :root {
    --bubble-w: 383px;
    --bubble-h: 190px;
  }
  .bubble-1 {
    top: 9%;
    left: 60%;
  }
  .bubble-2 {
    top: 37%;
    left: 12%;
  }
  .bubble-3 {
    top: 71%;
    left: 44%;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 0px;
  }

  .service-card {
    padding: 28px;
  }
  .navbar {
    padding: 1rem 1.5rem;
  }
  .lightbulb {
    margin-top: -2vh;
  }
  .nav-links {
    gap: 2rem;
  }

  .hero-top h1 {
    font-size: clamp(60px, 8vw, 100px);
  }

  .hero-bottom p {
    font-size: 24px;
  }

  .hero-bottom h1 {
    font-size: 48px;
  }

  .start-btn {
    padding: 18px 80px;
  }

  /* .about-us {
    padding: 2rem;
  } */

  .about-head {
    font-size: 40px;
  }

  .container {
    gap: 50px;
    padding: 0 2rem;
  }

  .left-cards,
  .right-cards {
    gap: 100px;
  }

  .card {
    width: 90%;
    height: 400px;
  }

  .card .description h3 {
    font-size: 24px;
  }
  :root {
    --bubble-w: 340px;
    --bubble-h: 220px;
  }
  .bubble-1 {
    top: 14%;
    left: 62%;
  }
  .bubble-2 {
    top: 46%;
    left: 5%;
  }
  .bubble-3 {
    top: 76%;
    left: 34%;
  }
}

@media screen and (max-width: 768px) {
  .services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 25px;
  }

  .service-card {
    padding: 25px;
  }

  .service-card h3 {
    font-size: 1.3em;
    margin-left: 15px;
  }

  .service-card p {
    font-size: 0.9em;
    margin-left: 15px;
  }
  .service-card a {
    margin-left: 15px;
  }
  .why {
    margin-top: 50px;
  }
  .about-head {
    margin-bottom: 30px;
  }
  .navbar {
    padding: 1rem;
    position: relative;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  li {
    margin-left: 1rem;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .cta-button {
    display: none;
  }

  .hero-top {
    height: auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.3vw;
    /* padding: 2rem 1rem; */
  }

  .hero-top h1 {
    font-size: clamp(40px, 10vw, 80px);
  }
  .letter img {
    width: clamp(40px, 8vw, 80px);
  }

  .hero-bottom {
    padding: 0;
    margin-top: 1rem;
  }

  .hero-bottom p {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .hero-bottom h1 {
    font-size: 28px;
    margin-bottom: 24px;
    line-height: 1.2;
  }

  .start-btn {
    padding: 15px 30px;
    font-size: 16px;
  }

  .about-us {
    flex-direction: column-reverse;
    height: auto;
    gap: 2rem;
  }

  .about-left {
    order: 2;
  }

  .about-left img {
    width: 100%;
    max-width: 400px;
  }

  .about-right {
    order: 1;
    text-align: center;
  }

  .about-head {
    font-size: 32px;
    margin-bottom: 1rem;
    margin-left: 0;
  }

  .about-qustion {
    font-size: 18px;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

  .about-answer {
    font-size: 16px;
    margin-right: 0;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .learn-more {
    width: 80%;
    max-width: 300px;
    padding: 15px 0;
  }

  .why {
    padding: 2rem 1rem;
    margin-bottom: 100px;
  }

  .why .about-head {
    text-align: center;
    margin-bottom: 2rem;
  }

  .container {
    flex-direction: column;
    gap: 2rem;
  }

  .left-cards,
  .right-cards {
    gap: 2rem;
    align-items: center;
  }
  .right-cards {
    flex-direction: column-reverse;
  }
  .card {
    width: 100%;
    max-width: 280px;
    height: 350px;
    transform: rotate(3deg);
    border-radius: 300px 300px 10px 10px;
    background: linear-gradient(135deg, #7182ff, #444e99);
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .card::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px dashed #3a3a7a;
    border-radius: 300px 300px 13px 13px;
    transform: rotate(-8deg);
    z-index: 1;
    clip-path: inset(0 round 100px 100px 5px 5px);
  }

  .card .icon {
    width: 120px;
    transform: rotate(-3deg);
    margin-top: -5px;
  }
  .reverse .icon {
    transform: rotate(3deg);
  }

  .card .description {
    transform: rotate(-3deg);
    height: 40%;
    padding: 0.5rem;
  }
  .reverse .description {
    transform: rotate(3deg);
    height: 40%;
    padding: 0.5rem;
  }
  .card .description h3 {
    font-size: 16px;
    width: 75%;
    margin-bottom: 8px;
  }

  .card .description p {
    font-size: 12px;
    width: 80%;
    margin-top: 20px;
    padding: 8px;
  }

  .reverse {
    transform: rotate(-3deg);
  }

  .reverse::before {
    transform: rotate(8deg);
  }

  .right-cards > .reverse {
    margin-top: 0;
  }
  .hero-top img,
  .sparkles,
  .ann span {
    display: none;
  }
  .o h1 {
    display: block;
  }
  .w .lightbulb {
    display: none;
  }
  .map-board {
    background: none;
    aspect-ratio: auto;
    padding: 0 0 6px;
  }
  .bubble {
    position: static;
    width: min(640px, 74%);
    min-height: 220px;
    margin: 12px auto;
  }
}
@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brand {
    order: 0;
  }
  .copyright {
    order: 1;
  }
  .social {
    order: 2;
    justify-content: center;
  }
}
