:root {
  --header-height-mobile: 80px;
  --header-height-tab: 90px;
  --header-height-pc: 80px;

  --font-size-h1: clamp(1.75rem, 3vw, 2.8rem); /* hero main heading */
  --font-size-h2: clamp(1.5rem, 2.5vw, 1.75rem); /* section headings */
  --font-size-body-sm: clamp(0.8rem, 0.9vw, 0.875rem); /* meta, captions */

  /* === Brand / Accent Colors === */
  --color-accent-primary: rgb(105, 85, 109);
  --color-accent-secondary: rgb(42, 0, 77) ;
  --color-accent-third: rgb(213, 120, 145);
  
  --col-acc-pri-low: rgba(105, 85, 109, 0.6);
  --col-acc-trd-low: rgba(213, 120, 145, 0.6);

  --font-color-1: black;
  --font-color-2: white;

  /* === Base Backgrounds === */
  --color-bg-primary: rgb(255, 255, 255); /* Main background 1 */
  --color-bg-secondary: rgb(255, 231, 237); /* Main background 2 */

  /* === Shadow (Optional tokens) === */
  --shadow-soft: 0 0 10px rgba(0, 0, 0, 0.1);
  --shadow-hard: 0 0 10px rgba(0, 0, 0, 0.5);

  /* === whatsapp colors === */
  --color-whatsapp-g: rgb(12, 193, 67);
  --color-whatsapp-g-low: rgba(12, 193, 66, 0.6);
  --color-whatsapp-w: white;

  /* responsiveness classes */
  --min-width-footer: 200px;
  --gap-footer-links: 2rem;

  --transparent-bg: linear-gradient(
    to right,
    rgba(39, 20, 59, 0.8),
    rgba(91, 45, 138, 0.3)
  );
}

* {
  padding: 0;
  margin: 0;
}

html,
body {
  -webkit-tap-highlight-color: transparent;

  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;

  /* font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */

  height: 100%;
  width: 100%;
  scroll-behavior: smooth;

  background: var(--color-bg-secondary);
}
html {
  overflow-x: hidden;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-accent-primary);
}

ul {
  list-style: none;
}
img {
  user-select: none;
}

svg {
  display: grid;
}
.icon {
  width: 25px;
  height: 25px;
  fill: currentColor;
  display: grid;
}
.floating-cta {
  z-index: 99;
  position: fixed;
  bottom: 5%;
  right: 5%;
  padding: 5px;
  background-color: var(--color-whatsapp-g);
  border-radius: 50%;

  /* border: 2px solid var(--color-whatsapp-w); */
  box-shadow: 0px 0px 30px var(--color-whatsapp-g);
  width: 40px;
  height: 40px;
  color: var(--color-whatsapp-w);
}

.floating-cta:hover {
  opacity: 0.7;
}
.floating-cta:active {
  transform: scale(0.8);
}

/* ============================= loader ====================================== */

.loading-screen {
  display: flex;

  position: fixed;
  top: 0;
  left: 0;

  height: 100%;
  width: 100vw;
  background-color: rgb(0, 0, 0);

  z-index: 101;

  transition:
    height 1s ease,
    opacity 0.5s ease;
}
.loading-screen.shrink {
  height: 0;
  overflow: hidden;
  opacity: 0;
}
.loader {
  display: flex;
  height: 5rem;
  aspect-ratio: 1;
  background-color: #17171700;

  border-radius: 50%;
  position: relative;

  font-size: 1rem;
  color: var(--font-color-2);
}
.loader.hide-it {
  opacity: 0;
}
.loader::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 100%;
  height: 100%;

  border-left: 4px solid #d7993500;
  border-right: 4px solid #d7993500;
  border-top: 4px solid var(--color-accent-secondary);
  border-bottom: 4px solid var(--color-accent-third);
  border-radius: 50%;

  z-index: -1;

  animation: spin 1s infinite ease;
}
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ============================= header ====================================== */

header {
  width: 100%;
  padding: 1rem 1.5rem;
  box-sizing: border-box;
  box-shadow: var(--shadow-hard);
  z-index: 100;
  justify-content: space-between;
  background-color: var(--color-accent-primary);
}
/* ============================= menu toggle button ====================================== */

.menu-toggle {
  padding: 5px;
  border-radius: 5px;
  background-color: rgba(213, 120, 145, 0.6);
  box-shadow: var(--shadow-hard);
  border: none;
  border:2px solid var(--color-accent-third);
}
.menu-toggle svg {
  width: 1.5rem;
  color: var(--font-color-2);
}
.menu-toggle:active,
.menu-close:active {
  transform: scale(0.5);
}
/* ============================= logo ====================================== */
.logo-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--font-color-1);
  display: none;
}
.logo-holder > span {
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  font-size: 1.2rem;
}

/* ============================= nav ====================================== */

nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  transition: 0.3s ease;
}
nav.toggle {
  transform: translateX(0);
}
nav > ul {
  width: clamp(190px, 80%, 400px);
  height: 100%;
  gap: 0.5rem;

  padding: 1rem;
  box-sizing: border-box;
  flex-direction: column;

  background-color: var(--color-bg-primary);

  border: 2px solid var(--color-accent-primary);
  border-radius: 0 10px 10px 0;
}

.menu-logo {
  display: flex;
  align-items: center;
  padding-bottom: 2rem;
}
.menu-logo > img {
  width: 5rem;
}

.menu-close {
  margin-left: auto;
  padding: 2px;
  border-radius: 6px;
  border: none;
  background-color: var(--color-accent-primary);
  box-shadow: var(--shadow-soft);
}
.menu-close svg {
  width: 30px;
  height: 30px;
  color: var(--font-color-2);
}

.menu-links {
  font-size: 0.8rem;
  padding: 10px 0;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: solid 1px #6b72802d;
  line-height: 1;
}
.menu-links a {
  color: rgb(23, 23, 23);
  text-decoration: none;
}

.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  letter-spacing: 1px;
}
.list-heading > svg {
  width: 15px;
}
.list-heading > svg.toggle {
  transform: rotate(180deg);
}
.list-heading > a {
  width: 100%;
  padding: 10px 0;
}
.hide-list {
  padding: 0;
}
.dropdown {
  list-style: "";
  padding: 1rem 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: normal;
  transition: all 0.3s ease;
  display: none;
}
.dropdown.toggle {
  display: flex;
}
.dropdown li {
  border-radius: 8px;
  line-height: 1;
}
.dropdown li a {
  display: flex;
  padding: 10px 10px;
  width: 100%;
  box-sizing: border-box;
  font-weight: bold;
  color: var(--color-accent-primary);
}
.dropdown.open {
  display: none;
}
.dropdown li:hover {
  background-color: var(--color-accent-third);
}
.dropdown li:hover a {
  color: var(--font-color-2);
}

nav ul > li > .cta {
  margin-top: 1rem;
  text-align: center;
}
/* ============================= whatsApp button ====================================== */

header .cta {
  padding: 2px 20px 2px 2px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-sizing: border-box;
  background-color: rgba(213, 120, 145, 0.6);
  border: 2px solid var(--color-accent-third);
  color: var(--font-color-2);
  border: 2px solid var(--color-accent-third);
  box-shadow: var(--shadow-hard);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
header .cta svg {
  width: 25px;
  background-color: white;
  padding: 5px;
  border-radius: 50%;
  color: var(--color-accent-primary);
}
header .cta:hover,
.serv-cta:hover,
.about-cta:hover,
.home-2 .cta:hover {
  opacity: 0.6;
}
.serv-cta:active,
header .cta:active,
.about-cta:active,
.home-2 .cta:active {
  transform: scale(0.9);
  background-color: transparent;
  opacity: 0.5;
  color: var(--color-accent-third);
  border-color: var(--color-accent-third);
}

/* ============================= main section ====================================== */

main {
  width:320px;
  width: 100vw;
  background: rgba(0, 0, 0, 0);
}
main > section {
  padding: 2rem 0 3rem 0;
  width: 100vw;
  /* min-height: 70vh; */
  box-sizing: border-box;
  background: var(--color-bg-primary);
}
main > section:nth-of-type(even) {
  background: var(--color-bg-secondary);
}
.section-headigns {
  user-select: none;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--font-color-1);
  text-align: center;
  padding: 1rem 0;
}
.section-headigns > span {
  text-decoration: underline;
  text-decoration-color: var(--color-accent-third);
}
.section-sub-headigns {
  user-select: none;
  color: var(--color-accent-primary);
  text-align: center;
  margin-bottom: 3rem;
}
.section-sub-headigns > span,
.section-sub-headigns > strong {
  text-decoration: underline;
  text-decoration-color: var(--color-accent-third);
}
/* ============================= footer ====================================== */

footer,
.branding,
.ftr-data-holder {
  flex-direction: column;
}
footer {
  background: linear-gradient(
    to bottom,
    var(--color-accent-primary) 0% 90%,
    var(--color-accent-third) 90% 100%
  );
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
}
.ftr-data-holder {
  width: 100%;
}
.branding {
  font-size: 1.2rem;
  gap: 1rem;
  font-weight: bold;
  color: white;
  width: 100%;
  border-bottom: 1px solid rgb(255, 255, 255);
  padding-bottom: 1rem;
}
.footer-logo > img {
  width: 5rem;
  background: white;
  border-radius: 50%;
}

.footer-socials {
  gap: 10px;
}
.footer-socials a {
  background-color: var(--color-accent-third);
  display: grid;
  padding: 6px;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}
.footer-socials svg {
  width: 1.5rem;
  color: var(--font-color-2);
  display: inline-block;
}
.footer-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(var(--min-width-footer), auto)
  );
  gap: var(--gap-footer-links);
  padding: 2rem 1rem;
  box-sizing: border-box;
  text-align: center;
  color: white;
  border-bottom: 1px solid rgb(255, 255, 255);
}
.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links li a {
  color: rgba(255, 255, 255, 0.684);
}

footer > p {
  margin: 2rem 0;
  color: var(--font-color-2);
  font-size: 0.9rem;
}
footer > p a {
  color: rgba(255, 255, 255, 0.684);
}

@media screen and (min-width: 768px) {
  :root {
    --min-width-footer: 150px;
    --gap-footer-links: 0rem;
  }
  header {
    height: var(--header-height-tab);
    gap: 5rem;
  }

  .footer-links {
    display: grid;
  }
  .branding img {
    display: block;
    width: 70px;
  }
  .footer-logo {
    padding-bottom: 1rem;
  }
}
@media screen and (min-width: 1024px) {
  .menu-toggle,
  .menu-close,
  .menu-logo {
    display: none;
  }

  nav ul > li>.cta {
    display: none;
    margin: 0;
  }
  header {
    padding: 10px 5rem;
    height: fit-content;

    background-color: var(--color-accent-primary);
    box-shadow: none;
    color: white;
  }

  .logo-holder {
    margin-right: auto;
    display: flex;
  }
  .logo-holder img {
    width: 3rem;
  }
  nav {
    position: static;
    height: fit-content;
    overflow-y: visible;
  }
  nav,
  nav > ul {
    width: fit-content;
    border: none;
    transform: translateX(0);
    padding: 0.5rem 1rem;
    border-radius: 30px;
  }
  .nav-list {
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    background: transparent;
    overflow-y: visible;
    align-items: center;
  }

  .menu-links {
    height: 100%;
    padding: 0 10px;
    position: relative;
    border: none;
  }
  .list-heading {
    color: var(--font-color-2);
    font-size: 0.8rem;
    gap: 5px;
  }
  .list-heading > svg {
    width: 10px;
  }
  .list-heading > a {
    color: var(--font-color-2);
    display: block;
    padding: 0;
  }

  .menu-links:hover .list-heading,
  .list-heading > a:hover {
    color: var(--color-accent-third);
  }
  .menu-links:hover .dropdown {
    display: flex;
  }

  .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    text-wrap: nowrap;
    padding: 1rem 0.5rem;
    border: 3px solid var(--color-accent-primary);
    display: none;
    border-radius: 10px;
    background-color: rgb(235, 235, 235);
    box-shadow: var(--shadow-hard);
  }
  .dropdown li {
    display: flex;
    align-items: center;
  }
  .dropdown li a {
    padding: 10px 10px 10px 15px;
    min-width: 20ch;
    color: var(--color-accent-primary);
  }
  .dropdown.open-on-screen {
    display: flex;
  }

  .ftr-data-holder {
    flex-direction: row;
    border-bottom: 1px solid rgb(255, 255, 255);
  }
  .branding {
    border: none;
    min-width: 30%;
  }
  .footer-logo {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgb(255, 255, 255);
    gap: 1rem;
  }
  .branding img {
    margin: 0 3rem;
  }
  .branding h3 {
    font-size: 1rem;
    display: none;
  }
  .footer-links {
    padding-left: 0;
    padding-right: 0;
    min-width: 60%;
    border: none;
  }
}
@media screen and (min-width: 1200px) {
  .menu-links {
    font-weight: normal;
  }
  .floating-cta {
    right: 2%;
    width: 50px;
    height: 50px;
  }
}

/* ============================= smooth transition   ====================================== */
.cta:hover svg {
  transition: 0.3s ease;
  transform: rotateZ(-360deg) scale(.9);
}

header .cta,
header .cta svg,
.floating-cta,
.list-heading > svg,
footer a,
.menu-toggle,
.menu-close,
.footer-socials svg {
  transition: all 0.3s ease;
}

/* ============================= hover and click effects   ====================================== */

footer a:hover {
  color: var(--color-accent-third);
}
footer a:active {
  opacity: 0.5;
}
footer .footer-socials a:hover svg {
  transform: scale(0.8);
  color: var(--color-accent-primary);
}

/* ============================= toggle classes ====================================== */
