/* ==========================================================================
   BEEA TNEB - Minimalist Institutional Theme
   Principles: Calm typography, generous whitespace, zero clutter, effortless clarity
   ========================================================================== */

:root {
    --bg-page: #ffffff;
    --bg-subtle: #f9fafb;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    --border-subtle: #f3f4f6;
    
    --text-heading: #111827;
    --text-body: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    
    --brand-primary: #1d4ed8;
    --brand-primary-hover: #1e40af;
    --brand-light: #eff6ff;
    
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-tamil: 'Noto Sans Tamil', -apple-system, sans-serif;
    
    --radius: 8px;
    --radius-lg: 12px;
}

body {
    font-family: var(--font-main);
    color: var(--text-body);
    background-color: var(--bg-page);
    font-size: 0.95rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover {
    color: var(--brand-primary-hover);
    text-decoration: underline;
}

/* ==========================================================================
   Clean Minimalist Header
   ========================================================================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.site-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--text-heading);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.site-title-en {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.site-title-ta {
    font-family: var(--font-tamil);
    font-size: 0.8rem;
    color: #b45309;
    font-weight: 600;
    line-height: 1.2;
}

/* Clean Nav Links */
.site-header .nav-link {
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius);
    transition: all 0.15s ease;
}

.site-header .nav-link:hover {
    color: var(--text-heading);
    background-color: var(--bg-subtle);
    text-decoration: none;
}

.site-header .nav-link.active {
    color: var(--brand-primary);
    font-weight: 600;
    background-color: var(--brand-light);
}

/* ==========================================================================
   Calm Intro / Search Section
   ========================================================================== */
.minimal-hero {
    padding: 3.5rem 0 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.minimal-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 0.65rem;
}

.minimal-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

/* Minimal Search Box */
.minimal-search {
    max-width: 580px;
    position: relative;
}

.minimal-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.65rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.925rem;
    outline: none;
    color: var(--text-heading);
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #ffffff;
}

.minimal-search input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.minimal-search-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
}

/* ==========================================================================
   Section Headers & Typography
   ========================================================================== */
.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.3px;
    margin-bottom: 0.35rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Minimal Clean List: Board Proceedings & Circulars
   ========================================================================== */
.order-list-item {
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    transition: background-color 0.1s ease;
}

.order-list-item:first-child {
    border-top: 1px solid var(--border-color);
}

.order-ref {
    display: inline-block;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-body);
    font-size: 0.775rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.35rem;
}

.order-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.order-title a {
    color: var(--text-heading);
    text-decoration: none;
}
.order-title a:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

.order-meta {
    font-size: 0.825rem;
    color: var(--text-muted);
}

/* Minimal Action Buttons */
.btn-minimal-view {
    background: #ffffff;
    color: var(--brand-primary);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.btn-minimal-view:hover {
    border-color: var(--brand-primary);
    background: var(--brand-light);
    color: var(--brand-primary);
}

.btn-minimal-dl {
    background: var(--bg-subtle);
    color: var(--text-body);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.btn-minimal-dl:hover {
    background: #e5e7eb;
    color: var(--text-heading);
}

/* ==========================================================================
   Essential Services Grid
   ========================================================================== */
.service-card-clean {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.service-card-clean:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card-clean h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
}

.service-card-clean p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   Minimal Leadership Strip
   ========================================================================== */
.leader-card-simple {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.15rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.leader-monogram {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Minimal Footer
   ========================================================================== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: auto;
}

.site-footer h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.site-footer a {
    color: var(--text-muted);
}
.site-footer a:hover {
    color: var(--text-heading);
}

.site-footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* Minimalist Frontpage Carousel */
.home-carousel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid var(--border-color);
}

.home-carousel .carousel-item {
    height: 380px;
    background-color: #111827;
}

.home-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.home-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem 1.5rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    color: #ffffff;
    text-align: left;
}

.home-carousel-caption h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #ffffff;
}

.home-carousel-caption p {
    font-size: 0.875rem;
    color: #e5e7eb;
    margin-bottom: 0;
    max-width: 750px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .minimal-title {
        font-size: 1.65rem;
    }
    .order-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .home-carousel .carousel-item {
        height: 240px;
    }
    .home-carousel-caption {
        padding: 1.5rem 1rem 1rem 1rem;
    }
    .home-carousel-caption h3 {
        font-size: 1rem;
    }
    .home-carousel-caption p {
        display: none;
    }
}

