:root {
    --text-color: #37474f;
    --text-secondary: #546e7a;
    --background-color: #fafafa;
    --card-bg: #ffffff;
    --shadow-1: 0 2px 5px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s;

    /* Theme Colors */
    --color-orange: #FF9800;
    --color-orange-light: #FFF3E0;
    --color-green: #4CAF50;
    --color-green-light: #E8F5E9;
    --color-yellow: #FFC107;
    --color-yellow-light: #FFF8E1;
    --color-blue-grey: #607d8b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 40px 40px;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 5rem;
    margin-top: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.logo {
    height: 90px;
    width: auto;
    margin-right: 1.2rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.site-title {
    font-family: 'Roboto Slab', serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -1px;
    background: linear-gradient(135deg, #37474f 0%, #263238 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.site-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    margin-bottom: 3rem;
}

/* Card Styles */
.card {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    width: 320px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) cubic-bezier(.25, .8, .25, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border-top: 6px solid transparent;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

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

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

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

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.card-content {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-icon {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    border-radius: 20px;
    transition: all var(--transition-speed);
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-action {
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
    background-color: rgba(0, 0, 0, 0.02);
}

/* Theme Specific Styles */
/* Orange Theme */
.card-orange {
    border-color: var(--color-orange);
}

.card-orange .card-icon {
    color: var(--color-orange);
    background-color: var(--color-orange-light);
}

.card-orange .card-action {
    color: var(--color-orange);
}

.card-orange:hover .card-action {
    background-color: var(--color-orange);
    color: white;
}

/* Green Theme */
.card-green {
    border-color: var(--color-green);
}

.card-green .card-icon {
    color: var(--color-green);
    background-color: var(--color-green-light);
}

.card-green .card-action {
    color: var(--color-green);
}

.card-green:hover .card-action {
    background-color: var(--color-green);
    color: white;
}

/* Yellow Theme */
.card-yellow {
    border-color: var(--color-yellow);
}

.card-yellow .card-icon {
    color: #F57F17;
    background-color: var(--color-yellow-light);
}

/* Darker yellow for icon visibility */
.card-yellow .card-action {
    color: #F57F17;
}

.card-yellow:hover .card-action {
    background-color: var(--color-yellow);
    color: #37474f;
}

/* Dark text on yellow bg */


.arrow-icon {
    transition: transform 0.2s;
}

.card:hover .arrow-icon {
    transform: translateX(5px);
}

/* Footer */
.footer {
    margin-top: auto;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }

    .card {
        width: 100%;
        max-width: 350px;
    }

    .container {
        padding: 1.5rem;
    }
}

/* Notification Popup */
.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 15px 35px 15px 20px;
    z-index: 1000;
    max-width: 320px;
    animation: slideInRight 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 5px solid var(--color-orange);
    transition: opacity 0.3s ease;
}

.popup-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

.popup-content a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted var(--color-orange);
}

.popup-content a:hover {
    border-bottom-style: solid;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #999;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    transition: color 0.2s;
    padding: 2px;
}

.close-btn:hover {
    color: #333;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Center Notification Popup */
.center-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    transition: opacity 0.3s ease;
}

.center-popup-content {
    background-color: #fff;
    padding: 35px 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
    max-width: 90%;
    width: max-content;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 5px solid var(--color-blue-grey);
}

.center-popup-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
    line-height: 1.6;
}

.center-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.center-popup-close:hover {
    color: #333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}