@import url("https://fonts.googleapis.com/css2?family=Arizonia&family=Carattere&family=Kaushan+Script&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Parisienne&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Carattere&family=Kaushan+Script&family=Parisienne&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* define color scheme */
  --prim-yellow: #fcd044;
  --white-yellow: #f4d458;
  --brown: #826302;
  --prim-green: #9cb474;
  --white-green: #c4d4a4;
  --grey: #bcbcbc;
  --dark-grey: #7d7d7d;
  --black: #000;
  --white: #fff;

  --bg: #ffffff;
  --card: #ffffff;
  --text: #1f2937; /* slate-800 */
  --muted: #6b7280; /* slate-500 */
  --ring: #e5e7eb; /* gray-200 */
  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-yellow: #fbbc05;
  --google-green: #34a853;
  --star: #fbbc04; /* Google yellow */
  --star-muted: #dadce0; /* Google gray */
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --maxw: 1100px;

  /*Define font family */
  --casual-font: "Cinzel Decorative", cursive;
  --light-font: "Julius Sans One", sans-serif;
  --main-font: "Rubik", sans-serif;
  --lato-font: "Lato", sans-serif;
}

#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  /* or transparent if you want */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.d-tattoo-hub {
  font-family: "Carattere", cursive;
  font-weight: 400;
  font-style: normal;
  color: red;
}

.center {
  text-align: center;
}

.light {
  color: var(--white);
}

.cursor {
  height: 25px;
  width: 25px;
  background-color: plum;
  position: fixed;
  border-radius: 50%;
  z-index: 10;
  mix-blend-mode: difference;
  pointer-events: none;
  color: red;
}

html,
body {
  font-family: var(--main-font);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: #fffff0;
}

.main {
  position: relative;
}

/* dot css */
.dot {
  width: 3px;
  height: 3px;
  background-color: rgb(209, 209, 209);
  align-self: center;
  border-radius: 50%;
}

.dark {
  background-color: grey;
}

/* Book Now Button */
.b-button {
  cursor: pointer;
  border: none;
  background: #fef6f7;
  color: #db5275;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: grid;
  place-content: center;
  transition: background 300ms, transform 200ms;
  font-weight: 600;
}

.button__text {
  position: absolute;
  inset: 0;
  animation: text-rotation 8s linear infinite;
}

.button__text > span {
  position: absolute;
  transform: rotate(calc(19deg * var(--index)));
  inset: 7px;
}

.button__circle {
  position: relative;
  width: 40px;
  height: 40px;
  overflow: hidden;
  background: #fff;
  color: #db5275;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button__icon--copy {
  position: absolute;
  transform: translate(-150%, 150%);
}

.b-button:hover {
  background: #000;
  transform: scale(1.05);
}

.b-button:hover .button__icon {
  color: #000;
}

.b-button:hover .button__icon:first-child {
  transition: transform 0.3s ease-in-out;
  transform: translate(150%, -150%);
}

.b-button:hover .button__icon--copy {
  transition: transform 0.3s ease-in-out 0.1s;
  transform: translate(0);
}

@keyframes text-rotation {
  to {
    rotate: 360deg;
  }
}

/* Landing Page */
#landing-page {
  width: 100%;
  height: 100vh;
}

.nav-container {
  width: 100%;
  height: 70px;
  background: rgba(34, 34, 34, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.9px);
  -webkit-backdrop-filter: blur(5.9px);
  border: 1px solid rgba(34, 34, 34, 0.06);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.bottom-nav {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px 50px;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid var(--black);
  color: var(--white);
}

.logo {
  border-radius: 10px;
  display: flex;
  align-items: center;
  font-family: var(--casual-font);
  color: #cba25b;
  font-weight: 700;
}

.logo img {
  width: 40px;
  height: 50px;
  object-fit: contain;
}

.bottom-nav ul.page-links {
  display: flex;
  gap: 10px;
  text-transform: uppercase;
  font-family: var(--light-font);
}

.page-links li {
  transition: 0.3s ease;
}

.page-links li:hover {
  color: var(--brown);
  cursor: pointer;
}

.nav-link {
  color: #fafafa;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: black;
}

/* Hero Container */
.hero-container {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0px;
  z-index: 0;
}

.card-box {
  position: absolute;
  width: 500px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #0000003e;
  z-index: 500000;
  top: 25%;
  left: 10%;
  border-radius: 50px 0px 50px 0px;
  padding: 50px 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
}

.card-box h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

.card-box p {
  font-size: 14px;
  color: var(--grey);
  padding: 10px 0;
}

.btn-links {
  padding-top: 20px;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.btn-links button {
  padding: 15px 20px;
  font-size: 15px;
  border: none;
  color: var(--white);
  border-radius: 0px;
  text-transform: uppercase;
  font-weight: 500;
  transition: 0.5s ease-in;
}

.btn-links button:nth-child(1) {
  background-color: transparent;
  border: 2px solid #dadada;
}

.btn-links button:nth-child(2) {
  background-color: #25d366;
  border: 1px solid #128c7e;
}

.btn-links button:nth-child(2):hover {
  background-color: transparent;
  color: #128c7e;
}

.btn-links button:nth-child(2) i {
  font-size: 15px;
}

.hero-container #img-1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-container #img-1 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  height: 100vh;
}

/* Services Section */
#services {
  width: 100%;
  height: auto;
  font-family: "Roboto", sans-serif;
  padding: 50px;
  text-align: center;
}

#services .heading,
.google-reviews .heading {
  color: var(--black);
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--light-font);
  padding-top: 50px;
}

.google-reviews .heading {
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
}

#services .description {
  color: var(--dark-grey);
  font-size: 1rem;
  font-family: var(--main-font);
  padding: 20px 20% 0 20%;
}

.service-container {
  padding-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card {
  width: 300px;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  color: rgb(240, 240, 240);
  box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 25%,
    rgba(0, 0, 0, 0) 60%
  );
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  z-index: 0;
}

.service-card img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.9;
  transition: opacity 0.2s ease-out;
}

.service-card h2 {
  position: absolute;
  inset: auto auto 20px 30px;
  margin: 0;
  transition: inset 0.3s 0.3s ease-out;
  font-family: var(--light-font);
  font-weight: normal;
  color: var(--bg);
}

.service-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.service-card p,
.service-card a {
  position: absolute;
  opacity: 0;
  max-width: 80%;
  transition: opacity 0.3s ease-out;
  font-size: 14px;
  text-align: start;
  color: var(--dark-grey);
  font-family: var(--main-font);
}

.service-card p {
  inset: auto auto 80px 30px;
}

.service-card a {
  inset: auto auto 40px 30px;
  color: inherit;
  text-decoration: underline;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover h2 {
  inset: auto auto 140px 30px;
  transition: inset 0.3s ease-out;
  color: var(--white);
}

.service-card:hover p,
.service-card:hover a {
  opacity: 1;
  transition: opacity 0.5s 0.1s ease-in;
}

.service-card:hover img {
  transition: opacity 0.3s ease-in;
  opacity: 1;
}

/* Our Design Section */
#our-design {
  padding: 2rem 1rem;
  color: white;
}

#our-design .heading {
  color: var(--black);
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--light-font);
  padding-top: 50px;
}

#our-design .description {
  color: var(--dark-grey);
  font-size: 1rem;
  font-family: var(--main-font);
  padding: 20px 20% 50px 20%;
}

.mehndi-gallery {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  max-width: 100%;
  width: 80vw;
  padding-bottom: 50px;
}

.mehndi-gallery img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 1000ms;
  height: 400px;
}

figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}

figure::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: rgba(0, 0, 0, 0.5);
  transform-origin: center;
  opacity: 0;
  transform: scale(2);
  transition: opacity 300ms;
}

figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  color: white;
  font-size: 1.2rem;
  z-index: 1;
  opacity: 0;
  transition: opacity 600ms, transform 600ms;
}

a:is(:hover, :focus) figure::after {
  opacity: 1;
}

a:is(:hover, :focus) figcaption {
  opacity: 1;
  transition: opacity 400ms;
}

@media (prefers-reduced-motion: no-preference) {
  figcaption {
    transform: translate3d(0, 2rem, 0);
  }

  figure::after {
    border-radius: 50%;
    opacity: 1;
    transform: scale(0);
    transition: transform 900ms;
  }

  a:is(:hover, :focus) figure::after {
    transform: scale(2.5);
  }

  a:is(:hover, :focus) figcaption {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 400ms 200ms, transform 400ms 200ms;
  }

  a:is(:hover, :focus) img {
    transform: scale(1.2);
  }
}

.center-btn {
  width: fit-content;
  margin: 0 auto;
  padding: 50px 0;
}

button.learn-more {
  width: 15rem;
  height: auto;
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

button.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #282936;
  border-radius: 1.625rem;
}

button.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}

button.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

button.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.29rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}

button.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #282936;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

button:hover .circle {
  width: 100%;
}

button:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem, 0);
}

button:hover .button-text {
  color: #fff;
}

/* Achievement Section */
.b-achievement-section {
  background-color: #000;
}

.b-achievement-section .heading {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--light-font);
  text-align: center;
  padding-top: 50px;
}

.b-achievement-section .description {
  color: var(--dark-grey);
  font-size: 1rem;
  font-family: var(--main-font);
  padding: 20px 20% 50px 20%;
  text-align: center;
}

.b-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  gap: 15px;
  padding: 50px 20px;
}

.b-card {
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.b-card-image {
  background-size: cover;
  background-position: center;
  position: relative;
}

.b-large {
  grid-column: span 2;
  grid-row: span 2;
}

.b-overlay {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.b-card-text {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.b-orange {
  background-color: #e6542e;
}

.b-yellow {
  background-color: #e0e0e0;
  color: black;
}

.b-blue {
  background-color: #363434;
}

.b-mehandi {
  background-color: #e6542e;
}

.b-green {
  background-color: #363434;
}

.b-red {
  background-color: #e0e0e0;
  color: var(--black);
}

.b-small-heading {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

.b-quote {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

.b-author {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Contact Section */
.contact-section {
  padding: 0;
}

.contact-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 50px;
}

.contact-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-text {
  flex: 1;
  min-width: 250px;
}

.contact-text p {
  color: var(--dark-grey);
  text-align: start !important;
  padding: 0;
}

.contact-info {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  min-width: 250px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.95rem;
  max-width: 200px;
}

.info-item span {
  font-weight: bold;
}

.info-item i {
  background: #c4f6f3;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 5px;
  font-size: 1.2rem;
  width: fit-content;
}

.contact-text .social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.contact-text .social-links li a {
  color: blue;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.map-container {
  margin-top: 30px;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
}

/* Footer */
/* .footer {
  width: 100%;
  background-color: var(--black);
}

.footer > a {
  display: flex;
}

.footer a img {
  margin: 0 auto;
  height: 200px;
  object-fit: cover;
}

.footer .main-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 100px;
  width: 100%;
  padding-bottom: 50px;
}

.main-foot ul li a {
  color: var(--white);
}

.main-foot > ul {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
  font-size: 17px;
}

.main-foot > ul:last-child ul {
  display: flex;
  gap: 10px;
} */

.footer-5-column {
  background-color: var(--black);
}

.footer-5-column {
  padding-top: 3rem;
  margin-top: 2rem;
}
.footer-5-column p {
  color: #777777;
}
.footer-5-column .footer-container {
  max-width: 1320px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}
.footer-5-column .footer-container .footer-navbar-container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  margin-right: auto;
  margin-left: auto;
}

.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details {
  width: 35%;
  max-width: 100%;
  flex: 0 0 auto;
  padding-right: 2rem;
  line-height: 1.428;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-logo {
  width: 100px;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-logo
  img {
  max-width: 100%;
  height: auto;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-logo
  svg {
  width: 100%;
  height: auto;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-content {
  margin-top: 1rem;
  font-size: 16px;
  line-height: 1.8;
  padding-right: 1rem;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons {
  margin-top: 1.5rem;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons
  ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons
  ul
  li {
  list-style: none;
  display: flex;
  flex-direction: row;
  margin-right: 14px;
}
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons
  ul
  li
  a {
  width: 30px;
  padding: 6px;
  color: #777777;
}
.footer-5-column .footer-navbar {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  flex-grow: 1;
  line-height: 1.428;
}

.footer-5-column .footer-navbar > .footer-navbar-col {
  width: 25%;
  flex: 0 0 auto;
}
.footer-5-column .footer-navbar .footer-navbar-col h5 {
  margin-bottom: 1.5rem;
  color: #fff;
  overflow-wrap: break-word;
  padding: 0 0.5rem 0 0;
}
.footer-5-column .footer-navbar .footer-navbar-col ul {
  padding: 0 0.5rem 0 0;
  margin: 0;
}
.footer-5-column .footer-navbar .footer-navbar-col ul li {
  list-style: none;
}
.footer-5-column
  .footer-n.footer-5-column
  .footer-copyrightavbar
  .footer-navbar-col
  ul
  li:not(:last-child) {
  margin-bottom: 1rem;
}
.footer-5-column .footer-navbar .footer-navbar-col ul li a {
  font-size: 16px;
  text-decoration: none;
  color: #777777;
  overflow-wrap: break-word;
}
.footer-5-column .footer-navbar .footer-navbar-col ul li a:hover {
  color: #000;
}

.footer-5-column .footer-copyright {
  padding: 2rem 0;
  border-top: 1px solid rgb(68, 67, 67);
}
.footer-5-column .footer-copyright p {
  font-size: 14px;
  margin-bottom: 0;
}

.footer-content a {
  color: #777777;
  text-decoration: none;
}

@media all and (max-width: 1140px) {
  .footer-5-column .footer-container .footer-navbar-container,
  .footer-5-column .footer-navbar {
    row-gap: 3rem;
  }
  .footer-5-column
    .footer-container
    .footer-navbar-container
    .footer-company-details,
  .footer-5-column .footer-container .footer-navbar-container .footer-navbar {
    padding: 0;
    width: 100%;
  }

  /* .footer-company-details {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  } */
}
@media all and (max-width: 992px) {
  .footer-5-column .footer-navbar .footer-navbar-col {
    width: 50%;
  }
}
@media all and (max-width: 576px) {
  .footer-5-column .footer-navbar .footer-navbar-col {
    /* width: 100%; */
  }

  .card-box h1 {
    font-size: 1.5rem;
  }

  .card-box p {
    font-size: 12px;
  }

  .footer-company-details {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-company-details .footer-content {
    text-align: center;
    padding-right: 0px !important;
    margin-top: 0px !important;
  }

  .footer-navbar {
    padding: 0px 20px !important;
  }

  .footer-navbar-col ul li {
    margin-bottom: 4px !important;
    font-size: 14px !important;
  }
}

.hamburger {
  display: none;
}
.page-links {
  display: none;
}

#main-nav {
  display: none;
}

.main-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-heading {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.heading-container {
  position: absolute;
  top: 60%;
  left: 100px;
  z-index: 10;
  width: 60vw;
}

.heading-container h1 {
  font-size: 3rem;
  color: var(--white);
  text-align: center;
  z-index: 100;
  font-family: var(--light-font);
  font-weight: 900;
  text-align: start;
}

.heading-container p {
  font-size: 25px;
  color: #c1bdbd;
  padding-top: 20px;
  line-height: 1;
  font-family: "Arizonia", cursive;
  font-weight: 400;
  font-style: normal;
}

.page-heading img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.google-reviews {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0px 10px;
}

.google-reviews {
  margin-bottom: 80px;
}

/* Header */
.gr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.gr-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gr-brand .gmark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}
.gr-brand .title {
  font-weight: 700;
  letter-spacing: 0.2px;
}
.gr-brand .subtitle {
  color: var(--muted);
  font-size: 14px;
}

.gr-overall {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gr-score {
  font-weight: 700;
}

/* Stars (pure CSS) */
.stars,
.rc-stars {
  --rating: 4.7; /* default, per element override via style="--rating:3.5" */
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
}
.stars::before,
.rc-stars::before {
  content: "★★★★★";
  color: var(--star-muted);
}
.stars::after,
.rc-stars::after {
  content: "★★★★★";
  color: var(--star);
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  overflow: hidden;
  width: calc(var(--rating) / 5 * 100%);
}

/* Reviews grid */
.gr-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.review-card {
  grid-column: span 6;
  background: var(--card);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
}
@media (max-width: 800px) {
  .review-card {
    grid-column: span 12;
  }
}

.rc-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eef2ff;
  color: #3730a3;
  display: grid;
  place-content: center;
  font-weight: 700;
}
.who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.name {
  font-weight: 700;
}
.when {
  font-size: 12px;
  color: var(--muted);
}
.rc-text {
  margin: 2px 0 6px;
  color: #374151;
}

.badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.badge svg {
  width: 18px;
  height: 18px;
}

/* Tiny footnote */
.disclaimer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .b-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .contact-header {
    flex-direction: column;
  }

  .contact-info {
    flex-direction: column;
    gap: 20px;
  }
}

@media screen and (max-width: 800px) {
  .burger-text {
    display: block;
    font-size: 0.675rem;
    letter-spacing: 0.05em;
    margin-top: 0.5em;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    color: #5a3b5d;
  }

  .page-links {
    display: none !important;
  }

  #main-nav {
    position: absolute;
    width: 100%;
    background-color: rgb(27 26 26);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 34, 34, 0.06);
    height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    z-index: 90000;
    top: calc(70% - 100vh);
  }

  #main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: 100%;
  }

  #main-nav ul li {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    padding: 10px 0;
    color: var(--white);
  }

  #main-nav ul li a {
    color: var(--white);
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--light-font);
  }

  #main-nav ul li a:hover {
    text-decoration: underline;
  }

  #main-nav.is-open {
    top: 69px;
    left: 0;
    transition: 0.3s ease-in-out;
  }
  /* .page-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    padding: 15px;
    z-index: 1000;
    width: 90%;
    right: 20px;
    background-color: #000000f7;
    border-radius: 8px;
    padding: 50px 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    min-height: 50vh;
  }

  .page-links.show {
    display: flex;
  }

  .dot {
    display: none;
  } */

  /* .hamburger {
    display: flex;
  } */

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70px;
    cursor: pointer;
    z-index: 1000; /* Ensure it stays on top if overlapping */
    position: absolute;
    right: 10px;
  }
  .hamburger span {
    background: #fff; /* Change to #000 if background is white */
    border-radius: 10px;
    height: 3px; /* thinner lines */
    margin: 2px 0; /* closer spacing */
    transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  }

  .hamburger span:nth-of-type(1) {
    width: 30%;
  }
  .hamburger span:nth-of-type(2) {
    width: 50%;
  }
  .hamburger span:nth-of-type(3) {
    width: 20%;
  }

  .hamburger input[type="checkbox"] {
    display: none;
  }

  .hamburger input[type="checkbox"]:checked ~ span:nth-of-type(1) {
    transform-origin: bottom;
    /* adjusted translate to match smaller size */
    transform: rotateZ(45deg) translate(5px, 1px);
  }

  .hamburger input[type="checkbox"]:checked ~ span:nth-of-type(2) {
    transform-origin: top;
    transform: rotateZ(-45deg);
  }

  .hamburger input[type="checkbox"]:checked ~ span:nth-of-type(3) {
    transform-origin: bottom;
    width: 30%; /* adjusted so it matches new base size */
    transform: translate(12px, -8px) rotateZ(45deg);
  }
  .expanded {
    top: 0;
  }

  .hero-container {
    height: 100vh;
    top: 0px;
  }

  .hero-container #img-1 {
    display: block;
    width: 100%;
    left: 0;
    top: 0;
    height: 70vh;
  }

  .hero-container .card-box {
    width: 90%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  #services {
    border-radius: 0;
  }

  .heading {
    font-size: 2.2rem !important;
  }

  .description {
    font-size: 12px !important;
    padding: 10px 15px !important;
  }
}

#services,
#our-design,
#b-achievement-section,
#contact-section {
  padding: 10px;
}

.description {
  padding-left: 20px;
  padding-right: 20px;
}

.contact-text .description {
  padding: 0 20px;
  width: 90%;
}
.b-overlay p {
  font-size: 13px;
}

.contact-text .description {
  padding-left: 0px !important;
}
.main-foot {
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px !important;
}

.main-foot ul:nth-child(1) {
  width: 100%;
  padding: 0;
  display: flex;
}

.main-foot ul:nth-child(1) li a {
  font-size: 14px;
  color: var(--grey);
}

.main-foot ul:nth-child(2) {
  width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.main-foot ul:nth-child(2) li a {
  font-size: 14px;
  color: var(--grey);
}

.main-foot ul:nth-child(3) {
  width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.main-foot ul:nth-child(3) li a {
  font-size: 14px;
  color: var(--grey);
}

.copyright {
  font-size: 12px;
  padding: 10px 0;
  color: var(--dark-grey);
}

@media screen and (max-width: 500px) {
  .btn-links button {
    font-size: 13px;
  }

  .heading-container {
    top: 40%;
    left: 20px;
    width: 90vw;
    padding-right: 10px;
  }

  .bottom-nav {
    padding: 10px 20px;
  }
}
