/* Custom variables matching mockup colors */
:root {
    --primary-blue: #0b2e83;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.07), 0 5px 15px rgba(0, 0, 0, 0.03);
    --hover-shadow: 0 30px 60px rgba(11, 46, 131, 0.16), 0 10px 25px rgba(11, 46, 131, 0.06);
}

html, body {
    color: var(--text-dark);
    margin: 0;
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    background: url('../images/background.png') no-repeat center center fixed;
    background-size: cover;
}

@media (min-width: 992px) {
    html, body {
        height: 100vh;
        overflow: hidden;
    }
    .brand-header {
        margin: 4rem 0 0 auto !important;
        padding-left: 6rem !important;
    }
    .brand-section {
        justify-content: flex-start !important;
    }
    .main-wrapper {
        padding: 1rem 1.5rem !important;
        padding-bottom: 15rem !important;
    }
    .system-card {
        padding: 2rem 1.5rem 1.5rem 1.5rem !important;
    }
    .icon-wrapper {
        height: 90px !important;
        margin-bottom: 1rem !important;
    }
    .menuimg {
        height: 80px !important;
        width: 80px !important;
    }
    .system-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    .system-desc {
        margin-bottom: 1.25rem !important;
    }
}

/* Brand Header Styling (No background container) */
.brand-header {
    width: 95%;
    max-width: 1400px;
    margin: 2rem auto 0 auto;
    padding-top: 1rem;
    padding-left: 0;
    text-align: center;
}

.brand-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    height: 52px;
    width: auto;
}

.brand-divider {
    border-left: 1px solid rgba(0, 0, 0, 0.15);
    height: 40px;
    margin: 0 1.5rem;
}

.brand-text {
    text-align: left;
}

.brand-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.1;
}

.brand-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
    margin-top: 0.35rem;
}


/* Main Cards Section */
.main-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.cards-container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

.cards-row {
    display: flex;
    justify-content: flex-end; /* Align cards to the right overlaying the mesh background */
}

@media (max-width: 991.98px) {
    .cards-row {
        justify-content: center;
    }
}

.system-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    padding: 3rem 2rem 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(11, 46, 131, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    animation: slideDownFade 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.system-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(11, 46, 131, 0.15);
    box-shadow: 0 15px 30px 0 rgba(11, 46, 131, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.system-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.system-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.icon-wrapper {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.menuimg {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.card-divider {
    border-top: 1px solid #f1f5f9;
    margin: 1.5rem 0;
}

/* Mockup Buttons style */
.go-btn {
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 1.05rem;
    width: 60%;
    min-width: 130px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.go-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.go-btn:active {
    transform: translateY(1px);
}

.disabled-btn {
    pointer-events: none;
    opacity: 0.55;
    background-color: #cbd5e1 !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

.btn-isupport {
    background-color: #2563eb; 
}

.btn-isurvey {
    background-color: #00a389; 
}

.btn-iservice {
    background-color: #1e3a8a; 
}


