/* Eximhouse Custom Styles & Animations */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
    --primary: #000000;
    --action-green: #04724D;
    --action-green-hover: #03593c;
    --secondary: #4b616e;
    --background: #f9f9fe;
    --surface: #f9f9fe;
    --on-surface: #1a1c1f;
    --border-slate: #E2E8F0;
    --surface-container: #ededf2;
    --surface-container-low: #f3f3f8;
    --surface-container-lowest: #ffffff;
    --secondary-container: #cbe3f2;
    --on-secondary-container: #4f6673;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--on-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    display: inline-block;
}

/* News summary accordion effect */
.news-summary {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
}

.news-item.expanded .news-summary,
.news-item:hover .news-summary {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 12px;
}

.summary-inner {
    overflow: hidden;
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.news-item.expanded .chevron-icon {
    transform: rotate(180deg);
}

/* Mobile Drawer Styles */
.nav-drawer {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-backdrop {
    transition: opacity 0.3s ease;
}

/* Custom focus ring */
.form-input-focus:focus {
    border-color: var(--action-green);
    box-shadow: 0 0 0 2px rgba(4, 114, 77, 0.15);
    outline: none;
}

/* Pulse animation for live loading */
@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.animate-pulse-subtle {
    animation: pulse-subtle 1.8s infinite ease-in-out;
}
