/* Variables */
:root {
    --primary-color: #111111;
    /* Dark gray/black */
    --secondary-color: #222222;
    /* Deep black */
    --accent-color: #777777;
    /* Medium gray for accents */
    --accent-light: rgba(119, 119, 119, 0.1);

    --bg-light: #ffffff;
    /* White background */
    --text-dark: #111111;
    --text-muted: #666666;
}

/* Global resets & typography */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

.text-primary-brand {
    color: var(--primary-color) !important;
}

.text-secondary-brand {
    color: var(--accent-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary-light {
    background-color: rgba(17, 17, 17, 0.05);
}

.bg-accent-light {
    background-color: var(--accent-light);
}

.bg-accent {
    background-color: var(--accent-color);
}

.letter-spacing-1 {
    letter-spacing: 2px;
}

.line-height-tight {
    line-height: 1.2;
}

.line-height-relaxed {
    line-height: 1.7;
}

.z-index-1 {
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

/* Section 1: Hero styling */
.hero-section {
    background-color: #ffffff;
    min-height: 100vh;
}


.solutions-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solutions-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Hero Graphics */
.hero-graphics {
    height: 400px;
    perspective: 1000px;
}

.blob-bg {
    position: absolute;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, transparent 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(40px);
    opacity: 1;
    animation: morph 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: scale(1);
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: scale(1.05);
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: scale(0.95);
    }
}

.floating-card {
    position: absolute;
    padding: 1.5rem;
    border-radius: 15px;
    width: 220px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.floating-card.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(0) rotateY(0);
    }

    50% {
        transform: translateY(-20px) rotateX(2deg) rotateY(2deg);
    }

    100% {
        transform: translateY(0px) rotateX(0) rotateY(0);
    }
}


/* Section 2: Features */
.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eeeeee;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05) !important;
}

.feature-card .icon-wrapper {
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    /* Removed rotation */
    transform: scale(1.1);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card:hover .card-glow {
    opacity: 1;
}


/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* Delays for staggered animations */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }

    .custom-list {
        display: inline-block;
        text-align: left;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

/* Section 3: Serviços e Soluções (Keepers Inspired) */
.services-section {
    background-color: #fcfcfc;
    /* Very light gray to distinguish from pure white */
}

.service-card-keepers {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0 !important;
}

.service-card-keepers:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.image-wrapper-keepers {
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0% 50%);
    margin-bottom: 0;
}

.image-wrapper-keepers img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.service-card-keepers:hover .image-wrapper-keepers img {
    transform: scale(1.05);
}

.service-name-keepers {
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.service-name-keepers::after {
    content: ".";
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 2px;
}

.service-description-keepers {
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .image-wrapper-keepers {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
        min-height: 200px;
    }
}

/* Owl Carousel Customizations */
.services-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px !important;
    gap: 15px;
}

.services-carousel .owl-nav button.owl-prev,
.services-carousel .owl-nav button.owl-next {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
}

.services-carousel .owl-nav button.owl-prev:hover,
.services-carousel .owl-nav button.owl-next:hover {
    background: #111111 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.services-carousel .owl-dots {
    margin-top: 20px !important;
}

.services-carousel .owl-dot {
    outline: none !important;
    box-shadow: none !important;
}

.services-carousel .owl-dot span {
    background: #dddddd !important;
    width: 12px !important;
    height: 12px !important;
    margin: 5px 7px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.services-carousel .owl-dot.active span,
.services-carousel .owl-dot:hover span {
    background: #111111 !important;
    transform: scale(1.3);
}

/* About Section Styles */
.about-image-wrapper {
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover {
    transform: translateY(-5px);
}

.about-image-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    background-color: var(--accent-light);
    border-radius: 12px;
    z-index: 1;
}

.transition-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.floating-element {
    animation: float-small 4s ease-in-out infinite;
}

@keyframes float-small {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Blog Section Styles */
.blog-section {
    background-color: #384252;
}

.blog-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-section .btn-outline-light:hover {
    background-color: white;
    color: #384252 !important;
}

.blog-carousel .owl-stage-outer {
    padding-bottom: 10px;
    padding-top: 10px;
}