:root {
    --primary-color: #004481;
    /* Blue from logo */
    --secondary-color: #fca311;
    /* Orange from logo */
    --accent-color: #14213d;
    --text-dark: #1b263b;
    --text-muted: #6c757d;
    --light-bg: #f4f7fa;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
    --shadow-md: 0 .5rem 1rem rgba(0, 0, 0, .15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar-brand img {
    height: 45px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #003366;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.4rem;
    border-radius: 50rem;
    font-weight: 600;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0 0 10px;
    /* Minimum bottom padding */
    background-image: url('../img/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    /* Force exact full viewport height */
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    /* Push content to bottom */
    color: white;
}

.hero-content {
    background: #ffffff;
    padding: 1rem 3.5rem;
    border-radius: 40px 40px 0 0;
    /* Card/Ficha style sits at bottom */
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: none;
    max-width: 1400px;
    margin: 0 auto;
    color: var(--text-dark);
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .hero-content {
        padding: 2rem;
        border-radius: 30px 30px 0 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-title-dark {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1b263b;
    margin-bottom: 0;
}

.hero-title-dark span {
    color: #007bff;
}

.hero-bubble-card {
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2.5rem 3.5rem !important;
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
}

.software-pill {
    background: #f0f7ff;
    color: #007bff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.hero-separator {
    color: #e0e0e0;
    font-size: 2rem;
    font-weight: 300;
    display: flex;
    justify-content: center;
}

.hero-desc-alt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.navbar-brand-text {
    font-weight: 800;
    font-size: 1.4rem;
    color: #007bff;
    margin-left: 10px;
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-weight: 400;
}

@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }
}

/* Features / Modules */
.bg-light-alt {
    background-color: var(--light-bg);
}

/* Suite / Solutions Section */
.suite-section {
    position: relative;
    padding: 80px 0;
    background-image: linear-gradient(rgba(40, 33, 65, 0.8), rgba(55, 72, 111, 0.9)), url('../img/suite_bg.jpg');
    /* Dark blue-ish overlay */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.suite-section .section-subtitle {
    color: var(--secondary-color) !important;
}

.suite-section h2,
.suite-section .lead {
    color: white !important;
}

.module-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: none;
    transition: all 0.3s ease;
    height: 100%;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.module-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 68, 129, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* Pain Points */
.pain-point-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.pain-point-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.pain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #002a52 100%);
    color: white;
    border-radius: var(--border-radius-xl);
    padding: 4rem 2rem;
    overflow: hidden;
    position: relative;
}

.cta-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

/* Footer */
footer a:hover {
    color: var(--secondary-color) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }
}

/* =========================================
   Entry / Login Page Styles
   ========================================= */
.entry-body {
    background-image: url('../img/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Overlay for better text contrast if needed, or just to darken */
.entry-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 68, 129, 0.85), rgba(0, 30, 60, 0.9));
    z-index: 0;
}

.entry-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

/* Entrance Animation */
@keyframes fadeInUp {
    from {
        opactiy: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.entry-header {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.entry-logo {
    background: white;
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.entry-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.entry-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Profile Selection Cards */
.profile-selection-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.profile-selection-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: white;
}

.profile-selection-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.profile-selection-card:hover::after {
    transform: scaleX(1);
}

.profile-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3.5rem;
    box-shadow: inset 0 0 20px rgba(0, 68, 129, 0.05);
    transition: all 0.4s ease;
}

.profile-selection-card:hover .profile-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
    color: white;
    transform: rotateY(180deg);
}

.profile-icon-wrapper i {
    transition: transform 0.4s ease;
    display: inline-block;
}

.profile-selection-card:hover .profile-icon-wrapper i {
    transform: rotateY(-180deg);
    /* Counteract parent rotation */
}

.profile-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.profile-card-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 3rem;
    /* Align buttons */
}

.btn-entry {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 50rem;
    font-weight: 600;
    width: 100%;
    display: block;
    transition: all 0.3s ease;
}

.profile-selection-card:hover .btn-entry {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 68, 129, 0.3);
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.back-link:hover {
    color: white;
}