/* Sinerware Premium Redesign Styles */

:root {
    --snw-blue-deep: #002d5c;
    --snw-blue-light: #0056b3;
    --snw-accent: #00f2ff;
    --snw-orange: #f15a24;
    --glass-background: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Hero Banner Customization */
.hero {
    min-height: 600px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Remove any overlay elements within hero */
.hero [class*="overlay"],
.hero [class*="shade"],
.hero [class*="darken"] {
    opacity: 0 !important;
    display: none !important;
}

.hero::before,
.hero::after {
    opacity: 0 !important;
    display: none !important;
}

.hero .container {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}


.card-zoom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

/* Glassmorphism Effect for CTA */
.bg-primary.subtle,
.bg-info.subtle {
    background: linear-gradient(135deg, rgba(0, 45, 92, 0.05) 0%, rgba(0, 86, 179, 0.05) 100%) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border) !important;
    border-radius: 1rem;
    margin-bottom: 0 !important;
}

.display-1,
.display-2 {
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--snw-blue-deep), var(--snw-blue-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    background-color: var(--snw-blue-deep);
    border-color: var(--snw-blue-deep);
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-color: var(--snw-blue-light);
    transform: scale(1.02);
}

/* FOOTER STYLES */
footer.footer-custom {
    background-color: #111111 !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
}

footer.footer-custom .footer-brand h2 {
    letter-spacing: -0.02em;
    color: #ffffff !important;
}

footer.footer-custom .footer-brand p {
    letter-spacing: 0.15em;
    color: #8a94a6 !important;
}

footer.footer-custom .footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.02em;
}

footer.footer-custom .footer-links a {
    color: #a0aec0 !important;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

footer.footer-custom .footer-links a:hover {
    color: #ffffff !important;
    padding-left: 5px;
}

footer.footer-custom .social-icon-link {
    color: #ffffff !important;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer.footer-custom .social-icon-link:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: #4299e1 !important;
}

.ls-wider {
    letter-spacing: 0.1em;
}

.transition-base {
    transition: all 0.2s ease-in-out;
}

.mt-n1 {
    margin-top: -0.25rem;
}

/* NAVBAR & MEGA MENU STYLES - Floating Edition */
.navbar-wrapper {
    z-index: 1030;
    pointer-events: none;
}

.navbar-floating {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 80%;
    max-width: 1150px;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-logo {
    max-height: 28px !important;
    width: auto;
}

.fs-small {
    font-size: 0.85rem !important;
}

.nav-link {
    padding: 0.4rem 0.8rem !important;
    border-radius: 20px;
}

.nav-link:hover {
    background-color: rgba(241, 90, 36, 0.05);
    color: var(--snw-orange) !important;
}

/* Contact button in navbar - Brand Orange */
.btn-contact {
    background: linear-gradient(135deg, var(--snw-orange) 0%, #ff8c00 100%);
    color: white !important;
    border-radius: 30px;
    font-size: 0.75rem;
    padding: 0.5rem 1.4rem !important;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(241, 90, 36, 0.2);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(241, 90, 36, 0.35);
    filter: brightness(1.1);
}

/* Dropdown hover behavior for desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 12px;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 1.25rem !important;
        padding: 1rem !important;
    }
}

.mega-menu-container {
    width: 650px;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

@media (min-width: 1200px) {
    .mega-menu-container {
        width: 1000px;
    }
}

.mega-menu-item {
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

.mega-menu-item:hover {
    background-color: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dropdown-toggle::after {
    display: inline-block !important;
    margin-left: 0.4em;
    vertical-align: 0.2em;
    transition: transform 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.mega-menu-item .fw-bold {
    color: var(--snw-orange);
}

/* Ensure navbar items are spaced nicely */
.navbar-nav .nav-item {
    position: static;
}

/* --- SNW SOLUCIONES VERTICAL PREMIUM (2025) --- */
.card.snw-soluciones-vertical-final {
    display: block !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-bottom: 2rem !important;
    position: relative;
    padding: 0 !important;
}

.card.snw-soluciones-vertical-final .row {
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
}

.card.snw-soluciones-vertical-final .card-img-wrap {
    flex: 0 0 48% !important;
    max-width: 48% !important;
    min-width: 350px !important;
    aspect-ratio: 4 / 3;
    margin: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card.snw-soluciones-vertical-final:hover .card-img-wrap {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(241, 90, 36, 0.2) !important;
}

.card.snw-soluciones-vertical-final .row>div:last-child {
    flex: 1 !important;
    padding-left: 4rem !important;
}

/* Decorative line removed as requested */
/* .card.snw-soluciones-vertical-final .row>div:last-child::before { ... } */
/* .card.snw-soluciones-vertical-final .row>div:last-child::after { ... } */


.card.snw-soluciones-vertical-final .card-body {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.card.snw-soluciones-vertical-final .card-title {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: var(--snw-blue-deep) !important;
    line-height: 1.1 !important;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.02em !important;
    background: linear-gradient(135deg, var(--snw-blue-deep) 0%, #2d3748 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.card.snw-soluciones-vertical-final .card-text {
    font-size: 1.1rem !important;
    color: #4a5568 !important;
    line-height: 1.7 !important;
    max-width: 800px !important;
    font-weight: 400;
    opacity: 0.9;
    position: relative;
}

.card.snw-soluciones-vertical-final:hover .card-title {
    transform: translateX(10px);
    background: linear-gradient(135deg, var(--snw-orange) 10%, var(--snw-blue-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Reduce spacing for regular pages without content_blocks */
.page-header {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.page-header h1 {
    margin-bottom: 1rem !important;
}

/* Compress main content area */
main.main,
#container.main,
div.main {
    padding-top: 2rem !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove spacing between CTA sections and footer */
section.bg-info.subtle {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

section.bg-info.subtle .row {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

section.bg-info.subtle .container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Hero text box styling */
.hero .heading {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0;
}

.hero .heading h1,
.hero .heading h2,
.hero .heading h3 {
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem !important;
    border-radius: 1rem;
    color: white !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    width: fit-content;
    margin: 0 auto 1rem !important;
}

.hero .heading p {
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem !important;
    border-radius: 1rem;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    width: fit-content;
    margin: 0 auto !important;
}

/* Reduce breadcrumb to title spacing */
.breadcrumb {
    margin-bottom: 1rem !important;
}

.page-header + .breadcrumb {
    margin-top: -1.5rem !important;
}
