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

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url('assets/bg1.jpg') center / cover no-repeat;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

body::-webkit-scrollbar {
    display: none; /* WebKit browsers (Chrome, Safari, Edge) */
}

html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

html::-webkit-scrollbar {
    display: none; /* WebKit browsers (Chrome, Safari, Edge) */
}

.utility-topbar {
    background: #ff6565;
    color: #ffffff;
    font-size: 14px;
}

.utility-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: .4rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.utility-inner .mayor {
    opacity: .95;
}

.utility-actions .lang-btn { display: none; }

/* Custom language dropdown */
.lang-menu { position: relative; }
.lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    color: #ffffff;
    border-radius: 8px;
    padding: .28rem .6rem;
    cursor: pointer;
}
.lang-trigger:hover { background: rgba(255,255,255,.18); }
.lang-trigger .chevron { opacity: .9; }
.lang-dropdown {
    position: absolute;
    right: 0;
    margin-top: .35rem;
    min-width: 240px;
    background: #ffffff;
    color: #1b1b1b;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
    padding: .35rem 0;
    list-style: none;
    z-index: 1000;
}
.lang-dropdown li {
    padding: .55rem .8rem;
    cursor: pointer;
}
.lang-dropdown li:hover { background: #f5f5f5; }


.header {
    margin-bottom: 20px;
}

.header a {
    margin-right: 15px;
    text-decoration: none;
    color: orange;
}

/* df-messenger {
    --df-messenger-bot-message: #df9b56;
    --df-messenger-button-titlebar-color: #df9b56;
    --df-messenger-chat-background-color: #fafafa;
    --df-messenger-font-color: white;
    --df-messenger-send-icon: #df9b56;
    --df-messenger-user-message: #479b3d;
} */

.navbar {
    background-color: #fff;
    padding: 1.25rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


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

/* Container spacing at various breakpoints */
@media (max-width: 1280px) {
    .container,
    .navbar > .container,
    .legal-inner,
    .footer-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (max-width: 640px) {
    .container,
    .navbar > .container,
    .legal-inner,
    .footer-inner { padding-left: 16px; padding-right: 16px; }
}


.navbar .logo {
    font-size: 2.75rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1;
}
.logo-img { width: 44px; height: 44px; border-radius: 4px; display: block; }

.navbar .nav-links a {
    text-decoration: none;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin-left: 0.5rem;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}


.navbar .nav-links .login-btn {
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
}

.navbar .nav-links .login-btn:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
}

.navbar .nav-links .register-btn {
    background-color: #FF3333;
    color: white;
    border: 1px solid #FF3333;
}

.navbar .nav-links .register-btn:hover {
    background-color: #ff6565;
    border-color: #ff6565;
}

.category-nav {
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.category-scroller {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    padding: .75rem 1rem;
    overflow-x: auto;
}

.category-scroller a {
    white-space: nowrap;
    text-decoration: none;
    color: #333;
    padding: .5rem .9rem;
    border-radius: 999px;
    border: 1px solid #eee;
    background: #fff;
}

.hero-banner {
    position: relative;
    min-height: clamp(300px, 38vw, 560px);
    background-image: url('https://pbs.twimg.com/media/DHBIjg1UwAAekw8?format=jpg&name=4096x4096');
    background-size: cover;
    background-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}

.hero-chip {
    background: rgba(255,255,255,0.95);
    padding: .35rem .7rem;
    border-radius: 0px;
    font-weight: 600;
    letter-spacing: .08em;
}

.hero-title {
    margin: 0;
    font-size: clamp(32px, 6vw, 56px);
    color: #FF3333;
    padding: .25rem .75rem;
    background: #ffffff;
    border-radius: 0px;
}

.quick-actions {
    max-width: 1200px;
    margin: -50px auto 3.2rem auto; 
    position: relative;
    z-index: 5;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.qa {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem; 
    flex: 0 1 160px; 
}

.qa-icon {
    width: 98px;
    height: 98px; 
    display: grid;
    place-items: center;
    background: #ffffff; 
    border: none;
    border-radius: 999px;
    font-size: 30px; 
    box-shadow: 0 12px 22px rgba(0,0,0,0.10); 
    color: #1b1b1b;
    transform: translateZ(0);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.qa-icon svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
.qa-text {
    font-weight: 700;
    text-align: center;
    margin-top: 6px;
    font-size: 1.18rem;
    line-height: 1.25;
}
.qa:hover .qa-icon {
    background-color: #FF3333; /* fill */
    color: #ffffff; /* icon/text color */
}
.qa:hover .qa-icon svg {
    transform: scale(1.1);
}

/* =================================== */
/* RESPONSIVE STYLES (Desktop First) */
/* =================================== */

/* Tablet Landscape (and smaller) */
@media (max-width: 991px) and (min-width: 768px) {
    .container, .navbar > .container, .legal-inner, .footer-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .qa { flex: 0 1 140px; }
    .qa-icon { width: 88px; height: 88px; }
    .qa-text { font-size: 1.05rem; }
    
    .about-bento {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-left {
        grid-template-columns: 100px 1fr;
    }
    
    .team-content {
        padding: 2.5rem 1.5rem; 
        max-width: 800px; 
    }
    
    .card-image-container {
        height: 220px;
    }
}

/* Tablet Portrait (and smaller) */
@media (max-width: 767px) {
    .quick-actions { 
        margin: -40px auto 2.2rem auto; 
        gap: .9rem; 
        padding: 0 0.5rem;
    }
    .qa { flex: 0 1 120px; }
    .qa-icon { width: 76px; height: 76px; font-size: 26px; }
    .qa-text { font-size: .95rem; margin-top: 4px; }
    .hero-banner { min-height: clamp(240px, 48vw, 420px); }
    
    .about-bento {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-left {
        grid-template-columns: 80px 1fr;
        gap: 0.8rem;
    }
    
    .team-content {
        padding: 2rem 1rem;
        max-width: 600px;
    }
    
    .team-grid {
        gap: 1.5rem;
    }
    
   
    
    .card-image-container {
        height: 200px;
    }
    
    .stats-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .navbar { padding: .75rem 1rem; }
    .navbar .logo { font-size: 1.25rem; }
    .utility-inner { padding: .3rem 1rem; }
    .hero-title { font-size: clamp(28px, 8vw, 42px); }
    .quick-actions { margin: -36px auto 1.8rem auto; gap: .75rem; }
    .qa { flex: 0 1 108px; }
    .qa-icon { width: 68px; height: 68px; font-size: 22px; }
    .qa-text { font-size: .9rem; }

    .content { padding: 1rem; }
    
    .about-bento {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .about-left {
        grid-template-columns: 60px 1fr;
        gap: 0.6rem;
        padding: 0.6rem;
    }
    
    .about-right {
        grid-template-rows: auto auto;
        gap: 0.6rem;
    }
    
    .about-card {
        padding: 0.6rem;
    }
    
    .about-card h3 {
        font-size: 0.9rem;
    }
    
    .about-card p {
        font-size: 0.85rem;
    }
    
    .team-content {
        padding: 1.2rem 0.8rem;
        max-width: 100%;
    }
    
    .team-title {
        font-size: clamp(20px, 6vw, 32px);
        margin-bottom: 0.8rem;
    }
    
    .team-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .team-grid {
        gap: 1.2rem; /* Further reduce gap for smallest screens */
    }
    
    .card-image-container {
        height: 160px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-name {
        font-size: 1rem;
    }
    
    .card-role {
        font-size: 0.9rem;
    }
    
    .card-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
    
    .stats-grid, .stats-grid-3 {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .stat-card {
        border-radius: 10px;
    }
    
    .stat-top {
        padding: 24px 0 28px;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        border: 6px solid rgba(255,255,255,.65);
    }
    
    .stat-body {
        padding: 14px 10px 18px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .quick-links { 
        grid-template-columns: 1fr; 
        gap: 0.5rem;
    }
    .cards { 
        grid-template-columns: 1fr; 
        gap: 0.6rem;
    }
    .updates { 
        grid-template-columns: 1fr; 
        gap: 0.6rem;
    }
    .footer-inner { 
        grid-template-columns: 1fr; 
        gap: 1.2rem;
        text-align: center;
        padding: 1.5rem 1rem 1rem 1rem;
    }
    
    .footer-cols {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    .footer-logo img {
        width: 40px;
        height: 40px;
    }
    
    .legal-inner {
        padding: 0.6rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .social {
        justify-content: center;
    }
}

.dashboard {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 70px);
}

.container.dashboard-container { position: relative; }

.sidebar {
    background: #ffffff;
    border-right: 1px solid #eee;
    padding: 1rem;
}

.sidebar-header {
    padding: 0.5rem 0 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 1rem;
}

.sidebar-title {
    font-weight: 600;
    color: #444;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sidebar-nav a {
    text-decoration: none;
    color: #444;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    transition: background-color .2s ease, color .2s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #ffecec;
    color: #FF3333;
}

.sidebar-nav a.danger {
    color: #b10000;
}

.content {
    padding: 1.5rem 2rem;
}

.content-header { text-align: center; }
.content-header h1 {
    margin: 0 0 .35rem 0;
    font-size: clamp(32px, 4.2vw, 56px);
    font-weight: 800;
}

.content-header p {
    margin: 0 0 1rem 0;
    color: #666;
}

/* --- About brand section --- */
.about-brand { margin: 1.25rem 0 1.5rem 0; }

/* Bento layout */
.about-bento {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
}
.about-left {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}
.about-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}
.about-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}
.about-card h3 { margin: 0 0 .35rem 0; }
.about-card p { margin: 0; color: #555; }
.about-logo img { width: 100%; height: auto; display: block; border-radius: 8px; }
.about-text h2 { margin: 0 0 .35rem 0; }
.about-text p { margin: 0; color: #555; }

@media (max-width: 640px) {
    .about-bento { grid-template-columns: 1fr; }
    .about-left { grid-template-columns: 72px 1fr; }
    .about-right { grid-template-rows: auto auto; }
}

/* --- Chat CTA --- */
.chat-cta { margin: 1rem 0 1.25rem 0; }
.chat-cta-inner {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}
.chat-cta-input { display: flex; align-items: center; gap: .5rem; }
.chat-cta-input input {
    flex: 1;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: .6rem .8rem;
    font-family: inherit;
}
.chat-cta-input input:focus { outline: none; border-color: #FF3333; box-shadow: 0 0 0 3px rgba(255,51,51,.15); }
.send-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #FF3333; background: #FF3333; color: #fff; cursor: pointer;
}
.send-btn:hover { background: #ff6565; border-color: #ff6565; }
.chat-suggestions { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid #eee; background: #fafafa; color: #333; padding: .35rem .6rem; border-radius: 999px; cursor: pointer; }
.chip:hover { background: #f3f3f3; }

/* Floating chat button */
.floating-chat-btn { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 999px; background: #FF3333; color: #fff; border: 1px solid #FF3333; box-shadow: 0 12px 24px rgba(0,0,0,.18); cursor: pointer; }
.floating-chat-btn:hover { background: #ff6565; border-color: #ff6565; }

/* --- Team section --- */
.team-section { 
    margin: 1.5rem 0 0 -50vw; 
    text-align: center; 
    position: relative; 
    background-image: url('https://pbs.twimg.com/media/DHBIjg1UwAAekw8?format=jpg&name=4096x4096');
    background-size: cover;
    background-position: center center;
    padding: 2rem 0;
    overflow-x: hidden; /* Allow vertical expansion, only hide horizontal overflow */
    width: 100vw;
    left: 50%;
    box-sizing: border-box;
}

.team-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.team-title { 
    margin: 0 0 1rem 0; 
    font-size: clamp(28px, 4vw, 48px); 
    font-weight: 800; 
    color: #FF3333;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.team-description {
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    color: #1f6a45;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}


.team-grid { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem; 
    position: relative; 
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex; /* Make the card a flex container */
    flex-direction: column; /* Stack its children (image, content) vertically */
    flex: 1 1 320px; /* Allow cards to grow and shrink from a 320px base */
    max-width: 300px; /* Prevent cards from becoming too wide on large screens */
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-image-container {
    background: #f5f5f5;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 1rem;
    text-align: center;
    display: flex; /* Make content area a flex container */
    flex-direction: column; /* Stack content vertically */
    flex-grow: 1; /* Allow this area to grow, pushing the social links down */
}

.card-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #FF3333;
    font-family: 'Montserrat', sans-serif;
}

.card-role {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #1f6a45;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.card-description {
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    color: #1f6a45;
    font-family: 'Montserrat', sans-serif;
    flex-grow: 1; /* Allow the description to take up available space */
    line-height: 1.5;
}

.card-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #1f6a45;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FF3333;
    color: white;
    transform: translateY(-2px);
}

/* Team section responsive styles are now handled in the main media queries above */

/* --- Stats section --- */
.site-stats { margin: 1.5rem 0 2rem 0; text-align: center; position: relative; }
.site-stats::before {
    content: "";
    position: absolute;
    inset: -10px 0 -10px 0;
    background-image: url('assets/card.svg');
    background-position: center;
    background-size: 600px; /* resize overall pattern */
    background-repeat: repeat; /* avoid stretching */
    opacity: .18; /* subtle, avoids color wash */
    pointer-events: none;
}
.stats-title { margin: 0 0 1rem 0; font-size: clamp(24px, 3vw, 40px); font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; position: relative; }
.stats-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-card { background: #1f6a45; color: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 32px rgba(0,0,0,.15); position: relative; transform: translateZ(0); }
/* inner subtle pattern for card body */
.stat-card::after { content: ""; position: absolute; inset: 45% 0 0 0; background-image: url('assets/card.svg'); background-position: center; background-size: 520px; background-repeat: repeat; opacity: .06; pointer-events: none; }
.stat-top { background-image: url('assets/card.svg'); background-position: center; background-size: 520px; background-repeat: repeat; padding: 36px 0 40px; display: grid; place-items: center; position: relative; }
.stat-top::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,.08) 100%); }
.stat-icon { position: relative; display: inline-grid; place-items: center; width: 98px; height: 98px; background: #ffffff; color: #1f6a45; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,.18); border: 8px solid rgba(255,255,255,.65); }
.stat-body { padding: 18px 14px 22px; position: relative; }
.stat-number { font-size: 2.2rem; font-weight: 800; letter-spacing: .02em; }
.stat-label { margin-top: .35rem; opacity: .95; }

/* Hover effects: change brand tone, invert icon */
.stat-card:hover { background: #195a3b; }
.stat-card:hover .stat-top::before { background: rgba(0,0,0,.18); }
.stat-card:hover .stat-icon { background: #FF3333; color: #ffffff; border-color: #ffe1e1; }

/* Additional responsive improvements */
@media (max-width: 640px) {
    .stats-grid, .stats-grid-3 { grid-template-columns: 1fr; }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-banner {
        min-height: 200px;
    }
    
    .quick-actions {
        margin: -20px auto 1rem auto;
    }
    
    .team-content {
        padding: 1rem 0.8rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
    
    .card-image-container {
        height: 120px;
    }
    
    .card-content {
        padding: 0.8rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img, .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar, .quick-actions, .team-section, .site-footer {
        display: none;
    }
    
    .hero-banner {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .content {
        padding: 0;
    }
}

.hero {
    background: linear-gradient(135deg, #fff 0%, #ffecec 100%);
    border: 1px solid #f3d6d6;
    border-radius: 14px;
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    margin-bottom: 1rem;
}

.hero-text h2 {
    margin: 0 0 .25rem 0;
}

.hero-text p {
    margin: 0 0 .75rem 0;
    color: #666;
}


.hero, .ql-item, .card, .list, fieldset {
    background: linear-gradient(135deg, #fff 0%, #ffecec 100%);
    border: 1px solid #f3d6d6;
}


.quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin: 1.25rem 0;
}

.ql-item {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: .9rem 1rem;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.ql-item:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}

.ql-item .ql-title {
    font-weight: 600;
}

.ql-item .ql-desc {
    color: #666;
    font-size: .95rem;
}

.ql-item.danger {
    border-color: #ffd6d6;
    background: #fff8f8;
}

.updates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-title {
    margin: 0 0 .5rem 0;
}

.list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
}

.list li {
    padding: .8rem 1rem;
    border-bottom: 1px solid #f3f3f3;
}

.list li:last-child {
    border-bottom: none;
}

.list-title {
    display: block;
    font-weight: 600;
}

.list-meta {
    color: #666;
    font-size: .95rem;
}
.alert {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    margin-bottom: 1rem;
}

.alert.success {
    background-color: #eaf7ea;
    border-color: #cbe9cb;
    color: #246b24;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    display: block;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}

.card-body {
    padding: 1rem 1.1rem;
}

.card-body h3 {
    margin: 0 0 .4rem 0;
    font-size: 1.05rem;
}

.card-body p {
    margin: 0;
    color: #666;
    font-size: .95rem;
}

/* --- Footer --- */
.site-footer {
    background: #0e3a2f;
    color: #ffffff;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 24px 2rem 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1;
}
.footer-logo img { width: 64px; height: 64px; }

.footer-brand p {
    opacity: .9;
}

.footer-brand {
    text-align: center;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 240px));
    gap: 1.25rem;
    justify-content: center; /* center the two columns within the area */
    justify-items: start;    /* keep text left-aligned inside columns */
    margin: 0 auto;          /* center block within its grid cell */
}

.footer-col h4 {
    margin: 0 0 .6rem 0;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li { margin-bottom: .4rem; }

.footer-col a {
    color: #d2f0e7;
    text-decoration: none;
}

.footer-col a:hover { text-decoration: underline; }

.legal-bar {
    background: #0b2c24;
}

.social { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,0.1); color: #ffffff; border: 1px solid rgba(255,255,255,0.18); transition: background .2s ease; }
.social a:hover { background: rgba(255,255,255,0.2); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

.legal-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: .9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #c8e7de;
    font-size: .95rem;
}

.legal-links a {
    color: #c8e7de;
    text-decoration: none;
    margin-left: 1rem;
}

.legal-links a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .legal-inner {
        flex-direction: column;
        gap: .75rem;
    }
}

/* Legacy responsive styles - now handled above */