:root {
    --primary: #1a6e3a;
    --primary-light: #2a984f;
    --primary-ultra-light: #ebf1fb;
    --accent: #e8a020;
    --accent-light: #3dbd82;
    --accent-bg: #e8f7f1;
    --gold: #e8a020;
    --surface: #ffffff;
    --surface-2: #f7f9fc;
    --surface-3: #eef5f8;
    --text-primary: #0e0e0e;
    --text-secondary: #505050;
    --text-muted: #8c8c8c;
    --border: #dde4ee;
    --shadow-sm: 0 2px 8px rgba(26, 60, 110, 0.08);
    --shadow-md: 0 6px 24px rgba(26, 60, 110, 0.12);
    --shadow-lg: 0 16px 48px rgba(26, 60, 110, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --navbar-bg: rgba(255, 255, 255, 0.97);
    --hero-overlay: rgba(10, 28, 55, 0.62);
    /* font */
    --amd-font: "Mukta", "Roboto", sans-serif;
}

[data-theme="dark"] {
    --primary: #1a4730;
    --primary-light: #1f6b45;
    --primary-ultra-light: #1a2a20;
    --accent: #d68f1a;
    --accent-light: #e8a020;
    --accent-bg: #1e1e0f;
    --gold: #d68f1a;
    --surface: #0f151a;
    --surface-2: #1a2028;
    --surface-3: #2d3748;
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --border: #2d3748;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --navbar-bg: rgba(15, 21, 26, 0.97);
    --hero-overlay: rgba(10, 15, 20, 0.85);
    --amd-font: "Mukta", sans-serif;
}

@font-face {
    font-family: "Mukta";
    src: url("../assets/fonts/mukta/Mukta-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Mukta";
    src: url("../assets/fonts/mukta/Mukta-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Mukta";
    src: url("../assets/fonts/mukta/Mukta-Bold.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Mukta";
    src: url("../assets/fonts/mukta/Mukta-Light.ttf") format("truetype");
    font-weight: 300;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* lenis for smooth scrolling */
/* Lenis required fix */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

body {
    margin: 0;
}

/* lenis for smooth scrolling */

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--amd-font) !important;
    background: var(--surface);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    /* font-weight: 400; */
    margin-top: 100px;
    transition:
        background 0.35s,
        color 0.35s;
}
a {
    text-decoration: none;
}
/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--surface-2);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Full screen loader */
#amd-global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* spinner */
.amd-loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #eee;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: amd-spin 1s linear infinite;
}

@keyframes amd-spin {
    to {
        transform: rotate(360deg);
    }
}

/* pop up card ************************* */
.amd-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.amd-popup-card {
    background: var(--surface);
    width: clamp(320px, 90vw, 800px);
    height: auto;
    max-height: 90vh;
    min-height: 200px;
    position: relative;
    border: 1px solid var(--border);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--surface-2);
    display: flex;
    flex-direction: column;
    animation: amdPopUpShow 0.5s ease-out;
}

.amd-popup-card::-webkit-scrollbar {
    width: 6px;
}

.amd-popup-card::-webkit-scrollbar-track {
    background: var(--surface-2);
    border-radius: 3px;
}

.amd-popup-card::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

@keyframes amdPopUpShow {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amd-popup-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: var(--gold);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
}

.amd-popup-carousel {
    width: 100%;
    overflow: hidden;
}

.amd-popup-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.amd-popup-slide {
    min-width: 100%;
}

/* Grid Design */
.amd-popup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.amd-popup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    min-height: 400px;
}

.amd-popup-img {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.amd-popup-img img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.amd-popup-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
    /* background-color: var(--primary-ultra-light); */
    justify-content: center;
    overflow-y: auto;
}

.amd-popup-tag {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.amd-popup-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 10px 0;
    line-height: 1.2;
}

.amd-popup-text {
    color: #4a5f7a;
    margin-bottom: 20px;
}

/* Full Image Style */
.amd-popup-full-img {
    position: relative;
    height: auto;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amd-popup-full-img img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.amd-popup-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

/* Button & Controls */
.amd-popup-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
}

.amd-popup-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-top: 1px solid var(--border);
    background: #f9f9f9;
}

.amd-nav-btn {
    background: none;
    border: 1px solid var(--border);
    padding: 5px 15px;
    cursor: pointer;
}

.amd-nav-btn:hover {
    background: var(--primary);
    color: white;
}

.amd-dots {
    display: flex;
    gap: 8px;
}

.amd-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.amd-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .amd-popup-card {
        width: 98vw;
        max-height: 92vh;
        margin: 1vh;
    }

    .amd-popup-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .amd-popup-text {
        margin-bottom: 12px;
        font-size: 0.95rem;
    }

    .amd-popup-grid {
        grid-template-columns: 1fr;
        min-height: 300px;
        gap: 0;
    }

    .amd-popup-img {
        max-height: 50vh;
    }

    .amd-popup-img img {
        max-height: 50vh;
    }

    .amd-popup-full-img img,
    .amd-popup-full-img {
        max-width: 100vw;
        min-height: 80dvh;
    }

    .amd-popup-controls {
        padding: 12px 16px;
        gap: 12px;
    }

    .amd-popup-info {
        padding: 20px;
    }

    .amd-nav-btn {
        padding: 8px 12px;
        font-size: 1rem;
    }

    .amd-dots {
        gap: 6px;
    }

    .amd-dot {
        width: 10px;
        height: 10px;
    }

    .amd-dot.active {
        width: 24px;
    }
}

/* pop up card end**********************************888 */

/* navbar ******************************************** */
/* Base Reset & Wrapper */
.amd-cop-header {
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, "Merriweather";
    background-color: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0;
    /* scroll effect */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: transform 0.3s ease;
    /* scroll effect */
}

/* scroll effect hide state*/

.amd-cop-header.hide {
    transform: translateY(-100%);
}

/* scroll effect hide state end*/

.amd-cop-header *,
.amd-cop-header *::before,
.amd-cop-header *::after {
    box-sizing: inherit;
}

.amd-cop-container {
    /* max-width: 1240px; */
    margin: 0 auto;
    /* padding: 0 10px; */
}

/* Top Section (Logo + Desktop Menus) */
.amd-cop-top-section {
    display: flex;
    align-items: stretch;
    position: relative;
}

/* Branding / Logo */
.amd-cop-brand-wrapper {
    display: flex;
    align-items: center;
    /* padding-right: 20px; */
    padding-left: 5px;
    flex-shrink: 0;
    height: 100px;
    /* Match total height of utility + primary bars */
}

.amd-cop-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.amd-cop-logo img {
    height: 100%;
    width: 360px;
    margin-right: 12px;
}

@media (max-width: 1200px) {
    .amd-cop-logo img {
        width: 280px;
    }

    .amd-cop-info-item,
    .amd-lang-dropdown .btn {
        font-size: 0.7rem;
    }

    .amd-cop-primary-nav a {
        font-size: 0.8rem;
    }
}

.amd-cop-logo-type {
    color: #222222;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.3px;
}

/* Hamburger Menu (Hidden on Desktop) */
.amd-cop-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
}

/* Nav Collapse Wrapper */
.amd-cop-nav-collapse {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Utility Bar (Top Blue Bar) */
.amd-cop-utility-bar {
    background-color: var(--primary);
    color: #ffffff;
    height: 40px;
    display: flex;
    justify-content: space-between;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 13px;
}

.amd-cop-socials {
    display: flex;
    height: 100%;
}

.amd-cop-socials a {
    color: #ffffff;
    text-decoration: none;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease;
}

.amd-cop-socials a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.amd-cop-user-info {
    display: flex;
    height: 100%;
}

.amd-cop-info-item {
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}

.amd-cop-info-item i {
    margin-right: 8px;
    font-size: 14px;
}

.amd-cop-currency {
    cursor: pointer;
}

.amd-cop-currency-flag {
    font-size: 14px;
    margin: 0 6px;
    line-height: 1;
}

.amd-cop-currency .fa-chevron-down {
    margin-left: 6px;
    margin-right: 0;
    font-size: 10px;
}

/* language drop */
.amd-lang-dropdown .btn {
    padding: 10px 0px;
    font-weight: 500;
    background: transparent;

    color: #ffffff;
    margin-left: 6px;
}

.dropdown-menu {
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    border-radius: 8px;
    transition: 0.2s;
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: white;
}

/* Primary Nav Bar (Middle White Bar) */
.amd-cop-primary-bar {
    background-color: #ffffff;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.amd-cop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.amd-cop-primary-nav {
    margin-right: 15px;
}

.amd-cop-nav li {
    display: flex;
    align-items: center;
    position: relative;
}

.amd-cop-primary-nav a {
    text-decoration: none;
    color: #444444;
    font-weight: 600;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
    transition: color 0.2s ease;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.amd-cop-primary-nav a:hover {
    color: var(--primary);
}

.amd-cop-primary-nav > ul > li::after {
    content: "|";
    color: #dddddd;
    margin: 0 14px;
    font-size: 12px;
}

.amd-cop-primary-nav > ul > li:last-child::after {
    content: none;
}

.amd-cop-primary-nav .amd-nav-active {
    color: var(--primary);
}

.amd-nav-active {
    color: var(--primary);
}

/* Dropdown CSS (Desktop) */
.amd-cop-has-dropdown > a i {
    margin-left: 6px;
    font-size: 11px;
}

.amd-cop-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--surface-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    display: block !important;
    /* Overridden by mobile JS */
}

/* Multi-layer Dropdown */
.amd-cop-dropdown .amd-cop-has-dropdown > .amd-cop-dropdown {
    top: 0;
    left: 100%;
    margin-left: 1px;
    border-top: none;
    border-left: 3px solid var(--surface-3);
}

.amd-cop-dropdown ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.amd-cop-dropdown li {
    width: 100%;
}

.amd-cop-dropdown li::after {
    content: none !important;
}

.amd-cop-dropdown a {
    padding: 12px 20px;
    width: 100%;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
}

.amd-cop-dropdown a:hover {
    background-color: var(--primary);
    color: white;
    padding-left: 25px;
}

/* Hover execution for Desktop */
@media (min-width: 992px) {
    .amd-cop-has-dropdown:hover > .amd-cop-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (max-width: 568px) {
    .amd-cop-logo img {
        height: 55px;
        width: auto;
        margin-right: 12px;
    }
}

/* Cart & Actions Area */
.amd-cop-actions-area {
    display: flex;
    align-items: center;
}

.amd-cop-action-btn {
    color: #333333;
    font-size: 18px;
    margin-left: 18px;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.amd-cop-action-btn:hover {
    color: var(--primary);
}

.amd-cop-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 10px;
    font-family: Arial, "Merriweather";
    font-weight: bold;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Secondary Nav Bar (Bottom Blue Bar) */
.amd-cop-bottom-bar {
    background-color: var(--primary);
    border-top: 1px solid var(--primary-light);
}

.amd-cop-secondary-nav ul {
    height: 45px;
    padding-left: 10px;
    justify-content: flex-start;
}

.amd-cop-secondary-nav a {
    color: #ffffff;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
    transition: opacity 0.2s ease;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.amd-cop-secondary-nav a:hover {
    opacity: 0.8;
}

.amd-cop-secondary-nav > ul > li::after {
    content: "|";
    color: rgba(255, 255, 255, 0.4);
    margin: 0 16px;
    font-size: 12px;
}

.amd-cop-secondary-nav > ul > li:last-child::after {
    content: none;
}

/* Dropdowns within Secondary Nav */
.amd-cop-secondary-nav .amd-cop-dropdown {
    border-top: 3px solid #ffaa00;
    /* Distinct border for bottom nav dropdowns */
}

.amd-cop-secondary-nav .amd-cop-dropdown a {
    color: #444;
}

/* extra menu side bar canvas */

/* Main Container */
.amd-canvas-menu {
    width: 300px;
}

/* Header */
.amd-canvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

/* Logo */
.amd-canvas-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Body */
.amd-canvas-body {
    padding: 15px;
}

/* Menu List */
.amd-canvas-menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Menu Item (Bar Style) */
.amd-canvas-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 11px !important;
    border-radius: 10px;
    background: #f8f9fa;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

/* Icon Box */
.amd-canvas-icon {
    width: 40px;
    height: 40px;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amd-canvas-icon i {
    color: var(--primary);
    font-size: 18px;
}

/* Hover Effect */
.amd-canvas-menu-item:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.amd-canvas-menu-item:hover .amd-canvas-icon {
    background: rgba(255, 255, 255, 0.2);
}
/* =========================================
           Responsive & Mobile Styles
           ========================================= */
@media (max-width: 1050px) {
    body {
        margin-top: 70px;
    }

    .amd-cop-brand-wrapper {
        height: 70px;
    }

    .amd-cop-hamburger {
        display: block;
    }

    .amd-cop-top-section {
        align-items: center;
    }

    /* Mobile Menu Container */
    .amd-cop-nav-collapse {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        display: none;
        /* Hidden by default on mobile */
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .amd-cop-nav-collapse.amd-cop-active {
        display: flex;
    }

    /* Move bottom bar into mobile flow visually */
    .amd-cop-bottom-bar {
        display: none;
    }

    .amd-cop-mobile-secondary-nav {
        display: block;
    }

    /* Resetting Flex Layouts for Vertical Stacking */
    .amd-cop-utility-bar {
        flex-direction: column;
        height: auto;
        background: #f8f9fa;
        color: #333;
    }

    .amd-cop-socials,
    .amd-cop-user-info {
        width: 100%;
        flex-wrap: wrap;
    }

    .amd-cop-socials a,
    .amd-cop-info-item {
        border: none;
        padding: 12px 15px;
        border-bottom: 1px solid #eaeaea;
        color: #555;
    }

    .amd-cop-socials a:hover,
    .amd-cop-info-item:hover {
        background-color: #eee;
    }

    .amd-cop-primary-bar {
        flex-direction: column;
        height: auto;
        align-items: flex-start;
        padding: 0;
    }

    .amd-cop-primary-nav {
        width: 100%;
        margin: 0;
    }

    .amd-cop-nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .amd-cop-nav li {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .amd-cop-nav li::after {
        display: none !important;
    }

    .amd-cop-nav a {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        justify-content: space-between;
    }

    /* Actions Area on Mobile */
    .amd-cop-actions-area {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        justify-content: flex-start;
    }

    .amd-cop-action-btn {
        margin-left: 0;
        margin-right: 25px;
    }

    /* Secondary Nav for Mobile (Cloned via CSS conceptually) */
    .amd-cop-secondary-nav a {
        color: var(--primary);
        font-weight: bold;
    }

    /* Mobile Dropdown Logic */
    .amd-cop-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        background-color: #fcfcfc;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none !important;
        /* Handled by JS on mobile */
        padding-left: 15px;
        border-bottom: 1px solid #eee;
    }

    .amd-cop-has-dropdown.amd-cop-open > .amd-cop-dropdown {
        display: block !important;
    }

    /* Adjust icons for mobile state */
    .amd-cop-has-dropdown > a i {
        transition: transform 0.3s ease;
    }

    .amd-cop-has-dropdown.amd-cop-open > a > i {
        transform: rotate(180deg);
    }
}

/* Desktop specific utility hiding */
@media (min-width: 992px) {
    .amd-cop-mobile-secondary-nav {
        display: none;
    }
}

/* Language Dropdown Styles - Professional Toggle */

/* Container for language dropdown */
.amd-lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

/* Main language button */
.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lang-btn:hover,
.lang-btn:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary-light);
}

/* Flag emoji styling */
.flag-emoji {
    font-size: 1.1em;
}

/* Dropdown menu */
.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 140px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
    margin-top: 8px;
}

.amd-lang-dropdown:hover .lang-menu,
.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Menu options */
.lang-option {
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-option:hover {
    background: var(--primary-ultra-light);
    color: var(--primary);
    padding-left: 20px;
}

.lang-option.active {
    background: var(--primary);
    color: white;
}

/* Chevron animation */
.lang-btn i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.amd-lang-dropdown:hover .lang-btn i,
.lang-menu.active + .lang-btn i {
    transform: rotate(180deg);
}

/* Mobile adaptations */
@media (max-width: 768px) {
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .lang-menu {
        right: -10px;
        min-width: 130px;
    }
}

/* Language content visibility */
[data-lang] {
    transition:
        opacity 0.4s ease,
        max-height 0.4s ease;
}

[data-lang]:not([data-lang*="[current]"]) {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

[data-lang*="[current]"] {
    opacity: 1;
    max-height: none;
}

/* Hide all other languages */
body[data-lang="np"] [data-lang]:not([data-lang*="np"]),
body[data-lang="en"] [data-lang]:not([data-lang*="en"]),
body[data-lang="hi"] [data-lang]:not([data-lang*="hi"]) {
    display: none !important;
}

/* navbar end *************************************************** */

/* ticker for the notice and news scroll ************************************* */
/* Container styling */
.amd-ticker-wrapper {
    display: flex;
    align-items: stretch;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    height: 45px;
    /* Fixed height based on design */
    font-family: "Mukta", sans-serif;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    /* margin: 10px 0; */
}

/* The Green Slanted Label */
.amd-ticker-label {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0 40px 0 20px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    /* This creates the slanted cut on the right side */
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    flex-shrink: 0;
}

/* The area that hides the overflow */
.amd-ticker-track-container {
    flex-grow: 1;
    overflow: hidden;
    /* Hide scrollbars */
    display: flex;
    align-items: center;
    position: relative;
    /* Prevent default smooth scrolling here to avoid jitter with JS auto-scroll */
}

/* The actual moving track */
.amd-ticker-track {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 40px;
    /* Space between news items */
    white-space: nowrap;
}

/* Individual News Items */
.amd-ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amd-ticker-img {
    width: 22px;
    height: 30px;
    object-fit: contain;
    border: 1px solid #eaeaea;
}

.amd-ticker-text {
    color: #444444;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.amd-ticker-text:hover {
    color: var(--primary);
    /* text-decoration: underline; */
}

/* Controls (Purple Buttons) */
.amd-ticker-controls {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 10px;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.amd-ticker-btn {
    background-color: var(--primary);
    /* Purple color matching the image */
    color: #ffffff;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.amd-ticker-btn:hover {
    background-color: var(--accent);
}

.amd-ticker-btn svg {
    width: 16px;
    height: 16px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .amd-ticker-wrapper {
        height: 35px;
    }

    .amd-ticker-label {
        font-size: 0.7rem;
        padding: 0 16px 0 5px;
    }

    .amd-ticker-btn {
        width: 22px;
        height: 22px;
    }

    .amd-ticker-text {
        font-size: 0.7rem;
    }
}

/* this is for the notice news ticker end********************************** */

/* hero section************************888 */

/* --- ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â°ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¸ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â  HERO SLIDER SECTION (Prefixed with amd-) --- */
.amd-hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-color);
}

.amd-slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.amd-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.8s ease-in-out,
        visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.amd-slide.amd-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Image with Ken Burns Zoom Effect */
.amd-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    /* Start slightly zoomed in */
    transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -2;
}

.amd-slide.amd-active img {
    transform: scale(1);
    /* Smoothly zoom out when active */
}

/* Dark Overlay for Text Readability */

/* slider 2 */
/* Overlay */
.amd-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Content */
.amd-slide-content {
    color: #fff;
    text-align: center;
    max-width: 700px;
}

.amd-slide-content h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.amd-slide-content p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Tag top */
.amd-slider-tag {
    background: var(--gold);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Bottom tags */
.amd-slider-tags a {
    text-decoration: none;
    color: inherit;
}

.amd-slider-tags span {
    border: 1px solid #fff;
    padding: 5px 10px;
    margin: 3px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
}

.amd-slider-tags span:hover {
    background-color: var(--primary);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .amd-slide-content h2 {
        font-size: 22px;
    }

    .amd-slide-content p {
        font-size: 14px;
    }
}

/* slider 3 */

/* Overlay container */
.amd-slider3-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 60px;
    /* slider disturb na ho */
}

/* LEFT TEXT */
.amd-slider3-hero-left {
    max-width: 350px;
    pointer-events: auto;
}

.amd-slider3-hero-left h1 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
}

/* RIGHT CARD */
.amd-slider3-hero-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    max-width: 320px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);

    /* ÃƒÆ’Ã‚Â°Ãƒâ€¦Ã‚Â¸ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒâ€šÃ‚Â¥ CLIP SHAPE */
    clip-path: polygon(0% 0%, 90% 0%, 100% 15%, 100% 100%, 10% 100%, 0% 85%);

    transition: all 0.3s ease;
}

/* subtle glow border effect */
.amd-slider3-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--primary), var(--gold));
    z-index: -1;
    filter: blur(20px);
    opacity: 0.4;
}

.amd-slider3-hero-card h4 {
    margin-bottom: 8px;
    font-weight: 600;
}

.amd-slider3-hero-card p {
    font-size: 14px;
    color: #2e2e2e;
    margin-bottom: 15px;
}

/* BUTTON */
.amd-slider3-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.amd-slider3-btn:hover {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: black;
}

/* Responsive */

@media (max-width: 668px) {
    .amd-slider3-hero-overlay {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        padding: 20px;
    }

    .amd-slider3-hero-left h1 {
        font-size: 25px;
    }

    .amd-slider3-hero-card {
        width: 100%;
    }
}

/* slider 2, 3 end */

.amd-hero-buttons {
    opacity: 0;
    transform: translateY(30px);
}

.btn.amd-slide-btn-outline {
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.btn.amd-slide-btn-outline:hover {
    background: var(--white-color);
    color: var(--text-color);
}

/* Staggered Reveal on Active Slide */
.amd-slide.amd-active .amd-slide-subtitle {
    transition: all 0.6s ease 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.amd-slide.amd-active h1 {
    transition: all 0.6s ease 0.5s;
    opacity: 1;
    transform: translateY(0);
}

.amd-slide.amd-active p {
    transition: all 0.6s ease 0.7s;
    opacity: 1;
    transform: translateY(0);
}

.amd-slide.amd-active .amd-hero-buttons {
    transition: all 0.6s ease 0.9s;
    opacity: 1;
    transform: translateY(0);
}

/* --- Slider Controls (Glassmorphism Arrows) --- */
.amd-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.amd-slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.amd-prev-btn {
    left: 3%;
}

.amd-next-btn {
    right: 3%;
}

/* --- Stylish Expanding Indicators --- */
.amd-slider-indicators {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.amd-indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Active Pill Shape Indicator */
.amd-indicator.amd-active {
    width: 40px;
    /* Expands into a pill */
    background-color: var(--white-color);
    box-shadow: 0 0 10px rgba(211, 211, 211, 0.5);
}

/* Progress bar inside active indicator */
.amd-indicator.amd-active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary-light);
    animation: amdIndicatorProgress 6s linear forwards;
    /* Match JS interval */
}

@keyframes amdIndicatorProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .amd-hero-slider {
        height: 55vh;
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .amd-hero-slider {
        height: 40vh;
        min-height: 324px;
    }

    .amd-slide-content h1 {
        font-size: 2.5rem;
    }

    .amd-slide-content p {
        font-size: 1rem;
    }

    .amd-slider-btn {
        width: 34px;
        height: 34px;
    }

    .amd-slider-btn .material-icons-outlined {
        font-size: 1.2rem;
    }

    .amd-prev-btn {
        left: 2%;
    }

    .amd-next-btn {
        right: 2%;
    }
}

@media (max-width: 568px) {
    .amd-hero-slider {
        height: 23vh;
        min-height: 210px;
    }
}
@media (max-width: 380px) {
    .amd-hero-slider {
        height: 24vh;
        min-height: 190px;
    }
}
/* hero section end********************************************8 */

/* about us section **********************************************8 */

/* --- Scoped Base Styles --- */
.amd-about-modern {
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        "Merriweather";
    background-color: var(--surface2);
    padding: 40px 0;
    color: var(--text-primary);
}

.amd-about-modern *,
.amd-about-modern *::before,
.amd-about-modern *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.amd-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 0 24px; */
}

/* --- Top Grid Layout --- */
.amd-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 52px;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

@media (min-width: 992px) {
    .amd-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

/* --- Left Side Content --- */
.amd-tagline {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--glod);
    padding-bottom: 4px;
}

.amd-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.amd-text-highlight {
    color: var(--primary);
    font-style: italic;
}

.amd-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

/* --- Inline Stats --- */
.amd-inline-stats {
    max-width: 341px;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 25px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    /* Modern carousel snapping */
    scrollbar-width: none;
    /* Firefox */
    -webkit-overflow-scrolling: touch;
    /* iOS smooth */
}

.amd-inline-stats::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}
/* wrapper */
.amd-cards-carousel-wrapper {
    position: relative;
}

/* default hidden state */
.amd-scroll-btn {
    position: absolute;
    top: 51%;
    transform: translateY(-50%);
    z-index: 10;

    background: rgba(255, 255, 255, 0.9);
    color: var(--gold);
    border: 2px solid var(--gold);

    width: 30px;
    height: 30px;
    border-radius: 29%;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    font-size: 1.2rem;

    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* show on hover */
.amd-cards-carousel-wrapper:hover .amd-scroll-btn {
    opacity: 1;
    visibility: visible;
}

/* hover effect */
.amd-scroll-btn:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* disabled state */
.amd-scroll-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* positions */
.amd-scroll-btn.left {
    left: 0;
}

.amd-scroll-btn.right {
    right: 0;
}
/* Hide scrollbar */
.amd-inline-stats::-webkit-scrollbar {
    display: none;
}

.amd-inline-stats {
    scrollbar-width: none;
}

.amd-stat-box {
    min-width: 126px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    /* ðŸ”¥ important */
}

.amd-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.amd-stat-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amd-divider {
    width: 1px;
    height: 40px;
    background-color: #e5e7eb;
}

@media (max-width: 768px) {
    .amd-stat-num {
        font-size: 1.3rem;
    }
}

/* --- Right Side: Asymmetrical Collage --- */
.amd-collage-side {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 242px;
}

.amd-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.amd-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.amd-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 85%;
    z-index: 1;
}

.amd-img-sub {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 55%;
    z-index: 2;
    border: 8px solid var(--surface2);
    /* Creates a cutout effect */
}

.amd-floating-badge {
    position: absolute;
    top: 10%;
    /* left: -5%; */
    background: var(--gold);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(236, 167, 44, 0.4);
    transition: all ease-in 0.2s;
}

.amd-floating-badge:hover {
    background: var(--primary);
    color: white;
    transform: none;
}

.amd-floating-badge i {
    font-size: 1.2rem;
}

/* --- Bottom Minimalist Values --- */
/* Scroll Container */
.amd-values-minimal {
    display: flex;
    /* ðŸ‘ˆ grid â†’ flex */
    gap: 20px;
    overflow-x: auto;
    /* ðŸ‘ˆ horizontal scroll */
    overflow-y: hidden;
    padding: 10px;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 90%,
        transparent
    );
    scroll-behavior: smooth;
}

/* Hide scrollbar */
.amd-values-minimal::-webkit-scrollbar {
    display: none;
}

.amd-values-minimal {
    scrollbar-width: none;
}

.drag-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    padding: 10px;
}

.drag-scroll::-webkit-scrollbar {
    display: none;
}

.drag-scroll:active {
    cursor: grabbing;
}

/* Snap system */
.drag-scroll.snap {
    scroll-snap-type: x mandatory;
}

.drag-scroll.snap > * {
    scroll-snap-align: center;
    flex: 0 0 auto;
}

/* Card */
.amd-val-item {
    min-width: 260px;
    max-width: 280px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;

    padding-bottom: 10px;
    border-bottom: 1px solid var(--text-muted);
}

.amd-val-icon {
    width: 60px;
    height: 60px;
    background-color: var(--surface);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.amd-val-item:hover .amd-val-icon {
    background-color: var(--primary);
    color: var(--surface-2);
    transform: translateY(-5px);
}

.amd-val-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.amd-val-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 10px;
}

/* --- Mobile Adjustments --- */
@media (max-width: 991px) {
    .amd-collage-side {
        min-height: 400px;
    }

    .amd-inline-stats {
        /* flex-wrap: wrap; */
        gap: 15px;
        text-align: center;
    }

    .amd-divider {
        display: none;
    }

    .amd-stat-box {
        min-width: 110px;
    }
}

@media (max-width: 576px) {
    .amd-collage-side {
        min-height: 300px;
    }

    .amd-floating-badge {
        left: 5%;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* about us section end**************************** */

/* leader section******************************* */

/* data table section ******************************** */

/* Container styling to look like a modern card */
.amd-financial-wrapper {
    font-family: "Mukta", sans-serif;
    /* Excellent font for Devanagari script */
    /* max-width: 950px; */
    margin: 40px auto;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    /* Soft shadow instead of borders */
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

/* Modern header styling */
.amd-header-title {
    background: linear-gradient(135deg, #0a8a3c 0%, #066b2d 100%);
    color: #ffffff;
    text-align: center;
    padding: 18px 20px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Table structure */
.amd-data-table {
    width: 100%;
    border-collapse: collapse;
}

/* Row styling */
.amd-data-table tr {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.amd-data-table tr:last-child {
    border-bottom: none;
}

/* Hover effect for better UX */
.amd-data-table tr:hover {
    background-color: #f4faeb;
    /* Very subtle green tint */
}

/* Cell padding */
.amd-data-table td {
    padding: 16px 20px;
    vertical-align: middle;
}

/* Labels (The text on the left of the numbers) */
.amd-label {
    color: #666666;
    font-size: 1.2rem;
    text-align: right;
    width: 22%;
}

/* Values (The numbers/data) */
.amd-value {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.1rem;
    width: 28%;
}

/* Add a subtle dashed separator between the two halves of the table */
.amd-data-table td:nth-child(2) {
    border-right: 1px dashed #dcdcdc;
}

/* Table wrapper for horizontal scroll */
.amd-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Keep table structure same on all devices */
.amd-data-table {
    min-width: 700px;
    /* important for scroll */
}

.amd-table-responsive::-webkit-scrollbar {
    height: 6px;
}

.amd-table-responsive::-webkit-scrollbar-thumb {
    background: #0a8a3c;
    border-radius: 10px;
}

/* Mobile Responsiveness */
/* @media (max-width: 768px) {

  .amd-data-table,
  .amd-data-table tbody,
  .amd-data-table tr,
  .amd-data-table td {
    display: block;
    width: 100%;
  }

  .amd-data-table tr {
    padding: 10px 0;
  }

  .amd-data-table td {
    text-align: center !important;
    padding: 8px 15px;
    border: none !important;
  }

  .amd-label {
    color: #888;
    font-size: 0.9rem;
    padding-bottom: 2px;
  }

  .amd-value {
    padding-top: 0;
    margin-bottom: 10px;
  }
} */

/* data table section end******************************* */

/* --- Section Base --- */
.amd-zig-leaders {
    font-family: "Segoe UI", system-ui, "Merriweather";
    background-color: var(--surface-2);
    padding: 28px 10px;
    color: var(--text-primary);
    overflow: hidden;
}

.amd-zig-leaders *,
.amd-zig-leaders *::before,
.amd-zig-leaders *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.amd-zig-container {
    margin: 0 auto;
    /* padding: 0 24px; */
}

/* --- Header --- */
.amd-zig-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 13px;
}

.amd-zig-badge {
    display: inline-block;
    background: rgba(232, 135, 30, 0.15);
    color: var(--gold);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.amd-zig-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.amd-zig-highlight {
    color: var(--gold);
}

.amd-zig-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Desktop Layout (Zig Zag) --- */
.amd-zig-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.amd-zig-card {
    display: flex;
    align-items: stretch;
    /* Image height perfectly matches text height */
    background: var(--surface);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(15, 76, 117, 0.08);
    position: relative;
    /* Removed fixed height so it adapts to text */
}

.amd-zig-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Hide swipe hint on desktop */
.amd-zig-swipe-hint {
    display: none;
}

/* --- Content Side --- */
.amd-zig-content {
    flex: 1;
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

.amd-zig-role {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    /* margin-bottom: 17px; */
}

.amd-zig-name {
    font-size: 1.2rem;
    margin-top: 10px;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 0.2;
}

.amd-zig-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
    /* margin-bottom: 30px; */
}

.amd-zif-desc-scroll {
    max-height: 284px;
    overflow-y: auto;
    padding-right: 10px;
}

@media (max-width: 768px) {
    .amd-zif-desc-scroll {
        max-height: 800px;
    }
}

.amd-zig-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.amd-zig-stat {
    display: flex;
    flex-direction: column;
}

.amd-zig-stat strong {
    font-size: 1.4rem;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 5px;
}

.amd-zig-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.amd-zig-socials {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.amd-zig-socials a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--amd-zig-transition);
}

.amd-zig-socials a:hover {
    background: var(--primary);
    color: var(--surface);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 76, 117, 0.2);
}

/* --- Image Side & The Desktop Cut --- */
.amd-zig-image-box {
    flex: 0.4;
    position: relative;
    background: var(--gold);
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.amd-zig-card:nth-child(even) .amd-zig-image-box {
    clip-path: polygon(0 0, 82% 0, 98% 100%, 0 100%);
}

.amd-zig-image-box {
    overflow: hidden;
}

.amd-zig-image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
}
/* .amd-zig-card:nth-child(even) .amd-zig-image-box img {
  left: 8px;
  width: calc(100% - 8px);
} */

/* =========================================
   MOBILE / TABLET CAROUSEL MAGIC
   ========================================= */
@media (max-width: 770px) {
    /* Make the container full width so cards can scroll to the edge */
    .amd-zig-container {
        padding: 0;
    }

    .amd-zig-header {
        padding: 0 24px;
        margin-bottom: 20px;
    }

    /* Show the swipe hint */
    .amd-zig-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: var(--text-muted);
        font-size: 0.9rem;
        margin-bottom: 30px;
        padding: 0 24px;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            opacity: 0.6;
        }

        50% {
            opacity: 1;
        }

        100% {
            opacity: 0.6;
        }
    }

    /* Change wrapper to Horizontal CSS Scroll Snap */
    .amd-zig-wrapper {
        flex-direction: row;
        gap: 17px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        /* The magic property */
        padding: 0 0px 20px 10px;
        /* Bottom padding for shadow */
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
        -ms-overflow-style: none;
        /* Hide scrollbar IE */
    }

    /* Hide scrollbar Chrome/Safari/Edge */
    .amd-zig-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Transform cards into carousel slides */
    .amd-zig-card,
    .amd-zig-card:nth-child(even) {
        flex: 0 0 85%;
        /* Card takes up 85% of screen (peeks the next one!) */
        flex-direction: column-reverse;
        /* Image always on top */
        scroll-snap-align: center;
        /* Snaps perfectly into view */
    }

    /* Remove the slanted clip-paths for the mobile cards */
    .amd-zig-image-box,
    .amd-zig-card:nth-child(even) .amd-zig-image-box {
        clip-path: none !important;
        background: none;
        flex: none;
        /* Turn off flex-grow so height can be controlled */
        height: 300px;
        /* Fixed height for image inside carousel */
        width: 100%;
    }

    /* Reset image positions to standard */
    .amd-zig-image-box img,
    .amd-zig-card:nth-child(even) .amd-zig-image-box img {
        position: relative;
        left: 0;
        width: 100%;
    }

    /* Adjust content padding */
    .amd-zig-content {
        padding: 30px 24px;
    }

    .amd-zig-name {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    /* Make card slightly wider on very small phones */
    .amd-zig-card,
    .amd-zig-card:nth-child(even) {
        flex: 0 0 92%;
    }

    .amd-zig-stats {
        gap: 20px;
    }
}

/* leader section end****************************** */

/* service section */
.amd-service-type-section {
    padding: 25px 10px;
    background-color: var(--surface);
    font-family: "Noto Sans Devanagari", sans-serif;
    margin: 0 auto;
}

.amd-service-type-main-title {
    text-align: center;
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 40px;
}

/* Toolbar */
.amd-service-type-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.amd-service-type-filters {
    display: flex;
    gap: 10px;
}

.amd-service-type-filter-btn {
    padding: 8px 25px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.amd-service-type-filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--accent-bg);
}

.amd-service-type-search-wrap {
    position: relative;
    width: 300px;
}

.amd-service-type-search-input {
    width: 100%;
    padding: 10px 45px 10px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.amd-service-type-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* --- MAIN LAYOUT SPLIT --- */
.amd-service-type-main-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

.amd-service-type-content-area {
    width: 100%;
}

.amd-service-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Card as <a> tag */
.amd-service-type-card {
    position: relative;
    background: var(--surface-3);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px 10px 10px 10px;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    /* Remove link underline */
    color: inherit;
    transition: all 0.3s ease;
    /* Keep text colors from variables */
}

.amd-service-type-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.amd-service-type-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.amd-service-type-card-top {
    display: flex;
    align-items: flex-start;
    /* Ã°Å¸â€Â¥ change (important) */
    gap: 12px;
    margin-bottom: 10px;
}

.amd-service-type-rate {
    font-size: 12px;
    color: #16a34a;
    font-weight: 500;
}

.amd-service-type-icon {
    font-size: 20px;
    background: var(--surface-3);
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: var(--primary);
}

.amd-service-type-card-title {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0;
}

.amd-service-type-card-footer {
    text-align: right;
}

.amd-service-type-readmore {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

/* RIGHT SIDE: Banner Area */
.amd-service-type-banner-area {
    position: sticky;
    top: 20px;
}

.amd-service-type-banner {
    position: relative;
    z-index: 1;
    overflow: hidden;

    border-radius: 8px;
    padding: 40px 30px;
    color: #fff;
    text-align: center;

    box-shadow: 0 15px 30px rgba(26, 110, 58, 0.2);
}

/* Background (image + gradient) */
.amd-service-type-banner::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg, rgba(26, 110, 58, 0.8), rgba(26, 110, 58, 0.5)),
        url("../images/coop-logo.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -2;
}

/* Overlay (extra polish) */
.amd-service-type-banner::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.4)
    );

    z-index: -1;
}

.amd-service-type-banner-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.amd-service-type-banner-content h2 span {
    color: var(--accent);
    display: block;
    font-weight: 700;
}

.amd-service-type-banner-content p {
    margin-bottom: 25px;
    font-size: 15px;
    opacity: 0.9;
}

.amd-service-type-banner-btn {
    background: white;
    color: var(--primary);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    transition: background 0.3s;
}

.amd-service-type-banner-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
    .amd-service-type-main-layout {
        grid-template-columns: 1fr;
    }

    .amd-service-type-banner-area {
        position: relative;
        top: 0;
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .amd-service-type-main-layout {
        display: flex;
    }

    .amd-service-type-grid {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }

    /* Hide scrollbar */
    .amd-service-type-grid::-webkit-scrollbar {
        display: none;
    }

    .amd-service-type-grid {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    /* Cards fix width */
    .amd-service-type-card {
        min-width: 220px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .amd-service-type-banner-area {
        display: none;
    }

    .amd-service-type-toolbar {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .amd-service-type-search-wrap {
        width: 100%;
    }
}

/* service section end*********************************8 */

/* notice page and news *********************************** */
/* Base settings */
.amd-news-section {
    font-family: "Inter", sans-serif;
    background-color: #f6f7f9;
    /* Very light gray background */
    padding: 25px 0;
    color: #333;
}

/* Main Grid Layout */
.amd-news-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    /* Events takes more space than Notices */
    gap: 30px;
    align-items: start;
}

/* Headers */
.amd-section-title {
    color: var(--primary);
    /* Dark Green */
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.amd-section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.amd-section-header-row .amd-section-title {
    margin: 0;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¤ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¤ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥ÃƒÆ’Ã¢â‚¬Â¹ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â  ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¤ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¤ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¤ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¨ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¤ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¹ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¤ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¸ Button */
.amd-btn-primary {
    background-color: #ef9c21;
    /* Orange */
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.amd-btn-primary:hover {
    background-color: var(--primary);
}

/* Shared Card Styles */
.amd-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    padding: 0px 15px 0px 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    margin-bottom: 10px;
    cursor: pointer;
}

.amd-card:hover {
    background: var(--primary-ultra-light);
}

/* Card Meta (Date & Tag) */
.amd-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amd-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8892a0;
    font-size: 0.8rem;
    font-weight: 500;
}

.amd-icon-calendar {
    width: 18px;
    height: 18px;
    color: #ef9c21;
    /* Orange calendar icon */
}

.amd-tag {
    background-color: #e5f4f8;
    /* Light blue/teal background */
    color: #1a7a85;
    /* Dark teal text */
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Typography inside cards */
.amd-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    /* line-height: 1.4; */
}

.amd-card-excerpt {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.amd-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #216f49;
    /* Dark green link */
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.amd-read-more:hover {
    opacity: 0.7;
}

.amd-read-more svg {
    width: 16px;
    height: 16px;
}

.amd-read-more.amd-align-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* Specific: Large Event Card */
.amd-event-card-large .amd-event-body {
    display: flex;
    gap: 25px;
}

.amd-event-card-large .amd-event-image {
    flex: 0 0 220px;
    /* Fixed width for image container */
}

.amd-event-card-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    height: 180px;
    object-position: 50% 0%;
    border-radius: 8px;
}

.amd-event-card-large .amd-event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

/* Specific: Small Events Grid */
.amd-small-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.amd-event-card-small .amd-event-body {
    display: flex;
    gap: 15px;
}

.amd-event-card-small .amd-event-image {
    flex: 0 0 100px;
}

.amd-event-card-small img {
    width: 100%;
    height: 100px;
    /* fixed height to keep them uniform */
    object-fit: cover;
    border-radius: 6px;
}

.amd-event-card-small .amd-card-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.amd-event-card-small .amd-card-excerpt {
    font-size: 0.75rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.amd-event-card-small .amd-read-more {
    font-size: 0.8rem;
}

/* Specific: Notice List */

.amd-notice-list {
    display: flex;
    flex-direction: column;
    height: 500px;
    max-height: fit-content;
    overflow: auto;
}

/* Card spacing */
.amd-notice-card {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}

/* Flex layout for image + title */
.amd-notice-flex {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Small image */
.amd-notice-img {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

/* Image fit */
.amd-notice-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Content */
.amd-notice-content {
    flex: 1;
}

/* Title */
.amd-notice-card .amd-card-title {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

/* Hover effect */
.amd-notice-card:hover {
    background: var(--primary-ultra-light);
}

/* Read more */
.amd-read-more {
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 0px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Stack Left and Right columns on tablets */
    .amd-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .amd-event-card-large .amd-event-content {
        padding: 10px 10px;
    }
    /* Stack elements inside the large event card */
    .amd-event-card-large .amd-event-body {
        flex-direction: column;
        gap: 5px;
    }

    .amd-event-card-large .amd-event-image {
        flex: auto;
        /* height: 200px; */
    }

    /* Stack the two small event cards on mobile */
    .amd-small-events-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITIES ===== */

.section-pad {
    padding: 30px 0;
}

.section-pad-sm {
    padding: 72px 0;
}

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: "Mukta", sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.22;
    margin-bottom: 14px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.text-center .section-sub {
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "mukta", "Merriweather";
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 60, 110, 0.28);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 158, 107, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* ===== BOARD ===== */
.board-section {
    background: var(--surface);
}

/* .board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 52px;
} */

.board-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.board-card {
    width: calc(25% - 18px);
}

.board-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    /* min-width: 200px; */
    transition: var(--transition);
    text-align: center;
}

@media (max-width: 992px) {
    .board-grid {
        /* display: flex !important;
    flex-direction: row; */
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 0px 29px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .board-grid::-webkit-scrollbar {
        display: none;
    }

    .board-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

.board-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.board-img-wrap {
    position: relative;
    overflow: hidden;
}

.board-img-wrap img {
    width: 100%;
    aspect-ratio: 3/3.2;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.board-card:hover .board-img-wrap img {
    transform: scale(1.06);
}

.board-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(10, 28, 55, 0.85)
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    opacity: 0;
    transition: var(--transition);
}

.board-card:hover .board-overlay {
    opacity: 1;
}

.board-social {
    display: flex;
    gap: 8px;
}

.board-social a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
}

.board-social a:hover {
    background: var(--accent);
}

.board-info {
    padding: 18px 16px 20px;
}

.board-info h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.board-info span {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

/* ===== MEMBERSHIP ===== */
.membership-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.membership-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.membership-section::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.membership-inner {
    position: relative;
    z-index: 1;
}

.membership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.membership-text .section-title,
.membership-text .section-sub {
    color: #fff;
}

.membership-text .section-sub {
    opacity: 0.82;
}

.benefits-list {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
}

.benefit-icon {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.steps-card {
    /* background: rgba(255, 255, 255, 0.1); */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    /* padding: 36px 32px */
}

.amd-membership-top-head {
    background: var(--accent);
    color: #fff;
    width: 100%;
    display: inline-block;
    padding: 0px 22px;
    margin: auto;
    border-top-right-radius: 18px;
    border-top-left-radius: 18px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.amd-membership-bottom-head {
    background: white;
    color: #000000;
    width: 100%;
    display: inline-block;
    padding: 6px 22px;
    margin: auto;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.steps-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 22px;
}

@media (max-width: 768px) {
    .steps-card h3 {
        font-size: 1.2rem;
        margin: 0px;
        padding: 20px 0;
    }
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.step-body h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #040404;
    margin-bottom: 3px;
}

.step-body p {
    font-size: 0.8rem;
    color: rgb(26 26 26 / 70%);
}

.step-connector {
    width: 2px;
    height: 19px;
    background: rgb(255 134 74 / 71%);
    margin-left: 17px;
}

/* ===== STATS ===== */
.stats-section {
    background: var(--surface-2);
    padding: 40px 0;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â°ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¸ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¹Ã…â€œÃƒÆ’Ã¢â‚¬Â¹ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â  magic */
    gap: 20px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 15px;
    align-items: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.stat-icon {
    width: 51px;
    height: 51px;
    background: var(--primary-ultra-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    /* margin: 0 auto 18px */
}

.stat-num {
    font-family: "Mukta", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.4rem;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-top: 6px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stat-card {
        padding: 10px 10px;
    }

    .stat-num {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-suffix {
        font-size: 1.1rem;
        color: var(--accent);
    }

    .stat-icon {
        width: 32px;
        height: 61px;
        background: var(--primary-ultra-light);
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        color: var(--primary);
    }
}

/* ===== GALLERY ===== */
.gallery-section {
    background: var(--surface);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    margin-top: 52px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-item:nth-child(1) img {
    height: 440px;
}

.gallery-item:not(:nth-child(1)) img {
    height: 210px;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 28, 55, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 1.8rem;
    transform: scale(0.7);
    transition: transform 0.25s;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 12, 25, 0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== NOTICES ===== */
.notices-section {
    background: var(--surface-2);
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.notice-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.notice-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.notice-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.notice-date i {
    color: var(--accent);
}

.notice-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.badge-urgent {
    background: #fee2e2;
    color: #c0392b;
}

.badge-info {
    background: var(--primary-ultra-light);
    color: var(--primary);
}

.badge-event {
    background: var(--accent-bg);
    color: var(--accent);
}

.notice-card h4 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.45;
}

.notice-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.notice-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.notice-link:hover {
    gap: 10px;
}

/* ===== DOWNLOADS ===== */
.downloads-section {
    background: var(--surface);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 52px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    text-decoration: none;
    transition: var(--transition);
}

.download-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.dl-icon {
    width: 44px;
    height: 44px;
    background: #fee2e2;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0392b;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.dl-info {
    flex: 1;
    min-width: 0;
}

.dl-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dl-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dl-btn {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.download-item:hover .dl-btn {
    background: var(--accent);
}

/* ===== FAQ ===== */
.amd-faq-section {
    position: relative;
    z-index: 1;
    background-color: var(--surface-3);
    background-image: url("../images/coop-logo.png");
    background-position: center; /* center align */
    background-repeat: no-repeat; /* repeat na ho */
    background-size: contain; /* full section cover */

    padding: 25px 0;
    font-family: "Noto Sans Devanagari", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
}

.amd-faq-wrapper {
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.amd-faq-main-title {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.amd-faq-container {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Added gap between items for better look */
}

.amd-faq-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    /* Rounded corners for each block */
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.555);
}
.amd-faq-item:hover {
    background: var(--primary-ultra-light);
}

.amd-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.amd-faq-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

/* --- ACTIVE STATE: Both Question and Answer Background Match --- */
.amd-faq-item.active {
    background-color: var(--surface);
    /* White background for the entire block */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.amd-faq-item.active .amd-faq-question {
    background-color: var(--surface);
    /* Question matches the item bg */
    color: var(--primary);
}

.amd-faq-item.active .amd-faq-icon {
    transform: rotate(45deg);
    border-color: var(--primary);
    color: var(--primary);
}

/* Answer Section */
.amd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    background-color: var(--surface);
    /* Answer matches the item bg */
}

.amd-faq-answer p {
    padding: 0 20px 25px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
}

.amd-faq-item.active .amd-faq-answer {
    max-height: 300px;
}

/* CTA Button */
.amd-faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.amd-faq-cta-btn:hover {
    background-color: var(--primary);
    color: var(--surface);
}

/* Responsive */
@media (max-width: 600px) {
    .amd-faq-main-title {
        font-size: 26px;
    }

    .amd-faq-question {
        font-size: 16px;
        padding: 20px 15px;
    }
}

/* ===== CONTACT ===== */
/* .contact-section {
  background: var(--surface-2)
} */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 52px;
    margin-top: 52px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ci-icon {
    width: 46px;
    height: 46px;
    background: var(--primary-ultra-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ci-body h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ci-body p,
.ci-body a {
    font-size: 0.86rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-map {
    width: 100%;
    height: 200px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface-3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 7px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text-primary);
    font-family: "DM Sans", "Merriweather";
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}
/* ===== FOOTER ===== */
footer {
    background: var(--primary);
    color: #fff;
}

.footer-top {
    padding: 72px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 48px;
}

.footer-brand .logo-mark {
    background: rgb(252, 252, 252);
}

.footer-grid .footer-brand img {
    width: 100%;
    mix-blend-mode: multiply;
}

.footer-brand .logo-text,
.footer-brand .logo-text span {
    color: #fff;
    opacity: 0.9;
}

.footer-desc {
    font-size: 0.86rem;
    color: rgb(255, 255, 255);
    line-height: 1.75;
    margin: 16px 0 24px;
}

.footer-social {
    display: flex;
    gap: 7px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h5 {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.footer-links {
    position: relative;
    right: 20px;
    /* margin-right: 20px; */
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgb(255 255 255);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #fff;
    gap: 12px;
}

.footer-links a i {
    font-size: 0.65rem;
    color: var(--accent-light);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 11px 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: "DM Sans", "Merriweather";
    font-size: 0.88rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-light);
}

.newsletter-form button {
    padding: 11px 18px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgb(255 255 255);
}

.footer-bottom p a {
    color: white;
    text-decoration: none;
}

/* ===== BACK TO TOP ===== */
#back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 500;
}

#back-top.show {
    opacity: 1;
    transform: translateY(0);
}

#back-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ===== FONT SIZE CONTROLS ===== */
.font-controls {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.font-btn {
    width: 34px;
    height: 34px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.font-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition:
        opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition:
        opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

[data-delay="1"] {
    transition-delay: 0.1s;
}

[data-delay="2"] {
    transition-delay: 0.2s;
}

[data-delay="3"] {
    transition-delay: 0.3s;
}

[data-delay="4"] {
    transition-delay: 0.4s;
}

[data-delay="5"] {
    transition-delay: 0.5s;
}

[data-delay="6"] {
    transition-delay: 0.6s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .board-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 860px) {
    .nav-menu,
    .nav-actions .btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .about-grid,
    .membership-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-img-badge {
        bottom: -10px;
        right: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item:nth-child(1) {
        grid-row: span 1;
    }

    .gallery-item:nth-child(1) img,
    .gallery-item:not(:nth-child(1)) img {
        height: 200px;
    }

    .notices-grid,
    .downloads-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-stat:nth-child(n + 3) {
        display: none;
    }

    .font-controls {
        display: none;
    }
}

@media (max-width: 580px) {
    .section-pad {
        padding: 30px 0;
    }

    .services-grid,
    .stats-grid,
    .notices-grid,
    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        /* grid-template-columns: 1fr; */
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 350px) {
    .footer-links {
        right: 34px;
    }

    .footer-grid {
        gap: 7px;
    }
}

/* about us page*****************************************************************8888 */

/* Main Wrapper */
.amd-about-main-wrapper {
    /* max-width: 1200px; */

    padding: 0;
    margin: 10px auto;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-about-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px 20px;
}

.amd-about-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-about-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.amd-about-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.amd-about-sep {
    color: var(--border);
    font-size: 0.7rem;
}

/* Grid Core System */
.amd-about-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-about-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-about-grid-item:last-child {
    border-right: none;
}

.amd-about-span-12 {
    grid-column: span 12;
}

.amd-about-span-8 {
    grid-column: span 8;
}

.amd-about-span-4 {
    grid-column: span 4;
}

/* Hero Section Styles */
.amd-about-hero-text {
    grid-column: span 9;
}

.amd-about-hero-stats {
    grid-column: span 3;
    padding: 0;
    display: flex;
    flex-direction: column;

    height: 100%;
    max-height: 270px;

    overflow-y: auto;
    /* ÃƒÆ’Ã‚Â°Ãƒâ€¦Ã‚Â¸ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“Ãƒâ€¹Ã¢â‚¬Â  vertical scroll only */
    overflow-x: hidden;
    /* ÃƒÆ’Ã‚Â°Ãƒâ€¦Ã‚Â¸ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“Ãƒâ€¹Ã¢â‚¬Â  horizontal hide */
}

.amd-about-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.amd-about-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    line-height: 1.1;
    margin: 15px 0;
    font-weight: 800;
    color: var(--text-primary);
}

.amd-about-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-about-sub-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    /* max-width: 800px; */
    height: 100%;
    text-align: justify;
    margin: 0;
}

/* Stats Cards */
.amd-about-stat-card {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.amd-about-stat-card:last-child {
    border-bottom: none;
}

.amd-about-stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.amd-about-stat-lbl {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 5px;
}

.amd-about-gold-bg {
    background: var(--gold);
}

.amd-about-gold-bg .amd-about-stat-val,
.amd-about-gold-bg .amd-about-stat-lbl {
    color: white;
}

/* Info Section (Provided Content) */
.amd-about-content-header {
    display: flex;
    /* align-items: center; */
    gap: 15px;
    margin-bottom: 25px;
}

.amd-about-content-header i {
    font-size: 2.2rem;
    color: var(--gold);
}

.amd-about-content-header h3 {
    font-size: 1.8rem;
    color: var(--primary);
}

.amd-about-description p span {
    font-size: 1.2rem !important;
    color: var(--text-secondary) !important;
    /* max-width: 800px; */
    height: 100%;
    text-align: justify !important;
    margin: 0;
}

.amd-about-primary-bg {
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.amd-about-side-box i {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.8;
}

.amd-about-side-box h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.amd-about-side-box p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Values Bar */
.amd-about-values-bar {
    padding: 20px;
    background: var(--surface-2);
}

.amd-about-value-flex {
    display: flex;
    flex-direction: row;
    /* ÃƒÆ’Ã‚Â°Ãƒâ€¦Ã‚Â¸ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“Ãƒâ€¹Ã¢â‚¬Â  horizontal */
    gap: 20px;
    justify-content: space-between;
    overflow-x: auto;
    /* ÃƒÆ’Ã‚Â°Ãƒâ€¦Ã‚Â¸ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“Ãƒâ€¹Ã¢â‚¬Â  horizontal scroll */
    overflow-y: hidden;
    width: 100%;
}

/* hide scrollbar (Chrome, Safari) */
.amd-about-value-flex::-webkit-scrollbar {
    display: none;
}

/* hide scrollbar (Firefox) */
.amd-about-value-flex {
    scrollbar-width: none;
}

.amd-about-v-item {
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;

    gap: 0;
    min-width: max-content;
    color: var(--primary);
}

.amd-about-v-item {
    padding: 8px 15px;
    border-right: 1px solid var(--border);
}

/* last item ka divider remove */
.amd-about-v-item:last-child {
    border-right: none;
}
.amd-about-v-item span {
    color: var(--gold);
}

/* Features Section */
.amd-about-gold-text {
    color: var(--gold);
}

.amd-about-feature-title h2 {
    font-size: clamp(1.5rem, 2.2vw, 3rem);
    line-height: 1.2;
}

.amd-about-feature-items {
    padding: 0;
}

.amd-about-f-row {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 40px;
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
}

.amd-about-f-row:last-child {
    border-bottom: none;
}

.amd-about-f-row:hover {
    background: var(--primary-ultra-light);
    padding-left: 60px;
}

.amd-about-f-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.5;
}

.amd-about-f-txt h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.amd-about-f-txt p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .amd-about-hero-text,
    .amd-about-hero-stats,
    .amd-about-span-8,
    .amd-about-span-4 {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-about-hero-stats {
        flex-direction: row;
        height: 127px;
        overflow: auto;
    }

    .amd-about-stat-val {
        font-size: 1.3rem;
    }

    .amd-about-stat-card {
        border-right: 1px solid var(--border);
        border-bottom: none;
        /* height: 125px; */
        min-width: fit-content;
    }

    .amd-about-stat-card:last-child {
        border-right: none;
    }

    .amd-about-f-row {
        /* padding: 30px; */
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .amd-about-content-header h3,
    .amd-about-content-header i {
        font-size: 1.5rem;
    }

    .amd-about-content-header {
        margin-bottom: 6px;
    }
}
@media (max-width: 992px) {
    .amd-about-v-item {
        font-size: 1rem;
    }
}

.amd-time-section {
    background: var(--surface);
}

/* Header Area */
.amd-time-header-box {
    position: relative;
    padding: 20px;
    padding-right: 90px;
    /* ðŸ‘ˆ space for logo */
    border-bottom: 1px solid var(--border);
    background: #fcfdfe;
}

.amd-time-header-box::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    background: url("../images/â€”Pngtreeâ€”vintage\ open\ book\ with\ feather_22626314.png")
        no-repeat center;
    background-size: contain;
    opacity: 31%;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    transition: 0.3s;
}

.amd-time-header-box:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.amd-time-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-time-main-heading {
    font-size: clamp(1.5rem, 2.6vw, 4rem);
    margin-top: 10px;
    font-weight: 800;
}

.amd-time-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
}

/* Desktop Grid View */
.amd-time-track {
    height: 523px;
    overflow: auto;
    display: grid;
    grid-template-columns: 1fr;
}

.amd-time-card {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.amd-time-card:last-child {
    border-bottom: none;
}

.amd-time-year-side {
    grid-column: span 3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    position: relative;
    background: #fff;
}

.amd-time-content-side {
    grid-column: span 9;
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Circle & Line Animation */
.amd-time-circle {
    width: 90px;
    height: 90px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    z-index: 2;
    transition: var(--transition);
}

.amd-time-date {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.amd-time-bs {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.amd-time-line {
    position: absolute;
    width: 2px;
    height: 50%;
    background: var(--border);
    bottom: 0;
    z-index: 1;
}

/* Background Icon */
.amd-time-bg-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.03;
    transition: var(--transition);
}

/* Hover Effects Desktop */
.amd-time-card:hover .amd-time-circle {
    border-color: var(--primary);
    transform: scale(1.1) rotate(5deg);
}

.amd-time-card:hover .amd-time-content-side {
    background: #f0fdf4;
}

.amd-time-card:hover .amd-time-bg-icon {
    opacity: 0.1;
    transform: scale(1.2);
}

/* Active State */
.amd-time-active .amd-time-circle {
    background: var(--primary);
    border-color: var(--primary);
}

.amd-time-active .amd-time-date {
    color: white;
}

.amd-time-mobile-hint {
    display: none;
}

/* --- MOBILE CAROUSEL VIEW --- */

/* --- MOBILE CAROUSEL VIEW --- */
@media (max-width: 768px) {
    .amd-time-header-box::after {
        right: 0;
    }

    .amd-time-section {
        background: var(--surface-3);
        border: none;
    }

    .amd-time-header-box {
        /* text-align: center; */
        padding: 20px;
        border: 1px solid var(--border);
        background: var(--surface-3);
    }

    .amd-time-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 20px 0;
        cursor: grab;
    }

    .amd-time-container::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar */

    .amd-time-track {
        display: flex;
        height: auto;
        width: max-content;
        gap: 15px;
        padding: 0 20px;
    }

    .amd-time-card {
        display: flex;
        flex-direction: column;
        width: 280px;
        box-shadow: rgba(0, 0, 0, 0.14) 0px 3px 8px;
        /* Carousel card width */
        border: 1px solid var(--border);
        scroll-snap-align: center;
        background: white;
    }

    .amd-time-year-side {
        width: 100%;
        padding: 30px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-time-content-side {
        width: 100%;
        padding: 30px 20px;
        text-align: center;
    }

    .amd-time-line {
        display: none;
    }

    .amd-time-mobile-hint {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-size: 0.8rem;
        color: var(--text-secondary);
        margin-top: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}

/* about us page end******************************************************************* */

/* board member page ************************************************************** */
.amd-bod-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-bod-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-bod-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-bod-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-bod-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.amd-bod-sep {
    color: var(--border);
    font-size: 0.7rem;
}

/* Grid Core */
.amd-bod-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}
.amd-bod-key-leaders.single-leader {
    justify-content: center;
}

.amd-bod-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-bod-grid-item:last-child {
    border-right: none;
}

.amd-bod-span-12 {
    grid-column: span 12;
}

.amd-bod-span-6 {
    grid-column: span 6;
}

.amd-bod-span-3 {
    grid-column: span 3;
}
.amd-bod-span-4 {
    grid-column: span 4;
}

.amd-bod-no-padding {
    padding: 0;
}

/* Hero Section */
.amd-bod-hero-text {
    grid-column: span 8;
}

.amd-bod-hero-info {
    grid-column: span 4;
    background: var(--primary);
    color: white;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.amd-bod-info-box p {
    margin-bottom: 0;
}

.amd-bod-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-bod-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    line-height: 1;
    margin: 15px 0;
    font-weight: 800;
}

.amd-bod-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-bod-sub-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
}

/* BIG IMAGE SECTION STYLES */
.amd-bod-big-img-container {
    position: relative;
    width: 100%;
    height: 520px;
    /* Adjust height as needed */
    overflow: hidden;
}

.amd-bod-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.8s ease;
}

.amd-bod-big-img-container:hover .amd-bod-featured-img {
    transform: scale(1.05);
}

.amd-bod-img-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.amd-bod-img-caption {
    background: rgba(13, 27, 46, 0.8);
    color: white;
    padding: 8px 15px;
    font-size: 0.85rem;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

/* Key Leaders */
.amd-bod-leader-card:hover {
    background: var(--surface-2);
}

.amd-bod-card-flex {
    display: flex;
    gap: 30px;
    align-items: center;
}

.amd-bod-img-box img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border);
}

.amd-bod-designation {
    background: var(--gold);
    color: white;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 4px;
}

.amd-bod-name {
    font-size: 1.6rem;
    margin: 5px 0;
    color: var(--primary);
}

.amd-bod-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Small Members */
/* .amd-bod-members-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.amd-bod-members-grid::-webkit-scrollbar {
  display: none;
}

.amd-bod-grid-item {
  min-width: 260px;
  flex: 0 0 auto;
  scroll-snap-align: start;
} */

@media (max-width: 768px) {
    .amd-bod-members-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding: 10px;
        scroll-snap-type: x mandatory;
    }

    .amd-bod-grid-item {
        min-width: 200px;
        flex: 0 0 auto;
        scroll-snap-align: start;
        border: 1px solid var(--border);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    }

    .amd-bod-members-grid::-webkit-scrollbar {
        display: none;
    }
}
.amd-bod-member-small {
    text-align: center;
    padding: 20px;
}

.amd-bod-designation-sm {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
    margin-top: 5px;
}

.amd-bod-name-sm {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 668px) {
    .amd-bod-hero-text,
    .amd-bod-hero-info,
    .amd-bod-span-6 {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-bod-big-img-container {
        height: 300px;
    }

    .amd-bod-card-flex {
        flex-direction: column;
        text-align: center;
    }
}

.amd-bod-key-leaders {
    justify-items: center;
}

/* board member page end********************************************************* */

/* account committee page *******************************************************/

/* Main Wrapper - Geometric Frame */
.amd-audit-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-audit-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-audit-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-audit-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-audit-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.amd-audit-sep {
    color: var(--border);
    font-size: 0.7rem;
}

/* Grid Core System */
.amd-audit-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-audit-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-audit-grid-item:last-child {
    border-right: none;
}

.amd-audit-span-12 {
    grid-column: span 12;
}

.amd-audit-span-6 {
    grid-column: span 6;
}

.amd-audit-no-padding {
    padding: 0;
}

/* Hero Section Styles */
.amd-audit-hero-text {
    grid-column: span 8;
}

.amd-audit-hero-meta {
    grid-column: span 4;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.amd-audit-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-audit-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    line-height: 1.1;
    margin: 15px 0;
    font-weight: 800;
}

.amd-audit-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-audit-sub-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: 0;
}

.amd-audit-meta-box i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.amd-audit-meta-box h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
}

/* BIG IMAGE SECTION */
.amd-audit-big-img-container {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
}

.amd-audit-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: 0.5s;
}

.amd-audit-big-img-container:hover .amd-audit-featured-img {
    transform: scale(1.05);
}

.amd-audit-img-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 110, 58, 0.9);
    padding: 8px 15px;
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Coordinator Card (ÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¦Ãƒâ€šÃ‚Â¸ÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¤Ãƒâ€šÃ‚Â¯ÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¥ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¤Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¤ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢) */
.amd-audit-card-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.amd-audit-img-box img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-ultra-light);
}

.amd-audit-designation {
    background: var(--primary);
    color: white;
    padding: 3px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
}

.amd-audit-name {
    font-size: 2rem;
    color: var(--primary);
    margin: 10px 0;
}

.amd-audit-desc {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.amd-audit-divider-long {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin-top: 20px;
}

/* Members Grid (ÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¤Ãƒâ€šÃ‚Â¸ÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¤Ãƒâ€šÃ‚Â¦ÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¤Ãƒâ€šÃ‚Â¸ÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¥Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â Ãƒâ€šÃ‚Â¤Ãƒâ€šÃ‚Â¯) */
.amd-audit-member-card:hover {
    background: var(--surface-2);
}

.amd-audit-member-flex {
    display: flex;
    gap: 20px;
    align-items: center;
}

.amd-audit-m-img img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.amd-audit-designation-sm {
    color: var(--gold);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.amd-audit-name-sm {
    font-size: 1.3rem;
    margin: 3px 0;
    color: var(--text-primary);
}

.amd-audit-m-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer Note */
.amd-audit-footer-note {
    text-align: center;
    padding: 25px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: var(--surface-2);
}

/* Responsive */
@media (max-width: 992px) {
    .amd-audit-hero-text,
    .amd-audit-hero-meta,
    .amd-audit-span-6 {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-audit-card-flex,
    .amd-audit-member-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* account committee page end *******************************************************/

/* management team  page*********************************************************** */
/* Main Layout Wrapper */
.amd-team-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-team-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-team-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-team-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-team-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.amd-team-sep {
    color: var(--border);
    font-size: 0.7rem;
}

/* Grid Core */
.amd-team-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-team-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-team-grid-item:last-child {
    border-right: none;
}

.amd-team-span-12 {
    grid-column: span 12;
}

.amd-team-span-4 {
    grid-column: span 4;
}

.amd-team-no-padding {
    padding: 0;
}

/* Hero Section */
.amd-team-hero-text {
    grid-column: span 8;
}

.amd-team-hero-stats {
    grid-column: span 4;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.amd-team-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-team-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    line-height: 1;
    margin: 15px 0;
    font-weight: 800;
}

.amd-team-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-team-sub-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: 0;
}

.amd-team-stat-box {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.amd-team-stat-box:last-child {
    border-bottom: none;
}

.amd-team-stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.amd-team-stat-lbl {
    font-weight: 600;
    color: var(--text-secondary);
}

.amd-team-primary-bg {
    background: var(--primary);
    color: white;
}

.amd-team-primary-bg .amd-team-stat-val,
.amd-team-primary-bg .amd-team-stat-lbl {
    color: white;
}

/* BIG IMAGE SECTION */
.amd-team-big-img-container {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.amd-team-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amd-team-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.amd-team-img-caption {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* CEO SECTION */
.amd-team-ceo-flex {
    display: flex;
    gap: 50px;
    align-items: center;
}

.amd-team-ceo-img img {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: 15px 15px 0 var(--primary-ultra-light);
}

.amd-team-designation {
    background: var(--gold);
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.amd-team-name {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.amd-team-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    border-left: 4px solid var(--gold);
    padding-left: 20px;
}

.amd-team-contact {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

/* DEPARTMENT HEADS GRID */
.amd-team-head-card {
    text-align: center;
    transition: 0.3s;
}

.amd-team-head-card:hover {
    background: var(--surface-2);
}

.amd-team-head-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--border);
}

.amd-team-name-sm {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.amd-team-dept {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
}

.amd-team-divider {
    width: 40px;
    height: 3px;
    background: var(--primary-light);
    margin: 15px auto 0;
}

/* Footer Note */
.amd-team-footer-note {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
    .amd-team-hero-text,
    .amd-team-hero-stats,
    .amd-team-span-4 {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-team-ceo-flex {
        flex-direction: column;
        text-align: center;
    }

    .amd-team-ceo-img img {
        box-shadow: none;
        margin-bottom: 20px;
    }

    .amd-team-quote {
        border-left: none;
        border-top: 2px solid var(--gold);
        padding: 15px 0;
    }

    .amd-team-hero-stats {
        flex-direction: row;
    }
}

/* management team  page end*********************************************************** */

/* our service page **************************************************************** */

/* Wrapper */
.amd-services-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-services-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-services-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-services-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Grid Logic */
.amd-services-grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.amd-services-grid-item {
    border-right: 1px solid var(--border);
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.amd-services-grid-item:last-child {
    border-right: none;
}

.amd-services-span-12 {
    grid-column: span 12;
}

.amd-services-span-4 {
    grid-column: span 4;
}

.amd-services-span-3 {
    grid-column: span 3;
}

/* Remove padding from grid item so the link can take full space */
.amd-services-no-padding {
    padding: 0 !important;
}

/* Clickable Link Styling (The Core Change) */
.amd-services-card-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 30px;
    /* Padding moved inside <a> tag */
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.amd-services-card-link:hover {
    background: var(--surface-2);
    padding-left: 35px;
    /* Sliding animation */
}

/* 15% Tag & Animation */
.amd-services-promo-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 15px;
    letter-spacing: 1px;
    z-index: 5;
    animation: amdPulse 2s infinite;
}

@keyframes amdPulse {
    0%,
    100% {
        background: var(--primary);
    }

    50% {
        background: var(--gold);
    }
}

/* Badge and Typography */
.amd-services-card-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold);
    position: absolute;
    top: 3px;
    left: 20px;
    border: 1px solid var(--gold);
    padding: 2px 6px;
    border-radius: 4px;
}

.amd-services-card-link h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.amd-services-card-link p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Category Sections */
.amd-services-cat-title {
    padding: 20px 20px;
    background: #fcfdfe;
}

.amd-services-title-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--primary);
}

.amd-services-title-flex i {
    font-size: 2.2rem;
}

.amd-services-title-flex h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

.amd-services-primary-bg {
    background: var(--primary);
}

/* Hero Section */
.amd-services-hero-text {
    grid-column: span 8;
    padding: 20px;
}

.amd-services-hero-visual {
    grid-column: span 4;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.amd-services-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-services-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    line-height: 1;
    margin: 15px 0;
    font-weight: 800;
}

.amd-services-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-services-sub-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
}

.amd-services-gold-bg {
    background: var(--primary);
    color: white;
}

.amd-services-gold-bg .amd-services-visual-box i {
    font-size: 3rem;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 992px) {
    .amd-services-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-services-hero-text,
    .amd-services-hero-visual {
        grid-column: span 12;
        padding: 40px 30px;
    }

    .amd-services-card-link {
        padding: 40px 30px;
    }
}

/* our service page end*********************************************************** */

/*our service detail page***********************************************************/
.amd-detail-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-detail-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-detail-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-detail-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-detail-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.amd-detail-sep {
    color: var(--border);
    font-size: 0.7rem;
}

/* Grid Core */
.amd-detail-grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.amd-detail-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-detail-grid-item:last-child {
    border-right: none;
}

.amd-detail-span-12 {
    grid-column: span 12;
}

.amd-detail-span-9 {
    grid-column: span 9;
}

.amd-detail-span-8 {
    grid-column: span 12;
}

.amd-detail-span-4 {
    grid-column: span 4;
}

.amd-detail-span-3 {
    grid-column: span 3;
}

/* Hero Section */
.amd-detail-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-detail-main-title {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    line-height: 1.1;
    margin: 15px 0;
    font-weight: 800;
    color: var(--text-primary);
}

.amd-detail-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-detail-lead {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0;
}

.amd-detail-gold-bg {
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.amd-detail-promo-box .amd-detail-rate {
    font-size: 1.5rem;
    font-weight: 900;
    display: block;
    line-height: 1.1;
}

.amd-detail-promo-box .amd-detail-rate-label {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Content Section */
.amd-detail-section-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.amd-detail-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: var(--gold);
}

.amd-detail-main-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    text-align: justify;
}

.amd-detail-feature-list {
    list-style: none;
    margin-top: 20px;
}

.amd-detail-feature-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.amd-detail-feature-list i {
    color: var(--primary);
    font-size: 1.3rem;
}

/* Premium Table */
.amd-detail-table-wrapper {
    margin-top: 30px;
    border: 1px solid var(--border);
}

.amd-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.amd-detail-table th,
.amd-detail-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.amd-detail-table th {
    background: var(--surface-2);
    color: var(--primary);
    font-weight: 800;
}

.amd-detail-table tr:last-child td {
    border-bottom: none;
}

.amd-detail-highlight-cell {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.4rem;
}

/* Sidebar */
.amd-detail-sticky-sidebar {
    position: sticky;
    top: 20px;
}

.amd-detail-cta-card {
    background: var(--surface-3);
    color: var(--text-primary);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.amd-detail-cta-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.amd-detail-cta-card p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.amd-detail-btn-primary {
    display: block;
    background: var(--gold);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    margin-bottom: 15px;
    transition: 0.3s;
}

.amd-detail-btn-outline {
    display: block;
    border: 1px solid var(--primary);
    color: var(--text-primary);
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
}

.amd-detail-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.amd-detail-docs-box {
    padding: 0;
}

.amd-detail-docs-box h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

.amd-detail-docs-box ul {
    list-style: none;
}

.amd-detail-docs-box li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-secondary);
}

.amd-detail-docs-box i {
    color: var(--gold);
}

.amd-detail-footer-info {
    background: var(--surface-2);
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .amd-detail-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

/*our service detail page end********************************************************** */

/* vacancy page ********************************************************888 */
/* Wrapper */
.amd-job-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-job-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-job-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-job-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-job-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Grid Core */
.amd-job-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-job-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-job-grid-item:last-child {
    border-right: none;
}

.amd-job-span-12 {
    grid-column: span 12;
    border-right: none;
}

.amd-job-span-8 {
    grid-column: span 8;
}

.amd-job-span-4 {
    grid-column: span 4;
}

/* Hero Section */
.amd-job-hero-text {
    grid-column: span 8;
}

.amd-job-hero-meta {
    grid-column: span 4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.amd-job-gold-bg {
    background-color: var(--primary);
}

.amd-job-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-job-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    margin: 15px 0;
    font-weight: 800;
    line-height: 1;
}

.amd-job-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-job-meta-box i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Search & Filter Styles */
.amd-job-filter-grid {
    background: var(--surface-2);
}

.amd-job-search-field,
.amd-job-select-field {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border: 1px solid var(--border);
    padding: 10px 20px;
}

.amd-job-search-field input,
.amd-job-select-field select {
    width: 100%;
    border: none;
    outline: none;
    font-family: var(--amd-font);
    font-size: 1.1rem;
    background: transparent;
}

.amd-job-search-field i,
.amd-job-select-field i {
    color: var(--gold);
}

/* Vacancy Row */
.amd-job-row {
    transition: 0.3s;
    border-bottom: 1px solid var(--border);
}

.amd-job-row a {
    text-decoration: none;
}

.amd-job-row:hover {
    background: var(--surface-3);
}

.amd-job-row:hover .amd-job-title {
    color: var(--primary);
}

.amd-job-row-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.amd-job-info {
    flex: 4;
}

.amd-job-type {
    background: var(--primary-ultra-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
}

.amd-job-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 10px 0;
}

.amd-job-meta-list {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    flex-wrap: wrap;
}

.amd-job-meta-list li {
    font-size: 0.77rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.amd-job-meta-list i {
    color: var(--gold);
}

.amd-job-deadline {
    flex: 1;
    text-align: center;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 0 20px;
}

.amd-job-dl-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.amd-job-dl-date {
    font-size: 1.2rem;
    font-weight: 800;
    color: #d32f2f;
}

.amd-job-action {
    flex: 1;
    text-align: right;
}

.amd-job-btn-apply {
    display: inline-block;
    background: transparent;
    color: var(--text-primary);
    padding: 12px 25px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.amd-job-btn-apply:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Apply Info Footer */
.amd-job-apply-info {
    text-align: center;
    background: var(--primary-ultra-light);
}

.amd-job-apply-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.amd-job-apply-info p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 991px) {
    .amd-job-title {
        font-size: 1.5rem;
    }

    .amd-job-dl-date {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .amd-job-row-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .amd-job-deadline {
        border: none;
        padding: 0;
        text-align: left;
    }

    .amd-job-action {
        text-align: left;
        width: 100%;
    }

    .amd-job-btn-apply {
        display: block;
        text-align: center;
    }
}

@media (max-width: 568px) {
    .amd-job-grid-item {
        padding: 10px;
    }

    .amd-job-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

/* vacancy page end******************************************************** */

/* vacancy detail page ***************************************************8 */
.amd-job-det-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-job-det-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-job-det-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-job-det-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-job-det-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.amd-job-det-sep {
    color: var(--border);
    font-size: 0.7rem;
}

/* Grid Core */
.amd-job-det-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-job-det-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-job-det-grid-item:last-child {
    border-right: none;
}

.amd-job-det-span-12 {
    grid-column: span 12;
    border-right: none;
}

.amd-job-det-span-9 {
    grid-column: span 9;
}

.amd-job-det-span-8 {
    grid-column: span 8;
}

.amd-job-det-span-4 {
    grid-column: span 4;
}

.amd-job-det-span-3 {
    grid-column: span 3;
}

/* Hero Section */
.amd-job-det-tag {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-job-det-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    margin: 15px 0;
    font-weight: 800;
    line-height: 1;
}

.amd-job-det-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-job-det-hero-meta {
    display: flex;
    gap: 30px;
    color: var(--text-secondary);
    font-weight: 600;
}

.amd-job-det-hero-meta i {
    color: var(--gold);
}

.amd-job-det-gold-bg {
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.amd-job-det-dl-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
}

.amd-job-det-dl-date {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 5px 0;
}

/* Main Content Area */
.amd-job-det-sec-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-left: 6px solid var(--gold);
    padding-left: 20px;
}

.amd-job-det-main-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: justify;
}

.amd-job-det-list {
    list-style: none;
    margin-top: 15px;
}

.amd-job-det-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.amd-job-det-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Sidebar Summary Card */
.amd-job-det-summary-card {
    background: var(--surface-2);
    padding: 40px;
    border: 1px solid var(--border);
}

.amd-job-det-summary-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.amd-job-det-sum-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.amd-job-det-sum-row span {
    color: var(--text-secondary);
}

.amd-job-det-sum-row strong {
    color: var(--text-primary);
}

.amd-job-det-btn-apply {
    display: block;
    background: var(--primary);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    margin-top: 25px;
    transition: 0.3s;
}

.amd-job-det-btn-form {
    display: block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    margin-top: 10px;
    transition: 0.3s;
}

.amd-job-det-btn-apply:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

/* Social Share */
.amd-job-det-social-share {
    margin-top: 30px;
    text-align: center;
}

.amd-job-det-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.amd-job-det-social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    display: flex;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s;
}

.amd-job-det-social-icons a:hover {
    background: var(--primary);
    color: white;
}

.amd-job-det-footer {
    text-align: center;
    background: #fff8f8;
    color: #d32f2f;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .amd-job-det-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-job-det-hero-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* vacancy detail page end****************************************************** */

/* notice page ************************************************************** */
/* Wrapper */
.amd-notices-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-notices-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-notices-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-notices-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Grid Logic */
.amd-notices-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-notices-grid-item {
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.amd-notices-grid-item:last-child {
    border-right: none;
}

.amd-notices-span-12 {
    grid-column: span 12;
    border-right: none;
    border-bottom: 1px solid var(--border);
}

.amd-notices-no-padding {
    padding: 0 !important;
}

/* Clickable Row Link (The Core Improvement) */
.amd-notices-row-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 30px 20px;
    /* Padding moved inside <a> */
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.amd-notices-row-link:hover {
    background: var(--surface-2);
}

.amd-notices-row-link:hover h3 {
    color: var(--primary);
    transform: translateX(5px);
}

/* Flexbox for Row Content */
.amd-notices-row-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Date Box */
.amd-notices-date-box {
    min-width: 90px;
    height: 90px;
    background: white;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.amd-notices-day {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.amd-notices-month {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Content Info */
.amd-notices-main-info {
    flex: 1;
}

.amd-notices-main-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    transition: 0.3s;
}

.amd-notices-main-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Urgent Badge & Styling */
.amd-notices-urgent-bg {
    background: #fffcf0;
}

.amd-notices-urgent-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gold);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 15px;
    z-index: 5;
}

/* Action Buttons as Spans (Since they are inside <a>) */
.amd-notices-btn-pdf {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--primary);
}

.amd-notices-btn-view {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
}

/* Hero & Search */
.amd-notices-hero-text {
    grid-column: span 8;
    padding: 20px;
}

.amd-notices-hero-search {
    grid-column: span 4;
    padding: 20px;
    background: var(--surface-2);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.amd-notices-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-notices-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    margin: 15px 0;
    font-weight: 800;
}

.amd-notices-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-notices-search-box i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.amd-notices-footer-area {
    text-align: center;
    padding: 30px;
}

.amd-notices-btn-load {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 800;
}

/* Responsive */
@media (max-width: 768px) {
    .amd-notices-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-notices-row-link {
        padding: 20px 20px;
    }

    .amd-notices-row-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 11px;
    }

    .amd-notices-date-box {
        width: 100%;
        flex-direction: row;
        height: auto;

        gap: 15px;
        justify-content: flex-start;
    }

    .amd-notices-btn-pdf {
        display: block;
        text-align: center;
    }

    .amd-notices-main-info h3 {
        font-size: 1.3rem;
    }

    .amd-notices-main-info h3 {
        font-size: 1.5rem;
    }
    .amd-notices-day {
        font-size: 1.5rem;
    }
}
@media (max-width: 568px) {
    .amd-notices-row-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .amd-notices-main-info h3 {
        font-size: 1.2rem;
    }
    .amd-notices-day {
        font-size: 1.2rem;
    }
}

/* notice page end************************************************** */

/* notice detail page ************************************************ */
.amd-notice-det-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-notice-det-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-notice-det-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-notice-det-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-notice-det-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.amd-notice-det-sep {
    color: var(--border);
    font-size: 0.7rem;
}

/* Grid Core */
.amd-notice-det-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-notice-det-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-notice-det-grid-item:last-child {
    border-right: none;
}

.amd-notice-det-span-9 {
    grid-column: span 9;
}

.amd-notice-det-span-8 {
    grid-column: span 8;
}

.amd-notice-det-span-4 {
    grid-column: span 4;
}

.amd-notice-det-span-3 {
    grid-column: span 3;
}

/* Hero Section */
.amd-notice-det-urgent-tag {
    background: var(--accent);
    color: white;
    padding: 3px 12px;
    font-size: 0.8rem;
    font-weight: 800;

    display: inline-block;
    margin-bottom: 10px;
}

.amd-notice-det-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    line-height: 1.1;
    margin: 10px 0;
    font-weight: 800;
    color: var(--text-primary);
}

.amd-notice-det-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-notice-det-meta {
    display: flex;
    gap: 25px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.amd-notice-det-meta i {
    color: var(--gold);
}

.amd-notice-det-gold-bg {
    background-color: var(--primary);
    padding: 0 !important;
}

.amd-notice-det-dl-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.amd-notice-det-dl-top i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.amd-notice-det-dl-top span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.amd-notice-det-dl-top:hover {
    background: var(--gold);
}

/* Main Content Body */
.amd-notice-det-article h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 30px 0 15px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

.amd-notice-det-bold-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.amd-notice-det-article p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-align: justify;
}

.amd-notice-det-highlight-box {
    background: var(--surface-2);
    padding: 30px;
    border-left: 6px solid var(--gold);
    margin: 30px 0;
}

.amd-notice-det-highlight-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.amd-notice-det-highlight-box ul {
    list-style: none;
}

.amd-notice-det-highlight-box li {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.amd-notice-det-list {
    list-style: none;
}

.amd-notice-det-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.amd-notice-det-list i {
    color: var(--gold);
    margin-top: 5px;
}

/* Image Scan */
.amd-notice-det-image-scan {
    margin-top: 40px;
    border: 1px solid var(--border);
    padding: 15px;
    background: white;
}

.amd-notice-det-image-scan img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
}

.amd-notice-det-img-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
}

/* Sidebar */
.amd-notice-det-sidebar-card {
    background: var(--surface-2);
    padding: 20px;
    position: sticky;
    top: 0;
    border: 1px solid var(--border);
}

.amd-notice-det-sidebar-card h3 {
    font-size: 1.4rem;
    /* color: var(--primary); */
    margin-bottom: 20px;
}

.amd-notice-det-recent-list {
    list-style: none;
}

.amd-notice-det-recent-list li {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.amd-notice-det-recent-list li:last-child {
    border-bottom: none;
}

.amd-notice-det-recent-list a {
    text-decoration: none;
    display: block;
}

.amd-notice-det-recent-list .amd-date {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
}

.amd-notice-det-recent-list p {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 5px;
    transition: 0.3s;
}

.amd-notice-det-recent-list a:hover p {
    color: var(--primary);
}

.amd-notice-det-btn-all {
    display: block;
    text-align: center;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 12px;
    font-weight: 700;
    margin-top: 15px;
    transition: 0.3s;
}

.amd-notice-det-btn-all:hover {
    background: var(--gold);
}

.amd-notice-det-share-box {
    margin-top: 30px;
    text-align: center;
}

.amd-notice-det-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.amd-notice-det-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    border-radius: 8px;
    color: inherit;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.amd-notice-det-social a:hover {
    background: var(--surface-2);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .amd-notice-det-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-notice-det-hero-action {
        height: 150px;
    }

    /* .amd-notice-det-main-heading {
        font-size: 2.2rem;
    } */
}

/* notice detail page end ************************************************ */

/* publication page *********************************************** */
.amd-pub-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-pub-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-pub-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-pub-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-pub-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Grid Core */
.amd-pub-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}
.amd-publi-grid-container {
    display: grid;
    padding: 0;
    border-bottom: 1px solid var(--border);
}

.amd-pub-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-pub-grid-item:last-child {
    border-right: none;
}

.amd-pub-span-12 {
    grid-column: span 12;
    border-right: none;
}

.amd-pub-span-8 {
    grid-column: span 8;
}

.amd-pub-span-4 {
    grid-column: span 4;
}

/* Hero Section */
.amd-pub-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    margin: 0;
    font-weight: 800;
    /* line-height: 1; */
    display: flex;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.amd-pub-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-pub-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-pub-primary-bg {
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.amd-pub-hero-box i {
    font-size: 1.8rem;
    color: white;
    /* margin-bottom: 15px; */
    padding: 10px;
    border-radius: 8px;
    background: var(--primary);
}

/* Filter Bar */
.amd-pub-filter-bar {
    background: var(--surface-2);
}

.amd-pub-filter-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.amd-pub-search {
    display: flex;
    border: 1px solid var(--border);
    background: white;
    width: 350px;
}

.amd-pub-search input {
    border: none;
    padding: 10px 15px;
    width: 100%;
    outline: none;
    font-family: var(--amd-font);
}

.amd-pub-search button {
    border: none;
    background: var(--primary);
    color: white;
    padding: 0 15px;
    cursor: pointer;
}

.amd-pub-categories {
    display: flex;
    gap: 10px;
}

.amd-pub-categories button {
    border: 1px solid var(--border);
    background: white;
    padding: 6px 20px;
    font-family: var(--amd-font);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.amd-pub-categories button.active,
.amd-pub-categories button:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Publication Cards */
.amd-pub-card {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.amd-pub-img-box {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.amd-pub-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.amd-pub-card:hover .amd-pub-img-box img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.amd-pub-year-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gold);
    color: white;
    padding: 5px 15px;
    font-weight: 800;
    font-size: 0.85rem;
}

.amd-pub-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.amd-pub-cat {
    color: var(--gold);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.amd-pub-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 10px 0;
}

.amd-pub-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.amd-pub-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.amd-pub-btn-read {
    flex: 1;
    background: var(--primary);
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
}

.amd-pub-btn-dl {
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.amd-pub-btn-read:hover {
    background: var(--gold);
}

.amd-pub-btn-dl:hover {
    background: var(--surface-2);
    color: var(--gold);
}

/* Footer */
.amd-pub-footer-text {
    text-align: center;
    background: var(--surface-2);
    padding: 30px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .amd-pub-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-pub-filter-flex {
        justify-content: center;
    }

    .amd-pub-search {
        width: 100%;
    }
}

/* publication page end ******************************************************************* */

/* bylaws page ******************************************************************* */

/* CARD BASE */
.amd-nitti-items {
    position: relative;
    padding: 0px 8px 0px 0;
    display: flex;
    /* gap: 10px; */
    border-radius: 10px;
    margin: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    cursor: pointer;
    align-items: stretch;
}

.amd-nitti-items:hover {
    background: var(--primary-ultra-light);
    /* padding-left: 10px; */
}

/* CLICKABLE AREA */
.amd-doc-enhanced-top {
    display: flex;
    gap: 12px;
    /* width: 100%; */
    text-decoration: none;
    align-items: stretch;
}

/* IMAGE CONTAINER */
.amd-doc-enhanced-img {
    width: 70px;
    min-width: 70px;
    display: flex;
}

/* IMAGE */
.amd-doc-enhanced-img img {
    width: 100%;
    height: 100%;
    max-height: 56px;
    min-height: 100%;
    object-position: 20% 10%;
    object-fit: cover;
    border-radius: 8px;
}

/* CONTENT */
.amd-doc-enhanced-content {
    flex: 1;
    display: flex;
    padding: 5px 5px 5px 8px;
    flex-direction: column;
    justify-content: space-between;
}

/* TOP META */
.amd-doc-enhanced-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    align-items: center;
}

/* TITLE */
.amd-doc-enhanced-title {
    font-size: 16px;
    color: var(--primary);
    margin: 5px 0 0;
    line-height: 1.4;
}

/* CATEGORY */
.amd-doc-enhanced-cat {
    font-size: 11px;
    color: var(--gold);
}

/* ACTION BUTTON */
/* ACTION BUTTON */
.amd-doc-enhanced-actions {
    position: absolute;
    top: 1px;
    right: 1px;
}

.amd-doc-enhanced-btn {
    padding: 0 6px;
    transition: 0.3s;
}

.amd-doc-enhanced-btn:hover {
    transform: scale(1.1);
}

/* bylaws page end ******************************************************************* */

/* report page ***************************************************************** */
.amd-report-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-report-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-report-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-report-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-report-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Grid Core */
.amd-report-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-report-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-report-grid-item:last-child {
    border-right: none;
}

.amd-report-span-12 {
    grid-column: span 12;
    border-right: none;
}

.amd-report-span-8 {
    grid-column: span 8;
}

.amd-report-span-4 {
    grid-column: span 4;
}

/* Hero */
.amd-report-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);

    margin: 15px 0;
    font-weight: 800;
    line-height: 1;
}

.amd-report-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-report-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-report-gold-bg {
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.amd-report-stat-box i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Search Bar */
.amd-report-filter-bar {
    background: var(--surface-2);
}

.amd-report-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border: 1px solid var(--border);
    padding: 10px 20px;
}

.amd-report-input-group i {
    color: var(--gold);
}

.amd-report-input-group input,
.amd-report-input-group select {
    width: 100%;
    border: none;
    outline: none;
    font-family: var(--amd-font);
    font-size: 1.1rem;
    background: transparent;
}

/* Report Cards */
.amd-report-card {
    transition: 0.3s;
    display: flex;
    box-shadow: var(--shadow-sm);

    flex-direction: column;
    justify-content: space-between;
}

.amd-report-card:hover {
    background: var(--surface-3);
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.amd-report-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.amd-report-year {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 4px;
}

.amd-report-pdf-icon {
    font-size: 1rem;
    margin-right: 5px;
    color: #d32f2f;
}

.amd-report-q-tag {
    font-weight: 800;
    color: var(--gold);
    font-size: 1.2rem;
}

.amd-report-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.amd-report-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.amd-report-card-footer {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.amd-report-btn-dl {
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.amd-report-btn-dl:hover {
    color: var(--gold);
}

/* Disclosure */
.amd-report-disclosure {
    text-align: center;
    background: var(--surface-2);
    color: var(--text-muted);
    padding: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 668px) {
    .amd-report-grid-item {
        grid-column: span 12;
        border-right: none;
        padding: 10px;
        border-bottom: 1px solid var(--border);
    }

    .amd-report-span-4 {
        grid-column: span 6;
    }

    .amd-report-hero-stat {
        padding: 40px;
    }
}

@media (max-width: 668px) {
    .amd-report-span-4 {
        grid-column: span 12;
    }
}

/* report page end********************************************/

/* form-apply page ************************************* */
.amd-form-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-form-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-form-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-form-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-form-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Grid Core */
.amd-form-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-form-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-form-grid-item:last-child {
    border-right: none;
}

.amd-form-span-12 {
    grid-column: span 12;
    border-right: none;
}

.amd-form-span-8 {
    grid-column: span 8;
}

.amd-form-span-4 {
    grid-column: span 4;
}

/* Hero Styles */
.amd-form-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    margin: 15px 0;
    font-weight: 800;
    line-height: 1;
}

.amd-form-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-form-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-form-primary-bg {
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.amd-form-info-box i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
}

/* Instruction Side */
.amd-form-sec-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: 25px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.amd-form-instr-list {
    list-style: none;
}

.amd-form-instr-list li {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-weight: 500;
    color: var(--text-secondary);
}

.amd-form-instr-list span {
    width: 25px;
    height: 25px;
    background: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.amd-form-help-card {
    margin-top: 40px;
    padding: 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    text-align: center;
}

/* Actual Form Fields */
.amd-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.amd-form-group {
    margin-bottom: 20px;
}

.amd-form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.amd-form-group input,
.amd-form-group select,
.amd-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    outline: none;
    border-radius: 8px;
    font-family: var(--amd-font);
    font-size: 1rem;
    transition: 0.3s;
}

.amd-form-group input:focus,
.amd-form-group select:focus,
.amd-form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(26, 110, 58, 0.1);
}

/* File Input */
.amd-form-file-input {
    border: 2px dashed var(--border);
    padding: 20px;
    text-align: center;
    background: var(--surface-2);
}

.amd-form-file-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Submit Button */
.amd-form-submit-area {
    margin-top: 30px;
    text-align: center;
}

.amd-form-btn-submit {
    width: 100%;
    background: var(--primary);
    border-radius: 8px;
    color: white;
    padding: 18px;
    border: none;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--amd-font);
}

.amd-form-btn-submit:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.amd-form-terms {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .amd-form-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .amd-form-hero-info {
        padding: 40px;
    }
}

/* form-apply page end****************************************************** */

/* event-list page ******************************************************* */
/* Wrapper Frame */
.amd-evl-main-wrapper {
    margin: 10px auto;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-evl-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
    margin-bottom: 0;
}

.amd-evl-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-evl-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-evl-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Grid Logic */
.amd-evl-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-evl-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
    position: relative;
}

.amd-evl-grid-item:last-child {
    border-right: none;
}

.amd-evl-span-12 {
    grid-column: span 12;
    border-right: none;
}

.amd-evl-span-8 {
    grid-column: span 8;
}

.amd-evl-span-4 {
    grid-column: span 4;
}

/* Hero Section */
.amd-evl-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    margin: 15px 0;
    font-weight: 800;
    line-height: 1;
}

.amd-evl-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-evl-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-evl-gold-bg {
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.amd-evl-stat-box i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Search & Filter Bar */
.amd-evl-filter-bar {
    background: var(--surface-2);
}

.amd-evl-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border: 1px solid var(--border);
    padding: 10px 20px;
}

.amd-evl-input-group i {
    color: var(--gold);
}

.amd-evl-input-group input,
.amd-evl-input-group select {
    width: 100%;
    border: none;
    outline: none;
    font-family: var(--amd-font);
    font-size: 1.1rem;
    background: transparent;
}

/* Event Cards (Similar to Report Cards) */
.amd-evl-card {
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.amd-evl-card:hover {
    background: var(--surface-2);
    transform: translateY(-5px);
}

.amd-evl-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.amd-evl-date-tag {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 4px;
}

.amd-evl-status {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    color: white;
    text-transform: uppercase;
}

.amd-evl-status.upcoming {
    background: var(--gold);
}

.amd-evl-status.completed {
    background: var(--text-muted);
}

.amd-evl-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.amd-evl-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.amd-evl-card p i {
    color: var(--gold);
    margin-right: 8px;
}

.amd-evl-card-footer {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.amd-evl-btn-view {
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.amd-evl-btn-view:hover {
    color: var(--gold);
}

/* Footer Area */
.amd-evl-footer-area {
    text-align: center;
    padding: 30px;
}

.amd-evl-btn-load {
    display: inline-block;
    padding: 10px 40px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 800;
    transition: 0.3s;
}

.amd-evl-btn-load:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

@media (max-width: 991px) {
    .amd-evl-stat-box i {
        font-size: 2.3rem;
    }

    .amd-evl-card h3 {
        font-size: 1.3rem;
    }

    .amd-evl-date-tag,
    .amd-evl-status {
        font-size: 0.6rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .amd-evl-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-evl-hero-stat {
        padding: 40px;
    }
}

/* event-list page end************************************************* */

/* event detail page************************************************* */
.amd-evd-main-wrapper {
    padding: 0;
    margin: 10px auto;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-evd-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
    margin-bottom: 0;
}

.amd-evd-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-evd-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-evd-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Grid System */
.amd-evd-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-evd-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-evd-grid-item:last-child {
    border-right: none;
    position: sticky;
    top: 0;
}

.amd-evd-span-12 {
    grid-column: span 12;
    border-right: none;
}

.amd-evd-span-9 {
    grid-column: span 9;
}

.amd-evd-span-8 {
    grid-column: span 8;
}

.amd-evd-span-4 {
    grid-column: span 4;
}

.amd-evd-span-3 {
    grid-column: span 3;
}

.amd-evd-no-padding {
    padding: 0 !important;
}

/* Hero Styles */
.amd-evd-badge {
    background: var(--primary);
    color: white;
    padding: 3px 12px;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 4px;
}

.amd-evd-main-title {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    margin: 15px 0;
    font-weight: 800;
    line-height: 1.1;
}

.amd-evd-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-evd-hero-meta {
    display: flex;
    gap: 30px;
    color: var(--text-secondary);
    font-weight: 600;
}

.amd-evd-hero-meta i {
    color: var(--gold);
}

.amd-evd-gold-bg {
    background: var(--gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.amd-evd-status-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
}

.amd-evd-days-left {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 5px;
}

/* Featured Banner */
.amd-evd-featured-banner {
    height: 450px;
    width: 100%;
    overflow: hidden;
}

.amd-evd-featured-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amd-evd-content-block {
    margin-bottom: 10px;
}

/* Content Blocks */
.amd-evd-sec-title {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-left: 6px solid var(--gold);
    padding-left: 20px;
}

.amd-evd-main-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: justify;
    margin-bottom: 20px;
}

/* Quote Box */
.amd-evd-quote-box {
    background: var(--surface-2);
    padding: 40px;
    margin: 40px 0;
    border: 1px solid var(--border);
    position: relative;
}

.amd-evd-quote-box i {
    font-size: 3rem;
    color: var(--border);
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0.5;
}

.amd-evd-quote-box blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.amd-evd-quote-box cite {
    font-weight: 800;
    color: var(--gold);
    font-size: 1rem;
}

/* Schedule Table */
.amd-evd-table-wrapper {
    margin-top: 20px;
    border: 1px solid var(--border);
}

.amd-evd-table {
    width: 100%;
    border-collapse: collapse;
}

.amd-evd-table th,
.amd-evd-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.amd-evd-table th {
    background: var(--surface-2);
    color: var(--primary);
    font-weight: 800;
}

.amd-evd-table tr:hover {
    background: #fcfdfe;
}

/* Gallery */
.amd-evd-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.amd-evd-gal-img {
    height: 200px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.amd-evd-gal-big {
    grid-column: span 2;
    height: 350px;
}

.amd-evd-gal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.amd-evd-gal-img:hover img {
    transform: scale(1.05);
}

/* 5imgs carousel shift css */
.amd-gprev,
.amd-gnext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 5;
    border-radius: 6px;
    font-size: 18px;
    transition: 0.3s;
}

.amd-gprev:hover,
.amd-gnext:hover {
    background: #000;
}

.amd-gprev {
    left: 10px;
}
.amd-gnext {
    right: 10px;
}
/* Jab carousel active ho */
.amd-carousel {
    display: block;
    overflow: hidden;
    position: relative;
}

/* Grid disable */
.amd-carousel {
    grid-template-columns: unset;
}

/* Track */
.amd-carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
}

/* All cards same size in carousel */
.amd-carousel .amd-evd-gal-img {
    min-width: 260px;
    height: 200px;
    flex: 0 0 auto;
}

/* IMPORTANT: big class disable in carousel */
.amd-carousel .amd-evd-gal-big {
    grid-column: unset;
    height: 200px;
}

/* 5imgs carousel shift css end */

/* Sidebar Info Card */
.amd-evd-info-card {
    background: var(--primary);
    color: white;
    padding: 20px;
    margin-bottom: 30px;
}

.amd-evd-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.amd-evd-info-list {
    list-style: none;
    padding-left: 10px;
}

.amd-evd-info-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.amd-evd-info-list i {
    font-size: 1.4rem;
    color: var(--gold);
}

.amd-evd-info-list strong {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
}

/* CTA Card */
.amd-evd-cta-card {
    background: var(--gold);
    color: white;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.amd-evd-btn-main {
    display: block;
    background: var(--primary);
    color: white;
    padding: 15px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 20px;
    transition: 0.3s;
}

.amd-evd-btn-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Sidebar */
.amd-evd-contact-box h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 5px;
}

.amd-evd-person {
    margin-bottom: 15px;
}

.amd-evd-person strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.amd-evd-person p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.amd-evd-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.amd-evd-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.amd-evd-social-icons a {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: 0.3s;
}

.amd-evd-social-icons a:hover {
    color: var(--primary);
}

.amd-evd-footer-info {
    background: var(--surface-2);
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .amd-evd-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-evd-hero-meta {
        flex-direction: column;
        gap: 10px;
    }

    .amd-evd-featured-banner {
        height: 300px;
    }
}

/* event detail page end************************************************************* */

/* team detail page****************************************************** */
.amd-team-det-main-wrapper {
    padding: 0;
    margin: 10px auto;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-team-det-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-team-det-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-team-det-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-team-det-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.amd-team-det-sep {
    color: var(--border);
    font-size: 0.7rem;
}

/* Grid Logic */
.amd-team-det-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.amd-team-det-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-team-det-grid-item:last-child {
    border-right: none;
}

.amd-team-det-span-12 {
    grid-column: span 12;
    border-right: none;
}

.amd-team-det-span-9 {
    grid-column: span 9;
}

.amd-team-det-span-8 {
    grid-column: span 8;
}

.amd-team-det-span-4 {
    grid-column: span 4;
}

.amd-team-det-span-3 {
    grid-column: span 3;
}

/* Hero Section */
.amd-team-det-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.amd-team-det-main-name {
    font-size: clamp(1.7rem, 2.6vw, 4rem);

    line-height: 1;
    margin: 15px 0;
    font-weight: 800;
}

.amd-team-det-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary);
}

.amd-team-det-designation {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 25px;
}

.amd-team-det-social {
    display: flex;
    gap: 15px;
}

.amd-team-det-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary);
    transition: 0.3s;
}

.amd-team-det-social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.amd-team-det-gold-bg {
    background-color: var(--gold);
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.amd-team-det-stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.9;
}

.amd-team-det-stat-val {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 5px;
}

/* STICKY SIDEBAR LOGIC */
.amd-team-det-sidebar-column {
    position: relative;
    height: 100%;
    /* Important for sticky to work inside grid */
}

.amd-team-det-sticky-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 30px;
    /* Space from top when scrolling */
}

.amd-team-det-photo-frame {
    width: 100%;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--surface-2);
}

.amd-team-det-photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: 0.5s;
}

.amd-team-det-sidebar-column:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.amd-team-det-contact-box {
    margin-top: 30px;
}

.amd-team-det-contact-box h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
}

.amd-team-det-contact-box ul {
    list-style: none;
}

.amd-team-det-contact-box li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.amd-team-det-contact-box i {
    color: var(--primary);
    width: 20px;
}

/* Content Side */
.amd-team-det-block {
    margin-bottom: 50px;
}

.amd-team-det-block:last-child {
    margin-bottom: 0;
}

.amd-team-det-sec-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-left: 6px solid var(--gold);
    padding-left: 20px;
}

.amd-team-det-content-column p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: justify;
    margin-bottom: 15px;
}

.amd-team-det-list {
    list-style: none;
}

.amd-team-det-list li {
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 1.1rem;
}

.amd-team-det-list i {
    color: var(--gold);
    margin-top: 5px;
}

.amd-team-det-table-wrap {
    border: 1px solid var(--border);
    margin-top: 10px;
}

.amd-team-det-table {
    width: 100%;
    border-collapse: collapse;
}

.amd-team-det-table th,
.amd-team-det-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.amd-team-det-table th {
    background: var(--surface-2);
    color: var(--primary);
    font-weight: 800;
}

.amd-team-det-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amd-team-det-tags span {
    background: var(--primary-ultra-light);
    color: var(--primary);
    padding: 5px 15px;
    font-weight: 700;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Footer area */
.amd-team-det-footer-area {
    text-align: center;
    background: var(--surface-2);
    padding: 30px !important;
}

.amd-team-det-back-btn {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.amd-team-det-back-btn:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .amd-team-det-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-team-det-sticky-wrapper {
        position: static;
    }

    /* Disable sticky on mobile */
    .amd-team-det-hero-stat {
        padding: 40px;
    }
}

/* team detail page end*************************************************** */

/* gallery page*************************************************************8 */
.amd-gal-main-wrapper {
    padding: 0;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-gal-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-gal-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-gal-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-gal-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Grid Logic */
.amd-gal-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
}

.amd-gal-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
    position: relative;
}

.amd-gal-grid-item:last-child {
    border-right: none;
}

.amd-gal-span-12 {
    grid-column: span 12;
    border-right: none;
}

.amd-gal-span-9 {
    grid-column: span 9;
}

.amd-gal-span-3 {
    grid-column: span 3;
}

/* Hero Section */
.amd-gal-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);
    margin: 15px 0;
    font-weight: 800;
    line-height: 1;
}

.amd-gal-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-gal-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.amd-gal-gold-bg {
    background: var(--gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.amd-gal-stat-box i {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Tabs (Mobile Scrollable) */
.amd-gal-tabs-area {
    background: var(--surface-2);
}

.amd-gal-tabs-wrapper {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0;
    scrollbar-width: none;
}

.amd-gal-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.amd-gal-tab-btn {
    padding: 12px 20px;
    border: none;
    background: none;
    font-family: var(--amd-font);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    border-right: 1px solid var(--border);
    transition: 0.3s;
}

.amd-gal-tab-btn:last-child {
    border-right: none;
}

.amd-gal-tab-btn.active,
.amd-gal-tab-btn:hover {
    background: var(--primary);
    color: white;
}

/* Masonry Layout */
.amd-gal-masonry {
    column-count: 4;
    column-gap: 10px;
    padding: 0;
}

.amd-gal-item {
    break-inside: avoid;
    margin-bottom: 10px;
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.amd-gal-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.5s;
    opacity: 0.9;
}

.amd-gal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 110, 58, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
    font-size: 2.5rem;
}

.amd-gal-item:hover .amd-gal-overlay {
    opacity: 1;
}

.amd-gal-item:hover img {
    transform: scale(1.05);
    opacity: 0.6;
}

.amd-gal-vid-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 5;
}

/* Audio Card Style */
.amd-gal-audio-card {
    padding: 20px 20px;
    text-align: center;
    background: white;
    height: 100%;
}

.amd-gal-audio-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.amd-gal-audio-card audio {
    width: 100%;
    margin-top: 15px;
}

/* --- MODAL & LIGHTBOX --- */
.amd-gal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.amd-gal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 45px;
    cursor: pointer;
    z-index: 100;
}

.amd-gal-modal-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
    text-align: center;
}

#amdLightboxImg {
    max-width: 100%;
    max-height: 75vh;
    border: 4px solid white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

#amdLightboxCaption {
    color: white;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.amd-gal-nav {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
}

.amd-gal-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.amd-gal-video-container {
    width: 75vw;
    aspect-ratio: 16/9;
    background: #000;
}

.amd-gal-video-container iframe {
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .amd-gal-masonry {
        column-count: 3;
    }

    .amd-gal-tab-btn {
        padding: 10px 15px;
    }

    .amd-gal-no-padding {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .amd-gal-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-gal-tabs-wrapper {
        padding: 0;
    }

    .amd-gal-tab-btn {
        padding: 7px 10px;
        font-size: 0.9rem;
    }

    .amd-gal-no-padding {
        padding: 10px;
    }

    .amd-gal-audio-card h4 {
        font-size: 1rem;
    }

    .amd-gal-audio-card audio {
        width: 100%;
        margin-top: 5px;
        padding: 6px 0;
    }

    .amd-gal-audio-card {
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .amd-gal-masonry {
        column-count: 2;
    }

    .amd-gal-nav {
        top: auto;
        bottom: 20px;
        padding: 15px;
    }

    .prev {
        left: 25%;
    }

    .next {
        right: 25%;
    }
}

/* gallery page end*************************************************** */

/* ceo message page******************************************************** */

.amd-ceo-main-wrapper {
    padding: 0;
    margin: 10px auto;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.amd-ceo-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px;
}

.amd-ceo-breadcrumb-list {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin: 0;
    align-items: center;
    gap: 12px;
}

.amd-ceo-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amd-ceo-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Grid Logic */
.amd-ceo-grid-container {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.amd-ceo-grid-item {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.amd-ceo-grid-item:last-child {
    border-right: none;
}

.amd-ceo-span-12 {
    grid-column: span 12;
    border-right: none;
}

.amd-ceo-span-9 {
    grid-column: span 9;
}

.amd-ceo-span-8 {
    grid-column: span 8;
}

.amd-ceo-span-4 {
    grid-column: span 4;
}

.amd-ceo-span-3 {
    grid-column: span 3;
}

/* Hero Styles */
.amd-ceo-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.amd-ceo-main-heading {
    font-size: clamp(1.7rem, 2.6vw, 4rem);

    line-height: 1.1;
    margin: 15px 0;
    font-weight: 800;
}

.amd-ceo-text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
}

.amd-ceo-sub-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.amd-ceo-gold-bg {
    background-color: var(--gold);
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.amd-ceo-icon-box i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.amd-ceo-icon-box p {
    font-weight: 700;
    font-size: 1.1rem;
}

/* STICKY SIDEBAR LOGIC */
.amd-ceo-sidebar {
    position: relative;
    height: 100%;
}

.amd-ceo-sticky-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
}

.amd-ceo-img-frame {
    width: 100%;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--surface-2);
}

.amd-ceo-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: 0.5s;
}

.amd-ceo-sidebar:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.amd-ceo-profile-info {
    margin-top: 30px;
    text-align: center;
}

.amd-ceo-profile-info h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.amd-ceo-profile-info span {
    color: var(--gold);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.amd-ceo-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.amd-ceo-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: 0.3s;
}

.amd-ceo-social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Message Content Area */
.amd-ceo-salutation {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.amd-ceo-message-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.amd-ceo-highlight-box {
    background: var(--surface-2);
    padding: 40px;
    margin: 40px 0;
    border-left: 6px solid var(--gold);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    font-style: italic;
}

.amd-ceo-signature {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.amd-ceo-sign-img {
    max-width: 150px;
    margin-bottom: 15px;
}

.amd-ceo-signature strong {
    font-size: 1.3rem;
    color: var(--primary);
}

.amd-ceo-footer-bar {
    text-align: center;
    background: var(--surface-2);
    padding: 30px !important;
}

.amd-ceo-btn-back {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.amd-ceo-btn-back:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .amd-ceo-grid-item {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .amd-ceo-sticky-wrapper {
        position: static;
    }

    .amd-ceo-hero-icon {
        padding: 40px;
    }

    .amd-ceo-profile-info {
        text-align: center;
    }

    .amd-ceo-social {
        justify-content: center;
    }
}

/* ceo message page end************************************************ */

/* updated service page  ************************************************ */
/* Banner Image */
.amd-svs-big-banner {
    height: 400px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.amd-svs-big-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Category Header */
.amd-svs-cat-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- TABLE DESIGN (DESKTOP) --- */
.amd-svs-table-header {
    display: grid;
    grid-template-columns: 222px 1.5fr 2fr 0.8fr;
    background: var(--surface-2);
    padding: 20px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.amd-svs-row {
    border-bottom: 1px solid var(--border);
}
.amd-svs-row-main {
    display: grid;
    grid-template-columns: 222px 1.5fr 2fr 0.8fr;
    padding: 20px;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.amd-svs-row-main:hover {
    background: var(--primary-ultra-light);
}

/* icon position (right side floating) */
.amd-svs-hover-icon {
    position: absolute;
    right: 10px;
    bottom: 8px;

    opacity: 0;
    transform: translateY(5px);
    transition: 0.3s;
}

/* hover pe show */
.amd-svs-row-main:hover .amd-svs-hover-icon {
    opacity: 1;
    transform: translateY(0);
}
.amd-svs-row.active .amd-svs-hover-icon i {
    transform: rotate(180deg);
}
/* icon style */
.amd-svs-hover-icon i {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 23px;
}
/* Columns */
.amd-svs-col span {
    display: none;
} /* Hide labels on desktop */
.amd-svs-img-col img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.amd-svs-rate-col {
    color: var(--gold);
    font-weight: 800;
    margin-right: 5px;
}

.amd-svs-btn-detail {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--primary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.3s;
    text-align: center;
    border: 1px solid var(--primary);
}
.amd-svs-btn-detail:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

/* --- SMOOTH DROPDOWN --- */
.amd-svs-row-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fcfdfe;
}
.amd-svs-drop-inner {
    padding: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    border-left: 3px solid var(--gold);
    margin-left: 0px;
}
.amd-svs-row.active .amd-svs-row-dropdown {
    max-height: 400px;
}
.amd-svs-row.active .amd-svs-row-main {
    background: var(--primary-ultra-light);
}

/* --- MOBILE RESPONSIVE (NO SCROLL) --- */
@media (max-width: 991px) {
    .amd-svs-table-header,
    .amd-svs-row-main {
        grid-template-columns: 75px 1fr 2fr 0.8fr;
    }
}
@media (max-width: 524px) {
    .amd-svs-table-header {
        display: none;
    }

    .amd-svs-row-main {
        grid-template-columns: 68px 1fr; /* Row 1: Img and Title */
        padding: 20px;
        gap: 15px;
    }

    /* Row 2 logic: Category and Interest */
    .amd-svs-type-col,
    .amd-svs-rate-col {
        grid-column: span 2; /* Half width each */
        font-size: 0.95rem;
        display: flex;
        flex-direction: column;
        background: var(--surface-2);
        padding: 10px;
        border: 1px solid var(--border);
    }

    .amd-svs-col span {
        display: block;
        font-size: 0.75rem;
        font-weight: 800;
        color: var(--text-muted);
        text-transform: uppercase;
    }

    /* Row 3 logic: Button 100% */
    .amd-svs-btn-col {
        grid-column: span 2; /* Full width */
        margin-top: 10px;
    }
    .amd-svs-btn-detail {
        width: 100%;
        display: block;
        padding: 12px;
    }

    /* Dropdown alignment for mobile */
    .amd-svs-drop-inner {
        padding: 20px;
        margin-left: 20px;
        border-left: 4px solid var(--gold);
    }

    .amd-svs-big-banner {
        height: 250px;
    }
}

/* Breadcrumb Styles */
.amd-svs-breadcrumb-area {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 15px 50px;
}
.amd-svs-breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 15px;
}
.amd-svs-breadcrumb-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.amd-svs-current {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* updated service page end************************************************ */

/* smooth zoom */
#amdReadCanvas iframe {
    transition: transform 0.3s ease;
}

.amd-news-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.amd-news-viewer-tools i {
    margin-left: 10px;
    cursor: pointer;
    font-size: 1rem;
    /* color: var(--primary); */
    transition: 0.2s;
}

.amd-news-viewer-tools i:hover {
    transform: scale(1.2);
    color: var(--gold);
}

.amd-read-canvas {
    width: 70% !important;
    max-width: 1200px !important;
}

/* full height iframe */
.amd-read-canvas .offcanvas-body {
    padding: 0;
    height: calc(100vh - 60px);
}

/* Popup table css start */
/* table wrapper center */
.amd-popup-table-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* table design */
.amd-popup-table {
    width: 90%;
    max-width: 700px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* header */

.amd-popup-table-wrap {
    width: 100%;
    margin-top: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block; /* flex hatao */
}

/* table */
.amd-popup-table {
    min-width: 600px; /* important for scroll */
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* td */
.amd-popup-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    font-size: 0.9rem;
}

/* hover */
.amd-popup-table tbody tr:hover {
    background: #f5f9ff;
}

/* last row */
.amd-popup-table tbody tr:last-child td {
    border-bottom: none;
}

.amd-popup-table thead {
    background: var(--primary);
    color: #fff;
}

.amd-popup-table th {
    padding: 12px;
    font-size: 0.95rem;
}

/* body */
.amd-popup-table td {
    padding: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}
.amd-popup-table tr td {
    text-align: right !important;
}

/* hover effect */
.amd-popup-table tbody tr:hover {
    background: #f5f9ff;
}

/* last row border remove */
.amd-popup-table tbody tr:last-child td {
    border-bottom: none;
}

.amd-timeline {
    max-width: 600px;
    margin: auto;
}

.amd-time-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px dashed #ddd;
}

.amd-time-item span {
    font-weight: 600;
    color: var(--primary);
}

/* Popup table css end */

/* amd-notice-table-header */

.amd-notice-table-header {
    display: grid;
    /* grid-template-columns: 100px 2.5fr 1fr !important; */
}

.amd-notice-row {
    display: grid;
    /* grid-template-columns: 100px 2.5fr 1fr !important; */
}
@media (max-width: 524px) {
    .amd-notice-table-header {
        padding: 5px;
    }

    .amd-notice-row {
        padding: 5px;
        gap: 15px;
        grid-template-columns: 79px 1.5fr 1fr !important;
    }
    .amd-notice-btn-detail {
        width: 100%;
        display: block;
        padding: 7px;
    }
}
