/* ========================================
   Cooperative Society - Custom Styles
   ======================================== */

/* Orange Header */
.bg-orange {
    background-color: #FF8C00 !important;
}

.bg-orange .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.bg-orange .nav-link:hover,
.bg-orange .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Green Footer */
.bg-green {
    background-color: #228B22 !important;
}

.bg-green a:hover {
    color: #fff !important;
}

/* Banner / Slider */
.banner-section {
    position: relative;
    overflow: hidden;
}

.banner-section .carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.banner-section .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 30px;
    border-radius: 10px;
}

/* Section headings */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FF8C00;
    border-radius: 2px;
}

/* Feature cards */
.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF8C00, #FF6600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-card .icon i {
    font-size: 2rem;
    color: #fff;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* Committee member cards (homepage) */
.committee-card {
    padding: 25px 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: #fff;
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.committee-card .committee-img {
    width: 110px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #FF8C00;
    margin: 0 auto;
    display: block;
}

.committee-card .committee-placeholder {
    width: 110px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF8C00, #FF6600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.committee-card .committee-placeholder i {
    font-size: 2.5rem;
    color: #fff;
}

.committee-card h5 {
    font-weight: 600;
    font-size: 1.05rem;
    color: #333;
}

.committee-card p {
    font-size: 0.85rem;
    color: #888;
}

/* Gallery section */
.gallery-album {
    margin-bottom: 30px;
}

.gallery-album .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-album .card:hover {
    transform: translateY(-5px);
}

.gallery-album .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Gallery images grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-grid .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #FF8C00;
}

/* Notice cards */
.notice-card {
    border-left: 4px solid #FF8C00;
    transition: box-shadow 0.3s ease;
}

.notice-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.notice-date {
    background: #FF8C00;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    min-width: 80px;
}

.notice-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.notice-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* About page */
.about-content {
    line-height: 1.8;
    color: #555;
}

.about-feature {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #FF8C00;
}

.about-feature h4 {
    color: #228B22;
    font-weight: 600;
}

/* Contact page */
.contact-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    height: 100%;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #FF8C00;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-card .icon i {
    font-size: 1.5rem;
    color: #fff;
}

/* =========== Admin Panel Styles =========== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #2c3e50;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    z-index: 1000;
    transition: all 0.3s ease;
}

.admin-sidebar .sidebar-header {
    padding: 20px;
    background: #1a252f;
    text-align: center;
}

.admin-sidebar .sidebar-header h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #FF8C00;
}

.admin-sidebar .nav-link i {
    width: 25px;
    margin-right: 10px;
    text-align: center;
}

.admin-content {
    margin-left: 260px;
    flex: 1;
    min-height: 100vh;
    background: #f4f6f9;
}

.admin-topbar {
    background: #fff;
    padding: 15px 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-main {
    padding: 25px;
}

/* Dashboard stat cards */
.stat-card {
    border-radius: 10px;
    padding: 25px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
}

.stat-card p {
    margin-bottom: 0;
    opacity: 0.8;
}

.stat-orange { background: linear-gradient(135deg, #FF8C00, #FF6600); }
.stat-green { background: linear-gradient(135deg, #a0d40f, #cf8019); }
.stat-blue { background: linear-gradient(135deg, #3498db, #2980b9); }
.stat-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

/* =========== Member Panel Styles =========== */
.member-wrapper {
    display: flex;
    min-height: 100vh;
}

.member-sidebar {
    width: 260px;
    background: #f07706;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    z-index: 1000;
}

.member-sidebar .sidebar-header {
    padding: 20px;
    background: #d6056e;
    text-align: center;
}

.member-sidebar .sidebar-header h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.member-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.member-sidebar .nav-link:hover,
.member-sidebar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #FF8C00;
}

.member-sidebar .nav-link i {
    width: 25px;
    margin-right: 10px;
    text-align: center;
}

.member-content {
    margin-left: 260px;
    flex: 1;
    min-height: 100vh;
    background: #f4f6f9;
}

/* Table styles for admin/member panels */
.data-table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.data-table .table thead {
    background: #f8f9fa;
}

.data-table .table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #666;
    border-bottom-width: 2px;
}

.data-table .table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

/* Card panel for forms */
.panel-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.panel-card .panel-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-card .panel-header h5 {
    margin-bottom: 0;
    font-weight: 600;
}

.panel-card .panel-body {
    padding: 25px;
}

/* Buttons */
.btn-orange {
    background: #FF8C00;
    border-color: #FF8C00;
    color: #fff;
}

.btn-orange:hover {
    background: #e67e00;
    border-color: #e67e00;
    color: #fff;
}

.btn-green {
    background: #228B22;
    border-color: #228B22;
    color: #fff;
}

.btn-green:hover {
    background: #1a7a1a;
    border-color: #1a7a1a;
    color: #fff;
}

/* Alert flash messages */
.flash-msg {
    position: relative;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.flash-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.flash-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.flash-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Login page */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-wrapper {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.member-login-wrapper {
    background: linear-gradient(135deg, #228B22, #1a7a1a);
}

.login-card {
    width: 400px;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-card .login-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: #fff;
}

/* Upload area */
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #FF8C00;
    background: #fff8f0;
}

.upload-area i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

/* Badge / status */
.badge-active {
    background-color: #28a745;
}

.badge-inactive {
    background-color: #dc3545;
}

/* Image thumbnail in tables */
.table-img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-sidebar,
    .member-sidebar {
        transform: translateX(-100%);
    }

    .admin-content,
    .member-content {
        margin-left: 0;
    }

    .admin-sidebar.show,
    .member-sidebar.show {
        transform: translateX(0);
    }

    .banner-section .carousel-item img {
        height: 300px;
    }
}

/* ========================================================
   NEW DESIGN SYSTEM — Ledger / Passbook theme
   (Homepage + public pages)
   ======================================================== */

:root {
    --white: #fdfcf7;
    --cream: #f7f4ea;
    --ink: #2b2b2b;
    --ink-soft: #5a5850;
    --brass: #b08d57;
    --brass-dark: #8a6d3b;
    --green: #1f4d2e;
    --green-dark: #163a22;
    --orange: #FF8C00;
    --line: #e3ddc9;
    --font-mono: 'Courier New', Courier, monospace;
    --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--white);
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--green-dark);
    color: #d7c9a8;
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(176, 141, 87, 0.3);
}
.topbar-welcome,
.topbar-phone {
    letter-spacing: 0.02em;
}
.topbar-phone {
    font-family: var(--font-mono);
    color: #f1e7cf;
}
.topbar-links a {
    color: #d7c9a8;
    text-decoration: none;
    margin-left: 18px;
    transition: color 0.2s;
}
.topbar-links a:hover { color: var(--brass); }

/* ---------- Main navbar ---------- */
.main-nav {
    background: var(--green);
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.main-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-icon {
    font-size: 2rem;
    color: var(--brass);
    line-height: 1;
}
.brand-logo {
    height: 52px;
    width: 52px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}
.brand-tag {
    color: var(--brass);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-family: var(--font-mono);
}
.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #fff !important;
    background: rgba(176, 141, 87, 0.22);
}
.nav-toggle-btn {
    border-color: rgba(255, 255, 255, 0.3);
}
.nav-toggle-btn .navbar-toggler-icon {
    filter: invert(1);
}

/* ---------- Section helpers ---------- */
.area-padding {
    padding: 70px 0;
}
.ledger-rule {
    height: 14px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--line) 0,
            var(--line) 2px,
            transparent 2px,
            transparent 10px
        );
    border-top: 1px solid var(--brass);
    border-bottom: 1px solid var(--brass);
    opacity: 0.7;
}
.section-headline {
    margin-bottom: 45px;
}
.section-headline h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 0;
}
.section-headline h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--brass);
}
.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brass-dark);
    margin-bottom: 10px;
    align-items: center;
    gap: 8px;
}
.eyebrow::before,
.eyebrow::after {
    content: '';
    display: inline-block;
    width: 22px;
    height: 1px;
    background: var(--brass);
}

/* ---------- Hero / Carousel ---------- */
#hero .hero-container,
#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item {
    height: 520px;
}
#hero .carousel-item {
    background-size: cover;
    background-position: center;
    position: relative;
}
#hero .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 58, 34, 0.78) 0%, rgba(22, 58, 34, 0.35) 100%);
}
.carousel-caption-custom {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 90px 0 0;
    color: #fff;
}
.carousel-caption-custom .stamp {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brass);
    border: 1px solid var(--brass);
    padding: 4px 14px;
    border-radius: 3px;
    margin-bottom: 18px;
}
.carousel-caption-custom h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}
.carousel-caption-custom p {
    font-size: 1.05rem;
    opacity: 0.92;
    margin-bottom: 24px;
}
#hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
}
#hero .carousel-control-prev-icon,
#hero .carousel-control-next-icon {
    background: transparent;
    font-size: 2.2rem;
    color: #fff;
}
.btn-brass {
    display: inline-block;
    background: var(--brass);
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    border: 1px solid var(--brass-dark);
    transition: all 0.25s ease;
}
.btn-brass:hover {
    background: var(--brass-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- About ---------- */
.about-img-wrap {
    position: relative;
}
.about-img-wrap img {
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
}
.seal-1914 {
    position: absolute;
    bottom: -25px;
    right: -15px;
    width: 130px;
    height: 130px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    border: 4px solid var(--brass);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.seal-1914 strong {
    font-size: 1.7rem;
    color: var(--brass);
    font-family: var(--font-mono);
}
#about p {
    color: var(--ink-soft);
    line-height: 1.85;
    margin-bottom: 16px;
}
#about .eyebrow {
    margin-bottom: 12px;
}
#about h2 {
    font-weight: 700;
    color: var(--ink);
}

/* ---------- Service cards ---------- */
.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 32px 24px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--brass);
}
.service-card .icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--cream);
    border: 2px solid var(--brass);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card .icon-wrap i {
    font-size: 1.8rem;
    color: var(--brass-dark);
}
.service-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--ink);
}
.service-card p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* ---------- Testimonials / Committee slider ---------- */
.testimonials-slider {
    padding: 10px 10px 40px;
    overflow: hidden;
}
.testimonial-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 36px 24px;
    text-align: center;
    height: 100%;
}
.testimonial-item .testimonial-img {
    width: 120px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--brass);
    margin: 0 auto 18px;
    display: block;
}
.testimonial-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}
.testimonial-item h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brass-dark);
    font-family: var(--font-mono);
}
.testimonials-slider .swiper-pagination-bullet-active {
    background: var(--brass);
}

/* ---------- Passbook cards (Deposit / Loan) ---------- */
.passbook-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.passbook-head {
    background: var(--green);
    color: #fff;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border-bottom: 3px solid var(--brass);
}
.passbook-card table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.88rem;
}
.passbook-card table tr {
    border-bottom: 1px dashed var(--line);
}
.passbook-card table tr:last-child {
    border-bottom: none;
}
.passbook-card table td {
    padding: 12px 18px;
    vertical-align: middle;
}
.passbook-card table td.label {
    color: var(--ink-soft);
}
.passbook-card table td.value {
    text-align: right;
    font-weight: 700;
    color: var(--green-dark);
}
#deposit p,
#advance p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    padding-left: 12px;
}

/* ---------- Other Facilities feature list ---------- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-list li {
    padding: 14px 0 14px 38px;
    border-bottom: 1px solid var(--line);
    position: relative;
    color: var(--ink-soft);
    line-height: 1.6;
}
.feature-list li:last-child {
    border-bottom: none;
}
.feature-list li::before {
    content: "\F28A";
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 14px;
    color: var(--brass);
    font-size: 1.2rem;
}

/* ---------- Delegates list ---------- */
.delegate-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}
.delegate-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}
.delegate-list li:last-child {
    border-bottom: none;
}
.delegate-list li .delegate-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.delegate-list li .delegate-name {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.98rem;
}
.delegate-list li .delegate-designation {
    font-size: 0.85rem;
    color: var(--brass-dark);
    font-weight: 500;
}
.delegate-list li .delegate-department {
    font-size: 0.78rem;
    color: #6b6b6b;
}
.delegate-list li .delegate-department i {
    font-size: 0.75rem;
    color: var(--brass);
}
.delegate-list li .code {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--brass-dark);
    background: var(--cream);
    padding: 2px 10px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

/* ---------- News cards ---------- */
.news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.news-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
.news-body {
    padding: 18px 20px 22px;
}
.news-date {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brass-dark);
}
.news-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 8px 0;
}
.news-body h4 a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
}
.news-body h4 a:hover {
    color: var(--brass-dark);
}
.news-body .read-more {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brass-dark);
    text-decoration: none;
}
.news-body .read-more:hover {
    color: var(--green);
}

/* ---------- Info cards (LPG / Contact) ---------- */
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 30px 22px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}
.info-card i {
    font-size: 2rem;
    color: var(--brass);
    margin-bottom: 12px;
    display: inline-block;
}
.info-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.info-card p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* ---------- Contact form ---------- */
.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 28px;
}
.contact-form .form-control {
    border-radius: 4px;
    border: 1px solid var(--line);
    padding: 11px 14px;
    font-size: 0.92rem;
}
.contact-form .form-control:focus {
    border-color: var(--brass);
    box-shadow: 0 0 0 0.2rem rgba(176, 141, 87, 0.18);
}
.contact-form button {
    background: var(--green);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    transition: background 0.25s ease;
}
.contact-form button:hover {
    background: var(--green-dark);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--green-dark);
    color: #cdd9c4;
    padding-top: 55px;
}
.footer-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brass);
    display: inline-block;
}
.footer-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    flex-shrink: 0;
}
.footer-about {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #aebda3;
}
.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #aebda3;
}
.footer-links a {
    color: #aebda3;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--brass);
}
.footer-contact li i {
    color: var(--brass);
}
.footer-access {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-brass-outline {
    display: block;
    text-align: center;
    border: 1px solid var(--brass);
    color: var(--brass);
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
}
.btn-brass-outline:hover {
    background: var(--brass);
    color: #fff;
}
.footer-bottom {
    margin-top: 40px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.84rem;
    color: #8a9c81;
}

/* ---------- Smooth scroll offset ---------- */
section[id] {
    scroll-margin-top: 80px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .carousel-caption-custom {
        padding-top: 60px;
    }
    .carousel-caption-custom h2 {
        font-size: 2rem;
    }
    .area-padding {
        padding: 50px 0;
    }
    .seal-1914 {
        width: 100px;
        height: 100px;
        bottom: -15px;
        right: 10px;
    }
    .seal-1914 strong {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .topbar-links a {
        margin-left: 10px;
    }
    #hero .hero-container,
    #hero .carousel,
    #hero .carousel-inner,
    #hero .carousel-item {
        height: 420px;
    }
    .carousel-caption-custom h2 {
        font-size: 1.6rem;
    }
    .carousel-caption-custom p {
        font-size: 0.92rem;
    }
    .section-headline h2 {
        font-size: 1.5rem;
    }
}

