:root {
    --deep-blue: #002B49;
    --bright-blue: #0072CE;
    --vibrant-cyan: #00C6FF;
    --bg-gradient-start: #f0f4f8;
    --bg-gradient-end: #d9e2ec;
    --text-dark: #102a43;
    --text-muted: #627d98;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-gradient-start);
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 114, 206, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 181, 226, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, var(--deep-blue), var(--bright-blue));
    opacity: 0.03;
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
}

body::after {
    content: '';
    position: fixed;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: var(--vibrant-cyan);
    opacity: 0.03;
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.page-header-custom {
    text-align: center;
    margin-bottom: 40px;
}

.page-header-custom h2 {
    color: var(--deep-blue);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 1px;
    margin: 0;
    padding-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-header-custom h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: var(--bright-blue);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 114, 206, 0.3);
}

.access-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.1); 
    transition: all 0.3s ease;
    border: none; 
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--bright-blue); 
    transform: scaleX(1);
    transform-origin: left;
    transition: background 0.3s ease, height 0.3s ease;
}

.access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -10px rgba(0, 43, 73, 0.2);
}

.access-card:hover::before {
    background: var(--vibrant-cyan);
    height: 8px;
}

.logo-wrapper {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.logo-wrapper img {
    max-width: 85%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.access-card:hover .logo-wrapper img {
    transform: scale(1.1);
}

.card-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    display: block;
    transition: color 0.3s;
}

.access-card:hover .card-title {
    color: var(--bright-blue);
}

.btn-custom {
    background-color: #f0f7ff;
    color: var(--deep-blue);
    border: none;
    border-radius: 50px;
    padding: 10px 40px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.access-card:hover .btn-custom {
    background: linear-gradient(135deg, var(--bright-blue), var(--vibrant-cyan));
    color: #ffffff;
    box-shadow: 0 8px 15px rgba(0, 114, 206, 0.3);
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .row-flex {
        display: flex;
        flex-wrap: wrap;
    }
    .row-flex > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .access-card {
        flex-direction: row;
        padding: 20px;
        text-align: left;
        align-items: center;
        margin-bottom: 15px;
        border-radius: 12px;
        border-left: 5px solid var(--bright-blue); 
    }
    
    .access-card::before { display: none; }

    .access-card:hover, .access-card:active {
        border-left-color: var(--vibrant-cyan);
        background-color: #ffffff;
    }

    .logo-wrapper {
        width: 70px;
        height: 55px;
        margin-bottom: 0;
        margin-right: 20px;
        justify-content: flex-start;
        padding: 0;
    }
    
    .card-content-wrapper {
        flex-grow: 1;
    }

    .card-title {
        font-size: 15px;
        margin-bottom: 0;
        color: var(--text-dark);
    }

    .btn-custom {
        display: none;
    }

    .mobile-arrow {
        display: block !important;
        color: var(--bright-blue);
        font-size: 18px;
    }
}

.mobile-arrow {
    display: none;
}