/* Custom CSS */
:root {
    --primary-color: #2A3F54;
    --success-color: #80B942;
}

body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
}

.Font_marca {
    font-family: 'Nourd', sans-serif;
    font-size: 6em;
    font-weight: bold;
    color: #fff;
}
@media (max-width: 1200px) {
    .Font_marca {
        font-size: 5em;
    }
}
@media (max-width: 992px) {
    .Font_marca {
        font-size: 4em;
    }
}
@media (max-width: 768px) {
    .Font_marca {
        font-size: 3em;
    }
}
@media (max-width: 576px) {
    .Font_marca {
        font-size: 2em;
    }
}

/* Navbar */
.navbar {
    background-color: var(--primary-color) !important;
}

.footer {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2733 100%);
    height: 100vh;
    padding-top: 76px;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Buttons */
.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background-color: #6ca338;
    border-color: #6ca338;
}

.btn-link.text-success {
    color: var(--success-color) !important;
}

/* Images */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .hero-section > div {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Form styling */
.input-group-text {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.form-control:focus {
    border-color: var(--success-color);
    box-shadow: 0 0 0 0.25rem rgba(128, 185, 66, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }
}

.service-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilo del botón de WhatsApp */
.whatsapp-button {
    position: fixed; /* Fija el botón en la pantalla */
    bottom: 20px; /* Distancia desde el borde inferior */
    right: 20px; /* Distancia desde el borde derecho */
    width: 60px; /* Ancho del botón */
    height: 60px; /* Alto del botón */
    background-color: #25D366; /* Color verde de WhatsApp */
    border-radius: 50%; /* Forma circular */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Sombra para dar profundidad */
    display: flex; /* Centrar el ícono dentro del botón */
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Elimina subrayado del enlace */
    transition: transform 0.3s ease; /* Efecto de escala al hacer hover */
    z-index: 9999; /* Asegura que esté sobre otros elementos */
}

/* Ícono de WhatsApp */
.whatsapp-button img {
    width: 30px; /* Tamaño del ícono */
    height: 30px;
}

/* Efecto de zoom al pasar el mouse */
.whatsapp-button:hover {
    transform: scale(1.1); /* Amplía el botón ligeramente */
}

/* theme Button */
.btn-theme {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-theme:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.btn-theme:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(42, 63, 84, 0.5);
}
/* Light background for section */
.section-light-bg {
    background-color: #e0f2d9; /* Very light version of #6ca338 */
}
