/* ===================================
   ABOUT & OFFICERS MOBILE OVERRIDES (< 480px)
   =================================== */

/* About Top Section - Premium White UI */
.about {
    display: flex !important;
    flex-direction: column !important;
    /* Stack vertically */
    padding: 40px 30px !important;
    gap: 20px !important;
    text-align: center !important;
    width: 90% !important;
    margin: 20px auto !important;

    /* Premium White Glass */
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;

    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 30px !important;

    /* Soft Elevation Shadow */
    box-shadow:
        0 15px 35px -5px rgba(0, 0, 0, 0.05),
        0 5px 15px rgba(0, 0, 0, 0.03) !important;

    overflow: hidden !important;
    position: relative !important;

    /* Entry Animation */
    animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
    opacity: 0;
    transform: translateY(30px);
}

/* Unwrap the Left/Right containers so we can reorder children */
.aboutleft,
.aboutright {
    display: contents !important;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ORDERING: 1. Title, 2. Logo, 3. Text */

/* 1. Title */
.aboutltop {
    order: 1 !important;
    width: 100% !important;
    margin-bottom: 5px !important;
}

/* 2. Logo */
.logocontain {
    order: 2 !important;
    width: 100% !important;
    margin: 10px 0 !important;
    display: flex !important;
    justify-content: center !important;
}

/* 3. Text Body */
.aboutlbot {
    order: 3 !important;
    width: 100% !important;
}

/* Shadows/Extras */
.aboutshadow {
    display: none !important;
    /* Clean up layout */
}

/* Title Styling */
.aboutltop h1 {
    font-size: 32px !important;
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    font-family: var(--font-head) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;

    /* Vibrant Gradient Text (Retained as requested) */
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 5px rgba(37, 99, 235, 0.2));
}

/* Body Text Styling */
.aboutlbot h1 {
    font-size: 15px !important;
    width: 100% !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.75 !important;
    color: #334155 !important;
    /* Dark Slate for White BG */
    text-align: center !important;
    margin-bottom: 20px !important;
}

/* Logo Styling & Animation */
.logocontain img {
    height: 160px !important;
    filter: drop-shadow(0 15px 30px rgba(6, 182, 212, 0.15)) !important;
    animation: floatLogo 6s ease-in-out infinite !important;
}

.aboutshadow {
    opacity: 0.6 !important;
    mix-blend-mode: multiply !important;
}

/* Animations */
@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* About Cards (Grid -> Stack) */
.aboutbottom {
    display: flex !important;
    flex-direction: column !important;
    padding: 40px 20px !important;
    gap: 15px !important;
    margin: 0 !important;
    width: 100% !important;
    background: var(--bg-color) !important;
}

.about1,
.about2,
.about3,
.about4 {
    width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    border: none !important;
    box-shadow: var(--shadow-sm) !important;
    border-radius: 16px !important;
}

.abouticon1,
.abouticon2,
.abouticon3,
.abouticon4 {
    font-size: 24px !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
}

.abouttitle1,
.abouttitle2,
.abouttitle3,
.abouttitle4 {
    margin: 0 !important;
    padding: 0 !important;
}

.abouttext1,
.abouttext2,
.abouttext3,
.abouttext4 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Officers Section */
.officers {
    padding: 40px 20px !important;
    flex-direction: column !important;
    gap: 30px !important;
    width: 100% !important;
}

.officersleft,
.officersright {
    width: 100% !important;
    padding: 0 !important;
}

.oftitle h1 {
    font-size: 32px !important;
    margin-top: 0 !important;
}

.oftitle h2 {
    font-size: 12px !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Officer Selection Tabs */
.ofselection {
    margin: 20px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    gap: 10px !important;
}

[class^="ofselect"] {
    padding: 12px 15px !important;
    width: 100% !important;
    justify-content: flex-start !important;
    border-radius: 12px !important;
}

[class^="ofselect"] h1 {
    margin: 0 !important;
    width: 30px !important;
    font-size: 16px !important;
}

[class^="ofselect"] h2 {
    margin: 0 !important;
    font-size: 14px !important;
    font-family: var(--font-body) !important;
}

/* Officer Lists */
.ofrightcontain {
    width: 100% !important;
    padding: 20px !important;
    margin: 0 !important;
    min-height: auto !important;
    height: auto !important;
}

.executive,
.mulpub,
.extres,
.comelect,
.otherof,
.yearrep {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
}

.executiveleft,
.executiveright,
.mulpubleft,
.mulpubright,
.extresleft,
.extresright,
.comleft,
.comright,
.otherofleft,
.otherofright,
.yearrepleft,
/* Tighten Vertical Gaps */
.executiveleft,
.executiveright,
.mulpubleft,
.mulpubright,
.extresleft,
.extresright,
.comleft,
.comright,
.otherofleft,
.otherofright,
.yearrepleft,
.yearrepright {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    /* Reduced gap */
    padding: 0 !important;
    margin-bottom: 5px !important;
    /* Reduced bottom margin */
}

/* Hide Divider Lines in Officer Lists */
.officersright hr,
.ofrightcontain hr {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Individual Officer Card Styling */
[class^="executive"] div,
[class^="mulpub"] div,
[class^="extres"] div,
[class^="comelect"] div,
[class^="otherof"] div,
[class^="yearrep"] div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin: 0 0 8px 0 !important;
    /* Tighter item margin */
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Rank/Position Title (H1) - Extra Micro Size */
.officersright h1 {
    font-family: var(--font-head) !important;
    font-size: 8px !important;
    /* Reduced to 8px */
    font-weight: 800 !important;
    color: #06B6D4 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 2px 0 !important;
    line-height: 1 !important;
}

/* Officer Name (H2) - Smaller to fit all */
.officersright h2 {
    font-family: var(--font-body) !important;
    font-size: 11px !important;
    /* Reduced to 11px */
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    text-transform: capitalize !important;
}

/* Ensure Right Side is Visible */
.executiveright {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}