/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text-dark: #111827; /* Darker for better contrast */
    --text-light: #000; /* Less gray, more vibrant */
    --bg-light: #f9fafb;
    --card-bg: #ffffff;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Card List Container */
.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 30px 0;
}

/* Modern card style */
.card-horizontal {
    display: flex;
    align-items: flex-start;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-hover);
    border-color: transparent;
}

.card-horizontal:hover::before {
    transform: scaleY(1);
}

/* Icon container */
.icon-circle {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 24px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    overflow: hidden;
}

.card-horizontal:hover .icon-circle {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    transform: scale(1.08);
}

/* Icon images */
.icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transition: var(--transition);
    border-radius: 50%;
}

/* Text styles */
.card-text {
    flex: 1;
}

.card-text p {
    margin: 0;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
}

.card-text strong {
    font-weight: 700; /* Bolder */
    color: var(--text-dark);
    display: block;
    margin-top: 8px;
    font-size: 16px; /* Slightly larger */
}

/* Arrow styles */
.card-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    color: var(--text-light);
    transition: var(--transition);
}

.card-horizontal:hover .card-arrow {
    color: var(--primary);
    transform: translateX(5px);
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .card-list {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 0px 0;
        margin-top: -21px;
    }

    .card-horizontal {
        padding: 18px;
    }

    .icon-circle {
        width: 72px;
        height: 72px;
        margin-right: 18px;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    }

    .card-text p {
        font-size: 14px;
    }

    .card-arrow {
        margin-left: 8px;
    }
}

/* Responsive: Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .card-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation for page load */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-horizontal {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.card-horizontal:nth-child(1) {
    animation-delay: 0.1s;
}

.card-horizontal:nth-child(2) {
    animation-delay: 0.2s;
}

.card-horizontal:nth-child(3) {
    animation-delay: 0.3s;
}

.card-horizontal:nth-child(4) {
    animation-delay: 0.4s;
}
/* Header Banner */
.header-banner {
    width: 100%;
    max-width: 975px; /* Match the image width */
    height: auto;
    margin: 0 auto 20px; /* Center horizontally and add bottom margin */
    overflow: visible; /* Ensure no cropping */
    text-align: center;
}

.header-banner img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-width: 975px; /* Match the image width */
    max-height: 45px; /* Match the image height */
    object-fit: contain; /* Ensure the full image is visible */
}
