@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* Define color variables */

/* Variables for reusable values */
:root {
    --whatsapp-bg: #18c161;
    --badge-bg: #e44436;
    --text-color: #fff;
    --size: 75px;
    --icon-size: 49px;
    --badge-size: 20px;
    --primary-dark: #1f1f1f;
    --primary-light: #ffffff;
    --secondary-light: #F9F9F8;
    --accent-gold: #C6A24A;
    --accent-gold-dark: #b8860b;
    --text-dark: #333;
    --text-medium: #555;
    --text-light: #555;
    --border-dark: #555;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 0 12px rgba(198, 162, 74, 0.6);
}

/* Default styles for html and body */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--secondary-light);
    min-height: 100vh;
    transition: font-size 0.3s ease;
}

/* Reusable card class */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

/* Carousel styles */
#carrousel {
    width: 100%;
    margin: 2rem auto;
    overflow: hidden;
    position: relative;
}

.carrousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carrousel-item {
    flex: 0 0 33.33%;
    min-width: 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .5rem;
    text-align: center;
    min-height: auto;
}

.carrousel-item img {
    width: 90%;
    height: auto;
    object-fit: contain;
    /* Changed to contain to show full image */
    border-radius: 8px;
}

.carrousel-caption {
    padding: 15px 0;
}

.carrousel-caption h4 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.carrousel-caption p {
    font-size: 1rem;
    color: var(--primary-light);
}

.carrousel-prev,
.carrousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carrousel-prev:hover,
.carrousel-next:hover {
    background-color: var(--accent-gold-dark);
}

.carrousel-prev {
    left: 10px;
}

.carrousel-next {
    right: 10px;
}

/* Mobile styles for carousel */
@media (max-width: 768px) {
    .carrousel-item {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 3rem;
    }

    .carrousel-prev,
    .carrousel-next {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .carrousel-prev {
        left: 5px;
    }

    .carrousel-next {
        right: 5px;
    }

    .cookie-consent .buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-consent button {
        width: 100%;
    }
}

/* Section 1: Header */
section:nth-of-type(1) {
    height: 100vh;
    background-image: url('./e8ad08f759b2798c1b5dca78861cc6ce.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    color: var(--primary-light);
}

section:nth-of-type(1) div {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 600px;
}

section:nth-of-type(1) h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

section:nth-of-type(1) h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

section:nth-of-type(1) a {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

section:nth-of-type(1) a:hover {
    background-color: var(--accent-gold-dark);
}

/* Section 2: O QUE É? */
section:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--primary-light);
    text-align: center;
}

section:nth-of-type(2) h2 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

section:nth-of-type(2) h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

section:nth-of-type(2) p {
    max-width: 700px;
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* Section 3: PASSO A PASSO */
section:nth-of-type(3) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--secondary-light);
}

section:nth-of-type(3) h2 {
    font-size: 1rem;
    color: var(--primary-dark);
}

section:nth-of-type(3) h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

section:nth-of-type(3)>div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

section:nth-of-type(3)>div>div {
    flex: 1 1;
    max-width: 250px;
    padding: 20px;
    background-color: var(--primary-light);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:nth-of-type(3)>div>div:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

section:nth-of-type(3) h4 {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

section:nth-of-type(3) h5 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

section:nth-of-type(3) p {
    font-size: 1rem;
    color: var(--text-medium);
}

/* Section 4: ALAVANCAGEM IMOBILIÁRIA */
section:nth-of-type(4) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--primary-dark);
    color: var(--primary-light);
}

section:nth-of-type(4) h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

section:nth-of-type(4) h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

section:nth-of-type(4) p {
    max-width: 700px;
    font-size: 1.1rem;
    text-align: center;
}

section:nth-of-type(4) p:last-child {
    font-size: .8rem;
    font-style: italic;
}

section:nth-of-type(4) a {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    margin: 1rem 0;
    transition: background-color 0.3s ease;
}

section:nth-of-type(4) a:hover {
    background-color: var(--accent-gold-dark);
}

/* Section 5: A REFERÊNCIA CAPITAL */
section:nth-of-type(5) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--primary-light);
}

section:nth-of-type(5) h2 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

section:nth-of-type(5) h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

section:nth-of-type(5) p {
    max-width: 700px;
    font-size: 1.1rem;
    color: var(--text-medium);
    text-align: center;
}

section:nth-of-type(5) p:last-of-type {
    font-weight: bold;
    color: var(--accent-gold);
    margin-top: 1rem;
}

/* Section 6: PONTA A PONTA */
section:nth-of-type(6) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--secondary-light);
}

section:nth-of-type(6) h2 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

section:nth-of-type(6) h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

section:nth-of-type(6)>div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

section:nth-of-type(6)>div>div {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex: 1 1;
    max-width: 250px;
    padding: 1rem;
    background-color: var(--primary-light);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:nth-of-type(6)>div>div:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

section:nth-of-type(6) h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Merriweather", serif;
    font-style: italic;
    font-size: 2rem;
    color: var(--secondary-light);
    margin: 0;
    background: var(--accent-gold);
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
}

section:nth-of-type(6) h5 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

section:nth-of-type(6) p {
    font-size: 1rem;
    color: var(--text-medium);
}

section:nth-of-type(6) a {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
}

section:nth-of-type(6) a:hover {
    background-color: var(--accent-gold-dark);
}

/* Section 7: ESTRATÉGIA AV SOLUTION DE ALAVANCAGEM */
section:nth-of-type(7) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--primary-light);
}

section:nth-of-type(7) h2 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

section:nth-of-type(7) h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

section:nth-of-type(7)>div:first-of-type {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

section:nth-of-type(7)>div:first-of-type>div {
    flex: 1 1;
    width: 100%;
    padding: 20px;
    background-color: var(--secondary-light);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:nth-of-type(7)>div:first-of-type>div:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

section:nth-of-type(7)>div:first-of-type>div b:first-of-type {
    color: var(--accent-gold);
}

section:nth-of-type(7)>div:first-of-type>div:hover h4,
section:nth-of-type(7)>div:first-of-type>div:hover b:first-of-type {
    color: var(--accent-gold-dark);
    font-size: 1.6rem;
}

section:nth-of-type(7)>div hr {
    border: rgba(198, 162, 74, 0.141) 1px solid;
}

section:nth-of-type(7) h4 {
    font-family: "Merriweather", serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin: 0;
    text-align: left;
}

section:nth-of-type(7) p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

section:nth-of-type(7) b {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

section:nth-of-type(7) a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-gold);
    color: var(--secondary-light);
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

section:nth-of-type(7) a:hover {
    background-color: var(--accent-gold-dark);
}

/* Section 8: Invista agora e transforme seu futuro (Form) */
section:nth-of-type(8) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--primary-dark);
    color: var(--primary-light);
}

section:nth-of-type(8) h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

section:nth-of-type(8) form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 100%;
}

section:nth-of-type(8) form>div {
    margin-bottom: 1rem;
}

section:nth-of-type(8) form>.g-recaptcha {
    display: flex;
    justify-content: center;
}

section:nth-of-type(8) .checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

section:nth-of-type(8) .checkbox-row input[type="checkbox"] {
    width: 5rem;
    height: 1.2rem;
    margin: 0;
}

section:nth-of-type(8) .checkbox-row p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

section:nth-of-type(8) a {
    color: var(--text-light);
}

section:nth-of-type(8) a:hover {
    color: var(--accent-gold);
}

section:nth-of-type(8) label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

section:nth-of-type(8) input,
section:nth-of-type(8) select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid var(--border-dark);
    border-radius: 5px;
    background-color: #2c2c2c;
    color: var(--primary-light);
    width: 100%;
}

section:nth-of-type(8) input:focus,
section:nth-of-type(8) select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

section:nth-of-type(8) button {
    padding: 12px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

section:nth-of-type(8) button:hover {
    background-color: var(--accent-gold-dark);
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--primary-dark);
    color: var(--primary-light);
}

footer>div:first-of-type {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 2rem;
    align-items: center;
}

footer>div:first-of-type>div {
    flex: 1 1;
    text-align: center;
}

footer>div:first-of-type>div:first-child {
    flex: 1 1;
    text-align: left;
}

footer>div:nth-of-type(2)>span {
    text-align: justify;
}

footer>div:nth-of-type(2) {
    display: flex;
    flex-direction: column;
}

footer h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

footer p,
footer span {
    font-size: .8rem;
    color: var(--text-light);
}

footer a {
    display: inline-block;
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
}

footer a:hover {
    color: var(--accent-gold-dark);
}

/* Mobile styles */
@media (max-width: 768px) {

    /* Section 1: Header */
    section:nth-of-type(1) {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 15px;
    }

    section:nth-of-type(1) div {
        width: 100%;
        align-items: center;
        text-align: center;
        max-width: none;
    }

    section:nth-of-type(1) h1 {
        font-size: 1.8rem;
    }

    section:nth-of-type(1) h2 {
        font-size: 1.2rem;
    }

    section:nth-of-type(1) a {
        font-size: 1rem;
        padding: 10px 20px;
    }

    /* Section 2: O QUE É? */
    section:nth-of-type(2) {
        padding: 40px 15px;
    }

    /* Section 3: PASSO A PASSO */
    section:nth-of-type(3) {
        padding: 40px 15px;
    }

    section:nth-of-type(3)>div {
        flex-direction: column;
        align-items: center;
    }

    section:nth-of-type(3)>div>div {
        max-width: 100%;
    }

    /* Section 4: ALAVANCAGEM IMOBILIÁRIA */
    section:nth-of-type(4) {
        padding: 40px 15px;
    }

    section:nth-of-type(4) p:last-child {
        font-size: .8rem;
        font-style: italic;
    }

    /* Section 5: A REFERÊNCIA CAPITAL */
    section:nth-of-type(5) {
        padding: 40px 15px;
    }

    /* Section 6: PONTA A PONTA */
    section:nth-of-type(6) {
        padding: 40px 15px;
    }

    section:nth-of-type(6)>div {
        flex-direction: column;
        align-items: center;
    }

    section:nth-of-type(6)>div>div {
        max-width: 100%;
    }

    /* Section 7: ESTRATÉGIA AV SOLUTION DE ALAVANCAGEM */
    section:nth-of-type(7) {
        padding: 40px 15px;
    }

    section:nth-of-type(7)>div:first-of-type {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    section:nth-of-type(7)>div:first-of-type>div {
        width: 100% !important;
    }

    /* Section 8: Invista agora (Form) */
    section:nth-of-type(8) {
        padding: 40px 15px;
    }

    section:nth-of-type(8) .form-row {
        flex-direction: column;
    }

    section:nth-of-type(8) .form-row>div {
        flex: 1 1 100%;
    }

    /* Footer */
    footer {
        padding: 40px 15px;
    }

    footer>div:first-of-type {
        flex-direction: column;
        align-items: center;
    }
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-light);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px var(--text-dark);
    max-width: 600px;
    width: 90%;
    z-index: 1002;
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-consent.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cookie-consent p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.cookie-consent a {
    color: var(--accent-gold-dark);
    text-decoration: none;
}

.cookie-consent a:hover {
    color: var(--accent-gold);
}

.cookie-consent .buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-consent button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cookie-consent .accept {
    background: var(--accent-gold-dark);
    color: var(--primary-light);
}

.cookie-consent .accept:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.cookie-consent .reject {
    background: var(--accent-gold-dark);
    color: var(--primary-light);
}

.cookie-consent .reject:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.dhBOoQ {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dhBOoQ img {
    width: 1.5rem;
    margin: 0.5rem;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: tada;
    animation-name: tada;
}

.dhBOoQ a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    /* Cor do texto, ajuste conforme necessário */
    font-size: 0.8rem;
    /* Ajuste o tamanho do texto conforme necessário */
    text-align: center;
    text-decoration: none;
    /* Remove o sublinhado do link, se desejar */
}

@-webkit-keyframes tada {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    10%,
    20% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes tada {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    10%,
    20% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
        -ms-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

/* Main WhatsApp button container */
#whatsapp-button {
    /* Positioning */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;

    /* Size and shape */
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: var(--whatsapp-bg);
    padding: 7px;

    /* Center content */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Animation */
    cursor: pointer;
    animation: pulse 1.5s infinite linear;
}

/* SVG icon inside the link */
#whatsapp-button>a>svg {
    width: var(--icon-size);
    height: var(--icon-size);
    color: var(--text-color);
    transition: transform 0.4s ease;
}

/* Hover effect for the icon */
#whatsapp-button:hover>a>svg {
    transform: scale(1.1);
}

/* Badge (number indicator) */
#whatsapp-button>div {
    /* Positioning */
    position: absolute;
    top: -5px;
    right: -5px;

    /* Size and shape */
    width: var(--badge-size);
    height: var(--badge-size);
    border-radius: 50%;
    background: var(--badge-bg);

    /* Text styling */
    color: var(--text-color);
    font-size: 12px;
    font-weight: 500;
    line-height: var(--badge-size);
    text-align: center;

    /* Animation */
    animation: badge-bounce 5s infinite 2s;

    animation: badge-appear-disappear 4s infinite, badge-bounce 5s infinite 2s;
}

/* Pulse animation for the button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 transparent, 0 1px 0 5px transparent;
    }

    30% {
        box-shadow: 0 0 0 5px rgba(56, 132, 93, 0.8), 0 1px 0 5px transparent;
    }

    70% {
        box-shadow: 0 0 0 8px rgba(40, 94, 67, 0.5), 0 1px 0 5px transparent;
    }

    100% {
        box-shadow: 0 0 0 10px transparent, 0 1px 0 5px transparent;
    }
}

/* Badge bounce animation */
@keyframes badge-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes badge-appear-disappear {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}