/*-- Premium Agrobasic Theme --*/

:root {
    --primary-color: #B71C1C; /* A deep, sophisticated red */
    --secondary-color: #D4AF37; /* Soft, elegant gold */
    --dark-color: #212121; /* Rich charcoal/off-black */
    --light-color: #FDFEFE; /* Clean, crisp white */
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Poppins', sans-serif;
    --header-logo-height: 145px; /* 45% bigger */
    --footer-logo-height: 210px; /* 45% more from previous */
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    background-color: var(--light-color);
    animation: fadeIn 1.5s ease-in-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}
.page-loader.fade-out {
    opacity: 0;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0,0,0,0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--heading-font);
    font-weight: 700;
}
h2 {
    font-weight: 500;
}

/* Header */
header {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 110px; /* Taller for bigger logo and nav */
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
header .container {
    height: 100%;
}
.navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
}
.navbar-brand img {
    height: var(--header-logo-height) !important;
    transition: transform 0.4s ease;
    max-height: none; /* Remove max-height restriction */
    object-fit: contain;
}
.navbar-brand:hover img {
    transform: scale(1.05);
}
.nav-link {
    color: var(--dark-color);
    margin: 0 2.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 7px;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
}
.nav-link:hover::after {
    width: 100%;
}
header .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}
header .btn-primary:hover {
    background-color: #8c1616;
    border-color: #8c1616;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

/* Hero Section */
.hero-section {
    background: url('../images/hero-background.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 120px 0;
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero-section .container {
    position: relative;
    z-index: 1;
    color: white;
}
.hero-section h1 {
    font-size: 4.5rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.hero-section .lead {
    font-size: 1.4rem;
    font-family: var(--body-font);
    max-width: 650px;
    margin: 1.5rem auto;
}
.hero-section .btn {
    background-color: white;
    color: var(--primary-color);
    font-weight: bold;
    padding: 15px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid white;
}
.hero-section .btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
}

/* Hero Carousel */
#hero-carousel {
    background-color: #f8f9fa;
    padding: 0;
    max-height: 550px;
    overflow: hidden;
}
#hero-carousel .carousel-item {
    transition: transform 0.8s ease-in-out;
}
#hero-carousel .carousel-caption-text {
    color: #2c3e50;
    padding-bottom: 5rem; /* Increased padding to move elements up */
}
#hero-carousel .carousel-caption-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeInDown 1s both;
}
#hero-carousel .carousel-caption-text p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem; /* Increased margin to move button up */
    font-family: var(--body-font);
    max-width: 500px;
    animation: fadeInUp 1s both;
    animation-delay: 0.5s;
}
#hero-carousel .carousel-caption-text .btn {
    background-color: #e74c3c;
    border: none;
    color: white;
    padding: 12px 35px;
    font-weight: 500;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s both;
    animation-delay: 1s;
}
#hero-carousel .carousel-caption-text .btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}
#hero-carousel .carousel-control-prev,
#hero-carousel .carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s;
}
#hero-carousel .carousel-control-prev:hover,
#hero-carousel .carousel-control-next:hover {
    opacity: 1;
}
#hero-carousel .carousel-control-prev-icon,
#hero-carousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    background-size: 50%;
}
#hero-carousel .carousel-indicators {
    bottom: 20px;
}
#hero-carousel .carousel-indicators button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #333;
    margin: 0 6px;
    transition: all 0.3s ease;
}
#hero-carousel .carousel-indicators .active {
    width: 14px;
    height: 14px;
    background-color: #B71C1C;
    border-color: #B71C1C;
}
#hero-carousel img {
    height: 550px;
    object-fit: cover;
    width: 100%;
}

/* Intro/CTA accent rectangles */
.intro-copy,
.cta-banner {
    position: relative;
    padding: 60px 0;
}

.intro-copy::before,
.cta-banner::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -60%);
    width: 100vw; /* force full viewport width */
    height: 180px;
    background: #A03232; /* requested red accent */
    border-radius: 0px;
    z-index: 0;
}

.intro-copy .container,
.cta-banner .container {
    position: relative;
    z-index: 1;
}

.intro-copy h2,
.intro-copy p,
.cta-banner h2,
.cta-banner p {
    color: #fff;
}

.intro-copy .intro-lead {
    font-weight: 700;
}

.cta-banner p {
    font-weight: 700 !important;
}

.cta-banner .btn {
    background-color: #e84c3c;
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-banner .btn:hover {
    background-color: #c83c2c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Disabled-looking anchor that keeps button style */
.btn.is-disabled {
    pointer-events: none;
    opacity: 0.65;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -50px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 50px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 991px) {
    #hero-carousel .row {
        flex-direction: column-reverse; /* Stack text below image */
    }
    #hero-carousel, #hero-carousel .carousel-item {
        max-height: none;
    }
    #hero-carousel .col-lg-5 {
        width: 100%;
        offset: 0;
        text-align: center !important;
        padding: 2rem 1rem;
    }
    #hero-carousel .carousel-caption-text {
        color: white; /* White text on mobile */
        text-shadow: 1px 1px 4px rgba(0,0,0,0.6); /* Better text shadow */
    }
    #hero-carousel .col-lg-6 {
        height: 300px;
        max-height: 50vh;
    }
}

/* Video Section */
#video-promo {
    padding: 0;
    background-color: #000;
}
.video-container {
    position: relative;
    width: 100%;
    height: 25vh; /* short height */
    min-height: 200px;
    overflow: hidden;
}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 1rem;
}
.typewriter {
    font-family: var(--heading-font);
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    font-weight: 500;
    max-width: 900px; /* Max width for readability on large screens */
    white-space: normal; /* Allow text to wrap on smaller screens */
    display: inline-block;
}

.typewriter::after { /* New cursor */
    content: '|';
    margin-left: 8px;
    animation: blink-caret 1s step-end infinite;
    color: var(--secondary-color);
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

/* Make heading sizes consistent */
#categories h2, #products h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3rem;
}

/* Categories Section */
#categories {
    background-color: #fafafa;
    padding: 80px 0;
}
.category-item {
    text-decoration: none;
    color: var(--dark-color);
    display: block;
}
.category-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}
.category-item:hover .category-item-inner {
    transform: scale(1.05);
}
.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.category-item:hover img {
    transform: scale(1.1);
}
.category-item h5 {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.category-item:hover h5 {
    color: var(--secondary-color);
}

/* Horizontal Category Carousel */
.category-carousel-container {
    overflow: hidden;
    position: relative;
}

.category-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 20px 0;
}

.category-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.category-carousel-item {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-carousel-item:hover {
    transform: translateY(-5px);
}

.category-carousel-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.category-carousel-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-carousel-item h5 {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.category-carousel-item:hover h5 {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .category-carousel-item {
        width: 150px;
    }
    
    .category-carousel-item img {
        height: 120px;
    }
    
    .category-carousel {
        gap: 20px;
    }
}

/* Redesigned Product Section */
#products {
    background-color: #fcfcfc;
    padding-top: 100px;
    padding-bottom: 100px;
}
.product-card {
    border: 1px solid #eee;
    background: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.03); /* Much more subtle shadow */
}
.product-card .img-container {
    height: 300px;
    overflow: hidden;
    position: relative;
}
.product-card .card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .card-img-top {
    transform: scale(1.05);
}
.product-card .add-to-cart-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.product-card:hover .add-to-cart-overlay {
    opacity: 1;
    transform: translateY(0);
}
.product-card .add-to-cart-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.product-card .add-to-cart-btn:hover {
    background-color: var(--dark-color);
}
.product-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.product-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Catalog category filters */
.filters-bar {
    padding: 0.5rem 0.25rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 0.5rem !important;
}

.filters-bar::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    appearance: none;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #2c3e50;
    border-radius: 9999px;
    padding: 10px 16px;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.filter-chip:hover {
    background-color: #f9fafb;
    border-color: #d0d5dd;
    transform: translateY(-1px);
}

.filter-chip:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(183,28,28,0.15);
}

.filter-chip.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(183,28,28,0.25);
}

.filter-chip.active:hover {
    filter: brightness(0.95);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #a0a0a0;
    padding: 2.5rem 0;
    border-top: 4px solid var(--primary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-section img {
    height: 50px;
}

.footer-logo-section .company-info p {
    margin: 0;
    line-height: 1.2;
}
.footer-logo-section .company-info .company-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}
.footer-logo-section .company-info .copyright {
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #a0a0a0;
    font-size: 1.4rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}


@media (max-width: 991px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo-section {
        flex-direction: column;
        margin-bottom: 1rem;
    }
    .footer-nav {
        justify-content: center;
        margin-bottom: 1rem;
}
}

/* Custom carousel controls for categories */
.category-carousel-container {
    position: relative;
    overflow: hidden; /* prevent arrows from creating horizontal scroll */
}

.category-carousel-container .custom-prev,
.category-carousel-container .custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.category-carousel-container .custom-prev:hover,
.category-carousel-container .custom-next:hover {
    opacity: 1;
}

.category-carousel-container .custom-prev {
    left: -40px;
}

.category-carousel-container .custom-next {
    right: -40px;
}

@media (max-width: 768px) {
    .category-carousel-container .custom-prev {
        left: 10px;
    }
    .category-carousel-container .custom-next {
        right: 10px;
    }
} 

/* Prevent accidental horizontal scrolling on hosted builds */
html, body { 
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

/* Guard against decorative pseudo-elements causing horizontal scroll */
.section-bg-rich,
.section-bg-rich .container,
.contact-content,
.contact-content .container,
header,
main,
footer {
    position: relative;
    overflow-x: hidden;
    max-width: 100%;
}

/* Fix Bootstrap rows causing overflow */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
}

.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure footer content doesn't overflow */
footer .footer-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* Product Selection Page (productos.html) */
.product-selection-page {
    background-color: #f8f9fa;
}

.product-line-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-line-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    height: 400px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-line-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-line-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-line-card:hover img {
    transform: scale(1.1);
}

.product-line-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    transition: background 0.4s ease;
}

.product-line-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 50%);
}

.product-line-card h2 {
    color: white;
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.product-line-card:hover h2 {
    transform: translateY(0);
}

@media (max-width: 991px) {
    .product-line-grid {
        grid-template-columns: 1fr;
    }
    .product-line-card {
        height: 300px;
    }
    .product-line-card h2 {
        font-size: 2rem;
    }
} 

/* Contact Page Styles */
.contact-page {
    background-color: #f8f9fa;
}

.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8c1616 100%);
    color: white;
    padding: 60px 0;
}

.contact-info-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.info-item-box {
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
}

.info-item-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.info-item-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.info-item-box h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-item-box p {
    margin-bottom: 0;
    color: #555;
    line-height: 1.6;
}

.info-item-box p a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item-box p a:hover {
    color: var(--primary-color);
}

.social-icons-contact .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons-contact .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.map-section {
    padding: 0;
    line-height: 0; /* Removes any space under the iframe */
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* About Us Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner2.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 80px 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.about-intro h2 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.mission-vision-section {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.mission-vision-section .icon-box {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.mission-vision-section .icon-box i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mission-vision-section .icon-box h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.values-section {
    background: #fff;
}

.value-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.value-card .value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--dark-color);
    transform: scale(1.1) rotate(15deg);
}

.value-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Service Roadmap (Cómo funciona) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.step-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.step-text {
    color: #555;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
} 