@import url('https://fonts.googleapis.com/css2?family=Faustina:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gothic+A1&display=swap');
:root {

    --primary-red: #EE3147;
    --primary-blue: #0F5896;
    --primary-green: #74C15C;
  /*    --header-gradient: linear-gradient(*/
  /*  90deg,*/
  /*  rgba(238, 49, 71, 1) 12%,*/
  /*  rgba(15, 88, 150, 1) 50%,*/
  /*  rgba(116, 193, 92, 1) 100%*/
  /*);*/
    --header-gradient: linear-gradient(
      90deg,
      rgba(238, 49, 71, 0.25) 12%,   /* 25% opacity */
      rgba(15, 88, 150, 0.25) 50%,
      rgba(116, 193, 92, 0.25) 100%
  );
    --gradient-red-blue: linear-gradient(135deg, var(--primary-red), var(--primary-blue));

    --gradient-blue-green: linear-gradient(180deg, var(--primary-blue), var(--primary-green));

    --gradient-green-red: linear-gradient(45deg, var(--primary-green) 0%, var(--primary-red) 100%);

    --gradient-tricolor: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 50%, var(--primary-green) 100%);
    --padding-horizontal: 5rem;
    --pointer: url('../assets/pointinghand.svg') 4 4, auto;
     --fs-16: 1rem;      /* 16px */
     --fs-24: 1.5rem;    /* 24px */
     --fs-32: 2rem;      /* 32px */
     --fs-40: 2.5rem;    /* 40px */
     --fs-48: 3rem;      /* 48px */
     --font-fira:"Fira Sans", sans-serif;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanBoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanLightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanSemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanSemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanThin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Century Gothic";
  src: url("../assets/fonts/CenturyGothicPaneuropeanThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 2;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: "Fira Sans", Arial, sans-serif;
  cursor: url('../assets/cursor.svg') 4 4, auto;
}


#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#preloader img {
  width: 220px;
  height: auto;
}

.vivere-button {
  background-color: white;
  color: var(--primary-red);
  padding: 10px 20px;
  border: none;
  cursor: var(--pointer);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--primary-red);
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  width: fit-content;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.vivere-button:hover {
  color: white;
  text-decoration: none;
}

.vivere-button-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  background-color: var(--primary-red);
  border-radius: 999px;
  transition: transform 0.5s ease-in-out, scale 0.3s ease-in-out;
  scale: 1;
  z-index: 0;
}

.vivere-button-text {
  position: relative;
  z-index: 1;
  color: var(--primary-red);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
}

.vivere-button:hover .vivere-button-slider {
  transform: translateX(0);
  scale: 1.2;
}

.vivere-button:hover .vivere-button-text {
  color: white;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gradient-red-blue);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
 
  padding: 8rem 4rem;
  padding-left: 7.3rem;
  position: relative;
  overflow: visible;
}

.hero-content {
  max-width: 50%;
}

.hero h1 {
  font-family: "Faustina", serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.hero-card {
  width: 300px;
  background: #fff;
  border-radius: 1rem;
  /*box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);*/
  /*box-shadow: 0 8px 24px rgba(15, 88, 150, 0.2);*/
  overflow: visible;
 box-shadow: 0 4px 12px -2px #0F5896;




  padding: 1rem;
  position: absolute;
  right: 8%;
  top: 82%;
  transform: translateY(-50%);
  overflow: hidden;
  text-align: center;
}

.hero-card img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.draw {
    transition: color 0.25s;

  &::before,
  &::after {
    border: 2px solid transparent;
    width: 0;
    height: 0;
  }

  
  &::before {
    top: 0;
    left: 0;
  }

  &::after {
    bottom: 0;
    right: 0;
  }
  

  &:hover::before,
  &:hover::after {
    width: 100%;
    height: 100%;
  }

  &:hover::before {
    border-top-color: var(--header-gradient); 
    border-right-color:var(--header-gradient);
    transition:
      width 0.25s ease-out, 
      height 0.25s ease-out 0.25s; 
  }

  &:hover::after {
    border-bottom-color: var(--header-gradient); 
    border-left-color: var(--header-gradient);
    transition:
      border-color 0s ease-out 0.5s, 
      width 0.25s ease-out 0.5s,
      height 0.25s ease-out 0.75s;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    height: 50vh;
    
    justify-content: center;
  }

  .hero-content {
    max-width: 70%;
    margin-bottom: 1.5rem;
  }

  .hero-card {
    position: absolute;
    right: 7%;
    bottom: -50%;
    transform: translateY(-20%);
    margin: 0 auto;
    width: 40%;
    height: 160px;
    max-width: 320px;
    
  }

  .hero-card img {
    width: 100%;
    height: 100%;
    display: block;
  }
}

/* Base floating button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 30px;             /* default: left corner */
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none !important;
  z-index: 9999;
  transition: all 0.4s ease;
}

/* WhatsApp icon */
.whatsapp-icon {
  background-color: white;
  color: #25d366;
  font-size: 30px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

/* Text bubble (hidden by default) */
.whatsapp-text {
  background-color: #25d366;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  margin-left: 10px;      /* text appears to right of icon (default) */
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  pointer-events: none;   /* prevents blocking clicks */
  position: relative;
  text-decoration: none !important;
}

/* Arrow (default left side of text bubble) */
.whatsapp-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -4px;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid #25d366;
}

/* Show text bubble on hover */
.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  transform: translateX(0);
}

/* ===== When shifted to right side ===== */
.whatsapp-float.shift-right {
  left: auto;
  right: 30px;
  flex-direction: row-reverse; /* flip order */
}

.whatsapp-float.shift-right .whatsapp-text {
  margin-left: 0;
  margin-right: 10px; /* text now appears left of icon */
  transform: translateX(10px); /* adjust entry animation */
}

.whatsapp-float.shift-right:hover .whatsapp-text {
  transform: translateX(0);
}

/* Flip arrow to other side */
.whatsapp-float.shift-right .whatsapp-text::before {
  left: auto;
  right: -4px;
  border-right: none;
  border-left: 6px solid #25d366;
}




/* NORMAL STATE — simple light border */
.gradient-shadow {
  border: 1px solid #e0e0e0;   /* light visible border */
  border-radius: 20px;         /* adjust shape as you like */
  padding: 20px;
  transition: all 0.3s ease;
  background: #fff;            /* normal white background */
}

/* HOVER STATE — gradient border highlight */
.gradient-shadow:hover {
background: linear-gradient(#ffffff, #ffffff) padding-box,
              var(--header-gradient) border-box;

  border: 3px solid transparent;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.gradient-shadow-border {
  position: relative;
  z-index: 1; /* Ensure it's above the ::after */
  border-radius: 20px; /* Adjust as needed */
  overflow: hidden;
  
}

.gradient-shadow-border::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 200%;
  width: 200%;
  /*background-image: conic-gradient(   rgba(238, 49, 71, 0.25), rgba(15, 88, 150, 0.25), rgba(116, 193, 92, 0.25),rgba(238, 49, 71, 0.25));*/
  background-image: conic-gradient(#EE3147, #0F5896, #74C15C,#EE3147);

  z-index: -10;
  animation: rotateBorder 2s linear infinite;
  transform: translate(-25%, -25%);
  border-radius: 50%;
  filter: blur(10px); /* Optional: for glow effect */
}

@keyframes rotateBorder {
  from {
    transform: translate(-25%, -25%) rotate(0deg);
  }
  to {
    transform: translate(-25%, -25%) rotate(360deg);
  }
}




@media (min-width: 768px) and (max-width: 1200px) {
  .container{
      width: 100% !important;
     
  }
 
}


/* ===== Mobile styles ===== */
@media screen and (max-width: 600px) {
  .whatsapp-float {
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
  }

  .whatsapp-text {
    display: none; /* hide text bubble on mobile */
  }

  .whatsapp-icon {
    font-size: 28px;
    height: 56px;
    width: 56px;
    margin: 0;
  }
}
