:root {
    --primary-color: #0f172a;
    --secondary-color: #334155;
    --accent-blue: #3b82f6;
    --accent-indigo: #6366f1;
    --accent-cyan: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --card-hover-shadow: 0 20px 40px 0 rgba(31, 38, 135, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    background-color: #f0f9ff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Image Handling */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bg.png') no-repeat center center/cover;
    z-index: -2;
}

/* Overlay for better text readability */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.main-container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo-text h1 {
    font-size: 2rem;
    /* Increased size for M.O.G.C */
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: 0.1em;
    /* Spacing for acronym */
}

/* Removed logo-text p since it was deleted */

.date-display {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
}

.welcome-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-indigo));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.welcome-section p {
    font-size: 1.125rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid System */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--glass-shadow);
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--card-hover-shadow);
    background: rgba(255, 255, 255, 0.85);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.glass-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.color-1 {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.color-2 {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.color-3 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.color-4 {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.color-5 {
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.color-6 {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.color-7 {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

.color-8 {
    background: linear-gradient(135deg, #64748b, #475569);
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.4);
}

.color-9 {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.color-10 {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.4);
}

.color-11 {
    background: linear-gradient(135deg, #be123c, #9f1239);
    box-shadow: 0 4px 15px rgba(190, 18, 60, 0.4);
}

.color-gray {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1.5;
}

.hover-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    color: var(--accent-blue);
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.glass-card:hover .hover-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Animations */
@keyframes fade-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-down {
    animation: fade-down 0.8s ease-out forwards;
}

.animate-fade-up {
    animation: fade-up 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* Placeholder Card Styling */
.placeholder-card {
    opacity: 0.8;
    border-style: dashed;
    background: rgba(255, 255, 255, 0.4);
}

.placeholder-card:hover {
    background: rgba(255, 255, 255, 0.6);
    cursor: default;
    transform: none;
    box-shadow: var(--glass-shadow);
}

.placeholder-card .icon-wrapper {
    background: #cbd5e1;
    color: #f1f5f9;
    box-shadow: none;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .logo-container {
        flex-direction: column;
    }

    .welcome-section h2 {
        font-size: 2rem;
    }
}