/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    -webkit-tap-highlight-color: transparent; /* Android touch highlight removal */
}

body, html { 
    background-color: #f4f7f6; 
    color: #1e293b; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
    line-height: 1.7; 
}

.portal-wrapper { 
    display: flex; 
    flex: 1; 
    flex-direction: column; 
    position: relative; 
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header { 
    background-color: #0b1e36; 
    border-bottom: 4px solid #f1c40f; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 30px; 
    height: 80px; 
}

.brand-group-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.brand-group { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.brand-group:hover {
    opacity: 0.95;
}

.header-logo { height: 42px; width: auto; object-fit: contain; }
.ikd-logo { border-radius: 50%; height: 38px; }

.brand-text h1 { 
    font-size: 22px; 
    font-weight: 900; 
    letter-spacing: 0.5px; 
    color: #ffffff; 
    margin-bottom: 2px; 
}
.brand-text p { 
    font-size: 11px; 
    color: #f1c40f; 
    font-weight: bold; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    white-space: nowrap; 
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.live-time-badge { 
    display: none; 
    background: rgba(255,255,255,0.1); 
    border: 1px solid rgba(255,255,255,0.2); 
    color: #fff; 
    padding: 6px 12px; 
    border-radius: 8px; 
    font-size: 13px; 
    font-weight: 600; 
    align-items: center; 
    gap: 6px; 
}

.menu-toggle-btn {
    background: #f1c40f; 
    color: #0b1e36; 
    border: none; 
    padding: 10px 20px;
    font-size: 15px; 
    font-weight: 800; 
    border-radius: 6px; 
    cursor: pointer;
    transition: all 0.3s ease; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.menu-toggle-btn:hover { 
    background: #ffffff; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.15); 
}

/* ==========================================================================
   OFF-CANVAS SIDEBAR & DROPDOWN MENU
   ========================================================================== */
.drawer-overlay { 
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(6, 19, 36, 0.7); 
    backdrop-filter: blur(3px); 
    z-index: 999; 
    opacity: 0; 
    transition: opacity 0.3s; 
}
.drawer-overlay.active { display: block; opacity: 1; }

aside { 
    background-color: #0b1e36; 
    color: #ffffff; 
    width: 300px; 
    height: 100vh;
    position: fixed; 
    top: 0; 
    left: -300px; 
    z-index: 1000;
    border-right: 3px solid #f1c40f; 
    display: flex; 
    flex-direction: column;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 10px 0 30px rgba(0,0,0,0.3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
aside.drawer-open { left: 0; }

.sidebar-brand { 
    padding: 35px 25px; 
    background: linear-gradient(180deg, #061324 0%, #0b1e36 100%); 
    text-align: center; 
    border-bottom: 1px solid #1e293b; 
    position: relative; 
}
.sidebar-brand h1 { font-size: 20px; font-weight: 900; color: #ffffff; letter-spacing: 0.5px; margin-bottom: 8px; }
.sidebar-brand p { font-size: 9px; color: #f1c40f; font-weight: bold; margin-top: 5px; letter-spacing: 0.5px; text-transform: uppercase; }

.close-drawer-btn { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    background: transparent; 
    border: none; 
    color: #94a3b8; 
    font-size: 26px; 
    cursor: pointer; 
    transition: color 0.2s; 
    padding: 10px; /* Enhanced touch target */
}
.close-drawer-btn:hover { color: #f1c40f; }

nav { padding: 30px 20px; display: flex; flex-direction: column; gap: 12px; }
nav a, .dropbtn { 
    color: #94a3b8; 
    text-decoration: none; 
    font-size: 15px; 
    font-weight: 600; 
    padding: 14px 20px; 
    border-radius: 6px; 
    transition: all 0.2s ease-in-out;
    display: flex; 
    align-items: center; 
    gap: 15px; 
    border: none; 
    background: transparent;
    cursor: pointer; 
    width: 100%; 
    text-align: left; 
    font-family: inherit;
}
nav a:hover, .dropbtn:hover { color: #0b1e36; background-color: #f1c40f; transform: translateX(6px); }
nav a.active { background-color: rgba(255, 255, 255, 0.08); color: #f1c40f; border-left: 4px solid #f1c40f; border-radius: 0 6px 6px 0; }

.dropdown { position: relative; width: 100%; }
.dropdown-content { display: none; background-color: #061324; border-radius: 6px; margin-top: 8px; padding: 10px 0; overflow: hidden; }
.dropdown-content a { padding: 12px 20px 12px 45px; font-size: 14px; color: #cbd5e1; }
.dropdown-content a:hover { background-color: rgba(241, 196, 15, 0.1); color: #f1c40f; transform: translateX(4px); }
.show-dropdown { display: block; }

/* ==========================================================================
   MAIN DASHBOARD & TOP BARS
   ========================================================================== */
.main-viewport { flex: 1; display: flex; flex-direction: column; min-width: 0; width: 100%; }

.top-bar { background-color: #061324; color: #ffffff; font-size: 12px; padding: 16px 30px; display: flex; justify-content: space-between; font-weight: 600; letter-spacing: 0.5px; }
.ticker-bar { background-color: #f1c40f; color: #061324; font-size: 14px; font-weight: 800; padding: 15px 20px; overflow: hidden; white-space: nowrap; border-bottom: 1px solid #d4ac0d; }
.ticker-text { display: inline-block; padding-left: 100%; animation: marquee 35s linear infinite; }
@keyframes marquee { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

.counter-strip { background: #ffffff; padding: 50px 35px; border-bottom: 1px solid #e2e8f0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.02); margin-top: 60px; }
.counter-card { padding: 15px; border-right: 1px solid #f1f5f9; }
.counter-card:last-child { border-right: none; }
.counter-num { font-size: 48px; font-weight: 900; color: #0d2c54; margin-bottom: 10px; letter-spacing: -1px; }
.counter-title { font-size: 13px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   GENERAL CONTENT BODY & COMPONENTS
   ========================================================================== */
.content-body { max-width: 1300px; width: 100%; margin: 80px auto; padding: 0 30px; display: flex; flex-direction: column; gap: 80px; }
.section-header { border-left: 6px solid #0d2c54; padding-left: 25px; margin-bottom: 40px; }
.section-header h3 { font-size: 28px; color: #0b1e36; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }
.section-header p { font-size: 16px; color: #64748b; margin-top: 10px; }

/* Executive Overview */
.editorial-block { background: #ffffff; border-radius: 16px; padding: 60px; box-shadow: 0 15px 35px rgba(11, 30, 54, 0.05); border: 1px solid rgba(226, 232, 240, 0.6); }
.editorial-flex-container { display: flex; flex-direction: column; gap: 50px; }
@media(min-width: 850px) { .editorial-flex-container { flex-direction: row; align-items: flex-start; } }
.es-image-holder { flex-shrink: 0; width: 100%; max-width: 300px; margin: 0 auto; position: relative; }
.es-image-holder img { width: 100%; height: auto; display: block; border-radius: 8px; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.editorial-text-content { flex: 1; line-height: 1.9; font-size: 17px; }
.editorial-text-content p { margin-bottom: 25px; color: #334155; text-align: justify; }
.editorial-text-content p:first-of-type { font-size: 19px; color: #0b1e36; font-weight: 600; letter-spacing: -0.2px; }
.secretary-sign { display: flex; align-items: center; gap: 20px; margin-top: 30px; padding-top: 30px; border-top: 2px solid #f1f5f9; }
.sec-avatar { width: 65px; height: 65px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; }

/* Education & Tech */
.edu-tech-section { background-color: #ffffff; padding: 100px 30px; border-bottom: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 15px 35px rgba(11, 30, 54, 0.05); }
.theme-image-wrapper { margin-bottom: 50px; width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 15px 35px rgba(11, 30, 54, 0.08); }
.responsive-img { width: 100%; height: auto; display: block; }
.styled-list { list-style: none; padding: 0; margin: 0 0 50px 0; }
.styled-list li { position: relative; padding-left: 40px; margin-bottom: 25px; font-size: 1.15rem; line-height: 1.7; color: #334155; }
.styled-list li::before { content: "•"; color: #2563eb; font-size: 2.2rem; position: absolute; left: 0; top: -12px; }

/* Plan & Arms Grids */
.transformation-plan { padding: 60px 0; }
.plan-title { text-align: center; font-size: 28px; color: #0b1e36; margin-bottom: 60px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.plan-card { background: #ffffff; padding: 40px 30px; border-radius: 12px; border: 1px solid #e2e8f0; border-top: 5px solid #f1c40f; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); text-align: center; transition: all 0.3s ease; }
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); border-color: #f1c40f; }

.arms-three-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 25px; }
.arm-card { background: #ffffff; padding: 40px 30px; border-radius: 12px; border: 1px solid #e2e8f0; border-top: 5px solid #2563eb; text-decoration: none; color: inherit; transition: all 0.3s ease; display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); }
.arm-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(11, 30, 54, 0.08); border-top-color: #f1c40f; }
.arm-icon { font-size: 42px; margin-bottom: 20px; }
.arm-card h4 { font-size: 20px; color: #0b1e36; margin-bottom: 15px; font-weight: 800; }

/* CTA Box */
.cta-box { background: linear-gradient(135deg, #0b1e36 0%, #0d2c54 100%); color: #ffffff; padding: 70px 40px; border-radius: 16px; text-align: center; border-bottom: 6px solid #f1c40f; box-shadow: 0 15px 35px rgba(11, 30, 54, 0.15); margin: 25px 0; }
.cta-box h3 { font-size: 32px; font-weight: 900; margin-bottom: 20px; color: #ffffff; letter-spacing: -0.5px; }

/* Directory & FAQ */
.directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.directory-block { background: #ffffff; padding: 40px; border-radius: 12px; border-left: 5px solid #2563eb; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); }
.dir-title { font-size: 20px; color: #0b1e36; margin-bottom: 25px; font-weight: 800; }
.dir-list { list-style: none; }
.dir-list li { margin-bottom: 20px; border-bottom: 1px solid #f1f5f9; padding-bottom: 15px; }
.dir-list a { color: #334155; text-decoration: none; font-size: 16px; font-weight: 600; transition: color 0.2s; display: block; padding: 8px 0; } /* Touch friendly padding */
.dir-list a:hover { color: #2563eb; padding-left: 8px; }

.faq-container { background: #ffffff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); padding: 30px; }
.accordion { background-color: #f8fafc; color: #0b1e36; cursor: pointer; padding: 22px; width: 100%; border: none; border-bottom: 1px solid #e2e8f0; text-align: left; outline: none; font-size: 17px; font-weight: 700; transition: 0.4s; }
.accordion.active, .accordion:hover { background-color: #e2e8f0; }
.accordion:after { content: '\002B'; color: #2563eb; font-weight: bold; float: right; margin-left: 10px; }
.accordion.active:after { content: "\2212"; }
.panel { padding: 0 22px; background-color: white; max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; }

/* ==========================================================================
   CAROUSEL / SLIDER WIDGETS
   ========================================================================== */
.news-board-wrapper { position: relative; overflow-x: auto; padding: 20px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.news-board-wrapper::-webkit-scrollbar { display: none; }
.news-carousel-track { display: flex; gap: 20px; flex-wrap: nowrap; width: max-content; }
.news-carousel-card { 
    background: #f8fafc; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; 
    display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); 
    transition: all 0.3s ease; 
    flex: 0 0 calc(50% - 10px); 
    max-width: calc(50% - 10px); 
    box-sizing: border-box;
    scroll-snap-align: start;
}
.news-carousel-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(11, 30, 54, 0.1); border-color: #2563eb; }

.slider-controls { display: flex; gap: 15px; }
.slider-btn { background: #f1c40f; color: #0b1e36; border: none; width: 45px; height: 45px; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease-in-out; }
.slider-btn:hover { background: #0b1e36; color: #f1c40f; transform: scale(1.05); }

/* Buttons */
.btn-yellow { background-color: #f1c40f; color: #061324; padding: 12px 24px; border-radius: 8px; font-weight: 800; text-decoration: none; display: inline-block; box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3); transition: all 0.3s ease; border: none; cursor: pointer; font-size: 15px; }
.btn-yellow:hover { background-color: #ffffff; box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4); border: 1px solid #e2e8f0; }
.btn-blue { background-color: #2563eb; color: #ffffff; padding: 16px 32px; border-radius: 8px; font-weight: 800; text-decoration: none; display: inline-block; transition: all 0.3s ease; font-size: 15px; }
.btn-blue:hover { background-color: #1d4ed8; }

/* ==========================================================================
   MEASURES OF SUCCESS & PILLARS
   ========================================================================== */
.goals-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 45px; margin-top: 30px; margin-bottom: 80px; }
.goal-bounce-card { background: #ffffff; border-radius: 16px; padding: 45px 35px 40px 35px; position: relative; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04); border: 1px solid #e2e8f0; text-align: center; display: flex; flex-direction: column; align-items: center; }
@keyframes cardBounce { 0% { transform: translateY(0); } 30% { transform: translateY(-12px); } 50% { transform: translateY(-4px); } 70% { transform: translateY(-8px); } 100% { transform: translateY(-6px); } }
.goal-bounce-card:hover { animation: cardBounce 0.6s ease forwards; box-shadow: 0 15px 35px rgba(11, 30, 54, 0.12); }
.goal-badge { position: absolute; top: -18px; right: 25px; color: white; font-size: 13px; font-weight: 900; padding: 8px 18px; border-radius: 20px; letter-spacing: 0.5px; }
.goal-icon-box { width: 75px; height: 75px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 25px; }
.goal-bounce-card h3 { font-size: 22px; color: #0b1e36; margin-bottom: 20px; font-weight: 800; }
.card-color-1 { border-top: 6px solid #0ea5e9; } .card-color-1 .goal-badge { background: #0ea5e9; } .card-color-1 .goal-icon-box { background: #e0f2fe; color: #0ea5e9; }
.card-color-2 { border-top: 6px solid #ef4444; } .card-color-2 .goal-badge { background: #ef4444; } .card-color-2 .goal-icon-box { background: #fee2e2; color: #ef4444; }
.card-color-3 { border-top: 6px solid #8b5cf6; } .card-color-3 .goal-badge { background: #8b5cf6; } .card-color-3 .goal-icon-box { background: #ede9fe; color: #8b5cf6; }

.pillars-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; padding: 0 30px; }
.pillar-card { width: 240px; height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 25px; border-radius: 0 0 120px 120px; transition: transform 0.3s ease; }
.pillar-card:hover { transform: translateY(-8px); }
.pillar-card h4 { font-size: 24px; font-weight: 900; color: #334155; margin-bottom: 30px; }
.pillar-pink { background-color: #fcd7d7; } .pillar-blue { background-color: #d2effc; } .pillar-yellow { background-color: #fef7d4; } .pillar-green { background-color: #d1f4df; }

/* ==========================================================================
   FOOTER (Strict 3-Column Grid)
   ========================================================================== */
footer { 
    background-color: #061324; 
    color: #94a3b8; 
    padding: 80px 40px 40px 40px; 
    border-top: 4px solid #f1c40f; 
}

.footer-dir { 
    max-width: 1200px; 
    margin: 0 auto 50px auto; 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* Enforced 3-column layout */
    gap: 50px; 
    text-align: left; 
    padding-bottom: 50px; 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
}

.dir-col h6 { color: #f1c40f; font-size: 15px; font-weight: 800; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 15px; }
.footer-nav-list a { color: #94a3b8; text-decoration: none; font-size: 14.5px; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; padding: 5px 0; }
.footer-nav-list a:hover { color: #ffffff; padding-left: 8px; }

.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; color: #94a3b8; font-size: 15px; line-height: 1.5; }
.contact-info-list li i { font-size: 18px; width: 25px; text-align: center; margin-top: 4px; }
.contact-info-list li a { color: #94a3b8; text-decoration: none; transition: color 0.2s ease-in-out; }
.contact-info-list li a:hover { color: #ffffff; }

/* =========================================
   HERO BANNER STYLES (EXPANDED HEIGHT)
   ========================================= */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 520px; /* Expanded desktop vertical height */
    background-color: #0b1e36;
    background-size: cover !important;
    background-position: center top !important; /* Anchors top edge to keep faces visible */
    background-repeat: no-repeat !important;
    transition: background-image 1s ease-in-out; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px 20px; 
    box-sizing: border-box;
    border-bottom: 4px solid #f1c40f;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    width: 90%;
    max-width: 800px;
    margin-bottom: 20px;
}

#sliderTitle {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: opacity 0.5s ease-in-out;
    text-transform: uppercase;
}

#sliderDesc {
    font-size: 20px;
    margin-bottom: 25px;
    transition: opacity 0.5s ease-in-out;
}

/* THE OVERLAPPING WHITE SEARCH BOX */
.hero-bottom-box {
    position: absolute;
    bottom: -35px; 
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 25px;
    z-index: 10;
}

.search-form-wrapper {
    display: flex;
    width: 100%;
}

.search-form-wrapper input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    outline: none;
    color: #333;
    transition: border-color 0.3s;
}

.search-form-wrapper input:focus {
    border-color: #2563eb;
}

.search-form-wrapper button {
    background: #2563eb; 
    color: #fff;
    border: none;
    padding: 16px 30px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.search-form-wrapper button:hover {
    background: #1d4ed8;
}

/* =========================================
   NEWS GRID STYLES (RESPONSIVE GRID)
   ========================================= */
.news-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.news-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.news-img-box {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2563eb;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.news-text-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.news-title {
    margin: 0 0 10px 0;
    font-size: 17px;
    line-height: 1.4;
    color: #0f172a;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-desc {
    font-size: 13px;
    color: #475569;
    margin: 0 0 20px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-btn {
    margin-top: auto;
    display: inline-block;
    background-color: #1e293b; 
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.news-read-btn:hover {
    background-color: #0d2c54;
}

/* =========================================
   SMOOTH SLIDE COLLAPSE STYLES
   ========================================= */
.collapsed-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease-out, opacity 0.5s ease-out;
}

.collapsed-text.expanded {
    max-height: 1200px; 
    opacity: 1;
}

/* =========================================
   HOME PAGE EDITORIAL BLOCK STYLES
   ========================================= */
.editorial-block {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: inherit;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h3 {
    color: #0d2c54; 
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header p {
    color: #0d2c54;
    font-size: 15px;
}

.editorial-flex-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.es-image-holder {
    flex: 0 0 35%; 
    background-color: #f8fafc;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.es-image-holder img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.editorial-text-content {
    flex: 1; 
    font-size: 16px;
    line-height: 1.8;
    color: #64748b; 
}

.editorial-text-content p {
    margin-bottom: 20px;
}

/* =========================================
   READ MORE LINK & CTA STYLES
   ========================================= */
.read-more-wrapper {
    text-align: right; 
    margin-top: 15px;
    border-top: 1px solid #e2e8f0; 
    padding-top: 15px;
}

.read-more-wrapper a {
    color: #0b1e36; 
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.read-more-wrapper a i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more-wrapper a:hover {
    color: #475569; 
}

.read-more-wrapper a:hover i {
    transform: translateX(5px); 
}

/* =========================================
   EXTRACTED INLINE CLASSES
   ========================================= */
.secretary-sign {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sec-avatar {
    font-size: 28px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sec-title {
    font-weight: 800;
    color: #0b1e36;
    font-size: 15px;
    margin-bottom: 2px;
    margin-top: 0;
}

.sec-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    font-weight: 600;
    text-align: left;
    line-height: 1.4;
}

.btn-schools-link {
    padding: 15px 30px;
    font-size: 16px;
    display: inline-block;
    text-decoration: none;
}

.no-news-msg {
    padding: 20px;
    text-align: center;
    width: 100%;
}

.news-link-anchor {
    display: block;
    text-align: center;
    margin-top: 30px;
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
}

/* =========================================
   ASSOCIATIONS & PARTNERS PAGE STYLES
   ========================================= */
.assoc-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(145deg, #ffffff 0%, #fcfdfd 100%);
}

.assoc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 30px -6px rgba(13, 44, 84, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
    border-color: #f1c40f;
}

.assoc-card:hover .assoc-logo {
    transform: scale(1.1);
}

.assoc-card:hover .card-arrow {
    transform: translateX(4px);
    color: #0d2c54;
}

.page-header {
    background: linear-gradient(135deg, #0d2c54 0%, #061324 100%);
    color: white;
    padding: 70px 30px;
    border-bottom: 5px solid #f1c40f;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partner-cta-bg {
    background: radial-gradient(circle at top right, rgba(241, 196, 15, 0.15), transparent 50%), linear-gradient(135deg, #0d2c54 0%, #061324 100%);
}

/* ==========================================================================
   MOBILE & RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 1024px) {
    .news-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .pillars-grid { gap: 30px; }
}

@media (max-width: 768px) {
    /* Header Scaling */
    .main-header { height: 65px; padding: 0 15px; }
    .brand-group { gap: 8px; }
    .header-logo { height: 32px; }
    .ikd-logo { height: 28px; }
    .brand-text h1 { font-size: 16px; margin-bottom: 0; }
    .brand-text p { font-size: 9px; }
    .menu-toggle-btn { padding: 8px 12px; font-size: 13px; }
    
    /* Expanded Hero Banner Mobile Height */
    .hero-banner {
        min-height: 480px; 
        padding: 40px 15px 70px 15px;
    }
    #sliderTitle {
        font-size: 26px; 
    }
    #sliderDesc {
        font-size: 16px;
    }
    .hero-bottom-box {
        width: 92%;
        padding: 15px;
        bottom: -30px;
    }
    .counter-strip {
        margin-top: 50px; 
    }

    /* Footer & Editorial Stacking */
    .footer-dir { grid-template-columns: 1fr; gap: 40px; }
    footer { padding: 50px 20px 30px 20px; }
    .content-body { padding: 0 15px; margin: 50px auto; gap: 50px; }
    .editorial-block, .edu-tech-section, .cta-box { padding: 40px 20px; }
    
    .editorial-flex-container {
        flex-direction: column;
    }
    .es-image-holder {
        flex: 0 0 100%;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* News Grid Single Column */
    .news-grid-container {
        grid-template-columns: 1fr; 
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .goals-container { grid-template-columns: 1fr; gap: 40px; }
    .news-carousel-card { 
        flex: 0 0 100%; 
        max-width: 100%; 
    }
}

@media (max-width: 550px) {
    .pillar-card { width: calc(50% - 15px); height: 260px; border-radius: 0 0 50% 50%; }
    .pillar-card h4 { font-size: 20px; margin-bottom: 20px; }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 480px; /* Ensures background images show complete visual context on phones */
        padding: 30px 10px 60px 10px;
    }
    #sliderTitle {
        font-size: 22px; 
    }
    #sliderDesc {
        font-size: 15px;
    }
    .search-form-wrapper input {
        padding: 12px 15px;
        font-size: 14px;
    }
    .search-form-wrapper button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .pillar-card { width: 100%; max-width: 280px; height: 300px; border-radius: 0 0 140px 140px; }
    .counter-strip { grid-template-columns: 1fr; }
    .counter-card { border-right: none; border-bottom: 1px solid #f1f5f9; padding-bottom: 25px; }
}