/**
 * Global Styles and Custom Utilities for ROOT Project
 */
body {
    font-family: 'Inter', sans-serif;
    background-color: #FAFAFA;
    color: #000000;
    line-height: 1.6;
    scroll-behavior: smooth; 
    overflow-x: hidden; 
}

img { max-width: 100%; height: auto; }

/* Custom Font */
.font-berkshire { font-family: 'Berkshire Swash', cursive; }

/* Background helpers */
.bg-primary-light { background-color: #DBF677; } 
.bg-primary-dark { background-color: #5656CE; } 

/* Borders and Effects */
.section-border { border-left: 4px solid #DBF677; }

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -2px; left: 0; background-color: #5656CE;
    transition: width 0.3s ease-in-out;
}
.link-underline:hover::after { width: 100%; }

/* Animations */
.fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Toast Notification */
#toast-notification {
    visibility: hidden; opacity: 0;
    transform: translateY(-20px) translateX(-50%);
}
#toast-notification.show {
    visibility: visible; opacity: 1;
    transform: translateY(0) translateX(-50%);
}

/* Social Hover */
.hover-facebook:hover { color: #1877F2; }
.hover-instagram:hover { color: #E1306C; }

/* Custom Badge */
.coming-soon-badge {
    position: absolute; top: 0; right: 0;
    background-color: #FFC107; color: #333333;
    padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 700;
    border-radius: 0 0.5rem 0 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* UTILITY TO HIDE BADGE MANUALLY */
.badge-hidden {
    display: none !important;
}

/* Vision Expansion Panel */
#vision-panel {
    transform-origin: top;
    max-height: 0;
    opacity: 0;
    transform: scale(0.95);
    /* Smoother transition */
    transition: max-height 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.7s ease, transform 0.7s ease;
}

#vision-panel.open {
    max-height: 800px; /* Increased max-height to ensure it fits text */
    opacity: 1;
    transform: scale(1);
}

/* Typewriter cursor */
#mission-text-typed::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    animation: blink-cursor 1s step-start infinite;
}

@keyframes blink-cursor {
    50% { opacity: 0; }
}

/* --- NEW RESOURCE LINK STYLES --- */
.resource-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb; /* gray-200 */
    border-radius: 0.5rem;
    color: #374151; /* gray-700 */
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.resource-link:hover {
    background-color: #5656CE;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(86, 86, 206, 0.2);
    border-color: #5656CE;
}