/* ================================================ */
/*  SENSE ENGENHARIA – Modern Design System         */
/*  Bootstrap 5 + Custom Overrides                  */
/* ================================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
    /* Primary: Dark Navy Blue – trust & engineering */
    --primary-color: #0A2540;
    --primary-dark: #061A2E;
    --primary-light: #E8EEF4;

    /* Secondary / Accent: Safety Orange – CTAs, fire safety */
    --accent-color: #FF6B00;
    --accent-hover: #E55D00;
    --accent-light: #FFF3E8;

    /* Neutrals */
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-color: #333333;
    --text-light: #6C757D;
    --dark-slate: #333333;

    /* Utility */
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.10);
    --shadow-lg: 0 16px 48px rgba(10, 37, 64, 0.14);
    --transition: all 0.3s cubic-bezier(.4,0,.2,1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --container-width: 1200px;
    --header-height: 76px;
}

/* ---- Reset & Base Styles ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---- Layout Helpers ---- */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    position: relative;
    padding-bottom: 18px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #FFA64D);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 12px;
}

/* ========================================= */
/*  BOOTSTRAP NAVBAR – Custom Overrides      */
/* ========================================= */

.sense-navbar {
    background-color: var(--primary-color) !important;
    padding: 12px 0;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
    z-index: 1050;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Shrink navbar on scroll (applied via JS) */
.sense-navbar.navbar-scrolled {
    background-color: rgba(10, 37, 64, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: 6px 0;
}

.sense-navbar .navbar-brand {
    padding: 0;
    transition: var(--transition);
}

.sense-navbar .navbar-logo {
    height: 40px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)) brightness(1.15);
    transition: height 0.3s ease, filter 0.3s ease;
}

.sense-navbar.navbar-scrolled .navbar-logo {
    height: 34px;
}

.sense-navbar .nav-link {
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.2px;
    padding: 8px 14px !important;
    position: relative;
    transition: var(--transition);
}

.sense-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}

.sense-navbar .nav-link:hover,
.sense-navbar .nav-link:focus,
.sense-navbar .nav-link.active {
    color: var(--white) !important;
}

.sense-navbar .nav-link:hover::after,
.sense-navbar .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* WhatsApp CTA Button in Navbar */
.btn-whatsapp {
    background-color: #25D366;
    color: var(--white) !important;
    border: none;
    border-radius: var(--radius-pill);
    padding: 9px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Mobile Hamburger Toggler */
.sense-navbar .navbar-toggler {
    border: none !important;
    padding: 6px;
}

.sense-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.sense-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop hover dropdown */
@media (min-width: 992px) {
    .sense-navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Mobile dropdown styling */
@media (max-width: 991.98px) {
    .sense-navbar .navbar-collapse {
        background-color: var(--primary-color);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        padding: 16px 20px;
        margin-top: 8px;
        box-shadow: var(--shadow-lg);
    }

    .sense-navbar .nav-link {
        padding: 12px 16px !important;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .sense-navbar .nav-link::after {
        display: none;
    }

    .btn-whatsapp {
        margin-top: 12px;
        width: 100%;
        justify-content: center;
        padding: 14px 22px;
    }
}

/* ============================== */
/*  Buttons – Global Styles       */
/* ============================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 13px 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #FF8A33);
    color: var(--white);
    border: none;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 107, 0, 0.45);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white) !important;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color) !important;
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Service card sub-links (unified professional blue) */
.btn-service-link {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid rgba(10, 37, 64, 0.2);
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    padding: 10px 20px;
}

.btn-service-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
}

/* Legacy .btn-primary override to match new palette */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Legacy .btn-outline for other landing pages */
.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================== */
/*  Hero Section                  */
/* ============================== */

.hero {
    height: 100vh;
    min-height: 620px;
    background-image: url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        145deg,
        rgba(10, 37, 64, 0.94) 0%,
        rgba(10, 37, 64, 0.82) 50%,
        rgba(255, 107, 0, 0.12) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 900px;
    padding-top: var(--header-height);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.88;
    max-width: 720px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* ============================== */
/*  Services Section              */
/* ============================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 44px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--accent-light) 0%, transparent 100%);
    transition: height 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    height: 120px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-color);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 76px;
    height: 76px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.06);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-list {
    margin-top: 20px;
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

/* ============================== */
/*  Regions / Local SEO           */
/* ============================== */

.regions-content {
    text-align: center;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.city-tag {
    background-color: var(--white);
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-color);
    border: 1px solid rgba(10, 37, 64, 0.08);
    transition: var(--transition);
}

.city-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================== */
/*  Footer                        */
/* ============================== */

.footer {
    background-color: var(--primary-dark);
    color: #E0E6ED;
    padding: 72px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)) brightness(1.2);
    margin-bottom: 20px;
    opacity: 0.95;
}

.footer-info p {
    margin-bottom: 20px;
    opacity: 0.7;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.contact-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.footer-links h4, .footer-social h4 {
    color: var(--white);
    font-size: 1.15rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 6px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background-color: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 0.88rem;
    opacity: 0.5;
}

/* ============================== */
/*  Responsive – Main Page        */
/* ============================== */

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

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }
}

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

/* ========================================= */
/*  Floating WhatsApp FAB (CRO)              */
/* ========================================= */

.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    z-index: 9999;
    box-shadow:
        0 6px 20px rgba(37, 211, 102, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    animation: whatsappPulse 2.5s infinite;
    text-decoration: none;
}

.whatsapp-fab:hover {
    background-color: #128C7E;
    color: var(--white);
    transform: scale(1.12) rotate(8deg);
    box-shadow:
        0 8px 28px rgba(37, 211, 102, 0.55),
        0 4px 12px rgba(0, 0, 0, 0.2);
    animation: none;
}

.whatsapp-fab i {
    line-height: 1;
}

/* Tooltip on hover */
.whatsapp-fab-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.whatsapp-fab-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
}

.whatsapp-fab:hover .whatsapp-fab-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-4px);
}

@keyframes whatsappPulse {
    0%   { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 18px;
        right: 18px;
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .whatsapp-fab-tooltip {
        display: none;
    }
}

/* ========================================= */
/*  Trust & Social Proof Section              */
/* ========================================= */

.trust-section {
    border-top: 1px solid rgba(10, 37, 64, 0.05);
    border-bottom: 1px solid rgba(10, 37, 64, 0.05);
}

/* Logo Placeholder Row */
.trust-logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 56px;
}

.trust-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 160px;
    height: 100px;
    background-color: var(--white);
    border: 2px dashed rgba(10, 37, 64, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition);
}

.trust-logo-item i {
    font-size: 1.6rem;
    color: rgba(10, 37, 64, 0.2);
}

.trust-logo-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.trust-logo-item:hover i {
    color: var(--accent-color);
}

/* Trust Counters */
.trust-counters {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.trust-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 48px;
    position: relative;
}

.trust-counter-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(10, 37, 64, 0.12);
}

.trust-counter-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 6px;
}

.trust-counter-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Credential Badge */
.trust-credential {
    display: flex;
    justify-content: center;
}

.credential-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--primary-color), #0D3157);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    font-size: 0.92rem;
    line-height: 1.4;
    transition: var(--transition);
}

.credential-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.credential-badge i {
    font-size: 1.6rem;
    color: #4DD87A;
    flex-shrink: 0;
}

.credential-badge strong {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.75;
}

.credential-badge span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Trust section responsive */
@media (max-width: 768px) {
    .trust-logos-row {
        gap: 14px;
    }

    .trust-logo-item {
        width: 130px;
        height: 85px;
        font-size: 0.75rem;
    }

    .trust-counter-item {
        padding: 18px 28px;
    }

    .trust-counter-number {
        font-size: 1.8rem;
    }

    .trust-counter-item:not(:last-child)::after {
        display: none;
    }

    .credential-badge {
        flex-direction: column;
        text-align: center;
        padding: 20px 28px;
        border-radius: var(--radius-md);
    }
}

/* ================================= */
/* ==== LANDING PAGE PPCI/RPCI ==== */
/* ================================= */

.landing-page {
    background-color: #f4f7f6;
}

.lp-nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.hero-lp {
    background-image: url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: auto;
    min-height: 80vh;
    padding: 120px 0 60px;
}

.lp-overlay {
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.95) 0%, rgba(0, 86, 179, 0.85) 100%);
}

.hero-tag {
    display: inline-block;
    background-color: #ff9800;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-lp .hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.text-highlight {
    color: #ffd700;
}

.hero-differentiators {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-differentiators span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 1.05rem;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.hero-differentiators svg {
    color: #25d366;
}

.lp-buttons {
    justify-content: flex-start;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 8px;
}

.btn-green {
    background-color: #25d366;
    border-color: #25d366;
    color: #fff;
}
.btn-green:hover {
    background-color: #128c7e;
    border-color: #128c7e;
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Cards Duo */
.cards-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #25d366;
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}
.ppci-badge {
    background: #e63946;
}

.card-icon-large {
    margin: 20px 0;
    text-align: center;
}

.info-card h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-top: 10px;
    color: #003366;
}

.card-desc {
    text-align: center;
    color: #555;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.check-list {
    margin-bottom: 30px;
    flex-grow: 1;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #444;
}
.check-list li span {
    color: #25d366;
    font-weight: bold;
}

.lp-btn-outline {
    width: 100%;
    text-align: center;
    border: 2px solid #0056b3;
    color: #0056b3;
}
.lp-btn-outline:hover {
    background: #0056b3;
    color: #fff;
}
.ppci-card .lp-btn-outline {
    border-color: #e63946;
    color: #e63946;
}
.ppci-card .lp-btn-outline:hover {
    background: #e63946;
    color: #fff;
}

.info-footer {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1rem;
    color: #666;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 2px;
    background: #00a8e8;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 70px;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: #0056b3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,86,179,0.3);
    z-index: 2;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #003366;
}
.timeline-content p {
    color: #555;
}

.cta-centered {
    text-align: center;
    margin-top: 50px;
}

/* Action Section */
.action-section {
    background-color: #002244;
    color: #fff;
}

.action-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.action-text {
    flex: 1;
}

.action-text h2 {
    color: #fff;
    text-align: left;
}
.action-text h2::after {
    left: 0;
    transform: none;
}

.action-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ccc;
}

.warning-list {
    list-style: none;
}
.warning-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #ffcccc;
}
.warning-list svg {
    color: #ff4444;
    flex-shrink: 0;
}

.action-box {
    background: #fff;
    color: #333;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    width: 400px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.action-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.action-box p {
    margin-bottom: 25px;
    color: #666;
}

.action-box .btn {
    width: 100%;
}

.footer-lp {
    padding: 40px 0 20px;
    background: #111;
}

.footer-simple-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.lp-contact-info {
    margin-top: 20px;
    color: #aaa;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@media (max-width: 900px) {
    .cards-duo {
        grid-template-columns: 1fr;
    }
    .action-container {
        flex-direction: column;
    }
    .action-box {
        width: 100%;
    }
    .hero-lp .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .lp-nav {
        justify-content: center;
    }
    .hero-differentiators {
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-dot {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .timeline-item {
        padding-left: 60px;
    }
}

/* ===================================== */
/* ==== LANDING PAGE LAUDO DE RUÍDO ==== */
/* ===================================== */

.ruido-lp {
    --ruido-primary: #0b3d2e; /* Deep Green */
    --ruido-secondary: #2d2d2d; /* Dark Gray */
    --ruido-accent: #25d366; /* WhatsApp Green */
    --ruido-warning: #e74c3c; /* Red for alerts */
    --ruido-bg: #f4f6f5;
}

.ruido-lp body {
    background-color: var(--ruido-bg);
}

.ruido-lp h2 {
    color: var(--ruido-primary);
}

.ruido-lp .hero-ruido {
    position: relative;
    background: linear-gradient(rgba(11, 61, 46, 0.85), rgba(45, 45, 45, 0.75)), url('../assets/images/equipamento-ruido.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 160px 0 100px;
    text-align: center;
}

.ruido-lp .hero-ruido .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    line-height: 1.1;
}

.ruido-lp .hero-ruido .hero-subtitle {
    font-size: 1.4rem;
    max-width: 850px;
    margin: 0 auto 45px;
    opacity: 0.95;
    font-weight: 300;
}

.ruido-lp .trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.ruido-lp .trust-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.ruido-lp .trust-badge svg {
    color: var(--ruido-accent);
}

/* Problem Section */
.ruido-lp .problem-section {
    padding: 100px 0;
    background: white;
}

.ruido-lp .problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.ruido-lp .problem-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    text-align: center;
    border-bottom: 5px solid var(--ruido-warning);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ruido-lp .problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(231, 76, 60, 0.15);
}

.ruido-lp .problem-icon {
    width: 70px;
    height: 70px;
    background: rgba(231, 76, 60, 0.1);
    color: var(--ruido-warning);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

/* Educational Section */
.ruido-lp .edu-section {
    padding: 100px 0;
    background: var(--ruido-primary);
    color: white;
}

.ruido-lp .edu-section h2 {
    color: white;
    margin-bottom: 40px;
}

.ruido-lp .edu-section h2::after {
    background-color: var(--ruido-accent);
}

.ruido-lp .edu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ruido-lp .edu-text p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.ruido-lp .edu-text blockquote {
    font-style: italic;
    border-left: 5px solid var(--ruido-accent);
    padding: 20px 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 0 15px 15px 0;
    margin: 30px 0;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* How it works */
.ruido-lp .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.ruido-lp .step-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    position: relative;
}

.ruido-lp .step-number {
    width: 70px;
    height: 70px;
    background: var(--ruido-primary);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: -65px auto 30px;
    box-shadow: 0 10px 20px rgba(11, 61, 46, 0.3);
}

/* Target Audience */
.ruido-lp .target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.ruido-lp .target-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--ruido-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.ruido-lp .target-item:hover {
    background: var(--ruido-primary);
    color: white;
    transform: scale(1.05);
}

/* Footer & Final CTA */
.ruido-lp .final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--ruido-primary) 0%, #1a4a3b 100%);
    color: white;
    text-align: center;
}

.ruido-lp .final-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Float WhatsApp */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulseWA 2s infinite;
}

@keyframes pulseWA {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-wa:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
}

@media (max-width: 992px) {
    .ruido-lp .hero-ruido .hero-title {
        font-size: 2.8rem;
    }
    .ruido-lp .edu-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ruido-lp .edu-text blockquote {
        border-right: 5px solid var(--ruido-accent);
        border-radius: 15px;
    }
}

@media (max-width: 768px) {
    .ruido-lp .steps-grid {
        grid-template-columns: 1fr;
        gap: 80px;
        margin-top: 80px;
    }
    .ruido-lp .hero-ruido {
        padding: 120px 0 60px;
    }
    .ruido-lp .hero-ruido .hero-title {
        font-size: 2.2rem;
    }
    .float-wa {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* ===================================== */
/* === LANDING PAGE PLANOS EMERGÊNCIA === */
/* ===================================== */

.emergencia-lp {
    --em-primary: #0b3d2e; /* Deep Green */
    --em-secondary: #2d2d2d; /* Dark Gray */
    --em-danger: #c0392b; /* Warning Red */
    --em-accent: #25d366; /* WhatsApp Green */
    --em-bg: #ffffff;
}

.emergencia-lp h2 {
    color: var(--em-primary);
}

.emergencia-lp .hero-em {
    position: relative;
    background: linear-gradient(rgba(11, 61, 46, 0.9), rgba(192, 57, 43, 0.4)), url('../assets/images/emergencia-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 160px 0 100px;
    text-align: center;
}

.emergencia-lp .hero-em .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.emergencia-lp .hero-em .hero-subtitle {
    font-size: 1.4rem;
    max-width: 850px;
    margin: 0 auto 45px;
    opacity: 0.95;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.emergencia-lp .danger-card {
    border-top: 5px solid var(--em-danger);
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(192, 57, 43, 0.1);
    transition: all 0.3s ease;
}

.emergencia-lp .danger-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(192, 57, 43, 0.2);
}

.emergencia-lp .danger-icon {
    color: var(--em-danger);
    margin-bottom: 20px;
}

.emergencia-lp .comparison-box {
    background: #fdf2f2;
    border: 2px dashed var(--em-danger);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
}

.emergencia-lp .benefit-badge {
    background: var(--em-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.emergencia-lp .target-grid-em {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.emergencia-lp .target-box {
    background: white;
    border-left: 6px solid var(--em-primary);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.emergencia-lp .target-box svg {
    color: var(--em-primary);
    flex-shrink: 0;
}

.emergencia-lp .auth-footer {
    background: var(--em-secondary);
    color: #eee;
    padding: 100px 0 40px;
}

.emergencia-lp .final-cta-em {
    background: linear-gradient(135deg, var(--em-danger) 0%, #a93226 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.emergencia-lp .btn-white {
    background: white;
    color: var(--em-danger);
    border-color: white;
}

.emergencia-lp .btn-white:hover {
    background: #f0f0f0;
    color: #a93226;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .emergencia-lp .hero-em .hero-title {
        font-size: 2.2rem;
    }
}


/* ===================================== */
/* === LANDING PAGE ALARME INCÊNDIO ==== */
/* ===================================== */

.alarme-lp {
    --al-primary: #0b3d2e; /* Deep Green */
    --al-secondary: #2d2d2d; /* Dark Gray */
    --al-danger: #d43f33; /* Red - Fire Alarm */
    --al-accent: #25d366; /* WhatsApp Green */
    --al-bg: #fdfdfd;
}

.alarme-lp h2 {
    color: var(--al-primary);
}

.alarme-lp .hero-al {
    position: relative;
    background: linear-gradient(rgba(11, 61, 46, 0.9), rgba(45, 45, 45, 0.7)), url('../assets/images/alarme-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 160px 0 100px;
    text-align: center;
}

.alarme-lp .hero-al .hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    line-height: 1.15;
}

.alarme-lp .hero-al .hero-subtitle {
    font-size: 1.35rem;
    max-width: 850px;
    margin: 0 auto 45px;
    opacity: 0.95;
}

.alarme-lp .deadline-box {
    background: #fffafa;
    border: 1px solid #ffccd5;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.alarme-lp .deadline-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.alarme-lp .deadline-icon {
    width: 60px;
    height: 60px;
    background: var(--al-danger);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alarme-lp .compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.alarme-lp .service-highlight {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 8px solid var(--al-danger);
}

.alarme-lp .target-list-al {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 50px;
}

.alarme-lp .target-card-al {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border-bottom: 3px solid var(--al-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.alarme-lp .final-cta-al {
    background: var(--al-primary);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.alarme-lp .btn-alarme {
    background: var(--al-danger);
    color: white;
    border-color: var(--al-danger);
    font-weight: 800;
}

.alarme-lp .btn-alarme:hover {
    background: #b52b21;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .alarme-lp .hero-al .hero-title {
        font-size: 2.2rem;
    }
    .alarme-lp .compliance-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================== */
/* === LANDING PAGE BRIGADA INCÊNDIO === */
/* ===================================== */

.brigada-lp {
    --br-primary: #0b3d2e; /* Deep Green */
    --br-secondary: #2d2d2d; /* Dark Gray */
    --br-accent: #f39c12; /* Warning Orange */
    --br-whatsapp: #25d366;
    --br-bg: #ffffff;
}

.brigada-lp h2 {
    color: var(--br-primary);
}

.brigada-lp .hero-br {
    position: relative;
    background: linear-gradient(rgba(11, 61, 46, 0.85), rgba(45, 45, 45, 0.75)), url('../assets/images/brigada-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 160px 0 100px;
    text-align: center;
}

.brigada-lp .hero-br .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    line-height: 1.1;
}

.brigada-lp .hero-br .hero-subtitle {
    font-size: 1.4rem;
    max-width: 850px;
    margin: 0 auto 45px;
    opacity: 0.95;
    font-weight: 300;
}

.brigada-lp .process-grid-br {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.brigada-lp .step-card-br {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    border-bottom: 5px solid var(--br-accent);
}

.brigada-lp .step-number-br {
    width: 60px;
    height: 60px;
    background: var(--br-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: -70px auto 25px;
    box-shadow: 0 8px 15px rgba(11, 61, 46, 0.2);
}

.brigada-lp .edu-box-br {
    background: #f8fbf9;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.brigada-lp .edu-box-br h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--br-primary);
}

.brigada-lp .edu-box-br h3 svg {
    color: var(--br-accent);
}

.brigada-lp .btn-brigada {
    background: var(--br-whatsapp);
    color: white;
    border-color: var(--br-whatsapp);
    font-weight: 800;
}

.brigada-lp .btn-brigada:hover {
    background: #128c7e;
    transform: scale(1.05);
}

.brigada-lp .auth-section-br {
    background: var(--br-secondary);
    color: white;
    padding: 80px 0;
}

.brigada-lp .final-cta-br {
    background: linear-gradient(135deg, var(--br-primary) 0%, #1a4a3b 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

@media (max-width: 768px) {
    .brigada-lp .hero-br .hero-title {
        font-size: 2.2rem;
    }
    .brigada-lp .process-grid-br {
        margin-top: 80px;
        gap: 60px;
    }
}

/* ===================================== */
/* === BIBLIOTECA DE NORMAS (PAGE) ==== */
/* ===================================== */

.lib-page {
    --lib-primary: #0b3d2e;
    --lib-secondary: #2d2d2d;
    --lib-bg: #f8f9fa;
    --lib-text: #333;
}

.lib-page .hero-lib {
    position: relative;
    background: linear-gradient(rgba(11, 61, 46, 0.9), rgba(45, 45, 45, 0.7)), url('../assets/images/biblioteca-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 160px 0 100px;
    text-align: center;
}

.lib-page .hero-lib .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
}

.lib-page .hero-lib .hero-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
}

.lib-page .resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: -60px; /* Overlap with hero a bit or just keep spacing */
    position: relative;
    z-index: 2;
}

.lib-page .resource-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lib-page .resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(11, 61, 46, 0.15);
}

.lib-page .resource-icon {
    width: 80px;
    height: 80px;
    background: rgba(11, 61, 46, 0.05);
    color: var(--lib-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.lib-page .resource-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--lib-primary);
}

.lib-page .resource-card p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 30px;
    flex-grow: 1;
}

.lib-page .btn-lib {
    background: var(--lib-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.lib-page .btn-lib:hover {
    background: #1a4a3b;
    transform: scale(1.02);
}

.lib-page .edu-section-lib {
    padding: 100px 0;
    background: white;
    border-top: 1px solid #eee;
}

.lib-page .edu-content-lib {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lib-page .edu-content-lib blockquote {
    font-style: italic;
    font-size: 1.25rem;
    color: #555;
    border-left: 5px solid var(--lib-primary);
    padding: 20px 40px;
    margin: 40px 0;
    background: #f9f9f9;
}

.lib-page .final-cta-lib {
    background: linear-gradient(135deg, var(--lib-primary) 0%, #1a4a3b 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.lib-page .final-cta-lib h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.lib-page .btn-white-lib {
    background: white;
    color: var(--lib-primary);
    padding: 20px 50px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.lib-page .btn-white-lib:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .lib-page .hero-lib .hero-title {
        font-size: 2.5rem;
    }
    .lib-page .resource-grid {
        margin-top: 40px;
    }
}
