* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    background-color: #f0f4f8;
    color: #1e2937;
    line-height: 1.75;
}
.main-content p,
.main-content li,
.main-content ul,
.main-content ol {
    font-size: 16px;
    line-height: 1.75;
}

.ai-resource-scroll {
    margin-top: 12px !important;
    padding-top: 0 !important;
}

.ai-resource-scroll .resource-card {
    margin-top: 0 !important;
}
header h1 {
    color: #ffffff;
    font-size: 27px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

header h1:hover {
    transform: scale(1.03);
}

header h1 span {
    color: #67e8f9;
}



nav a:hover {
    color: #ffffff;
}



nav a:hover::after {
    width: 100%;
}

/* ==================== HERO ==================== */
/* ==================== HERO ==================== */

.hero,
.page-hero {
   color: white;
     text-align: center;
    padding: 90px 20px 80px;
    min-height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Homepage hero only */
.home-hero {
    background: url('images/home5.png') center center / cover no-repeat !important;
    min-height: 66vh;
     padding: 55px 20px 70px;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
}

.home-hero::before,
.home-hero::after {
    display: none !important;
}

.home-hero h2 {
    color: #132968 !important;
    font-size: clamp(1.9rem, 3vw, 3rem) !important;
    line-height: 1.08;
    max-width: 680px;
    margin: 95px 0 18px 62px !important;
    text-shadow: none !important;
}

.home-hero p {
    color: #233876 !important;
    font-size: 1.15rem !important;
    font-weight: 700;
    max-width: 680px;
    margin: 0 0 30px 62px !important;
    text-shadow: none !important;
}


.home-hero .hero-blog-btn {
    margin: 0 0 0 62px !important;
    width: fit-content !important;
    min-width: 230px;
    height: auto !important;
    padding: 14px 34px;
    position: relative;
    z-index: 10;
}
/* Other pages */
.page-hero {
    background:
         linear-gradient(rgba(30, 58, 138, 0.55), rgba(15, 23, 42, 0.70)),
        linear-gradient(135deg, #3b82f6, #172554);
        background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-bottom: 140px;
}

.hero h2,
.page-hero h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.hero p,
.page-hero p {
    font-size: 1.3rem;
    max-width: 780px;
    margin: 0 auto 30px;
}
.hero-blog-btn {

    margin-left: 70px;

    background: #3246b8;

    color: white;

    padding: 18px 42px;

    border-radius: 20px;

    font-size: 1.2rem;

    font-weight: 700;

    box-shadow: 0 10px 30px rgba(50,70,184,0.25);

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    transition: 0.3s ease;
}
.hero-blog-btn:hover {
    background: white;
    color: #1e3a8a;

    transform: translateY(-4px);

    box-shadow:
        0 14px 34px rgba(0,0,0,0.28),
        0 0 35px rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {

    .hero-blog-btn {
        width: 92%;
        padding: 16px 22px;
        font-size: 1rem;
    }
}

/* Buttons */
.button-primary {
    display: inline-block;
    padding: 16px 40px;
    background: #2d3e99;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.button-primary:hover {
    background: #1e2d7a;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 30px rgba(20, 184, 166, 0.45);
}

/* Main Container */

/* Cards */
.card, .resource-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover, .resource-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}



/* ==================== ACCORDION ==================== */
.modern-accordion {
    margin: 16px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.accordion-btn {
    width: 100%;
    padding: 20px 24px;
    background: #f1f5f9;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.08rem;
    color: #1e3a8a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-btn:hover {
    background: #e0f2fe;
}

.accordion-btn:after {
    content: '▼';
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.accordion-btn.active:after {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.accordion-content p {
    padding: 24px;
    margin: 0;
    color: #334155;
    line-height: 1.7;
}

/* ==================== RESOURCE GRID & CARDS (FIXED ALIGNMENT) ==================== */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.resource-card {
    background: white;
    padding: 28px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.resource-card h3 {
    margin-bottom: 12px;
    color: #1e3a8a;
    line-height: 1.4;
}

.resource-card p {
    flex-grow: 1;
    color: #475569;
    font-size: 15px;
    margin-bottom: 14px;
}

.resource-card .button-primary {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* Filter Buttons */
.filter-buttons {
   margin: 12px 0 18px 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    background: #e0f2fe;
    color: #1e3a8a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #bae6fd;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #2d3e99;
    color: white;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Search Input */
#resource-search {
    width: 100%;
    padding: 16px 24px;
    margin-bottom: 25px;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    font-size: 16px;
    transition: all 0.3s ease;
}

#resource-search:focus {
    outline: none;
    border-color: #2d3e99;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}


.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.resource-card {
    padding: 18px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.resource-card iframe {
    border-radius: 8px;
    margin-top: 10px;
}




/* Footer */
.footer {
    background: #1e2937;
    color: white;
    margin-top: 80px;
    padding: 60px 20px 40px;
    text-align: center;
    width: 100%;
    border-top: 5px solid #2d3e99;
}

.footer p {
    font-size: 1.1rem;
    margin: 0;
}
/* ==================== DIGITAL PAGE SPECIFIC STYLING ==================== */
.digital-hero {
    background: linear-gradient(rgba(30, 58, 138, 0.75), rgba(15, 23, 42, 0.85)),
                url('images/Digital.jpg') center/cover no-repeat !important;
}
/* Readiness Checker */
.checker-item {
    background: #f8fafc;
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 5px solid #2d3e99;
}

.checker-item label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #1e3a8a;
}

.score-buttons {
    display: flex;
    gap: 8px;
}

.score-buttons button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #e0f2fe;
    color: #1e3a8a;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.score-buttons button:hover {
    background: #bae6fd;
    transform: scale(1.1);
}


   @media (max-width: 900px) {

    .hero h2,
    .page-hero h2 {
        font-size: 2.4rem;
    }

    nav {
        gap: 18px;
    }

}
/* ==================== MAIN LAYOUT ==================== */

.container {
     max-width: 1280px;
    margin: 60px auto;
    padding: 0 20px;

    display: grid;
   grid-template-columns: minmax(0, 1fr) 280px;

    gap: 40px;
    align-items: start;
}

.main-content {
    min-width: 0;
}


/* ==================== QUICK LINK CARDS ONLY ==================== */
/* This only affects Cyber Essentials and Take Five cards, not video cards */

.quick-link-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 5px solid #2d3e99;
    min-height: 390px;
    position: relative;
}

.quick-link-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 2.3rem;
    margin-bottom: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.cyber-icon {
    background: linear-gradient(135deg, #dbeafe, #67e8f9);
    color: #1e3a8a;
}

.fraud-icon {
    background: linear-gradient(135deg, #fef3c7, #f59e0b);
    color: #78350f;
}

.quick-link-card h3 {
    margin-bottom: 12px;
}

.quick-link-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.quick-link-card .button-primary {
    margin-top: auto;
    width: 100%;
    text-align: center;
}
/* FIX: quick link cards only */
.quick-link-card {
    padding: 30px !important;
    border-top: 6px solid #2d3e99;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.quick-link-card .quick-link-icon {
    width: 82px !important;
    height: 82px !important;
    border-radius: 24px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem !important;
    font-weight: 900;
    margin-bottom: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

.quick-link-card .cyber-icon {
    background: linear-gradient(135deg, #dbeafe, #67e8f9);
    color: #1e3a8a;
}

.quick-link-card .fraud-icon {
    background: linear-gradient(135deg, #fef3c7, #f59e0b);
    color: #78350f;
}

.quick-link-card p {
    flex-grow: 0 !important;
    margin-bottom: 16px !important;
}

.quick-link-card .button-primary {
    margin-top: auto !important;
}
/* Make Cyber Essentials and Take Five buttons identical */
.quick-link-card .button-primary {
    width: 100% !important;
max-width: 430px;
    min-height: 64px;
    padding: 16px 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
}

/* ==================== HORIZONTAL SCROLL FOR PDF RESOURCES ==================== */

.resource-scroll {
    display: flex;
    flex-wrap: nowrap;
     gap: 18px;
    padding: 6px 4px 12px;
    margin-top: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    
    max-width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.resource-scroll .resource-card {
  flex: 0 0 420px;
    width: 420px;
    min-width: 420px;
    max-width: 420px;
    height: auto;
 min-height: 240px;
    padding: 18px;
    margin-bottom: 0;
    scroll-snap-align: start;

    display: flex;
    flex-direction: column;
}

.resource-scroll .resource-card h3 {
     font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.resource-scroll .resource-card p {
     font-size: 15px;
    line-height: 1.65;
    flex-grow: 1;
}

.resource-scroll .resource-card .button-primary {
    margin-top: auto;
    min-height: 56px;
}
@media (max-width: 700px) {
    .resource-scroll .resource-card {
        flex: 0 0 88%;
        width: 88%;
        min-width: 88%;
        max-width: 88%;
    }
}

.resource-scroll .resource-card .button-primary {
    margin-top: auto;
}

.resource-scroll::-webkit-scrollbar {
    height: 10px;
}

.resource-scroll::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 999px;
}

.resource-scroll::-webkit-scrollbar-thumb {
    background: #2d3e99;
    border-radius: 999px;
}

.resource-scroll::-webkit-scrollbar-thumb:hover {
    background: #1e2d7a;
}

.scroll-hint {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 8px;
    font-style: italic;
}
/* ==================== PDF SCROLL CARD DESIGN ==================== */

.pdf-resource-card {
    border-top: 5px solid #1e3a8a;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 26px !important;
}

.pdf-resource-card h3 {
    min-height: auto;
    margin-bottom: 10px;
    font-size: 1.7rem;
    line-height: 1.3;
}

.pdf-resource-card p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 14px;
}

.pdf-resource-card .button-primary {
    min-height: 56px;
}

/* ==================== FLIP CARDS: AI CYBER RISKS ==================== */

.flip-risk-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.flip-card {
   height: 300px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-wide {
    grid-column: 1 / -1;
}

.flip-card-inner {
    position: relative;
    width: 100%;
   height: 100%;
    transition: transform 0.7s ease;
    transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    height: 100%;
    border-radius: 18px;
    padding: 26px;
    backface-visibility: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow-y: auto;
    box-sizing: border-box;
}

.flip-card-front {
    background: #f8fafc;
    border-left: 6px solid #dc2626;
}

.flip-card-back {
    background: #f0fdfa;
    border-left: 6px solid #2d3e99;
    transform: rotateY(180deg);
}

.flip-card h4 {
    color: #1e3a8a;
    margin-bottom: 14px;
    font-size: 1.15rem;
}

.flip-card p {
    color: #334155;
    line-height: 1.65;
    margin-bottom: 12px;
}

.flip-card span {
    display: inline-block;
    margin-top: 12px;
    color: #1e3a8a;
    font-weight: 700;
}

@media (max-width: 800px) {
    .flip-risk-grid {
        grid-template-columns: 1fr;
    }

    .flip-card-wide {
        grid-column: auto;
    }
}


/* ==================== SOURCE AND CROSS-LINK NOTES ==================== */

.source-note {
    margin-top: 20px;
    padding: 14px 18px;
    background: #f8fafc;
    border-left: 5px solid #2d3e99;
    border-radius: 12px;

    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
}

.source-note strong {
    color: #1e3a8a;
}

.source-note a {
    color: #1e3a8a;
    font-weight: 600;
    word-break: normal;
}
/* ==================== ACTIVE SIDEBAR SECTION ==================== */

.sidebar a.active-section {
    background: #2d3e99 !important;
    color: white !important;
    border-color: #2d3e99 !important;
    box-shadow: none !important;
    transform: none !important;
}


/* ==================== CORE CYBER ACTION CARDS ==================== */

.action-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.action-toggle-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 6px solid #2d3e99;
    border-radius: 16px;
    overflow: hidden;
}

.action-toggle-wide {
    grid-column: 1 / -1;
}

.action-toggle-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 20px;
    text-align: left;
    color: #1e3a8a;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.action-toggle-btn::after {
    content: "+";
    font-size: 1.4rem;
    color: #2d3e99;
    font-weight: 900;
}

.action-toggle-card.open .action-toggle-btn::after {
    content: "−";
}

.action-toggle-content {
    display: none;
    padding: 0 20px 20px;
}

.action-toggle-card.open .action-toggle-content {
    display: block;
}

.action-toggle-content p {
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 800px) {
    .action-cards-grid {
        grid-template-columns: 1fr;
    }

    .action-toggle-wide {
        grid-column: auto;
    }
}
/* ==================== PROTECTING ACCOUNTS SECTION ==================== */

.access-protection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.access-protection-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-top: 5px solid #1e3a8a;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.access-protection-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

.access-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.access-protection-card h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.access-protection-card p {
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.access-check-box {
    margin-top: 26px;
    background: #f0fdfa;
    border-left: 6px solid #2d3e99;
    border-radius: 16px;
    padding: 22px 24px;
}

.access-check-box h3 {
    color: #1e3a8a;
    margin-bottom: 8px;
}

.access-check-box p {
    color: #334155;
    margin: 0;
    line-height: 1.65;
}

@media (max-width: 800px) {
    .access-protection-grid {
        grid-template-columns: 1fr;
    }
}
/* ==================== PRACTICAL RESILIENCE SECTION ==================== */

.resilience-tabs {
    margin-top: 28px;
}

.resilience-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    margin-bottom: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.resilience-item:hover {
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.resilience-btn {
    width: 100%;
    border: none;
    background: white;
    padding: 22px 24px;
    text-align: left;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e3a8a;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: all 0.3s ease;
}

.resilience-btn:hover {
    background: #f0f9ff;
}

.resilience-btn::after {
    content: "+";
    font-size: 1.7rem;
    color: #2d3e99;
    font-weight: 700;
}

.resilience-item.active .resilience-btn::after {
    content: "−";
}

.resilience-content {
    display: none;
    padding: 0 24px 24px;
    background: #f8fafc;
}

.resilience-item.active .resilience-content {
    display: block;
}

.resilience-content p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 18px;
}

.resilience-content ul {
    padding-left: 22px;
    color: #475569;
}

.resilience-content li {
    margin-bottom: 10px;
}

@media (max-width: 800px) {

    .resilience-btn {
        font-size: 0.95rem;
        padding: 18px;
    }

    .resilience-content {
        padding: 0 18px 18px;
    }

}

/* ==================== BLOG INSIGHTS LANDSCAPE SCROLL ==================== */

.blog-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 14px 4px 28px;
    margin-top: 26px;
    scroll-snap-type: x mandatory;
}

.blog-card {
       flex: 0 0 min(340px, 88vw);
    min-height: 250px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-top: 6px solid #2d3e99;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    max-width: 88vw;
}
@media (max-width: 768px) {

    .blog-card {

        flex: 0 0 72% !important;

        min-width: 72%;

        max-width: 72%;

        min-height: 220px;

        padding: 14px;
    }

    .blog-card h3 {

        font-size: 1rem;

        line-height: 1.35;

        margin-bottom: 10px;
    }

    .blog-card p {

        font-size: 0.85rem;

        line-height: 1.55;
    }

    .blog-tag {

        font-size: 0.72rem;

        padding: 5px 10px;
    }

    .blog-actions {

        flex-direction: column;

        gap: 8px;
    }

    .blog-actions .button-primary {

        width: 100%;

        padding: 9px 12px;

        font-size: 0.85rem;

        min-height: 42px;
    }
}
.featured-blog {
    border-top-color: #1e3a8a;
}

.blog-tag {
    display: inline-block;
    width: fit-content;
    background: #e0f2fe;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.blog-card h3 {
    color: #1e3a8a;
    line-height: 1.35;
    margin-bottom: 14px;
}

.blog-card p {
    color: #475569;
    line-height: 1.65;
    flex-grow: 1;
}

.blog-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.blog-actions .button-primary {
    flex: 1;
    padding: 11px 14px;
    font-size: 0.95rem;
    text-align: center;
}

.blog-download-btn {
    background: #1e3a8a;
}

.blog-scroll::-webkit-scrollbar {
    height: 10px;
}

.blog-scroll::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 999px;
}

.blog-scroll::-webkit-scrollbar-thumb {
    background: #2d3e99;
    border-radius: 999px;
}

/* ==================== DIGITAL JOURNEY SECTION ==================== */

.journey-grid,
.skills-grid,
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.journey-card,
.skills-card,
.metric-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 18px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.journey-card:hover,
.skills-card:hover,
.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.1);
}

.journey-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #2d3e99;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.skills-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.metric-card h3 {
    margin-bottom: 10px;
    color: #1e3a8a;
}

.metric-card span {
    color: #475569;
    line-height: 1.6;
}

.tracker-callout {
    margin-top: 35px;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.tracker-callout h3 {
    margin-bottom: 8px;
    color: white !important;
}

.tracker-callout p {
    color: #e2e8f0;
}

@media (max-width: 800px) {

    .journey-grid,
    .skills-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .tracker-callout {
        flex-direction: column;
        align-items: flex-start;
    }
     }
/* ==================== DIGITAL PAGE VISUAL POLISH ==================== */

#why-digital,
#roadmap,
#planning,
#skills-culture,
#measuring-success,
#responsible-digital {
    border-top: 6px solid #2d3e99;
}

#roadmap {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top-color: #1e3a8a;
}

#roadmap .button-primary {
    max-width: 520px;
    width: 100%;
}

.journey-card,
.skills-card,
.metric-card {
    border-left: 5px solid #2d3e99;
}

.journey-card h3,
.skills-card h3,
.metric-card h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.journey-card p,
.skills-card p {
    color: #475569;
    line-height: 1.65;
}

.metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
    min-height: 150px;
}

.tracker-callout .button-primary {
    background: #2d3e99;
    white-space: nowrap;
}

#responsible-digital .flip-card-front {
    border-left-color: #1e3a8a;
}

#responsible-digital .flip-card-back {
    border-left-color: #2d3e99;
}

@media (max-width: 900px) {

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .tracker-callout .button-primary {
        width: 100%;
        text-align: center;
    }


}
.site-logo,
.site-logo a,
.site-logo span {
    color: white !important;
    text-decoration: none !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    white-space: nowrap;
}

.site-logo a:hover {
    color: #67e8f9 !important;
}
/* ==================== NAVBAR DROPDOWN ==================== */

.dropdown {
    position: relative;
}


.dropdown {
    display: flex;
    align-items: center;
}

.dropdown-btn:hover {
    color: white;
}



.dropdown-content a {

    display: block;

    padding: 14px 18px;

    color: #1e293b !important;

    background: white;

    text-decoration: none;

    font-weight: 600;

    border-bottom: 1px solid #eef2ff;

    transition: all 0.25s ease;
}
.dropdown-content a:hover {

    background: #eef2ff;

    color: #2d3e99 !important;
}

.dropdown:hover .dropdown-content {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}
/* ==================== PREMIUM NAVBAR ==================== */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

   background: #0f3ea8;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    padding: 18px 0;
}
.dropdown-btn {
    background: transparent !important;
    color: rgba(255,255,255,0.92) !important;
    border: 1px solid transparent !important;
    outline: none;
}

.dropdown-btn:hover {
    background: #dbeafe !important;
    color: #0f3ea8 !important;
}

/* NAV CONTAINER */
.nav-container {
        max-width: 1380px;
    margin: 0 auto;
    padding: 0 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

/* LOGO */
.site-logo a,
.site-logo span {
    color: white !important;
    text-decoration: none !important;

    font-size: 2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;

    transition: all 0.3s ease;
}

.site-logo a:hover {
    color: #67e8f9 !important;
    text-shadow: 0 0 18px rgba(103,232,249,0.35);
}

/* NAVIGATION */
nav {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 8px;

background: rgba(21, 73, 190, 0.88);
border: 1px solid rgba(255,255,255,0.08);

border-radius: 999px;

box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* LINKS */
nav a,
.dropdown-btn {

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 20px;

    border-radius: 999px;

    color: rgba(255,255,255,0.92);
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.25s ease,
        box-shadow 0.3s ease;

    border: 1px solid transparent;
}

/* HOVER */
nav a:hover,
.dropdown-btn:hover {

    color: white;

    background: rgba(255,255,255,0.10);

    border-color: rgba(255,255,255,0.12);

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.18),
        0 0 18px rgba(103,232,249,0.12);
}

/* ACTIVE LINK */
nav a.active-nav {

 background: rgba(255,255,255,0.16);
    color: white !important;

    border: 1px solid rgba(103,232,249,0.22);

    box-shadow:
        0 0 20px rgba(103,232,249,0.14);
}

/* REMOVE OLD UNDERLINE */
nav a::after,
nav a.active-nav::after {
    display: none;
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-content {

    position: absolute;

    top: 115%;
    right: 0;

    min-width: 240px;

    padding: 10px;

    background: rgba(15,23,42,0.96);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 22px;

    backdrop-filter: blur(18px);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.25);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: all 0.25s ease;
}

.dropdown-content a {

    color: #e2e8f0 !important;

    border-radius: 14px;

    padding: 14px 16px;

    margin-bottom: 4px;

    background: transparent;
}

.dropdown-content a:hover {

    background: rgba(255,255,255,0.08);

    color: white !important;

    transform: translateX(4px);
}

.dropdown:hover .dropdown-content {

    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* ==================== DIGITAL ROADMAP TIMELINE ==================== */

.timeline-roadmap {
    position: relative;
    margin-top: 50px;
    padding-left: 30px;
}

.timeline-roadmap::before {
    content: "";
    position: absolute;
    left: 42px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #1e3a8a,
        #2d3e99
    );
    border-radius: 999px;
}

.timeline-step {
    position: relative;
    display: flex;
    gap: 28px;
    margin-bottom: 45px;
    align-items: flex-start;
}

.timeline-circle {
    width: 56px;
    height: 56px;
    min-width: 56px;

    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #2d3e99);

    color: white;
    font-size: 1.2rem;
    font-weight: 800;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 2;

    box-shadow: 0 10px 24px rgba(20,184,166,0.25);
}

.timeline-content {
    flex: 1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 18px;
    padding: 24px 26px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);

    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.10);
}

.timeline-content h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 800px) {

    .timeline-roadmap {
        padding-left: 10px;
    }

    .timeline-step {
        gap: 18px;
    }

    .timeline-circle {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1rem;
    }

}
.digital-video-card iframe {
    border-radius: 14px;
    margin: 16px 0 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

/* ==================== INFOGRAPHIC VIEWER ==================== */

.infographic-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.view-infographic-btn,
.download-infographic-btn {

    background: linear-gradient(
        135deg,
        #1e3a8a,
       #2d3e99
    );

    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 14px;

    font-weight: 700;
    font-size: 1rem;

    cursor: pointer;
    text-decoration: none;

    transition: all 0.3s ease;

    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.view-infographic-btn:hover,
.download-infographic-btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}

/* ==================== MODAL ==================== */

.infographic-modal {

    display: none;

    position: fixed;
    z-index: 9999;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: rgba(15,23,42,0.88);

    backdrop-filter: blur(8px);

    justify-content: center;
    align-items: center;

    padding: 40px;

    animation: fadeIn 0.3s ease;
}

.modal-infographic-image {

    max-width: 95%;
    max-height: 92vh;

    border-radius: 18px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.35);

    animation: zoomIn 0.3s ease;
}

.close-infographic {

    position: absolute;

    top: 22px;
    right: 34px;

    font-size: 48px;
    font-weight: bold;

    color: white;

    cursor: pointer;

    transition: 0.2s ease;
}

.close-infographic:hover {
    transform: scale(1.1);
    color: #67e8f9;
}

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {

    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==================== DIGITAL TOOLS DASHBOARD ==================== */

.tools-dashboard {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.tool-dashboard-card {
    display: flex;
    gap: 16px;
    align-items: center;

    padding: 20px 22px;
    border-radius: 16px;

    background: #ffffff;
    border: 1px solid #e2e8f0;

    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.tool-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;

    border-radius: 14px;

    font-size: 1.3rem;
}
.tool-content h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 8px;
}
.tool-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.tool-tag {
    display: inline-block;
    background: #dbeafe;
    color: #1e3a8a;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tool-content h3 {
    color: #1e3a8a;
    margin-bottom: 8px;
}

.tool-content p {
    color: #475569;
    line-height: 1.65;
    margin-bottom: 14px;
}

.tool-content .button-primary {
    padding: 11px 22px;
    font-size: 0.95rem;
}

.tool-video-preview {
    width: 260px;
    min-width: 260px;
}

.tool-video-preview iframe {
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

@media (max-width: 800px) {
    .tool-dashboard-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-video-preview {
        width: 100%;
        min-width: 100%;
    }
}
.real-examples-section {
    margin-top: 50px;
}
/* ==================== NORTH WEST EXAMPLES SCROLL ==================== */

.examples-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 16px 4px 24px;
    margin-top: 26px;
    scroll-snap-type: x mandatory;
    align-items: stretch;
}

.example-scroll-card {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    height: auto !important;
    min-height: 210px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 18px;
    padding: 24px;
    border-top: 6px solid #2d3e99;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

.example-scroll-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.example-scroll-card h3 {
    color: #1e3a8a;
    margin-bottom: 14px;
    line-height: 1.35;
}

.example-scroll-card p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

.examples-scroll::-webkit-scrollbar {
    height: 10px;
}

.examples-scroll::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 999px;
}

.examples-scroll::-webkit-scrollbar-thumb {
    background: #2d3e99;
    border-radius: 999px;
}
/* ==================== FURTHER RESOURCES HUB ==================== */

.further-hub {
    border-top: 6px solid #1e3a8a;
}

.further-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.further-resource-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.further-resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.further-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #e0f2fe;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin-bottom: 16px;
}

.further-resource-card h3 {
    color: #1e3a8a;
    margin: 10px 0;
}

.further-resource-card p {
    color: #475569;
    line-height: 1.6;
    flex-grow: 1;
}

.further-resource-card .button-primary {
    margin-top: 18px;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
}

.document-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.document-chip {
    background: #eef2ff;
    color: #1e3a8a;
    border: 1px solid #c7d2fe;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
}






.further-tip {
    margin-top: 34px;
    padding: 22px 24px;
    background: #f0fdfa;
    border-left: 6px solid #2d3e99;
    border-radius: 16px;
    color: #334155;
    font-size: 1.05rem;
}
.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.next-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 16px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.next-step-card span {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #2d3e99;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.next-step-card p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}
@media (max-width: 1000px) {
    .further-resource-grid,
    .next-steps-grid {
        grid-template-columns: 1fr;
    }
}
/* ==================== HOMEPAGE PROJECT LOGO ==================== */

.homepage-project-logo {

    width: 100%;
    border-bottom: 6px solid #2d3e99;

    background: white;
    border-top: 6px solid #2d3e99;

    border-radius: 32px;

    padding: 40px 40px;

    margin: 40px 0;

    display: flex;

    justify-content: center;

    align-items: center;

    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.homepage-project-logo img {

    width: 620px;

    max-width: 100%;

    height: auto;

    display: block;
}

.homepage-project-logo img:hover {

    transform: translateY(-4px);

    box-shadow: 0 18px 44px rgba(0,0,0,0.16);
}

@media (max-width: 1100px) {

    header {
        padding: 18px 24px;
    }

  .nav-container {

    flex-direction: row;

    justify-content: space-between;

    align-items: center;

    gap: 12px;
}
    nav {
    margin-left: auto;
}


.site-logo,
.site-logo a,
.site-logo span {
    font-size: 26px !important;
    text-align: center;
    }

    nav {

        display: flex;

        flex-wrap: wrap;

        justify-content: center;

        gap: 18px 24px;
    }

    nav a,
    .dropdown-btn {

        font-size: 15px;
    }
}

/* FORCE NAVBAR TITLE STYLE */
header .site-logo a,
header .site-logo a:link,
header .site-logo a:visited,
header .site-logo a:hover,
header .site-logo a:active,
header .site-logo span {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}








/* ==================== GLOBAL CONTENT TEXT CONSISTENCY ==================== */

.main-content p,
.main-content li {
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}

.main-content h2 {
   font-size: 1.8rem;
line-height: 1.25;
    color: #111827;
    font-weight: 700;
    margin-bottom: 16px;
}

.main-content h3 {
    color: #1e3a8a;
    font-weight: 700;
}
.mobile-sidebar-toggle {
    display: none;
}
@media (max-width: 650px) {
    .main-content h2 {
        font-size: 1.45rem !important;
        line-height: 1.25;
    }

    .main-content h3 {
        font-size: 1.15rem !important;
        line-height: 1.3;
    }

    .main-content p,
    .main-content li {
        font-size: 0.95rem !important;
        line-height: 1.65;
    }

    .card,
    .resource-card {
        padding: 22px !important;
        border-radius: 18px;
    }

    .container {
        margin: 30px auto;
        padding: 0 14px;
    }
}
@media (max-width: 900px) {

    .mobile-sidebar-toggle {
        display: block;
        position: fixed;
        right: 18px;
        bottom: 22px;
        z-index: 3000;
        background: #2d3e99;
        color: white;
        border: none;
        border-radius: 999px;
        padding: 14px 22px;
        font-weight: 700;
        font-size: 0.95rem;
        box-shadow: 0 10px 28px rgba(0,0,0,0.25);
        cursor: pointer;
    }

    .sidebar {
        position: fixed !important;
        top: 0 !important;
        right: -100%;
        width: 82%;
        max-width: 360px;
        height: 100vh;
        max-height: 100vh;
        z-index: 2500;
        border-radius: 0;
        padding: 22px;
        overflow-y: auto;
        transition: right 0.35s ease;
    }

    .sidebar.mobile-open {
        right: 0;
    }

    .container {
        grid-template-columns: 1fr !important;
    }
}
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 3000;

    background: #2d3e99;
    color: white;

    border: none;
    border-radius: 999px;

    padding: 14px 18px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    transition: all 0.25s ease;
}

#backToTopBtn:hover {
    transform: translateY(-2px);
    background: #24327d;
}

.infographic-block {
   margin: 28px auto;
    padding: 18px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 1180px;
}

.infographic-block img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

@media (max-width: 650px) {

    .infographic-block {
        padding: 10px;
        margin: 22px 0;
        border-radius: 16px;
    }

    .infographic-block img {
        border-radius: 12px;
    }

}
.infographic-block img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.infographic-block img:hover {
    transform: scale(1.01);
}

.resource-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-top: 0px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-top: 5px solid #3949ab;
}

.resource-card h3 {
    font-size: 1.45rem;
    margin-bottom: 14px;
    color: #111827;
}

.resource-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 24px;
}

.resource-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3949ab, #1e3a8a);
    color: white;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.3s ease;
}

.resource-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,58,138,0.25);
}

@media (max-width: 768px) {

    .resource-card {
        padding: 22px;
    }

    .resource-card h3 {
        font-size: 1.4rem;
    }

    .resource-card p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .resource-btn {
        width: 100%;
        text-align: center;
        padding: 14px 18px;
    }
}

.cyber-essentials-scroll-section {
    margin-top: 35px;
}

.cyber-essentials-scroll-section h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.cyber-essentials-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 14px 4px 26px;
    scroll-snap-type: x mandatory;
}

.cyber-essential-control-card {
    flex: 0 0 300px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-top: 6px solid #2d3e99;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.07);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.cyber-essential-control-card h4 {
    color: #1e3a8a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.cyber-essential-control-card p {
    color: #475569;
    line-height: 1.65;
    flex-grow: 1;
}

.cyber-essential-control-card .button-primary {
    margin-top: 18px;
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    font-size: 0.95rem;
}

.cyber-essentials-scroll::-webkit-scrollbar {
    height: 10px;
}

.cyber-essentials-scroll::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 999px;
}

.cyber-essentials-scroll::-webkit-scrollbar-thumb {
    background: #2d3e99;
    border-radius: 999px;
}

@media (max-width: 650px) {
    .cyber-essential-control-card {
        flex: 0 0 86%;
    }
}


#cyber-essentials-guide > .cyber-essential-control-card {
    padding: 24px;
    margin-bottom: 20px;
}

#cyber-essentials-guide > .cyber-essential-control-card h3 {
    font-size: 1.55rem;
    margin-bottom: 10px;
}

#cyber-essentials-guide > .cyber-essential-control-card p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 16px;
    max-width: 900px;
}

#cyber-essentials-guide > .cyber-essential-control-card .resource-btn {
    width: auto;
    min-width: 240px;
    padding: 14px 26px;
    font-size: 1rem;
}

@media (max-width: 900px) {

    #cyber-essentials-guide > .cyber-essential-control-card {
        padding: 22px;
    }

    #cyber-essentials-guide > .cyber-essential-control-card h3 {
        font-size: 1.4rem;
    }

    #cyber-essentials-guide > .cyber-essential-control-card p {
        font-size: 0.98rem;
    }

    #cyber-essentials-guide > .cyber-essential-control-card .resource-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {

    #cyber-essentials-guide > .cyber-essential-control-card {
        padding: 20px;
        border-radius: 20px;
    }

    #cyber-essentials-guide > .cyber-essential-control-card h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    #cyber-essentials-guide > .cyber-essential-control-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    #cyber-essentials-guide > .cyber-essential-control-card .resource-btn {
        width: 100%;
        min-width: unset;
        padding: 13px 18px;
        font-size: 0.95rem;
    }
}
.cyber-awareness-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 42px;
    margin-bottom: 42px;
}

.cyber-awareness-mini-card p {
    line-height: 1.7;
    color: #475569;
    max-width: 420px;
    margin-bottom: 22px;
}

.cyber-awareness-banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin: 40px 0;
    background: #2D3E99;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.cyber-awareness-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #ffffff;
    padding: 30px;
}

.awareness-content h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
    font-size: 1.7rem;
}

.awareness-content p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 14px;
}

.awareness-content a {
    color: #2D3E99;
    font-weight: 700;
    text-decoration: none;
}

.awareness-content a:hover {
    opacity: 0.8;
}

@media (max-width: 850px) {

    .cyber-awareness-banner {
        grid-template-columns: 1fr;
    }

    .cyber-awareness-item {
        padding: 24px;
    }
}
.cyber-awareness-mini-card h3 {
    margin-bottom: 14px;
    font-size: 1.55rem;
    color: #1e3a8a;
}

@media (max-width: 800px) {
    .cyber-awareness-strip {
        grid-template-columns: 1fr;
    }

    .cyber-awareness-mini-card {
        flex-direction: column;
    }

   .cyber-awareness-mini-card .quick-btn {
    width: auto;
    min-width: 240px;
    padding: 14px 26px;
}
}

.cyber-awareness-mini-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 26px;
    padding: 34px;
    border-top: 6px solid #2D3E99;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: 0.3s ease;
}

.cyber-awareness-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.cyber-awareness-mini-card h3 {
    color: #1e3a8a;
    font-size: 1.9rem;
    margin: 18px 0 16px;
    line-height: 1.3;
}

.cyber-awareness-mini-card p {
    color: #475569;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.cyber-awareness-mini-card .quick-btn {
    margin-top: auto;
    width: fit-content;
    min-width: 230px;
}

@media (max-width: 900px) {

    .cyber-awareness-wrapper {
        grid-template-columns: 1fr;
    }

    .cyber-awareness-mini-card {
        padding: 28px;
    }

    .cyber-awareness-mini-card h3 {
        font-size: 1.5rem;
    }

    .cyber-awareness-mini-card .quick-btn {
        width: 100%;
    }
}



/* Desktop: hide mobile menu button */
.mobile-nav-toggle {
    display: none;
}
@media (max-width: 700px) {
    .mobile-nav-toggle {
        display: block;
        background: #ffffff;
        color: #2D3E99;
        border: none;
        border-radius: 999px;
        padding: 10px 22px;
        font-weight: 800;
        cursor: pointer;
        flex-shrink: 0;
        margin-left: auto;
    }

    header {
        padding: 18px 14px;
    }

    .nav-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px;
        flex-wrap: wrap !important;
    }

    .site-logo span {
        font-size: 24px !important;
        line-height: 1.2;
        text-align: left !important;
        white-space: nowrap;
    }

nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
    margin-top: 16px;
    background: #ffffff;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}

    .site-logo span {
        font-size: 24px !important;
        line-height: 1.2;
        text-align: center;
    }

    nav.mobile-nav-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    nav a,
    .dropdown-btn {
        display: block;
        width: 100%;
        color: #1e3a8a !important;
        font-size: 14px !important;
        text-align: center;
        padding: 10px 12px;
        border-radius: 12px;
    }

    nav a.active-nav {
      background: rgba(45, 62, 153, 0.12);
    color: #2D3E99 !important;
    border: 1px solid rgba(45, 62, 153, 0.25);
    }

    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-btn {
       margin: 0 auto;
    background: transparent;
    border: none;
    color: #1e3a8a !important;
    font-weight: 700;
    }

  .dropdown-content {
    position: static !important;
    display: none;
    width: 100%;
    margin-top: 8px;
    box-shadow: none !important;
    background: #eef4ff !important;
    border-radius: 14px;
    padding: 8px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.dropdown-content a {
    color: #1e3a8a !important;
    background: white !important;
    font-weight: 700 !important;
    padding: 12px 14px !important;
    margin-bottom: 6px;
    border-radius: 10px;
    text-align: center;
    display: block;
}

.dropdown-content a:hover {
    background: #dbeafe !important;
    color: #0f3ea8 !important;
}
    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block;
    }
}
@media (max-width: 700px) {
    .mobile-nav-toggle {
        display: block;
        background: #ffffff;
        color: #2D3E99;
        border: none;
        border-radius: 999px;
        padding: 10px 22px;
        font-weight: 800;
        cursor: pointer;
    }
}
@media (max-width: 650px) {

    .cyber-awareness-banner {
        margin: 24px 0;
        border-radius: 18px;
    }

    .cyber-awareness-item {
        padding: 20px;
        gap: 14px;
    }

    .cyber-awareness-item .quick-link-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
        border-radius: 16px;
        font-size: 1.6rem;
    }

    .awareness-content h3 {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }

    .awareness-content p {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 8px;
    }

    .awareness-content a {
        font-size: 0.95rem;
    }
}

/* Universal infographic style for all pages */
.infographic-container,
.infographic-block {
    margin: 30px 0 60px;
    text-align: center;
}

.infographic-container img,
.infographic-block img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 18px;
    border: 1px solid #dbe4ee;
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

@media (max-width: 768px) {
    .infographic-container,
    .infographic-block {
        margin: 20px 0 45px;
    }

    .infographic-container img,
    .infographic-block img {
        border-radius: 12px;
    }
}

.page-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-direction: row-reverse;
}
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}


.library-layout {
    display: block;
    margin-top: 45px !important;
     display: block !important;
}





/* Sidebar */
        .sidebar {
            width: 280px;
            position: sticky;
            top: 40px;
            align-self: start;
            flex-shrink: 0;
            background: white;
            border-radius: 18px;
            padding: 22px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
            
            max-height: calc(100vh - 80px);
            overflow-y: auto;
        }
        
        .sidebar h3 {
            margin-top: 0;
            margin-bottom: 16px;
            color: #1e3a8a;
            font-size: 1.05rem;
        }
        
        .sidebar ul {
            list-style: none;
            padding-left: 0;
            margin: 0;
        }
        
        .sidebar li {
            margin-bottom: 10px;
        }
     .sidebar a {
    display: block;
    text-decoration: none;
    color: #334155;
    padding: 9px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    font-size: 0.88rem;
    line-height: 1.2;
    transition: background 0.3s ease,
            color 0.3s ease,
            border-color 0.3s ease;
}
        
   .sidebar a:hover {
       background: #e0f2fe;
    border-color: #2d3e99;
    color: #0f172a !important;

}
.sidebar a.active-section {
    background: #2d3e99 !important;
    color: white !important;
    border-color: #2d3e99 !important;

    transition: background 0.35s ease,
                color 0.35s ease,
                border-color 0.35s ease;
}
        
        /* Main content */
        .main-content {
            flex: 1;
            min-width: 0;
        }
        
        /* Mobile responsiveness */
        @media (max-width: 1100px) {
            .page-layout {
                flex-direction: column;
            }
        
            .sidebar {
                width: 100%;
                position: relative;
                top: 0;
            }
        }
        
        html {
            scroll-behavior: smooth;
        }




/* ==================== FINAL STRUCTURE FIX ==================== */

.container {
    max-width: 1280px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
    align-items: start;
}

.page-layout .main-content {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.page-layout .sidebar {
    grid-column: 2;
    grid-row: 1;
    width: 280px;
    position: sticky;
    top: 110px;
    align-self: start;
}



@media (max-width: 1100px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .page-layout .main-content,
    .page-layout .sidebar {
        grid-column: auto;
    }

    .page-layout .sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
}
/* ==================== FIX STICKY SIDEBAR WHILE SCROLLING ==================== */

@media (min-width: 1101px) {
    .page-layout .sidebar {
        position: sticky !important;
        top: 24px !important;
        height: calc(100vh - 48px) !important;
        max-height: calc(100vh - 48px) !important;
        overflow-y: auto !important;
    }
}


.digital-benefits-scroll {
    margin-top: 24px;
}

.digital-benefits-scroll .digital-benefit-card {
   flex: 0 0 320px;
    width: 320px;
    min-width: 320px;
    max-width: 320px;

    min-height: 140px;

    padding: 18px 20px;
}
.digital-benefits-scroll .digital-benefit-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.digital-benefits-scroll .digital-benefit-card h3 {
    margin-top: 10px;
}

.digital-benefits-scroll .digital-benefit-card p {
    margin-top: 10px;
}
.digital-benefits-scroll .digital-benefit-card h3 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.digital-benefits-scroll .digital-benefit-card p {
    font-size: 14px;
    line-height: 1.6;
}
.digital-benefit-card .benefit-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.digital-benefit-card h3 {
    margin-bottom: 10px;
    color: #1e3a8a;
}

.digital-benefit-card p {
    margin: 0;
}

.productivity-card {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border-top: 5px solid #2563eb;
}

.workforce-card {
    background: linear-gradient(135deg, #f5f3ff, #ffffff);
    border-top: 5px solid #7c3aed;
}

.sustainability-card {
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
    border-top: 5px solid #16a34a;
}

.resilience-card {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
    border-top: 5px solid #f97316;
}
@media (max-width: 768px) {

    .digital-benefits-scroll .digital-benefit-card {
        flex: 0 0 280px;
        width: 280px;
        min-width: 280px;
        max-width: 280px;

        padding: 16px;
    }

    .digital-benefits-scroll .digital-benefit-card h3 {
        font-size: 1.35rem;
    }

    .digital-benefits-scroll .digital-benefit-card p {
        font-size: 13px;
    }
}


/* ==================== GLOBAL INFOGRAPHIC STYLE ==================== */

.infographic-block,
.infographic-container {
    margin: 28px auto;
    text-align: center;
    max-width: 900px;
}

.infographic-block img,
.infographic-container img,
.ai-risk-infographic {
    width: 100%;
    max-width: 820px;
    height: auto;
    border-radius: 16px;
    border: 1px solid #dbe4ee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.infographic-block img:hover,
.infographic-container img:hover,
.ai-risk-infographic:hover {
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .infographic-block,
    .infographic-container {
        margin: 22px auto;
        max-width: 100%;
    }

    .infographic-block img,
    .infographic-container img,
    .ai-risk-infographic {
        max-width: 100%;
        border-radius: 12px;
    }
}

/* ==================== SAFE AI INFOGRAPHIC LIGHTBOX FIX ==================== */

.infographic-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.infographic-lightbox.active {
    display: flex;
}

.infographic-lightbox .lightbox-image {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    cursor: zoom-out;
    transform: none !important;
}


@media (max-width: 768px) {

    .home-hero {
        min-height: 52vh;
        padding: 110px 18px 80px;
        background-position: center;
    }

    .home-hero h2 {
        font-size: 2.1rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .home-hero p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.home-hero {
    margin-bottom: 0 !important;
    position: relative;
overflow: hidden;
}

body {
   background-color: #f8fbff;

}












/* Animated hero glow */
.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(103,232,249,0.18), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(45,62,153,0.28), transparent 35%);
    z-index: 1;
    pointer-events: none;
    animation: heroGlowMove 8s ease-in-out infinite alternate;
}

@keyframes heroGlowMove {
    from {
        opacity: 0.55;
        transform: scale(1);
    }
    to {
        opacity: 0.9;
        transform: scale(1.04);
    }
}

.hero h2,
.hero p,
.hero-blog-btn,
.page-hero h2,
.page-hero p {
    position: relative;
    z-index: 2;
}


.hero h2,
.page-hero h2 {
    animation: fadeUp 0.9s ease both;
}

.hero p,
.page-hero p {
    animation: fadeUp 1.1s ease both;
}

.hero-blog-btn {
    animation: fadeUp 1.25s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ==================== CYBER PAGE HERO ONLY ==================== */

.cyber-hero {
    min-height: 78vh;
    padding: 90px 20px 80px !important;

    background:
        linear-gradient(
            90deg,
            rgba(7, 23, 74, 0.88) 0%,
            rgba(7, 23, 74, 0.72) 42%,
            rgba(7, 23, 74, 0.38) 100%
        ),
        url('images/cyber2.png') center center / cover no-repeat !important;

    text-align: left;
    align-items: flex-start;
}

.cyber-hero h2 {

    max-width: 620px;

    margin: 0 0 18px 55px;

    font-size: clamp(2.2rem, 3.7vw, 3.7rem);

    line-height: 1.08;

    font-weight: 800;

    text-align: left;
}

.cyber-hero p {

    max-width: 520px;

    margin: 0 0 0 55px;

    font-size: 1.15rem;

    line-height: 1.6;

    text-align: left;

    color: rgba(255,255,255,0.92);
}
@media (max-width: 800px) {
    .cyber-hero {
        text-align: center;
        align-items: center;
        background-position: center right !important;
    }

    .cyber-hero h2,
    .cyber-hero p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .cyber-hero h2 {
        font-size: 2.5rem;
    }

    .cyber-hero p {
        font-size: 1.1rem;
    }
}


/* ==================== CYBER HERO ICONS ==================== */

.cyber-hero-content {

   margin-left: 95px;

    align-items: flex-start;

    text-align: left;
}

.cyber-hero-icons {

    display: flex;

    gap: 55px;

    margin-top: 42px;

    justify-content: flex-start;

    align-items: center;

    padding-left: 0;
}

.cyber-hero h2,
.cyber-hero p {

    text-align: left;

    margin-left: 0;
}
.cyber-icon-box {

    width: 105px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    color: white;
}

.cyber-icon-box span {
width: 52px;
height: 52px;

    border-radius: 18px;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(120,170,255,0.35);

    display: flex;
    align-items: center;
    justify-content: center;
    color: #dbeafe;

    backdrop-filter: blur(6px);
}

.cyber-icon-box p {

    margin: 0 !important;

    font-size: 0.95rem !important;

    color: rgba(255,255,255,0.92);

    text-align: center;
}

/* MOBILE */

@media (max-width: 800px) {

    .cyber-hero-icons {

        justify-content: center;

        margin-left: 0;

        gap: 16px;
    }

 .cyber-icon-box {

    width: 82px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

    color: white;
}

    .cyber-icon-box span {

        width: 58px;
        height: 58px;

        font-size: 1.4rem;
    }

}
.cyber-icon-box svg {

   width: 24px;
height: 24px;

    stroke-width: 1.7;

    color: #dbeafe;
}

@media (max-width: 768px) {

    .home-hero {
        min-height: 520px;
        padding: 40px 18px 50px;
background-size: cover !important;
background-position: 68% center !important;
background-color: #f8fbff;
    }

    .home-hero h2 {
        font-size: 1.65rem !important;
        line-height: 1.15;
        max-width: 320px;
        margin: 170px 0 14px 28px !important;
    }

    .home-hero p {
        font-size: 0.95rem !important;
        line-height: 1.45;
        max-width: 300px;
        margin: 0 0 24px 28px !important;
    }

    .home-hero .hero-blog-btn {
        margin: 0 0 0 28px !important;
        min-width: 210px;
        padding: 13px 22px;
        font-size: 0.95rem;
    }
}



@media (max-width: 768px) {

    .home-hero {
        background: linear-gradient(135deg, #eef4ff 0%, #ffffff 55%, #dbeafe 100%) !important;
        min-height: auto !important;
        padding: 70px 24px 80px !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .home-hero h2 {
        color: #132968 !important;
        font-size: 2rem !important;
        line-height: 1.15 !important;
        max-width: 360px !important;
        margin: 0 auto 18px !important;
    }

    .home-hero p {
        color: #233876 !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
        max-width: 320px !important;
        margin: 0 auto 28px !important;
        font-weight: 700;
    }

    .home-hero .hero-blog-btn {
        margin: 0 auto !important;
        min-width: 230px;
        padding: 14px 26px;
        font-size: 1rem;
        justify-content: center;
    }
}
.cyber-hero {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 90px 0 80px 65px !important;
    min-height: 70vh !important;
}

.cyber-hero h2 {
    max-width: 560px !important;
    font-size: clamp(2.8rem, 4.4vw, 4.4rem) !important;
    line-height: 1.05 !important;
    margin: 0 0 24px 0 !important;
}

.cyber-hero > p {
    max-width: 520px !important;
    font-size: 1.15rem !important;
    line-height: 1.45 !important;
    margin: 0 0 42px 0 !important;
}

.cyber-hero-icons {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cyber-icon-box {
    min-width: 80px !important;
}
.cyber-subtitle {
    font-size: 1.2rem !important;
    line-height: 1.55 !important;
    font-weight: 500;
    color: rgba(255,255,255,0.92);

    max-width: 620px;

    margin-top: 8px !important;
    margin-bottom: 0 !important;

    letter-spacing: 0.2px;
}

/* SAFE AI LANDING HERO */
/* SAFE AI LANDING HERO */

.safe-ai-landing {
    min-height: 58vh;
    background: url("images/ai1.png") center center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 55px 0 55px 70px;
}

.safe-ai-hero-content {
    max-width: 500px;
    text-align: left;
    color: #071a5c;
}

.safe-ai-hero-content h2 {
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 16px;
    color: #111c6d;
    text-shadow: none;
}

.hero-line {
    width: 58px;
    height: 4px;
    background: #4b5cff;
    border-radius: 999px;
    margin-bottom: 18px;
}

.safe-ai-hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.6;
    font-weight: 500;
    color: #263b78;
    margin-bottom: 28px;
}

.safe-ai-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.safe-ai-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.safe-ai-btn.primary {
    background: #4454e3;
    color: white;
}

.safe-ai-btn.secondary {
    background: white;
    color: #4454e3;
    border: 2px solid #4454e3;
}

.safe-ai-btn:hover {
    transform: translateY(-2px);
}

/* TABLETS */
@media (max-width: 900px) {

    .safe-ai-landing {
        min-height: 52vh;
        padding: 45px 30px;
        background-position: 62% center;
    }

    .safe-ai-hero-content {
        max-width: 440px;
    }

}

/* MOBILE */
@media (max-width: 768px) {

    .safe-ai-landing {
        min-height: 48vh;
        padding: 38px 20px;
        background-position: 68% center;
    }

    .safe-ai-hero-content h2 {
        font-size: 2rem;
    }

    .safe-ai-buttons {
        flex-direction: column;
        width: 100%;
    }

    .safe-ai-btn {
        width: 100%;
        text-align: center;
    }

}

/* SMALL PHONES */
@media (max-width: 480px) {

    .safe-ai-landing {
        min-height: 44vh;
        padding: 30px 18px;
    }

    .safe-ai-hero-content h2 {
        font-size: 1.7rem;
    }

    .safe-ai-hero-content p {
        font-size: 0.98rem;
    }

}



/* DIGITAL LANDING HERO */

.digital-landing {
   min-height: 58vh;

background:
    url("images/digital1.png")
    center center / cover no-repeat;
padding: 55px 0 55px 70px;
    background-color: #f8fafc;

    display: flex;
    align-items: center;


    overflow: hidden;
}

.digital-hero-content {
    max-width: 580px;
    text-align: left;
}

.digital-pill {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #4b5cff;
    border-radius: 999px;
    color: #304bd6;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.digital-hero-content h2 {
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1.08;
    font-weight: 800;
    color: #111c6d;
    margin-bottom: 18px;
}

.digital-hero-content h2 span {
    color: #4454e3;
}

.digital-line {
    width: 58px;
    height: 4px;
    background: #4b5cff;
    border-radius: 999px;
    margin-bottom: 22px;
}

.digital-hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.6;
    font-weight: 500;
    color: #334477;
    margin-bottom: 28px;
}

.digital-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.digital-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.digital-btn.primary {
    background: #4454e3;
    color: white;
}

.digital-btn.secondary {
    background: white;
    color: #4454e3;
    border: 2px solid #4454e3;
}

.digital-btn:hover {
    transform: translateY(-2px);
}

/* TABLETS */
@media (max-width: 900px) {

    .digital-landing {
    min-height: 52vh;
    padding: 45px 30px;
    background-position: 62% center;
}

}

/* MOBILES */
@media (max-width: 768px) {

    .digital-landing {
    min-height: 48vh;
    padding: 38px 20px;
    background-position: 68% center;
}

    .digital-hero-content h2 {
        font-size: 2rem;
    }

}

/* SMALL PHONES */
@media (max-width: 480px) {
  .digital-landing {
    min-height: 44vh;
    padding: 30px 18px;
    background-position: 72% center;
}
    .digital-pill {
        font-size: 0.72rem;
        padding: 6px 14px;
    }

    .digital-hero-content h2 {
        font-size: 1.7rem;
    }

    .digital-hero-content p {
        font-size: 0.95rem;
    }
}

/* CYBER LANDING HERO */
/* FORCE CYBER HERO FIX */

.cyber-landing {
       min-height: 58vh !important;
    padding: 55px 0 55px 70px !important;
     background: url("images/cyber2.png") no-repeat !important;
    background-size: cover !important;
background-position: center right !important;
    display: flex !important;
    align-items: center !important;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cyber-hero-content {
  max-width: 500px !important;
    margin-left: 0 !important;
    text-align: left !important;
}

.cyber-pill {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #4b5cff;
    border-radius: 999px;
    color: #304bd6;
    font-weight: 800;
    font-size: 0.85rem;
       margin-bottom: 24px;

}

.cyber-hero-content h2 {
    font-size: clamp(1.8rem, 3vw, 3.2rem) !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    color: #111c6d !important;
    margin: 0 0 18px 0 !important;
}

.cyber-line {
    width: 58px;
    height: 4px;
    background: #4b5cff;
    border-radius: 999px;
        margin-bottom: 18px;

}

.cyber-hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
    line-height: 1.6 !important;
    font-weight: 500;
    color: #334477 !important;
    margin-bottom: 28px !important;
}

.cyber-buttons {
    display: flex !important;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 0 !important;
}

.cyber-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
}

.cyber-btn.primary {
    background: #4454e3;
    color: white !important;
}

.cyber-btn.secondary {
    background: white;
    color: #4454e3 !important;
    border: 2px solid #4454e3;
}

@media (max-width: 768px) {
    .cyber-landing {
        min-height: 48vh !important;
        padding: 38px 20px !important;
        background-position: 68% center !important;
    }

    .cyber-hero-content h2 {
        font-size: 2rem !important;
    }

    .cyber-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cyber-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .cyber-landing {
        min-height: 52vh !important;
        padding: 45px 30px !important;
        background-position: 62% center !important;
    }
}

@media (max-width: 768px) {
    .cyber-landing {
        min-height: 48vh !important;
        padding: 38px 20px !important;
        background-position: 68% center !important;
    }
}

@media (max-width: 480px) {
    .cyber-landing {
        min-height: 44vh !important;
        padding: 30px 18px !important;
        background-position: 72% center !important;
    }
}
.cyber-btn {
    transition: 0.25s ease;
}

.cyber-btn:hover {
    transform: translateY(-2px);
}


/* LIBRARY LANDING HERO */
/* FIX LIBRARY PAGE LAYOUT */

.library-landing {
    min-height: 78vh !important;
    background: url("images/library1.png") center center / cover no-repeat !important;
    display: flex !important;
    align-items: flex-start !important;
    padding: 90px 0 230px 90px !important;
    margin-bottom: 0 !important;
}

.library-sticky-search {
    background: #ffffff !important;
    padding: 34px 28px 20px !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 10 !important;
}

.library-search-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px !important;
    background: white !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.10) !important;
}

.library-search-inner input,
#resource-search {
    flex: 1 !important;
    width: auto !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 999px !important;
    font-size: 16px !important;
}

.library-search-inner button,
#hero-search-btn {
    height: 58px !important;
    min-width: 130px !important;
    padding: 0 32px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 999px !important;
    background: #4f46e5 !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.library-layout {
    margin-top: 20px !important;
}

.library-layout .filter-buttons {
    margin: 8px 0 12px 0 !important;
    padding-left: 20px !important;
}
/* restore library hero text */

.library-hero-content h2 {
    color: #1e1b7a !important;
    font-size: clamp(3rem, 5vw, 4.8rem) !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    margin-bottom: 20px !important;
}

.library-hero-content h2 span {
    color: #5b5ce2 !important;
}

.library-hero-content p {
    color: #1e2760 !important;
    font-size: 1.35rem !important;
    line-height: 1.55 !important;
    max-width: 560px !important;
}
/* TABLETS */
@media (max-width: 900px) {
    .library-landing {
        min-height: 55vh !important;
        padding: 55px 30px 130px 30px !important;
        background-position: center right !important;
    }

    .library-hero-content h2 {
        font-size: 3rem !important;
    }

    .library-sticky-search {
        padding: 26px 18px 18px !important;
    }

    .library-search-inner {
        max-width: 100% !important;
    }
}

/* MOBILES */
@media (max-width: 600px) {
    .library-landing {
        min-height: 50vh !important;
        padding: 45px 18px 110px 18px !important;
        background-position: center right !important;
    }

    .library-hero-content h2 {
        font-size: 2.4rem !important;
        line-height: 1.1 !important;
    }

    .library-hero-content p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    .library-search-inner {
        flex-direction: column !important;
        border-radius: 28px !important;
        padding: 14px !important;
    }

    .library-search-inner input,
    #resource-search {
        width: 100% !important;
        height: 54px !important;
    }

    .library-search-inner button,
    #hero-search-btn {
        width: 100% !important;
        height: 54px !important;
    }

    .library-layout .filter-buttons {
        justify-content: center !important;
        padding: 0 !important;
        gap: 10px !important;
    }

    .library-layout .filter-btn {
        font-size: 14px !important;
        padding: 9px 16px !important;
    }
}

/* VERY SMALL PHONES */
@media (max-width: 380px) {
    .library-hero-content h2 {
        font-size: 2rem !important;
    }

    .library-landing {
        padding-bottom: 95px !important;
    }
}



/* FLOATING LIBRARY TAGS */

.library-landing {
    position: relative;
    overflow: hidden;
}

.library-floating-tags {
     position: absolute;
    left: 90px;
    bottom: 75px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;

    max-width: 700px;
}

.library-tag {
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(12px);

    color: #1e2760;

    padding: 14px 22px;

    border-radius: 999px;

    font-weight: 700;
    font-size: 15px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    border: 1px solid rgba(255,255,255,0.55);

    width: fit-content;

    animation: floatTag 4s ease-in-out infinite;
}
.library-tag:nth-child(2),
.library-tag:nth-child(3),
.library-tag:nth-child(4) {
    margin-left: 0 !important;
}


@keyframes floatTag {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* MOBILE */

@media (max-width: 900px) {

    .library-floating-tags {
        display: none;
    }
}









/* tighten library content spacing */

.library-sticky-search {
    padding: 22px 28px 14px !important;
}

.library-layout {
    margin-top: 0 !important;
    background: #ffffff;
}

.library-layout .filter-buttons {
    margin: 8px 0 35px 0 !important;
    padding-left: 20px !important;
}

.library-layout .resource-grid {
    margin-top: 10px !important;
}

.library-layout .resource-card {
    min-height: 260px !important;
    padding: 26px !important;
}

.library-layout .resource-card h3 {
    font-size: 1.55rem !important;
    line-height: 1.35 !important;
}







/* ==================== NEWS HERO ==================== */

.news-hero {
    background:
        linear-gradient(to right,
        rgba(255,255,255,0.96) 28%,
        rgba(255,255,255,0.80) 48%,
        rgba(255,255,255,0.08) 72%),
        url('images/news1.png') center right / cover no-repeat;

    min-height: 78vh;

    padding: 70px 70px 85px;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;
}


.news-hero-content {
    z-index: 2;
     max-width: 560px;
    padding-bottom: 40px;
}

.news-hero h2 {

    font-size: clamp(2.5rem, 5vw, 4.2rem);

    line-height: 1.02;

    margin-bottom: 18px;

    color: #111827;

    font-weight: 900;
}

.news-hero p {

    font-size: 1.12rem;

    line-height: 1.6;

    color: #475569;

    margin-bottom: 26px;
}

.news-hero-btn {

    padding: 14px 24px;

    font-size: 0.95rem;
}

.news-hero-btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 18px 38px rgba(79,70,229,0.35);
}

/* REMOVE EXTRA GAP UNDER HERO */

.news-hero + .container {
    margin-top: 30px !important;
}
.news-hero img,
.news-hero::after {
    transform: scale(0.92);
}

/* MOBILE */

@media (max-width: 900px) {

    .news-hero {

       min-height: 50vh;

        padding: 70px 28px;

        background-position: 68% center;
    }

    .news-hero h2 {
        font-size: 3rem;
    }

    .news-hero p {
        font-size: 1.05rem;
    }
}

@media (max-width: 600px) {

    .news-hero {

        min-height: 55vh;

        padding: 55px 20px;

        background-position: 72% center;
    }

    .news-hero h2 {
        font-size: 2.3rem;
    }

    .news-hero-btn {
        width: 100%;
        justify-content: center;
    }
}
/* restore news hero button */

.news-hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    background: linear-gradient(135deg, #4f46e5, #4338ca) !important;
    color: white !important;
    text-decoration: none !important;

    padding: 14px 26px !important;
    border-radius: 999px !important;

    font-size: 0.95rem !important;
    font-weight: 700 !important;

    box-shadow: 0 12px 28px rgba(79,70,229,0.25) !important;
    transition: all 0.3s ease !important;
}

.news-hero-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 34px rgba(79,70,229,0.35) !important;
}




/* professional library cards */

.library-layout {
    margin-top: 28px !important;
}

.library-layout .filter-buttons {
    margin: 12px 0 42px !important;
    gap: 14px !important;
}

.library-layout .resource-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 26px !important;
}

.library-layout .resource-card {
    min-height: 310px !important;
    padding: 30px !important;
    border-radius: 26px !important;
    border: 1px solid #e5e7eb !important;
    border-top: none !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
}

.library-layout .resource-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, #2d3e99, #5b5ce2);
}

.resource-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.resource-type {
    display: inline-block;
    color: #5b6478;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.library-layout .resource-card h3 {
    color: #0f172a !important;
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
    margin-bottom: 24px !important;
}

.library-download-btn {
    margin-top: auto;
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2d3e99, #4f46e5);
    color: white;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(45, 62, 153, 0.22);
}

.library-download-btn:hover {
    transform: translateY(-3px);
}

/* ================= MOBILE LIBRARY FIX ================= */

/* ================= MOBILE LIBRARY FIX ================= */

@media (max-width: 768px) {

    body.library-page {
        background: #ffffff !important;
    }

    .library-page .library-landing {
        background-image: none !important;
        background: #ffffff !important;
        min-height: 460px !important;
        padding: 70px 24px 70px !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
    }

    .library-page .library-hero-content h2 {
        font-size: clamp(2.6rem, 11vw, 4rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 20px !important;
    }

    .library-page .library-hero-content p {
        font-size: 1.15rem !important;
        line-height: 1.65 !important;
        max-width: 100% !important;
    }

    .library-page .library-floating-tags {
        display: none !important;
    }

    .library-page .library-sticky-search {
        background: #ffffff !important;
        padding: 18px 16px 24px !important;
        margin-top: 0 !important;
    }

    .library-page .library-search-inner {
        padding: 18px !important;
        border-radius: 28px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    .library-page #resource-search {
        width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        padding: 0 24px !important;
        font-size: 1.08rem !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .library-page #hero-search-btn {
        width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 20px !important;
        font-size: 1rem !important;
    }
}

.trusted-orgs {
    margin: 18px 0;
    padding-left: 22px;
    color: #1e293b;
    line-height: 1.9;
}

.trusted-orgs li {
    margin-bottom: 6px;
}

.trusted-orgs,
.trusted-orgs li,
.trusted-orgs + p {
    font-size: 16px !important;
    line-height: 1.75 !important;
}

/* HOME PAGE FOOTER TEST */

/* ==================== PREMIUM HOME FOOTER ==================== */

.home-footer {
    background:
        linear-gradient(
            135deg,
            #071133 0%,
            #0b163f 45%,
            #08122e 100%
        );

    color: #e5e7eb;

   padding: 52px 40px 22px;

    margin-top: 100px;

    text-align: left;

    border-top: 4px solid #4f46e5;

    position: relative;

    overflow: hidden;
}

/* subtle glow */
.home-footer::before {
    content: "";

    position: absolute;

    top: -120px;
    right: -120px;

    width: 340px;
    height: 340px;

    background: radial-gradient(
        rgba(99,102,241,0.16),
        transparent 70%
    );

    border-radius: 50%;

    pointer-events: none;
}

/* grid */
.home-footer .footer-grid {

    max-width: 1380px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1.2fr
        1.2fr;

    gap: 42px;

    position: relative;
    z-index: 2;
}

/* headings */
.home-footer h3 {

    color: #ffffff;

    font-size: 1.15rem;

   margin-bottom: 14px;

    font-weight: 700;

    letter-spacing: -0.3px;
}

/* text */
.home-footer p,
.home-footer a {

    color: #cbd5e1;

    font-size: 1rem;

    line-height: 1.7;

    text-decoration: none;
}

/* links */
.home-footer a {

    display: block;

    margin-bottom: 8px;

    transition: all 0.25s ease;
}

.home-footer a:hover {

    color: #67e8f9;

    transform: translateX(4px);
}

/* bottom section */
.footer-bottom {

    max-width: 1380px;

   margin: 34px auto 0;

    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,0.10);

    text-align: center;

    position: relative;
    z-index: 2;
}

.footer-bottom p {

    color: #94a3b8;

    font-size: 0.9rem;

    line-height: 1.7;

    margin-bottom: 8px;
}

/* mobile */
@media (max-width: 950px) {

    .home-footer .footer-grid {

        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }
}

@media (max-width: 650px) {

    .home-footer {

        padding: 55px 26px 28px;
    }

    .home-footer .footer-grid {

        grid-template-columns: 1fr;

        gap: 34px;
    }

    .footer-bottom {

        margin-top: 40px;
    }
}
@media (max-width: 650px) {

    .hero h2,
    .page-hero h2 {
        font-size: 2rem !important;
        line-height: 1.15;
    }

    .home-hero h2 {
        font-size: 1.9rem !important;
        line-height: 1.12;
        margin-left: 22px !important;
        margin-right: 22px !important;
    }

    .main-content h2 {
        font-size: 1.35rem !important;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .main-content h3,
    .resource-card h3,
    .cyber-awareness-mini-card h3,
    .timeline-content h3,
    .journey-card h3,
    .skills-card h3,
    .metric-card h3 {
        font-size: 1.08rem !important;
        line-height: 1.35;
    }

    .hero p,
    .page-hero p,
    .home-hero p {
        font-size: 0.98rem !important;
        line-height: 1.6;
    }
}





@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

.cyber-hero-content,
.digital-hero-content,
.safe-ai-hero-content,
.library-hero-content,
.news-hero-content {
    animation: heroSlideUp 0.8s ease-out both;
}



.blueprint-btn {
    padding: 12px 24px !important;
    font-size: 1rem !important;
    min-height: auto !important;
    width: auto !important;
    border-radius: 16px !important;
}
@media (max-width: 600px) {

    .blueprint-btn {
        width: 100% !important;
        text-align: center;
        font-size: 0.95rem !important;
        padding: 12px 18px !important;
    }

}






.footer-disclaimer-bar p {
    max-width: 950px;
    margin: 0 auto;

    color: #cbd5e1;

    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-disclaimer-bar a {
    color: #67e8f9;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.footer-disclaimer-bar a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .footer-disclaimer-bar {
        margin-top: 26px;
        padding-top: 18px;
    }

    .footer-disclaimer-bar p {
        font-size: 0.78rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    .footer-disclaimer-bar a {
        display: inline-block;
        margin-top: 6px;
    }
}





/* ==================== DISCLAIMER PAGE ==================== */
/* ==================== DISCLAIMER PAGE ==================== */

.disclaimer-header {
    max-width: 1050px;
    margin: 45px auto 22px;
    padding: 0 20px;
}

.disclaimer-header span {
    display: inline-block;
    margin-bottom: 10px;
    color: #2d3e99;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.disclaimer-header h1 {
    color: #111827;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 10px;
}

.disclaimer-header p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 720px;
}

.disclaimer-container {
    max-width: 1050px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.disclaimer-card {
    background: white;
    padding: 24px 26px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #2d3e99;
}

.disclaimer-card h2 {
    color: #1e3a8a;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.disclaimer-card p {
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .disclaimer-header {
        margin: 30px auto 18px;
        padding: 0 16px;
    }

    .disclaimer-header h1 {
        font-size: 2rem;
    }

    .disclaimer-header p {
        font-size: 0.95rem;
    }

    .disclaimer-container {
        padding: 0 14px;
        margin-bottom: 42px;
    }

    .disclaimer-card {
        padding: 20px 18px;
        border-radius: 15px;
    }

    .disclaimer-card h2 {
        font-size: 1.15rem;
    }

    .disclaimer-card p {
        font-size: 0.93rem;
        line-height: 1.6;
    }
}


/* ==================== PAGE DISCLAIMER CARD ==================== */

.page-disclaimer-card {
    max-width: 1100px;

    margin: 10px auto 0;
    padding: 24px 28px;

    background: #f8fafc;

    border-radius: 18px;

    border: 1px solid #dbeafe;
    border-left: 5px solid #2d3e99;

    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.page-disclaimer-card h3 {
    color: #1e3a8a;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.page-disclaimer-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 0.97rem;
    margin-bottom: 14px;
}

.page-disclaimer-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.page-disclaimer-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .page-disclaimer-card {
        margin: 35px 14px 0;
        padding: 20px 18px;
        border-radius: 15px;
    }

    .page-disclaimer-card h3 {
        font-size: 1.05rem;
    }

    .page-disclaimer-card p {
        font-size: 0.92rem;
        line-height: 1.6;
    }
}





/* ==================== PROJECT TEAM PAGE ==================== */
/* ==================== PROJECT TEAM PAGE ==================== */

.team-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 45px 24px 35px;
}

.team-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 38px;
}

.team-intro h1 {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    color: #111827;
    line-height: 1.1;
    margin-bottom: 14px;
}

.team-title-line {
    width: 58px;
    height: 4px;
    background: #2d3e99;
    border-radius: 999px;
    margin: 0 auto 22px;
}

.team-title-line.small {
    width: 44px;
    margin-bottom: 24px;
}

.team-intro p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.65;
}

.team-grid {
    display: grid;
     grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 42px;
}

.team-member-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 22px 26px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 520px;
}

.team-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.team-member-photo {
    width: 145px;
    height: 145px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 3px solid #3b5bff;
    padding: 4px;
    margin-bottom: 22px;
    background: white;
    flex-shrink: 0;
}

.team-member-card h2 {
    min-height: 70px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px !important;
}

.team-role {
    min-height: 55px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px !important;
}


.team-bio {
    color: #475569 !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    margin: 12px 0 22px !important;
    max-width: 280px;
    flex-grow: 1;
     min-height: 120px;
}

.team-profile-btn {
    display: inline-block;
    background: #2d3e99;
    color: white;
    text-decoration: none;
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    transition: 0.3s ease;
    margin-top: auto;
}

.team-profile-btn:hover {
    background: #1e2d7a;
    transform: translateY(-2px);
}

.team-focus-section {
    text-align: center;
    margin: 20px 0 24px;
}

.team-focus-section h2 {
    color: #111827;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.team-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.team-focus-card {
    background: white;
    border-radius: 16px;
    padding: 26px 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.team-focus-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}

.team-focus-card h3 {
    color: #2d3e99;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.team-focus-card p {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
}

.team-bottom-card {
    margin-top: 24px;
    background: linear-gradient(135deg, #ffffff, #eef4ff);
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 26px 32px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.team-bottom-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.team-bottom-card h2 {
    color: #1e3a8a;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.team-bottom-card p {
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* Tablet */
@media (max-width: 950px) {
    .team-grid,
    .team-focus-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .team-member-card {
        min-height: auto;
    }

    .team-member-card h2,
    .team-role {
        min-height: auto;
    }

    .team-bottom-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .team-page {
        padding: 34px 14px 20px;
    }

    .team-intro {
        margin-bottom: 28px;
    }

    .team-intro h1 {
        font-size: 2rem;
    }

    .team-intro p {
        font-size: 0.95rem;
    }

    .team-member-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .team-member-photo {
        width: 132px;
        height: 132px;
    }

    .team-member-card h2 {
        font-size: 1.15rem;
    }

    .team-focus-section h2 {
        font-size: 1.45rem;
    }

    .team-focus-card {
        padding: 24px 18px;
    }

    .team-bottom-card {
        padding: 24px 18px;
    }

    .team-bottom-card h2 {
        font-size: 1.2rem;
    }
}

/* Smaller team cards on mobile */
@media (max-width: 700px) {
    .team-grid {
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
        gap: 22px;
    }

    .team-member-card {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding: 22px 18px;
        min-height: auto;
    }

    .team-member-photo {
        width: 120px;
        height: 120px;
        margin-bottom: 18px;
    }

    .team-member-card h2 {
        font-size: 1.05rem;
        min-height: auto;
        margin-bottom: 8px;
    }

    .team-role {
        font-size: 0.88rem !important;
        min-height: auto;
        margin-bottom: 14px !important;
    }

    .team-bio {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        max-width: 300px;
        margin-bottom: 18px !important;
    }

    .team-profile-btn {
        padding: 10px 22px;
        font-size: 0.88rem;
    }
}
/* FINAL TEAM CARD HEIGHT FIX */
.team-member-card {
     min-height: 520px !important;
    height: auto !important;
    justify-content: flex-start !important;
    padding: 26px 22px 28px !important;
}

.team-member-card h2 {
    min-height: unset !important;
    margin-bottom: 12px !important;
}

.team-role {
    min-height: unset !important;
    margin-bottom: 18px !important;
}

.team-bio {
    flex-grow: 0 !important;
    margin-bottom: 24px !important;
    
}

.team-profile-btn {
    margin-top: 8px !important;
}

.team-grid {
    align-items: start !important;
}



/* ==================== AISI CARD ==================== */

.aisi-card {
    border-top: 6px solid #1e3a8a;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.aisi-card h2 {
    color: #1e3a8a;
}

@media (max-width: 700px) {
    .aisi-card {
        padding: 22px 18px;
    }

    .aisi-card .toolkit-download-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .aisi-card .toolkit-badge {
        width: 100%;
        text-align: center;
        white-space: normal;
    }
}




/* ==================== AISI VISUAL SECTION ==================== */

.aisi-card {
    border-top: 6px solid #1e3a8a;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.aisi-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 26px 0;
}

.aisi-highlight-card {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aisi-highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(30, 58, 138, 0.14);
}

.aisi-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: #1e3a8a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 14px;
}

.aisi-highlight-card h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.aisi-highlight-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

@media (max-width: 900px) {
    .aisi-highlight-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {

    .aisi-highlight-grid {
        gap: 14px;
    }

    .aisi-highlight-card {
        padding: 16px;
    }

    .aisi-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .aisi-highlight-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .aisi-highlight-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
    }

}
