/* Color Variables based on the images */
:root {
    --gc-green-dark: #0b2e25; /* Deep Green background */
    --gc-green-primary: #155740; /* Primary Green */
    --gc-green-light: #1e7e5c; /* Lighter Green */
    --gc-lime: #c9d628; /* The bright lime/yellow highlight color */
    --gc-gold: #d4af37; /* Metallic gold for badges */
    --text-dark: #1f2937;
    --text-light: #f3f4f6;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
}

/* Navbar */
.navbar {
    background-color: var(--gc-green-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.8) !important;
    margin: 0 0.5rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--gc-lime) !important;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.logo {
    max-height: 70px;
}

.btn-lime {
    background-color: var(--gc-lime);
    color: var(--gc-green-dark);
    font-weight: 700;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-lime:hover {
    background-color: #b0bc22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 214, 40, 0.3);
}

.btn-outline-lime {
    border: 2px solid var(--gc-lime);
    color: var(--gc-green-dark);
    font-weight: 700;
}

.btn-outline-lime:hover {
    background-color: var(--gc-lime);
    color: var(--gc-green-dark);
}

/* Hero Sections */
.hero-section {
    background: linear-gradient(135deg, var(--gc-green-dark) 0%, var(--gc-green-primary) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.background-logo {
    position: relative;
    z-index: 1;
}

/* Show background logo only on mobile/tablet (below 992px) */
@media (max-width: 991.98px) {
    .background-logo::before {
        content: "";
        position: absolute;
        top: 70%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
        background-image: url('../images/car_image.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.15; /* Sutil transparencia */
        z-index: -1;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-highlight {
    border: 2px solid var(--gc-lime);
    position: relative;
}

.badge-highlight {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gc-lime);
    color: var(--gc-green-dark);
    font-weight: 800;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Icon Boxes */
.icon-box {
    text-align: center;
    padding: 1.5rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--gc-green-primary);
    font-size: 2rem;
}

/* Pricing */
.pricing-card.featured {
    background: linear-gradient(180deg, var(--gc-green-primary) 0%, var(--gc-green-dark) 100%);
    color: white;
}

.pricing-card.featured .text-muted {
    color: rgba(255,255,255,0.7) !important;
}

.pricing-card.featured ul li {
    color: white;
}

.pricing-card.featured .btn-primary {
    background-color: var(--gc-gold);
    border: none;
    color: var(--gc-green-dark);
}

/* Timeline/Steps for Opposition */
.step-card {
    background-color: var(--gc-green-primary);
    color: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .step-connector {
        display: block;
        height: 2px;
        background-color: var(--gc-gold);
        flex-grow: 1;
        margin: 0 1rem;
    }
}

/* Footer */
footer {
    background-color: var(--gc-green-dark);
    color: white;
    padding: 4rem 0 2rem;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--gc-lime);
}
.sgto-icon{
    height: 80px;
}
/* Coming Soon Badge */
.coming-soon-badge {
    background-color: var(--gc-green-dark);
    color: white;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px dashed var(--gc-gold);
    transform: rotate(-15deg);
    position: absolute;
    top: -30px;
    right: -30px;
    z-index: 10;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(21, 87, 64, 0.1);
    color: var(--gc-green-primary);
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(21, 87, 64, 0.1);
}

/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--gc-green-dark);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none; /* Hidden by default, shown by JS */
    border-top: 4px solid var(--gc-lime);
}

#cookie-banner .btn-lime {
    background-color: var(--gc-lime);
    color: var(--gc-green-dark);
}

#cookie-banner .btn-outline-light:hover {
    color: var(--gc-green-dark);
    background-color: white;
}

#cookie-preferences-modal .modal-header {
    background-color: var(--gc-green-dark);
    color: white;
}

#cookie-preferences-modal .modal-footer {
    border-top: none;
}

/* --- Mobile Optimization --- */
@media (max-width: 767.98px) {
    /* Navbar adjustments */
    .navbar .logo {
        height: 50px; /* Smaller logo */
    }
    
    .navbar-brand {
        margin-right: 0;
    }

    /* Hero Section */
    .hero-section {
        padding: 1.5rem 0; /* Reduced even more */
        text-align: center; /* Center text on mobile */
    }

    .hero-section h1 {
        font-size: 2.5rem; /* Smaller main heading */
    }
    
    /* Mobile-only heading with helicopter background */
    h1.d-md-none {
        position: relative;
        padding: 4rem 1rem 1rem; /* Reduced bottom padding */
        margin-bottom: 0.5rem !important; /* Minimal bottom margin */
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        z-index: 1;
    }

    .hero-section .lead.mb-5 {
        margin-bottom: 2rem !important; /* Reduced bottom margin for the paragraph too */
    }

    

    .hero-section .lead {
        font-size: 1.1rem;
    }

    /* Hero Carousel / Image */
    .hero-section .col-lg-6.position-relative {
        margin-top: 2rem;
    }

    #heroCarousel img {
        height: 250px !important; /* Smaller image height */
    }

    /* Cards */
    .card {
        margin-bottom: 1rem;
    }

    /* Coming Soon Badge - Mobile fix */
    .coming-soon-badge {
        position: relative;
        top: auto;
        right: auto;
        margin: -40px auto 20px; /* Center and pull up slightly */
        transform: rotate(0deg); /* Remove rotation for cleaner look */
        width: 120px;
        height: 120px;
    }
    
    .coming-soon-badge .h3 {
        font-size: 1.5rem;
    }

    /* Reduce spacing for Aplicaciones section on mobile */
    #aplicaciones {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    #aplicaciones .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    /* Footer */
    footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }

    footer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    footer .d-flex.gap-3.opacity-50 {
        justify-content: center;
    }

    /* Cookie Banner */
    #cookie-banner {
        padding: 1rem;
    }
    
    #cookie-banner .col-lg-4 {
        margin-top: 1rem;
        justify-content: center !important;
    }
    
    #cookie-banner button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.btn-suscribete {
    /* Posicionamiento */
    display: inline-block;
    padding: 8px 20px;

    /* Estilo visual basado en tu web */
    background-color: #d4e137; /* El amarillo lima de la sección Sargento */
    color: #00332c;            /* El verde oscuro del fondo */
    text-decoration: none;
    font-family: 'Arial', sans-serif; /* Cambiar por la fuente de tu sitio */
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;       /* Bordes redondeados para un look moderno */

    /* Animación y efectos */
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid transparent;
  }

  .btn-suscribete strong {
    font-weight: 800;
  }

  .btn-suscribete:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }