/********** Template CSS **********/
:root {
    --bs-primary: #7dc444; /* Maral Green */
    --bs-secondary: #009ee3; /* Maral Blue */
    --maral-green: #7dc444;
    --maral-red: #e31e24;
    --maral-blue: #009ee3;
    --maral-yellow: #fecb00;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.85);
    
    /* Override Bootstrap variables locally */
    --bs-body-font-family: 'Poppins', 'Poppins', sans-serif;
}

/* ===== MARAL LOGO - Remove white background ===== */
.navbar-brand img,
.logo-maral {
    mix-blend-mode: multiply;
}

/* ===== HERO GRADIENT ===== */
.hero-gradient {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(15, 23, 42, 0.50) 100%),
        url(../img/bg1.jpg) center center no-repeat !important;
    background-size: cover !important;
}

/* ===== SECTION COLOR VARIANTS ===== */
.bg-maral-blue {
    background: linear-gradient(135deg, #0077b8 0%, #009ee3 50%, #00b8d9 100%) !important;
}

.bg-maral-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

.bg-maral-yellow-light {
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%) !important;
}

.bg-maral-green {
    background: linear-gradient(135deg, #2d8a1a 0%, #7dc444 60%, #9ed463 100%) !important;
}

/* Contact info cards with individual colors */
.contact-card-green {
    background: linear-gradient(135deg, #5aaa2a, #7dc444) !important;
}
.contact-card-blue {
    background: linear-gradient(135deg, #0077b8, #009ee3) !important;
}
.contact-card-red {
    background: linear-gradient(135deg, #b31218, #e31e24) !important;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Glassmorphism Navbar */
.sticky-top {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    z-index: 1030;
}

.navbar .navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    position: relative;
    padding: 6px 0;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--maral-blue);
    transition: width 0.3s ease;
    border-radius: 5px;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--maral-blue) !important;
}

/* Brand Bubbles Animation */
.brand-bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    animation: float-bubble 8s ease-in-out infinite alternate;
}
.brand-bubble-green { background-color: var(--maral-green); width: 90px; height: 90px; }
.brand-bubble-red { background-color: var(--maral-red); width: 60px; height: 60px; animation-duration: 6s; }
.brand-bubble-blue { background-color: var(--maral-blue); width: 75px; height: 75px; animation-duration: 10s; }
.brand-bubble-yellow { background-color: var(--maral-yellow); width: 50px; height: 50px; animation-duration: 7s; }

@keyframes float-bubble {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    100% { transform: translateY(-30px) rotate(15deg) scale(1.1); }
}

/* Premium Card Upgrades */
.product-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.product-item img {
    transition: transform 0.5s ease;
}

.product-item:hover {
    transform: translateY(-8px);
    border-color: var(--maral-blue) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 158, 227, 0.12), 0 10px 10px -5px rgba(125, 196, 68, 0.08);
}

.product-item:hover img {
    transform: scale(1.08);
}

.product-item:hover a.btn {
    color: #ffffff !important;
    background-color: var(--maral-blue) !important;
    border-color: var(--maral-blue) !important;
}

/* Rounded Buttons with Gradient effects */
.btn-primary {
    background-color: var(--maral-green) !important;
    border-color: var(--maral-green) !important;
    border-radius: 30px !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(125, 196, 68, 0.2);
}

.btn-primary:hover {
    background-color: var(--maral-blue) !important;
    border-color: var(--maral-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 158, 227, 0.3);
}

.btn-outline-primary {
    color: var(--maral-blue) !important;
    border-color: var(--maral-blue) !important;
    border-radius: 30px !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-outline-primary:hover {
    color: #ffffff !important;
    background-color: var(--maral-blue) !important;
    border-color: var(--maral-blue) !important;
    transform: translateY(-2px);
}

.btn-dark {
    border-radius: 30px !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-dark:hover {
    transform: translateY(-2px);
    background-color: #0f172a !important;
}

/*** Spinner ***/



.botao-contato img {
    width: 140px;
    transition: transform 0.3s ease;
}

.botao-contato img:hover {
    transform: scale(1.2);
}

.whatsapp-button {
    position: fixed;
    bottom: 100px;
    right: 45px;
    background-color: #25d36500;
    border-radius: 10%;
    width: 100px;
    height: 50px;
    display: flex;
    align-items: end;
    justify-content: end;
    z-index: 1000;
}
.whatsapp-button img {
    width: 250px;
    transition: transform 0.3s ease;
}

.whatsapp-button img:hover {
    transform: scale(1.2);
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

img.animated.pulse {
    animation-duration: 5s;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: var(--bs-white);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 85px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 45px;
    padding: 0;
    color: #ffffff;
    font-weight: 500;
    transition: .5s;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #000000;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--bs-primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    position: relative;
    margin-top: -85px;
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/bg1.jpg) center center no-repeat;
    background-size: cover;
    
}

.hero-header::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(38, 138, 8, 0);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.hero-header .container {
    position: relative;
    z-index: 1;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-light);
}


/*** Feature ***/
.feature-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.feature-item .border {
    position: relative;
    border-color: rgba(255, 255, 255, .2) !important;
    z-index: 1;
}


/*** Deal ***/
.deal {
    position: relative;
    background: url(../img/bg1.jpg) center center no-repeat;
    background-size: cover;
}

.deal::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.deal .bg-white {
    position: relative;
    z-index: 1;
}

.deal .cdt span {
    display: block;
    font-size: 16px;
    font-style: italic;
    font-weight: 200;
    text-transform: capitalize;
}


/*** How To Use ***/
.how-to-use {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 10), rgba(0, 0, 0, 10)), url(../img/bg1.jpg) center center no-repeat;
    background-size: cover;
}

.how-to-use::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.how-to-use .container {
    position: relative;
    z-index: 1;
}

.how-to-use .border {
    border-color: rgba(255, 255, 255, .2) !important;
}


/*** Product ***/
/* (Enhanced rules already defined above - overrides removed) */


/*** Testimonial ***/
.testimonial {
    position: relative;
    background: url(../img/bg1.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.testimonial .testimonial-carousel {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
    border-color: rgba(255, 255, 255, .2) !important;
    margin: 0 auto 20px auto;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 3px solid rgba(255, 255, 255, .2);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--bs-dark);
}


/*** Blog ***/
.blog-item {
    transition: .1s;
}

.blog-item:hover {
    border-width: 0 !important;
    box-shadow: 0 0 35px rgba(144, 188, 121, .25);
}

.blog-item:hover a.btn {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Contact ***/
.contact-info-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.contact-info-item .border {
    position: relative;
    border-color: rgba(255, 255, 255, .2) !important;
    z-index: 1;
}


/*** Newsletter ***/
.newsletter {
    position: relative;
    background: url(../img/bg.png) center center no-repeat;
    background-size: cover;
}

.newsletter::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.newsletter .container {
    position: relative;
    z-index: 1;
}

.newsletter .form-control {
    background: rgba(255, 255, 255, .3);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--bs-body);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 3px solid var(--bs-light);
}

.footer .copyright a {
    color: var(--bs-body);
}

.footer .copyright a:hover {
    color: var(--bs-primary);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 3px solid var(--bs-light);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}