/* === Optimized CSS === */
:root {
    --primary-color: #150a30;
    --secondary-color: #6c757d;
    --accent-color: #e74c3c;
    --dark-text: #302258;
    --light-text: #555;
    --background-light: #f9f9f9;
    --background-dark: #eee;
    --white: #ffffff;
    --text-color: var(--light-text);
    --dark-color: var(--dark-text);
    --light-color: var(--white);
    --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --header-height: 80px;
    --border-color: #ddd;
    --box-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s ease;
}

/* Critical above-the-fold styles */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header and navigation - critical for initial render */
header {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

/* Hero section - critical for initial view */
.hero {
    padding: 100px 20px;
    min-height: 450px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.589), rgba(0, 0, 0, 0.897)), url('Assets/jobstruggle.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Defer non-critical styles with media query */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    a {
        transition: color var(--transition-speed);
    }
    
    .btn {
        transition: background-color var(--transition-speed), transform var(--transition-speed);
    }
    
    .funding-university-logos .logo-item {
        transition: transform 0.5s ease-in-out;
    }
}

/* Rest of CSS (non-critical) - loaded after initial render */
a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: #1ab18b79;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography - Base styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-text);
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
}

/* Chart-specific heading overrides */
h1.chart-title {
  text-align: center;
  color: #004d40;
  margin-bottom: clamp(15px, 3vw, 20px);
  font-size: clamp(1.5em, 4vw, 2.5em);
  padding: 0 10px;
}

h2.section-title {
  text-align: center;
  color: #2c3e50;
  margin-top: 10px;
  margin-bottom: clamp(20px, 3vw, 30px);
  font-size: clamp(1.3em, 3vw, 1.8em);
  padding: 0 10px;
}

h3.subsection-title {
  color: #333;
  margin-top: 0;
  text-align: center;
  font-size: clamp(1.1em, 2.5vw, 1.4em);
  padding: 0 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #08240d;
    border-color: #08240d;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.cta-section .btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-section .btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

.logo-country {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
}

.logo-country img {
    margin-left: 0.3rem;
    vertical-align: middle;
}

/* Navigation Menu */
nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.nav-menu li {
    position: relative;
    white-space: nowrap;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    font-weight: 500;
    border-radius: 4px;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menus */
.submenu,
.submenu-level-2 {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 220px;
    z-index: 100;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed);
}

.submenu-level-2 {
    left: 100%;
    top: 0;
    margin-left: 0.5rem;
}

.has-submenu:hover > .submenu,
.has-submenu:hover > .submenu-level-2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu a,
.submenu-level-2 a {
    color: var(--dark-text);
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
}

.submenu a:hover,
.submenu-level-2 a:hover {
    background-color: var(--background-light);
    color: var(--primary-color);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: white;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.open .hamburger {
    background-color: transparent;
}

.nav-toggle.open .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Funding/University Logos Section */
.funding-university-logos {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5rem 20px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.facilitators-text {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--dark-text);
    margin-right: 15px;
    position: relative;
    padding-right: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}

.facilitators-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 70%;
    background-color: var(--border-color);
}

.funding-university-logos .logo-item {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    padding: 5px;
    flex-shrink: 1;
    min-width: 0;
}

.funding-university-logos .logo-item:hover {
    transform: scale(1.1);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-main-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
}

.hero-text-bottom p {
    font-size: 1.15em;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Project Overview */
.project-overview {
    background-color: var(--white);
    padding: 60px 20px;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: var(--box-shadow-light);
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-overview h2 {
    font-size: 2.8em;
    color: var(--dark-text);
    margin-bottom: 40px;
    font-weight: 700;
}

.project-overview .content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-overview .project-image {
    flex: 1 1 400px;
    max-width: 50%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.project-overview .project-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-bottom: 5px solid var(--primary-color);
}

.project-overview .project-text {
    flex: 1 1 500px;
    max-width: 50%;
    text-align: left;
    line-height: 1.7;
    color: var(--light-text);
    padding: 20px 0;
}

.project-overview .project-text p {
    margin-bottom: 15px;
}

/*blog summary cards*/
.blog-list .blog-summary-card{
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Explore Work Section */
.explore-work {
    background-color: var(--background-light);
    padding: 60px 20px;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: var(--box-shadow-light);
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.explore-work h2 {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.key-areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.key-area-card {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.key-area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.key-area-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--dark-text);
}

.card-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-content p {
    font-size: 1em;
    color: var(--light-text);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, rgba(42, 8, 65, 0.9), rgba(47, 9, 73, 0.9)), url('Assets/contactus.webp') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    margin-top: 60px;
    border-radius: 8px;
}

.cta-section h2 {
    font-size: 3em;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0 20px 0;
    font-size: 0.95em;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.footer-section h3 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1.4em;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-block;
}

.footer-section p,
.footer-section ul {
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--light-color);
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--accent-color);
    font-size: 1.8em;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.footer-section.contact-info i {
    color: var(--accent-color);
    font-size: 1.1em;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom i.fa-heart {
    color: var(--accent-color);
    animation: pulse 1.5s infinite;
}

/* Keyframe Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Page Title Banner */
.page-title-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('Assets/home-page-architecture.webp') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    box-shadow: inset 0 -5px 15px rgba(0, 0, 0, 0.2);
    max-width: auto;
    height: auto;
}

.page-title-banner h1 {
    font-size: 3.5em;
    color: var(--white);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    margin-bottom: 0;
}

/* General Page Content */
.page-content {
    padding-top: 60px;
    padding-bottom: 80px;
}

.page-content h2 {
    font-size: 2.8em;
    color: var(--dark-text);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}

.page-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-content h3 {
    font-size: 1.8em;
    color: var(--dark-text);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 1.5em;
}

.page-content p strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.content-card {
    background-color: var(--background-light);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.content-card h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.content-card p {
    font-size: 0.95em;
    color: var(--light-text);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form-container {
    flex: 2;
    min-width: 400px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--primary-color);
}

.contact-form-container h2 {
    font-size: 2.2em;
    color: var(--dark-text);
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-text);
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1em;
    color: var(--light-text);
    background-color: var(--background-light);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 48, 17, 0.2);
    outline: none;
    background-color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: auto;
    padding: 15px 40px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

/* Contact Details */
.contact-details {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--accent-color);
}

.contact-details h3 {
    font-size: 1.8em;
    color: var(--dark-text);
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.contact-details p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--light-text);
    line-height: 1.6;
}

.contact-details p i {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-right: 15px;
    flex-shrink: 0;
    padding-top: 3px;
}

.contact-details p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-details p a:hover {
    color: #08240d;
}

/* Map */
iframe {
    margin-top: 30px;
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Page Layout */
.page-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 0 0 250px;
    position: sticky;
    top: 100px;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: 8px;
    box-shadow: var(--box-shadow-light);
    margin-bottom: 40px;
}

.sidebar-nav h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav a {
    display: block;
    padding: 8px 10px;
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 5px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active-sidebar-link {
    background-color: var(--primary-color);
    color: var(--white);
}

.main-content-area {
    flex-grow: 1;
    min-width: 0;
    padding: 20px;
    line-height: 1.6;
}

.main-content-area p {
    text-align: justify;
    text-indent: 1.5em;
    margin-top: 0;
    margin-bottom: 1em;
}

/* Form Messages */
.form-messages {
    margin-top: 1em;
    padding: 1em;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

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

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

/* Theme Sections */
.theme-section {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 40px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    scroll-margin-top: 100px;
}

.theme-section h3 {
    color: #0056b3;
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.theme-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 0;
}

.theme-content img {
    width: 40%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.theme-content p {
    flex: 1;
    font-size: 1.1em;
    color: #333;
    line-height: 1.7;
    margin-top: 0;
}

/*=== CHARTS SECTION ===*/

/* Base styles with fluid sizing */
.report-section {
    max-width: 1100px;
    width: 95%;
    margin: 30px auto;
    padding: clamp(15px, 3vw, 20px);
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.report-section.employment-status {
    border-top: 5px solid #004d40;
}

.report-section.job-factors {
    border-top: 5px solid #4CAF50;
}

.report-section.education-perception {
    border-top: 5px solid #000080;
}

/* Responsive button container */
.toggle-container {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.report-button {
    padding: clamp(10px, 2vw, 12px) clamp(15px, 3vw, 25px);
    background-color: #555;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(14px, 2vw, 16px);
    transition: background-color 0.3s ease;
    min-width: 120px;
    flex: 0 1 auto;
}

.report-button:hover {
    background-color: #333;
}

/* Button color variants */
#toggle-report-button-1 { 
    background-color: #008080; 
}
#toggle-report-button-1:hover { 
    background-color: #006666; 
}

#toggle-report-button-2 { 
    background-color: #4CAF50; 
}
#toggle-report-button-2:hover { 
    background-color: #45a049; 
}

#toggle-report-button-3 { 
    background-color: #000080; 
}
#toggle-report-button-3:hover { 
    background-color: #000066; 
}

/* Charts container */
.charts-container {
    display: none;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.chart-group-container {
    margin-bottom: clamp(25px, 4vw, 40px);
    padding: clamp(15px, 2vw, 20px) 0;
    border-bottom: 1px dashed #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.chart-group-container:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Responsive callout boxes */
.callout-box {
    padding: clamp(12px, 2vw, 15px) clamp(15px, 3vw, 25px);
    margin: 15px auto 25px auto;
    border-radius: clamp(15px, 3vw, 25px);
    text-align: center;
    font-size: clamp(0.95em, 2vw, 1.1em);
    max-width: 800px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.callout-top-employment { 
    background-color: #004d40; 
    color: white; 
}

.callout-top-job-factors { 
    background-color: #4A90E2; 
    color: white; 
}

.callout-top-education { 
    background-color: #4A90E2; 
    color: white; 
}

.callout-secondary-education {
    background-color: #EECCFF;
    color: #333;
    padding: clamp(12px, 2vw, 15px) clamp(15px, 2.5vw, 20px);
    margin-top: clamp(20px, 3vw, 30px);
    border-radius: clamp(10px, 2vw, 15px);
    font-size: clamp(0.85em, 1.8vw, 0.95em);
    max-width: 400px;
    width: 90%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: bold;
}

/* Flexible chart and side content layout */
.chart-and-side-content {
    display: flex;
    align-items: flex-start;
    gap: clamp(15px, 3vw, 30px);
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.side-callout-job-factors {
    background-color: #D1EEF7;
    color: #333;
    padding: clamp(12px, 2vw, 15px) clamp(15px, 2.5vw, 20px);
    margin-top: 20px;
    border-radius: clamp(10px, 2vw, 15px);
    text-align: center;
    font-size: clamp(0.85em, 1.8vw, 0.95em);
    max-width: 300px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.gender-callout-education {
    background-color: #E6E6FA;
    color: #333;
    padding: clamp(12px, 2vw, 15px);
    border-radius: clamp(10px, 2vw, 15px);
    text-align: center;
    font-size: clamp(0.85em, 1.8vw, 0.95em);
    max-width: 250px;
    width: 90%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: bold;
}

.left-content-education {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(15px, 2.5vw, 20px);
    width: 100%;
}

.citation-info-container {
    padding-top: 20px;
    text-align: center;
    font-size: clamp(0.7em, 1.5vw, 0.8em);
    color: #555;
    padding: 0 15px;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .hero-main-title {
        font-size: 3.2em;
    }
    
    .hero-text-bottom.static-text-block p {
        font-size: 1.1em;
    }
    
    .funding-university-logos {
        gap: 15px;
        padding: 10px;
    }
    
    .facilitators-text {
        font-size: 1em;
        margin-right: 10px;
        padding-right: 15px;
    }
    
    .facilitators-text::after {
        width: 1px;
        height: 60%;
    }
    
    .funding-university-logos .logo-item {
        max-height: 50px;
    }
    
    .page-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar-nav {
        position: static;
        width: 100%;
        flex: none;
        margin-bottom: 20px;
        top: auto;
    }
    
    .project-overview .content-wrapper {
        flex-direction: column;
    }
    
    .project-overview .project-image,
    .project-overview .project-text {
        flex-basis: 100%;
        max-width: 100%;
    }
    
    .project-overview .project-image {
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 992px) {
    .theme-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .theme-content img {
        width: 80%;
        max-width: 400px;
        margin-bottom: 20px;
    }
    
    .theme-section {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .theme-section h3 {
        font-size: 1.8em;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 3.2em; }
    h2 { font-size: 2.2em; }
    h3 { font-size: 1.6em; }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        transform: translateX(-100%);
        z-index: 90;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding-top: 0;
        padding-bottom: 0;
        flex-wrap: nowrap;
    }
    
    .nav-menu.open {
        transform: translateX(0);
        max-height: 100%;
        overflow-y: auto;
        padding-bottom: 10px;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        flex-shrink: 0;
        min-width: unset;
        text-align: left;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu li a {
        padding: 15px 25px;
        color: var(--white);
        border-bottom: none;
        border-radius: 0;
        font-size: 1em;
        white-space: normal;
    }
    
    .nav-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }
    
    .submenu,
    .submenu-level-2 {
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
        padding: 0;
        margin-left: 20px;
        width: auto;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        border-top: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
    }
    
    .submenu-level-2 {
        margin-left: 40px;
    }
    
    .submenu.open-mobile,
    .submenu-level-2.open-mobile {
        max-height: 500px;
    }
    
    .submenu li a,
    .submenu-level-2 li a {
        padding: 12px 35px;
        font-size: 0.95em;
        color: var(--white);
        white-space: normal;
    }
    
    .submenu li a:hover,
    .submenu-level-2 li a:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--white);
    }
    
    .hero {
        padding: 100px 20px;
        min-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 3em;
    }
    
    .hero-text-bottom.static-text-block p {
        font-size: 1.1em;
    }
    
    .funding-university-logos {
        gap: 10px;
        padding: 8px;
    }
    
    .facilitators-text {
        font-size: 0.9em;
        margin-right: 8px;
        padding-right: 12px;
    }
    
    .facilitators-text::after {
        height: 50%;
    }
    
    .funding-university-logos .logo-item {
        max-height: 40px;
    }
    
    .project-overview,
    .explore-work {
        padding: 40px 20px;
    }
    
    .project-overview h2,
    .explore-work h2 {
        font-size: 2.4em;
    }
    
    .key-areas-grid .key-area-card {
        flex-basis: 100%;
    }
    
    .page-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .contact-form-container,
    .contact-details {
        min-width: unset;
        width: 90%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .page-title-banner h1 {
        font-size: 2.8em;
    }
    
    .page-content {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
    .page-content h2 {
        font-size: 2.4em;
        text-align: center;
    }
    
    .page-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .content-grid {
        gap: 25px;
    }
    
    .content-card {
        padding: 25px;
    }
    
    .desktop-sidebar {
        display: none;
    }
    
    .sidebar-dropdown-mobile {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 90%;
        margin: 20px auto;
        padding: 15px;
        background-color: var(--background-light);
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        align-items: center;
        justify-content: center;
    }
    
    .sidebar-dropdown-mobile .form-select {
        flex-grow: 1;
        padding: 10px 15px;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        background-color: var(--white);
        font-family: var(--font-family);
        font-size: 1em;
        color: var(--light-text);
        appearance: none;
        background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 16px;
    }
    
    .sidebar-dropdown-mobile .btn-go {
        padding: 10px 20px;
        border-radius: 5px;
        box-shadow: none;
    }
    
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border-width: 0;
    }
    
    .page-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar-nav {
        flex: auto;
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .main-content-area {
        flex: auto;
        padding: 15px;
    }
    
    .theme-section {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .theme-content img {
        width: 90%;
        max-width: 300px;
    }
    
    /* Chart responsiveness for tablets */
    .report-section {
        width: 98%;
        margin: 15px auto;
        border-radius: 8px;
    }
    
    .toggle-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .report-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .chart-and-side-content {
        flex-direction: column;
        align-items: center;
    }
    
    .side-callout-job-factors,
    .gender-callout-education,
    .callout-secondary-education {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.4em; }
    
    .hero {
        padding: 80px 15px;
        min-height: 380px;
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('Assets/jobstruggle.webp');
    }
    
    .hero-main-title {
        font-size: 2.2em;
    }
    
    .hero-text-bottom.static-text-block p {
        font-size: 0.9em;
    }
    
    .funding-university-logos {
        gap: 5px;
        padding: 5px;
    }
    
    .facilitators-text {
        font-size: 0.8em;
        margin-right: 8px;
        padding-right: 12px;
    }
    
    .facilitators-text::after {
        height: 40%;
    }
    
    .funding-university-logos .logo-item {
        max-height: 30px;
    }
    
    .project-overview,
    .explore-work,
    .cta-section,
    footer {
        padding: 40px 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-section {
        margin: 0 auto;
        min-width: unset;
        width: 90%;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section.contact-info p {
        justify-content: center;
    }
    
    .page-content {
        padding-top: 30px;
        padding-bottom: 50px;
    }
    
    .contact-form-container,
    .contact-details {
        padding: 25px;
        width: 95%;
    }
    
    .contact-form-container h2,
    .contact-details h3 {
        font-size: 1.8em;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        padding: 12px 15px;
    }
    
    .btn-submit {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    iframe {
        height: 300px;
    }
    
    .page-content h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }
    
    .page-content h3 {
        font-size: 1.6em;
        margin-top: 25px;
    }
    
    .page-content p {
        font-size: 1em;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-card {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .sidebar-dropdown-mobile {
        width: 95%;
        padding: 10px;
    }
    
    .sidebar-dropdown-mobile .form-select {
        font-size: 0.9em;
        padding: 8px 12px;
    }
    
    .sidebar-dropdown-mobile .btn-go {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .nav-menu li a {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    
    .nav-menu li {
        min-width: unset;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-sub,
    .logo-country {
        font-size: 0.7rem;
    }
    
    .logo-country img {
        width: 15px;
        height: auto;
    }
    
    .funding-university-logos {
        gap: 0.5rem;
        padding: 0.5rem 10px;
    }
    
    .funding-university-logos .logo-item {
        max-height: 25px;
    }
    
    .facilitators-text {
        font-size: 0.7em;
    }
    
    /* Chart responsiveness for mobile */
    .report-section {
        width: 100%;
        margin: 10px auto;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
    
    .callout-box,
    .callout-secondary-education,
    .side-callout-job-factors,
    .gender-callout-education {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .chart-group-container {
        padding: 10px 0;
    }
}

@media (max-width: 320px) {
    .report-button {
        font-size: 13px;
        padding: 8px 12px;
    }
}
/* Call to Action Section */
/* Fix Google Charts iframe display */
[id^="chart_div"] {
    width: 100% !important;
    height: auto !important;
    min-height: 400px;
}

[id^="chart_div"] iframe {
    width: 100% !important;
    height: 100% !important;
}

[id^="chart_div"] > div {
    width: 100% !important;
    height: 100% !important;
}

/* Ensure chart containers don't overflow */
.chart-group-container {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* === Additional Subtle & Professional Animations === */

/* Fade in on load */
@keyframes fadeInSmooth {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slide upward appearance for cards and sections */
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Gentle logo shimmer */
@keyframes shimmerGlow {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}

/* Button click ripple effect (hover-like pulse) */
@keyframes buttonPulse {
  0% { box-shadow: 0 0 0 0 rgba(10, 48, 17, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(10, 48, 17, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 48, 17, 0); }
}

/* Hero text fade & slide */
.hero-content, .hero-main-title, .hero-text-bottom {
  animation: fadeInSmooth 1.2s ease-in-out both;
}

/* Smooth section reveals */
.project-overview,
.explore-work,
.theme-section,
.content-card,
.report-section {
  animation: slideUp 1.2s ease-out both;
}

/* Subtle shimmer for logos */
.funding-university-logos .logo-item:hover {
  animation: shimmerGlow 2s ease-in-out infinite;
}

/* Button hover enhancement */
.btn:hover {
  animation: buttonPulse 1.5s ease-in-out;
}

/* Footer heart pulse already defined — enhance slightly */
.footer-bottom i.fa-heart {
  animation: pulse 1.5s infinite, fadeInSmooth 2s ease-in-out;
}

/* Fade-in animation on page load for the body */
body {
  animation: fadeInSmooth 0.8s ease-in;
}

    
    /* A little style to make the image in the blog post look good */
        .blog-post-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin-top: 20px;
            margin-bottom: 20px;
            display: block;
        }
        .post-meta-detail {
            font-size: 1.1em;
            color: #6c757d;
            margin-bottom: 20px;
        }
        .post-meta-detail i {
            margin-right: 5px;
        }
        .page-content-blog {
            padding-top: 50px;
            padding-bottom: 50px;
        }

        /*blog page*/
        .blog-section {
            display: none;
        }


        #chk:checked ~ .blog-section  {
            display: block;
        }

        #chk:checked ~ .btn btn-primary{
            display: none;
        }