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

       :root {
           /* Primary purple palette */
           --blue-dark: #4B0082;
           /* Dark indigo */
           --blue-main: #800080;
           /* Classic purple */
           --blue-mid: #9A4D9A;
           /* Medium purple */
           --blue-light: #E6E6FA;
           /* Lavender (light) */
           /* Accent - soft lavender */
           --gold: #D8BFD8;
           /* Thistle */
           --gold-light: #F8F0FF;
           /* Very light lavender */
           --text-dark: #2E2E2E;
           /* Dark text for contrast */
           --text-body: #4A4A4A;
           /* Body text */
           --text-muted: #7A7A7A;
           /* Muted text */
           --border: #E0E0E0;
           /* Light border */
           --bg-section: #F9F9FF;
           /* Slightly tinted background */
           --white: #FFFFFF;

       }

       body {
           font-family: 'Sarabun', 'Noto Sans Thai', sans-serif;
           color: var(--text-body);
           background: var(--white);
           font-size: 16px;
           line-height: 1.7;
       }

       a {
           text-decoration: none;
           color: inherit;
       }

       img {
           max-width: 100%;
           display: block;
       }

       /* ===== TOP BAR ===== */
       .topbar {
           background: var(--blue-dark);
           color: rgba(255, 255, 255, 0.75);
           font-size: 12.5px;
           padding: 6px 0;
           border-bottom: 2px solid var(--gold);
       }

       .topbar-inner {
           max-width: 1280px;
           margin: 0 auto;
           padding: 0 24px;
           display: flex;
           justify-content: space-between;
           align-items: center;
           gap: 12px;
       }

       .topbar a {
           color: rgba(255, 255, 255, 0.75);
           transition: color .2s;
       }

       .topbar a:hover {
           color: var(--gold);
       }

       .topbar-links {
           display: flex;
           gap: 18px;
       }

       /* ===== HEADER ===== */
       .header {
           background: var(--white);
           box-shadow: 0 2px 12px rgba(20, 85, 182, .10);
           position: sticky;
           top: 0;
           z-index: 1000;
       }

       .header-inner {
           max-width: 1280px;
           margin: 0 auto;
           padding: 0 24px;
           display: flex;
           align-items: center;
           gap: 20px;
           height: 72px;
       }

       .logo-wrap {
           display: flex;
           align-items: center;
           gap: 14px;
           flex-shrink: 0;
       }

       .logo-icon img {
           width: 50px;
           height: 50px;
           object-fit: contain;
       }

       .logo-text {
           line-height: 1.2;
       }

       .logo-text .org-th {
           font-size: 15px;
           font-weight: 700;
           color: var(--blue-dark);
       }

       .logo-text .org-en {
           font-size: 11px;
           color: var(--text-muted);
           letter-spacing: .5px;
       }

       /* ===== NAV ===== */
       .nav {
           display: flex;
           gap: 0;
           margin-left: auto;
       }

       .nav-item {
           position: relative;
       }

       .nav-item>a {
           display: flex;
           align-items: center;
           gap: 5px;
           padding: 0 16px;
           height: 72px;
           font-size: 14.5px;
           font-weight: 600;
           color: var(--text-dark);
           transition: color .2s, background .2s;
           white-space: nowrap;
       }

       .nav-item>a:hover,
       .nav-item:hover>a {
           color: var(--blue-main);
           background: var(--blue-light);
       }

       .nav-item a.active {
           color: var(--blue-main);
           background: var(--blue-light);
           border-radius: 4px;
       }

       .nav-item>a .chevron {
           font-size: 10px;
           opacity: .6;
       }

       .dropdown {
           display: none;
           position: absolute;
           top: 100%;
           left: 0;
           background: white;
           min-width: 220px;
           border: 1px solid var(--border);
           border-top: 3px solid var(--blue-main);
           box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
           border-radius: 0 0 8px 8px;
           padding: 8px 0;
           z-index: 100;
       }

       .nav-item:hover .dropdown {
           display: block;
       }

       .dropdown a {
           display: block;
           padding: 9px 20px;
           font-size: 14px;
           color: var(--text-body);
           transition: background .15s, color .15s;
       }

       .dropdown a:hover {
           background: var(--blue-light);
           color: var(--blue-main);
       }

       .btn-login {
           color: var(--blue-dark);
           background: white !important;
           padding: 16px;
           height: 72px;
           font-size: 14.5px !important;
           font-weight: 600 !important;
           transition: background .2s !important;
           display: flex;
           align-items: center;
           gap: 5px;
           border-radius: 10px;
       }

       .btn-login:hover {
           color: var(--blue-main) !important;
       }

       .hamburger {
           display: none;
           background: none;
           border: none;
           cursor: pointer;
           color: var(--blue-dark);
           font-size: 24px;
           padding: 4px;
           margin-left: auto;
       }

       /* ===== HERO BANNER ===== */
       .hero {
           position: relative;
           background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 60%, #8e21f3ff 100%);
           color: white;
           overflow: hidden;
           min-height: 440px;
           display: flex;
           align-items: center;
       }

       .hero-bg-pattern {
           position: absolute;
           inset: 0;
           background-image:
               radial-gradient(circle at 20% 50%, rgba(255, 255, 255, .06) 0%, transparent 50%),
               radial-gradient(circle at 80% 20%, rgba(196, 154, 40, .15) 0%, transparent 40%);
           pointer-events: none;
       }

       .hero-inner {
           max-width: 1280px;
           margin: 0 auto;
           padding: 64px 24px;
           display: grid;
           grid-template-columns: 1fr 1fr;
           gap: 48px;
           align-items: center;
           position: relative;
           z-index: 1;
       }

       .hero-tag {
           display: inline-block;
           background: rgba(196, 154, 40, .25);
           border: 1px solid var(--gold);
           color: var(--gold);
           font-size: 12px;
           font-weight: 600;
           padding: 4px 14px;
           border-radius: 20px;
           letter-spacing: 1px;
           margin-bottom: 18px;
           text-transform: uppercase;
       }

       .hero h1 {
           font-size: clamp(24px, 3vw, 38px);
           font-weight: 700;
           line-height: 1.35;
           margin-bottom: 14px;
       }

       .hero h1 span {
           color: var(--gold);
       }

       .hero p {
           font-size: 16px;
           opacity: .85;
           line-height: 1.8;
           margin-bottom: 28px;
       }

       .hero-cta {
           display: flex;
           gap: 12px;
           flex-wrap: wrap;
       }

       .btn-primary {

           padding: 12px 28px;
           border-radius: 8px;
           font-weight: 700;
           font-size: 15px;
           transition: transform .15s, box-shadow .15s;
           box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);


           background: var(--blue-main) !important;
           color: #fff;
           padding: 14px 28px;
           border-radius: 50px;
           text-decoration: none;
       }



       .btn-primary:hover {
           transform: translateY(-2px);
           box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
       }

       .btn-outline {
           border: 2px solid rgba(255, 255, 255, .5);
           color: white;
           padding: 12px 28px;
           border-radius: 8px;
           font-weight: 600;
           font-size: 15px;
           transition: background .15s, border-color .15s;
       }

       .btn-outline:hover {
           background: rgba(255, 255, 255, .12);
           border-color: white;
       }

       /* Slide indicators */
       .hero-right {
           display: flex;
           flex-direction: column;
           gap: 12px;
       }

       .hero-slide-card {
           background: rgba(255, 255, 255, .10);
           border: 1px solid rgba(255, 255, 255, .15);
           border-radius: 10px;
           padding: 14px 18px;
           display: flex;
           align-items: center;
           gap: 14px;
           backdrop-filter: blur(4px);
           transition: background .2s;
       }

       .hero-slide-card:hover {
           background: rgba(255, 255, 255, .18);
       }

       .hero-slide-icon {
           width: 44px;
           height: 44px;
           flex-shrink: 0;
           background: rgba(196, 154, 40, .25);
           border-radius: 8px;
           display: flex;
           align-items: center;
           justify-content: center;
           color: var(--gold);
           font-size: 18px;
       }

       .hero-slide-card .card-title {
           font-weight: 600;
           font-size: 14px;
       }

       .hero-slide-card .card-sub {
           font-size: 12px;
           opacity: .7;
       }

       /* ===== SERVICE ICONS ===== */
       .services {
           background: white;
           border-bottom: 1px solid var(--border);
       }

       .services-inner {
           max-width: 1280px;
           margin: 0 auto;
           padding: 0 24px;
           display: flex;
           gap: 0;
       }

       .service-tab {
           flex: 1;
           display: flex;
           flex-direction: column;
           align-items: center;
           padding: 22px 16px;
           gap: 10px;
           border-right: 1px solid var(--border);
           cursor: pointer;
           transition: background .2s;
           text-align: center;
       }

       .service-tab:last-child {
           border-right: none;
       }

       .service-tab:hover {
           background: var(--blue-light);
       }

       .service-tab.active {
           background: var(--blue-light);
           border-bottom: 3px solid var(--blue-main);
       }

       .service-tab-icon {
           width: 52px;
           height: 52px;
           border-radius: 50%;
           display: flex;
           align-items: center;
           justify-content: center;
           font-size: 22px;
           color: white;
       }

       .service-tab:nth-child(1) .service-tab-icon {
           background: #1976D2;
       }

       .service-tab:nth-child(2) .service-tab-icon {
           background: #388E3C;
       }

       .service-tab:nth-child(3) .service-tab-icon {
           background: #F57C00;
       }

       .service-tab:nth-child(4) .service-tab-icon {
           background: #7B1FA2;
       }

       .service-tab:nth-child(5) .service-tab-icon {
           background: #C62828;
       }

       .service-tab span {
           font-size: 13.5px;
           font-weight: 600;
           color: var(--text-dark);
       }

       /* ===== STATS SECTION ===== */
       .stats-section {
           background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 100%);
           padding: 48px 24px;
       }

       .stats-label {
           text-align: center;
           color: rgba(255, 255, 255, .65);
           font-size: 12px;
           font-weight: 600;
           letter-spacing: 2px;
           text-transform: uppercase;
           margin-bottom: 6px;
       }

       .stats-title {
           text-align: center;
           color: white;
           font-size: 28px;
           font-weight: 700;
           margin-bottom: 36px;
       }

       .stats-grid {
           max-width: 1280px;
           margin: 0 auto;
           display: grid;
           grid-template-columns: repeat(4, 1fr);
           gap: 20px;
       }

       .stat-card {
           background: rgba(255, 255, 255, .10);
           border: 1px solid rgba(255, 255, 255, .15);
           border-radius: 12px;
           padding: 28px 20px;
           text-align: center;
           backdrop-filter: blur(4px);
           transition: background .2s, transform .2s;
       }

       .stat-card:hover {
           background: rgba(255, 255, 255, .18);
           transform: translateY(-4px);
       }

       .stat-number {
           font-size: clamp(28px, 3vw, 42px);
           font-weight: 700;
           color: var(--gold);
           line-height: 1;
           margin-bottom: 8px;
       }

       .stat-label {
           font-size: 14px;
           font-weight: 600;
           color: white;
           margin-bottom: 4px;
       }

       .stat-sub {
           font-size: 12px;
           color: rgba(255, 255, 255, .6);
       }

       /* ===== SECTION COMMON ===== */
       .section {
           padding: 60px 24px;
       }

       .section-alt {
           background: var(--bg-section);
       }

       .section-inner {
           max-width: 1280px;
           margin: 0 auto;
       }

       .section-head {
           display: flex;
           align-items: flex-end;
           justify-content: space-between;
           margin-bottom: 32px;
           padding-bottom: 16px;
           border-bottom: 2px solid var(--border);
       }

       .section-eyebrow {
           font-size: 11px;
           font-weight: 700;
           color: var(--blue-main);
           letter-spacing: 2px;
           text-transform: uppercase;
           margin-bottom: 4px;
       }

       .section-title {
           font-size: 24px;
           font-weight: 700;
           color: var(--text-dark);
       }

       .section-more {
           font-size: 13.5px;
           font-weight: 600;
           color: var(--blue-main);
           display: flex;
           align-items: center;
           gap: 5px;
           padding: 6px 16px;
           border: 1.5px solid var(--blue-main);
           border-radius: 20px;
           transition: background .15s, color .15s;
           white-space: nowrap;
       }

       .section-more:hover {
           background: var(--blue-main);
           color: white;
       }

       /* ===== NEWS GRID ===== */
       .news-grid {
           display: grid;
           grid-template-columns: repeat(3, 1fr);
           gap: 24px;
       }

       .news-card {
           display: block;
           text-decoration: none;
           color: inherit;
           border: 1px solid var(--border);
           border-radius: 10px;
           overflow: hidden;
           background: white;
           transition: box-shadow .2s, transform .2s;
       }

       .news-card:hover {
           box-shadow: 0 8px 28px rgba(20, 85, 182, .13);
           transform: translateY(-3px);
       }

       .news-card img {
           width: 100%;
           height: 190px;
           object-fit: cover;
       }

       .news-body {
           padding: 16px;
       }

       .news-date {
           font-size: 12px;
           color: var(--text-muted);
           margin-bottom: 8px;
           display: flex;
           align-items: center;
           gap: 5px;
       }

       .news-title {
           font-size: 14.5px;
           font-weight: 600;
           color: var(--text-dark);
           line-height: 1.55;
           margin-bottom: 12px;
           display: -webkit-box;
           -webkit-line-clamp: 3;
           -webkit-box-orient: vertical;
           overflow: hidden;
       }

       .news-read {
           font-size: 13px;
           font-weight: 600;
           color: var(--blue-main);
           display: flex;
           align-items: center;
           gap: 4px;
       }

       .news-read:hover {
           text-decoration: underline;
       }

       /* ===== BULLETIN TABS ===== */
       .bulletin-layout {
           display: grid;
           grid-template-columns: 1fr 1fr;
           gap: 32px;
       }

       .tab-panel {
           background: white;
           border: 1px solid var(--border);
           border-radius: 10px;
           overflow: hidden;
       }

       .tab-nav {
           display: flex;
           border-bottom: 1px solid var(--border);
           background: var(--bg-section);
       }

       .tab-btn {
           flex: 1;
           padding: 14px 12px;
           font-size: 13.5px;
           font-weight: 600;
           color: var(--text-muted);
           background: none;
           border: none;
           cursor: pointer;
           border-bottom: 3px solid transparent;
           transition: color .15s, border-color .15s;
       }

       .tab-btn.active {
           color: var(--blue-main);
           border-bottom-color: var(--blue-main);
           background: white;
       }

       .tab-btn:hover:not(.active) {
           color: var(--text-dark);
       }

       .tab-content {
           display: none;
           padding: 8px 0;
       }

       .tab-content.active {
           display: block;
       }

       .bulletin-item {
           display: flex;
           align-items: flex-start;
           gap: 12px;
           padding: 14px 18px;
           border-bottom: 1px solid var(--border);
           transition: background .15s;
       }

       .bulletin-item:last-child {
           border-bottom: none;
       }

       .bulletin-item:hover {
           background: var(--blue-light);
       }

       .bulletin-icon {
           color: var(--blue-main);
           font-size: 15px;
           flex-shrink: 0;
           margin-top: 3px;
       }

       .bulletin-title {
           font-size: 13.5px;
           font-weight: 500;
           color: var(--text-dark);
           line-height: 1.5;
           margin-bottom: 4px;
           display: -webkit-box;
           -webkit-line-clamp: 2;
           -webkit-box-orient: vertical;
           overflow: hidden;
       }

       .bulletin-date {
           font-size: 12px;
           color: var(--text-muted);
       }

       .tab-footer {
           padding: 12px 18px;
           text-align: right;
       }

       .tab-footer a {
           font-size: 13px;
           font-weight: 600;
           color: var(--blue-main);
       }

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

       /* ===== PARTNERS ===== */
       .partners-section {
           padding: 48px 24px;
           background: white;
           border-top: 1px solid var(--border);
       }

       .partners-inner {
           max-width: 1280px;
           margin: 0 auto;
       }

       .partners-title {
           text-align: center;
           font-size: 20px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 28px;
       }

       .partners-row {
           display: flex;
           flex-wrap: wrap;
           gap: 20px;
           justify-content: center;
           align-items: center;
       }

       .partner-logo {
           width: 90px;
           height: 60px;
           background: var(--bg-section);
           border: 1px solid var(--border);
           border-radius: 8px;
           display: flex;
           align-items: center;
           justify-content: center;
           color: var(--text-muted);
           font-size: 11px;
           text-align: center;
           padding: 8px;
           transition: border-color .2s, box-shadow .2s;
       }

       .partner-logo:hover {
           border-color: var(--blue-main);
           box-shadow: 0 3px 12px rgba(20, 85, 182, .12);
       }

       /* ===== EXECUTIVE MESSAGE ===== */
       .executive-message-section {
           padding: 72px 24px;
           background: linear-gradient(135deg, #f3e8ff 0%, #faf5ff 52%, #ede9fe 100%);
           border-top: 1px solid #e9d5ff;
       }

       .executive-message-card {
           max-width: 1180px;
           margin: 0 auto;
           display: grid;
           grid-template-columns: minmax(280px, 38%) 1fr;
           overflow: hidden;
           background: #fff;
           border: 1px solid #e9d5ff;
           border-radius: 22px;
           box-shadow: 0 20px 50px rgba(15, 23, 42, .09);
       }

       .executive-message-photo {
           position: relative;
           min-height: 520px;
           padding: 30px 24px 0;
           display: flex;
           align-items: flex-end;
           justify-content: center;
           overflow: hidden;
           background: #fff;
           border-right: 1px solid var(--border);
       }

       .executive-message-photo img {
           position: absolute;
           left: 0;
           top: 0;
           bottom: 0;
           width: 100%;
           height: 100%;
           object-fit: cover;
           object-position: center center;
       }

       .executive-message-content {
           position: relative;
           display: flex;
           flex-direction: column;
           justify-content: center;
           padding: 58px 64px;
       }

       .executive-message-eyebrow {
           margin-bottom: 20px;
           color: #72008f;
           font-size: 13px;
           font-weight: 800;
           letter-spacing: .08em;
           text-transform: uppercase;
       }

       .executive-message-quote-icon {
           margin-bottom: 16px;
           color: #d8a8e8;
           font-size: 38px;
       }

       .executive-message-content blockquote {
           margin: 0;
           color: var(--text-dark);
           font-size: clamp(18px, 2vw, 24px);
           font-weight: 600;
           line-height: 1.85;
       }

       .executive-message-author {
           margin-top: 28px;
           padding-top: 20px;
           border-top: 1px solid var(--border);
       }

       .executive-message-author strong,
       .executive-message-author span { display: block; }
       .executive-message-author strong { color: #72008f; font-size: 16px; }
       .executive-message-author span { margin-top: 4px; color: var(--text-muted); font-size: 14px; }

       @media (max-width: 760px) {
           .executive-message-section { padding: 42px 16px; }
           .executive-message-card { grid-template-columns: 1fr; }
           .executive-message-photo { min-height: 340px; padding: 20px 20px 0; }
           .executive-message-photo { border-right: 0; border-bottom: 1px solid var(--border); }
           .executive-message-photo img { width: 100%; height: 100%; }
           .executive-message-content { padding: 36px 26px 40px; }
           .executive-message-content blockquote { font-size: 17px; line-height: 1.75; }
       }

       /* ===== FOOTER ===== */
       .footer {
           background: var(--blue-dark);
           color: rgba(255, 255, 255, .75);
           padding: 48px 24px 0;
       }

       .footer-inner {
           max-width: 1280px;
           margin: 0 auto;
           display: grid;
           grid-template-columns: 2fr 1fr 1fr 1fr;
           gap: 40px;
           padding-bottom: 40px;
           border-bottom: 1px solid rgba(255, 255, 255, .1);
       }

       .footer-brand .org-name {
           font-size: 17px;
           font-weight: 700;
           color: white;
           margin-bottom: 10px;
       }

       .footer-brand p {
           font-size: 13.5px;
           line-height: 1.8;
       }

       .footer-brand .contact-info {
           margin-top: 14px;
           font-size: 13px;
       }

       .footer-brand .contact-info div {
           margin-bottom: 4px;
       }

       .footer-col h4 {
           font-size: 14.5px;
           font-weight: 700;
           color: white;
           margin-bottom: 14px;
       }

       .footer-col a {
           display: block;
           font-size: 13px;
           color: rgba(255, 255, 255, .65);
           margin-bottom: 8px;
           transition: color .15s;
       }

       .footer-col a:hover {
           color: var(--gold);
       }

       .footer-bottom {
           max-width: 1280px;
           margin: 0 auto;
           padding: 18px 0;
           display: flex;
           justify-content: space-between;
           align-items: center;
           font-size: 12.5px;
       }

       .footer-social {
           display: flex;
           gap: 10px;
       }

       .social-btn {
           width: 34px;
           height: 34px;
           background: rgba(255, 255, 255, .1);
           border-radius: 50%;
           display: flex;
           align-items: center;
           justify-content: center;
           color: rgba(255, 255, 255, .75);
           font-size: 14px;
           transition: background .15s, color .15s;
       }

       .social-btn:hover {
           background: var(--gold);
           color: white;
       }

       /* ===== BACK TO TOP ===== */
       .back-top {
           position: fixed;
           bottom: 24px;
           right: 24px;
           width: 42px;
           height: 42px;
           background: var(--blue-main);
           color: white;
           border: none;
           border-radius: 50%;
           font-size: 16px;
           cursor: pointer;
           box-shadow: 0 4px 16px rgba(20, 85, 182, .35);
           display: none;
           align-items: center;
           justify-content: center;
           transition: background .2s, transform .15s;
           z-index: 500;
       }

       .back-top:hover {
           background: var(--blue-dark);
           transform: translateY(-2px);
       }

       .back-top.visible {
           display: flex;
       }

       /* ===== RESPONSIVE ===== */
       @media (max-width: 1024px) {
           .news-grid {
               grid-template-columns: repeat(2, 1fr);
           }

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

           .footer-inner {
               grid-template-columns: 1fr 1fr;
           }
       }

       @media (max-width: 768px) {
           .nav {
               display: none;
           }

           .hamburger {
               display: flex;
           }

           .hero-inner {
               grid-template-columns: 1fr;
           }

           .hero-right {
               display: none;
           }

           .services-inner {
               flex-wrap: wrap;
           }

           .service-tab {
               min-width: 33%;
               border-bottom: 1px solid var(--border);
           }

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

           .bulletin-layout {
               grid-template-columns: 1fr;
           }

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

           .footer-inner {
               grid-template-columns: 1fr 1fr;
               gap: 24px;
           }

           .footer-bottom {
               flex-direction: column;
               gap: 12px;
               text-align: center;
           }

           .topbar-links {
               display: none;
           }
       }

       .hero-slider {
           height: 600px;
           position: relative;
       }

       .hero-slider .swiper,
       .hero-slider .swiper-slide {
           width: 100%;
           height: 100%;
       }

       .hero-slider img {
           width: 100%;
           height: 100%;
           object-fit: cover;
       }

       .slide-overlay {
           position: absolute;
           inset: 0;
           background:
               linear-gradient(90deg,
                   rgba(0, 0, 0, .65) 0%,
                   rgba(0, 0, 0, .35) 40%,
                   rgba(0, 0, 0, .15) 100%);
       }

       .slide-content {
           position: absolute;
           top: 50%;
           left: 8%;
           transform: translateY(-50%);
           max-width: 700px;
           color: #fff;
           z-index: 10;
       }

       .slide-tag {
           display: inline-block;
           background: #ffffff22;
           backdrop-filter: blur(10px);
           padding: 8px 16px;
           border-radius: 30px;
           margin-bottom: 20px;
       }

       .slide-content h1 {
           font-size: 64px;
           line-height: 1.2;
           margin-bottom: 20px;
       }

       .slide-content p {
           font-size: 20px;
           margin-bottom: 30px;
       }

       .slide-buttons {
           display: flex;
           gap: 15px;
       }


       .btn-secondary {
           border: 2px solid #fff;
           color: #fff;
           padding: 14px 28px;
           border-radius: 50px;
           text-decoration: none;
           transition: all 0.3s ease-in-out;
       }

       .btn-secondary:hover {

           color: var(--gold);
           padding: 14px 28px;
           border-radius: 50px;
           text-decoration: none;
           border: 2px solid var(--gold);

       }

       .swiper-pagination-bullet {
           width: 12px;
           height: 12px;
           background: #fff;
       }

       .swiper-pagination-bullet-active {
           background: var(--blue-main) !important;
       }

       .swiper-button-next,
       .swiper-button-prev {
           color: white !important;
           transition: all 0.3s ease-in-out;
       }

       .swiper-button-next:hover,
       .swiper-button-prev:hover {
           color: var(--blue-mid) !important;

       }

       .swiper-button-next {
           right: 30px;
       }

       .swiper-button-prev {
           left: 30px;
       }



       @media (max-width: 480px) {
           .stats-grid {
               grid-template-columns: 1fr 1fr;
           }

           .footer-inner {
               grid-template-columns: 1fr;
           }
       }

       /* Mobile nav */
       .mobile-nav {
           display: none;
           position: fixed;
           inset: 0;
           z-index: 2000;
           background: rgba(0, 0, 0, .5);
       }

       .mobile-nav.open {
           display: flex;
       }

       .mobile-nav-panel {
           background: white;
           width: min(340px, 85vw);
           height: 100%;
           overflow-y: auto;
           padding: 24px 0;
       }

       .mobile-nav-close {
           position: absolute;
           top: 16px;
           right: 16px;
           background: white;
           border: none;
           border-radius: 50%;
           width: 36px;
           height: 36px;
           cursor: pointer;
           font-size: 18px;
           color: var(--text-dark);
           display: flex;
           align-items: center;
           justify-content: center;
       }

       .mobile-nav-panel a {
           display: block;
           padding: 12px 24px;
           font-size: 15px;
           font-weight: 500;
           color: var(--text-dark);
           border-bottom: 1px solid var(--border);
       }

       .mobile-nav-panel a:hover {
           background: var(--blue-light);
           color: var(--blue-main);
       }

       .mobile-nav-section {
           padding: 10px 24px 4px;
           font-size: 12px;
           font-weight: 700;
           color: var(--text-muted);
           letter-spacing: 1px;
           text-transform: uppercase;
       }

       /* ===== CONTACT PAGE ===== */
       .contact-header {
           background: url('../images/sub_banner.webp') center/cover no-repeat;
           color: white;
           padding: 60px 24px;
           text-align: center;
       }

       .contact-header-inner h1 {
           font-size: 36px;
           font-weight: 700;
           margin-bottom: 12px;
       }

       .contact-header-inner p {
           font-size: 18px;
           opacity: 0.8;
       }

       .contact-container {
           max-width: 1280px;
           margin: 40px auto 60px;
           padding: 0 24px;
           position: relative;
           z-index: 10;
       }

       .contact-grid {
           display: grid;
           grid-template-columns: 1fr 1.5fr;
           gap: 30px;
           margin-bottom: 50px;
       }

       .contact-info-cards {
           display: grid;
           grid-template-columns: 1fr 1fr;
           gap: 20px;
       }

       .contact-card {
           background: white;
           border: 1px solid var(--border);
           border-radius: 12px;
           padding: 24px;
           text-align: center;
           box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
           transition: transform 0.2s;
           display: flex;
           flex-direction: column;
           align-items: center;
           justify-content: center;
           height: 100%;
       }

       .contact-card:hover {
           transform: translateY(-5px);
           box-shadow: 0 8px 25px rgba(20, 85, 182, 0.1);
       }

       .contact-icon {
           width: 64px;
           height: 64px;
           background: var(--blue-light);
           color: var(--blue-main);
           border-radius: 50%;
           display: flex;
           align-items: center;
           justify-content: center;
           font-size: 26px;
           margin: 0 auto 24px;
       }

       .contact-card h3 {
           font-size: 16px;
           font-weight: 600;
           color: var(--text-dark);
           margin-bottom: 8px;
       }

       .contact-card p {
           font-size: 14px;
           color: var(--text-muted);
           line-height: 1.6;
           text-align: center;
       }

       .contact-form-wrapper {
           background: white;
           border: 1px solid var(--border);
           border-radius: 12px;
           padding: 30px;
           box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
       }

       .contact-form-wrapper h2 {
           font-size: 24px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 24px;
           border-bottom: 2px solid var(--blue-light);
           padding-bottom: 12px;
       }

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

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

       .form-control {
           width: 100%;
           padding: 12px 16px;
           border: 1px solid var(--border);
           border-radius: 8px;
           font-size: 15px;
           font-family: inherit;
           transition: border-color 0.2s, box-shadow 0.2s;
       }

       .form-control:focus {
           outline: none;
           border-color: var(--blue-main);
           box-shadow: 0 0 0 3px rgba(128, 0, 128, 0.1);
       }

       .btn-submit {
           background: var(--blue-main);
           color: white;
           border: none;
           padding: 14px 28px;
           border-radius: 8px;
           font-size: 16px;
           font-weight: 600;
           cursor: pointer;
           width: 100%;
           transition: background 0.2s, transform 0.1s;
       }

       .btn-submit:hover {
           background: var(--blue-dark);
       }

       .btn-submit:active {
           transform: scale(0.98);
       }

       .contact-map h2 {
           font-size: 24px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 20px;
           text-align: center;
       }

       @media (max-width: 992px) {
           .contact-grid {
               grid-template-columns: 1fr;
           }
       }

       @media (max-width: 576px) {
           .contact-info-cards {
               grid-template-columns: 1fr;
           }
       }

       /* ===== PAGE HEADER (Generic for inner pages) ===== */
       .page-header {
           background: url('../images/sub_banner.webp') center/cover no-repeat;
           color: white;
           padding: 60px 24px;
           text-align: center;
       }

       .page-header-inner h1 {
           font-size: 36px;
           font-weight: 700;
           margin-bottom: 12px;
       }

       .page-header-inner p {
           font-size: 18px;
           opacity: 0.8;
       }

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

       /* ===== NEWS FILTERS ===== */
       .news-filters {
           display: flex;
           justify-content: center;
           gap: 12px;
           margin-bottom: 40px;
           flex-wrap: wrap;
       }

       .filter-btn {
           background: white;
           border: 1px solid var(--border);
           color: var(--text-dark);
           padding: 8px 20px;
           border-radius: 20px;
           font-size: 14.5px;
           font-weight: 600;
           cursor: pointer;
           transition: all 0.2s;
       }

       .filter-btn:hover {
           border-color: var(--blue-main);
           color: var(--blue-main);
       }

       .filter-btn.active {
           background: var(--blue-main);
           color: white;
           border-color: var(--blue-main);
       }

       /* ===== PAGINATION ===== */
       .pagination {
           display: flex;
           justify-content: center;
           align-items: center;
           gap: 8px;
           margin-top: 50px;
       }

       .page-link {
           display: flex;
           align-items: center;
           justify-content: center;
           width: 40px;
           height: 40px;
           border-radius: 8px;
           background: white;
           border: 1px solid var(--border);
           color: var(--text-dark);
           font-weight: 600;
           transition: all 0.2s;
       }

       .page-link:hover {
           background: var(--blue-light);
           color: var(--blue-main);
           border-color: var(--blue-main);
       }

       .page-link.active {
           background: var(--blue-main);
           color: white;
           border-color: var(--blue-main);
       }

       .page-dots {
           color: var(--text-muted);
           font-weight: 600;
       }

       /* ===== NEWS DETAILS PAGE ===== */
       .news-detail-container {
           max-width: 1000px;
           margin: 40px auto 60px;
           padding: 0 24px;
       }

       .breadcrumb {
           font-size: 13.5px;
           color: var(--text-muted);
           margin-bottom: 24px;
           display: flex;
           align-items: center;
           gap: 8px;
           flex-wrap: wrap;
       }

       .breadcrumb a {
           color: var(--blue-main);
           font-weight: 500;
       }

       .breadcrumb a:hover {
           text-decoration: underline;
       }

       .breadcrumb i {
           font-size: 10px;
           opacity: 0.6;
       }

       .news-detail-content {
           background: white;
           border-radius: 12px;
           border: 1px solid var(--border);
           padding: 40px;
           box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
           margin-bottom: 50px;
       }

       .news-category {
           display: inline-block;
           background: var(--gold-light);
           color: var(--blue-main);
           padding: 4px 12px;
           border-radius: 20px;
           font-size: 12px;
           font-weight: 700;
           margin-bottom: 16px;
       }

       .news-detail-header h1 {
           font-size: 32px;
           font-weight: 700;
           color: var(--text-dark);
           line-height: 1.4;
           margin-bottom: 20px;
       }

       .news-meta {
           display: flex;
           align-items: center;
           gap: 20px;
           color: var(--text-muted);
           font-size: 14px;
           padding-bottom: 20px;
           border-bottom: 1px solid var(--border);
           margin-bottom: 30px;
           flex-wrap: wrap;
       }

       .news-date, .news-view {
           display: flex;
           align-items: center;
       }

       .news-meta i {
           margin-right: 6px;
           display: flex;
       }

       .news-share {
           margin-left: auto;
           display: flex;
           align-items: center;
           gap: 10px;
       }

       .share-btn {
           width: 32px;
           height: 32px;
           border-radius: 50%;
           display: flex;
           align-items: center;
           justify-content: center;
           color: white;
           font-size: 14px;
           transition: transform 0.2s;
           text-decoration: none !important;
       }

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

       .share-btn.fb {
           background: #1877F2;
       }

       .share-btn.tw {
           background: #1DA1F2;
       }

       .share-btn.line {
           background: #00B900;
       }

       .news-featured-img {
           margin-bottom: 30px;
           border-radius: 8px;
           overflow: hidden;
       }

       .news-featured-img img {
           width: 100%;
           height: auto;
       }

       .news-body-content {
           font-size: 16px;
           line-height: 1.8;
           color: var(--text-body);
       }

       .news-body-content p {
           margin-bottom: 20px;
       }

       .news-body-content strong {
           color: var(--text-dark);
       }

       .news-gallery {
           display: grid;
           grid-template-columns: 1fr 1fr;
           gap: 20px;
           margin: 30px 0;
       }

       .news-gallery img {
           border-radius: 8px;
           width: 100%;
       }

       .news-detail-footer {
           margin-top: 40px;
           padding-top: 20px;
           border-top: 1px solid var(--border);
       }

       .news-tags {
           display: flex;
           gap: 10px;
           flex-wrap: wrap;
       }

       .tag {
           background: var(--bg-section);
           color: var(--text-muted);
           padding: 6px 14px;
           border-radius: 6px;
           font-size: 13.5px;
           transition: all 0.2s;
       }

       .tag:hover {
           background: var(--blue-light);
           color: var(--blue-main);
       }

       .related-news-section {
           margin-top: 50px;
       }

       @media (max-width: 768px) {
           .news-detail-content {
               padding: 24px;
           }

           .news-detail-header h1 {
               font-size: 24px;
           }

           .news-gallery {
               grid-template-columns: 1fr;
           }

           .news-share {
               margin-left: 0;
               width: 100%;
               margin-top: 10px;
           }
       }

       /* ===== ABOUT PAGES ===== */
       .about-container {
           display: flex;
           gap: 40px;
           align-items: flex-start;
       }

       .about-sidebar {
           width: 280px;
           flex-shrink: 0;
           background: white;
           border: 1px solid var(--border);
           border-radius: 8px;
           overflow: hidden;
           position: sticky;
           top: 100px;
       }

       .sidebar-menu {
           list-style: none;
       }

       .sidebar-menu li {
           border-bottom: 1px solid var(--border);
       }

       .sidebar-menu li:last-child {
           border-bottom: none;
       }

       .sidebar-menu a {
           display: block;
           padding: 16px 20px;
           font-size: 15.5px;
           color: var(--text-body);
           transition: background 0.2s, color 0.2s;
       }

       .sidebar-menu a:hover {
           background: var(--bg-section);
           color: var(--blue-main);
       }

       .sidebar-menu a.active {
           background: var(--blue-light);
           color: var(--blue-main);
           font-weight: 600;
           border-left: 4px solid var(--blue-main);
       }

       .about-content {
           flex: 1;
           background: white;
           border: 1px solid var(--border);
           border-radius: 8px;
           padding: 40px;
       }

       .about-content h2 {
           font-size: 28px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 24px;
           padding-bottom: 16px;
           border-bottom: 2px solid var(--blue-light);
       }

       .about-body {
           font-size: 16px;
           line-height: 1.8;
           color: var(--text-body);
       }

       .person-grid {
           display: grid;
           grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
           gap: 30px;
           margin-top: 30px;
       }

       .person-card {
           text-align: center;
       }

       .person-card img {
           width: 100%;
           aspect-ratio: 3/4;
           object-fit: cover;
           border-radius: 8px;
           margin-bottom: 16px;
           border: 1px solid var(--border);
       }

       .person-card h4 {
           font-size: 16px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 4px;
       }

       .person-card p {
           font-size: 14px;
           color: var(--blue-main);
           font-weight: 500;
       }

       @media (max-width: 992px) {
           .about-container {
               flex-direction: column;
           }
           .about-sidebar {
               width: 100%;
               position: static;
           }
       }

       /* ===== LEARNING LEVEL PAGE ===== */
       .learning-hero {
           background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 100%);
           color: var(--white);
           padding: 60px 24px;
           text-align: center;
           border-bottom: 3px solid var(--gold);
           position: relative;
           overflow: hidden;
       }
       .learning-hero::before {
           content: '';
           position: absolute;
           top: -50%;
           left: -50%;
           width: 200%;
           height: 200%;
           background: radial-gradient(circle, rgba(230, 230, 250, 0.15) 0%, transparent 60%);
           pointer-events: none;
       }
       .learning-hero h1 {
           font-size: clamp(28px, 4vw, 38px);
           font-weight: 700;
           margin-bottom: 12px;
           position: relative;
           z-index: 1;
           color: var(--white);
       }
       .learning-hero p {
           font-size: clamp(14px, 2vw, 17px);
           opacity: 0.9;
           max-width: 700px;
           margin: 0 auto;
           position: relative;
           z-index: 1;
           color: var(--white);
       }

       .learning-container {
           max-width: 1280px;
           margin: 40px auto;
           padding: 0 24px;
       }

       /* Tabs */
       .learning-tabs {
           display: flex;
           justify-content: center;
           gap: 12px;
           margin-bottom: 40px;
           border-bottom: 2px solid var(--border);
           padding-bottom: 2px;
           flex-wrap: wrap;
       }
       .tab-trigger {
           background: none;
           border: none;
           padding: 12px 24px;
           font-size: 16px;
           font-weight: 600;
           color: var(--text-muted);
           cursor: pointer;
           position: relative;
           transition: all 0.3s ease;
           border-radius: 8px 8px 0 0;
       }
       .tab-trigger:hover {
           color: var(--blue-main);
           background: var(--gold-light);
       }
       .tab-trigger.active {
           color: var(--blue-main);
           font-weight: 700;
       }
       .tab-trigger.active::after {
           content: '';
           position: absolute;
           bottom: -2px;
           left: 0;
           width: 100%;
           height: 4px;
           background: var(--blue-main);
           border-radius: 2px;
           animation: tabSlide 0.3s ease;
       }
       @keyframes tabSlide {
           from { width: 0%; left: 50%; }
           to { width: 100%; left: 0; }
       }

       /* Course Grid */
       .learning-level-section {
           display: none;
       }
       .learning-level-section.active {
           display: block;
           animation: fadeIn 0.4s ease-in-out;
       }
       @keyframes fadeIn {
           from { opacity: 0; transform: translateY(10px); }
           to { opacity: 1; transform: translateY(0); }
       }

       .learning-grid {
           display: grid;
           grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
           gap: 30px;
       }

       .learning-card {
           background: var(--white);
           border: 1px solid var(--border);
           border-radius: 16px;
           padding: 24px;
           display: flex;
           flex-direction: column;
           box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
           transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
           position: relative;
       }
       .learning-card:hover {
           transform: translateY(-6px);
           box-shadow: 0 12px 24px rgba(128, 0, 128, 0.08);
           border-color: var(--blue-mid);
       }

       .card-top {
           display: flex;
           justify-content: space-between;
           align-items: center;
           margin-bottom: 12px;
       }
       .subject-code {
           font-size: 14px;
           font-weight: 700;
           color: var(--blue-main);
           background: var(--blue-light);
           padding: 3px 10px;
           border-radius: 20px;
           border: 1px solid rgba(128, 0, 128, 0.15);
       }
       .badge-group {
           display: flex;
           gap: 6px;
       }
       .learning-badge {
           font-size: 12px;
           font-weight: 600;
           padding: 3px 8px;
           border-radius: 6px;
       }
       .badge-compulsory {
           background: var(--blue-main);
           color: var(--white);
       }
       .badge-elective {
           background: var(--gold);
           color: var(--blue-dark);
       }
       .badge-credits {
           background: var(--gold-light);
           color: var(--blue-mid);
           border: 1px solid var(--gold);
       }

       .learning-card h3 {
           font-size: 19px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 12px;
           line-height: 1.4;
       }

       .learning-card .description {
           font-size: 14px;
           color: var(--text-body);
           line-height: 1.6;
           margin-bottom: 20px;
           display: -webkit-box;
           -webkit-line-clamp: 3;
           -webkit-box-orient: vertical;
           overflow: hidden;
           height: 67px;
       }

       .teacher-profile-card {
           background: var(--bg-section);
           border-radius: 12px;
           padding: 12px;
           display: flex;
           align-items: center;
           gap: 12px;
           margin-top: auto;
           border: 1px solid var(--border);
           transition: all 0.2s ease;
       }
       .teacher-profile-card:hover {
           background: var(--blue-light);
           border-color: var(--blue-mid);
       }
       .teacher-avatar {
           width: 46px;
           height: 46px;
           border-radius: 50%;
           object-fit: cover;
           border: 2px solid var(--white);
           box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
       }
       .teacher-info {
           flex: 1;
           min-width: 0;
       }
       .teacher-info h4 {
           font-size: 14px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 2px;
           white-space: nowrap;
           overflow: hidden;
           text-overflow: ellipsis;
       }
       .teacher-info p {
           font-size: 11.5px;
           color: var(--text-muted);
           margin: 0;
           white-space: nowrap;
           overflow: hidden;
           text-overflow: ellipsis;
       }
       .teacher-contact-btn {
           width: 32px;
           height: 32px;
           border-radius: 50%;
           background: var(--white);
           color: var(--blue-main);
           display: flex;
           align-items: center;
           justify-content: center;
           border: 1px solid var(--border);
           cursor: pointer;
           transition: all 0.2s ease;
       }
       .teacher-contact-btn:hover {
           background: var(--blue-main);
           color: var(--white);
           border-color: var(--blue-main);
           transform: scale(1.1);
       }

       .card-action {
           margin-top: 16px;
       }
       .btn-card-detail {
           display: block;
           width: 100%;
           text-align: center;
           background: var(--white);
           border: 1.5px solid var(--blue-main);
           color: var(--blue-main);
           padding: 8px 16px;
           border-radius: 8px;
           font-size: 14px;
           font-weight: 600;
           cursor: pointer;
           transition: all 0.25s ease;
       }
       .btn-card-detail:hover {
           background: var(--blue-main);
           color: var(--white);
       }

       /* Modal styling */
       .learning-modal-overlay {
           position: fixed;
           inset: 0;
           background: rgba(0, 0, 0, 0.5);
           backdrop-filter: blur(5px);
           z-index: 2000;
           display: flex;
           align-items: center;
           justify-content: center;
           opacity: 0;
           pointer-events: none;
           transition: opacity 0.3s ease;
           padding: 20px;
       }
       .learning-modal-overlay.open {
           opacity: 1;
           pointer-events: auto;
       }
       .learning-modal-container {
           background: var(--white);
           width: 100%;
           max-width: 600px;
           border-radius: 20px;
           overflow: hidden;
           box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
           transform: scale(0.9);
           transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
           border: 1px solid var(--border);
       }
       .learning-modal-overlay.open .learning-modal-container {
           transform: scale(1);
       }

       .modal-header {
           background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 100%);
           color: var(--white);
           padding: 20px 24px;
           display: flex;
           justify-content: space-between;
           align-items: center;
       }
       .modal-title-wrap h3 {
           margin: 0;
           font-size: 20px;
           font-weight: 700;
           color: var(--white);
       }
       .modal-title-wrap p {
           margin: 4px 0 0 0;
           font-size: 13px;
           opacity: 0.85;
           color: var(--white);
       }
       .modal-close-btn {
           background: none;
           border: none;
           color: var(--white);
           font-size: 24px;
           cursor: pointer;
           opacity: 0.8;
           transition: opacity 0.2s;
       }
       .modal-close-btn:hover {
           opacity: 1;
       }

       .modal-body {
           padding: 24px;
           max-height: 70vh;
           overflow-y: auto;
       }
       .modal-section-title {
           font-size: 15px;
           font-weight: 700;
           color: var(--blue-main);
           margin-bottom: 8px;
           border-bottom: 1.5px solid var(--blue-light);
           padding-bottom: 4px;
       }
       .modal-desc {
           font-size: 14.5px;
           line-height: 1.7;
           color: var(--text-body);
           margin-bottom: 24px;
       }

       .modal-teacher-section {
           display: flex;
           align-items: flex-start;
           gap: 16px;
           background: var(--bg-section);
           border-radius: 12px;
           padding: 16px;
           border: 1px solid var(--border);
       }
       .modal-teacher-avatar {
           width: 60px;
           height: 60px;
           border-radius: 50%;
           object-fit: cover;
           border: 2px solid var(--white);
           box-shadow: 0 2px 5px rgba(0,0,0,0.1);
       }
       .modal-teacher-info {
           flex: 1;
       }
       .modal-teacher-info h4 {
           font-size: 16px;
           font-weight: 700;
           color: var(--text-dark);
           margin: 0 0 4px 0;
       }
       .modal-teacher-info p.position {
           font-size: 13px;
           color: var(--blue-main);
           margin: 0 0 10px 0;
           font-weight: 500;
       }
       .modal-teacher-contacts {
           display: flex;
           flex-direction: column;
           gap: 6px;
           font-size: 13px;
           color: var(--text-body);
       }
       .modal-teacher-contacts span {
           display: flex;
           align-items: center;
           gap: 8px;
       }
       .modal-teacher-contacts i {
           color: var(--blue-mid);
           width: 16px;
       }

       @media (max-width: 768px) {
           .learning-grid {
               grid-template-columns: 1fr;
           }
           .learning-tabs {
               gap: 6px;
           }
           .tab-trigger {
               padding: 10px 16px;
               font-size: 14px;
           }
       }

       /* ===== STUDENT SELECTOR & BANNER ===== */
       .student-select-section {
           padding: 50px 24px;
           max-width: 900px;
           margin: 0 auto;
           text-align: center;
       }
       .student-select-title {
           font-size: 24px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 8px;
       }
       .student-select-subtitle {
           font-size: 15px;
           color: var(--text-muted);
           margin-bottom: 40px;
       }
       .student-select-grid {
           display: grid;
           grid-template-columns: repeat(3, 1fr);
           gap: 24px;
       }
       .student-select-card {
           background: var(--white);
           border: 2px solid var(--border);
           border-radius: 20px;
           padding: 30px 20px;
           text-align: center;
           cursor: pointer;
           transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
           display: flex;
           flex-direction: column;
           align-items: center;
           box-shadow: 0 4px 6px rgba(0,0,0,0.02);
           text-decoration: none;
           color: inherit;
       }
       .student-select-card:hover {
           transform: translateY(-8px);
           border-color: var(--blue-main);
           box-shadow: 0 12px 24px rgba(128, 0, 128, 0.08);
       }
       .student-select-avatar {
           width: 80px;
           height: 80px;
           border-radius: 50%;
           object-fit: cover;
           border: 3px solid var(--white);
           box-shadow: 0 4px 10px rgba(0,0,0,0.1);
           margin-bottom: 16px;
           transition: transform 0.3s ease;
       }
       .student-select-card:hover .student-select-avatar {
           transform: scale(1.08);
       }
       .student-select-name {
           font-size: 17px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 4px;
       }
       .student-select-id {
           font-size: 13px;
           color: var(--text-muted);
           margin-bottom: 12px;
       }
       .student-select-badge {
           font-size: 12px;
           font-weight: 600;
           padding: 4px 12px;
           border-radius: 30px;
           background: var(--blue-light);
           color: var(--blue-main);
           margin-bottom: 20px;
           display: inline-block;
       }
       .student-select-btn {
           margin-top: auto;
           background: var(--white);
           border: 1.5px solid var(--blue-main);
           color: var(--blue-main);
           padding: 8px 20px;
           border-radius: 30px;
           font-size: 14px;
           font-weight: 600;
           transition: all 0.2s ease;
           width: 100%;
       }
       .student-select-card:hover .student-select-btn {
           background: var(--blue-main);
           color: var(--white);
       }

       /* Student profile banner inside qualifications page */
       .student-profile-banner {
           background: linear-gradient(135deg, var(--gold-light) 0%, var(--white) 100%);
           border: 2px solid var(--gold);
           border-radius: 16px;
           padding: 20px 24px;
           margin-bottom: 40px;
           display: flex;
           align-items: center;
           justify-content: space-between;
           gap: 20px;
           box-shadow: 0 4px 15px rgba(128, 0, 128, 0.03);
           flex-wrap: wrap;
       }
       .student-profile-left {
           display: flex;
           align-items: center;
           gap: 16px;
       }
       .student-profile-avatar {
           width: 64px;
           height: 64px;
           border-radius: 50%;
           object-fit: cover;
           border: 3px solid var(--white);
           box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
       }
       .student-profile-details h3 {
           font-size: 18px;
           font-weight: 700;
           color: var(--text-dark);
           margin: 0 0 4px 0;
           display: flex;
           align-items: center;
           gap: 8px;
           flex-wrap: wrap;
       }
       .student-profile-details p {
           font-size: 13.5px;
           color: var(--text-muted);
           margin: 0;
       }
       .btn-logout-student {
           background: var(--white);
           color: var(--text-muted);
           border: 1.5px solid var(--border);
           padding: 8px 18px;
           border-radius: 30px;
           font-size: 13.5px;
           font-weight: 600;
           cursor: pointer;
           transition: all 0.2s ease;
           display: flex;
           align-items: center;
           gap: 6px;
       }
       .btn-logout-student:hover {
           border-color: #f43f5e;
           color: #f43f5e;
           background: #fff5f5;
       }

       @media (max-width: 768px) {
           .student-select-grid {
               grid-template-columns: 1fr;
               gap: 16px;
           }
           .student-profile-banner {
               flex-direction: column;
               align-items: flex-start;
           }
           .btn-logout-student {
               width: 100%;
               justify-content: center;
           }
       }

       /* ===== SUBJECT CLASSROOM DETAIL PAGE ===== */
       .classroom-header {
           background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 100%);
           color: var(--white);
           padding: 40px 24px;
           border-radius: 16px;
           margin-bottom: 30px;
           box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
           position: relative;
       }
       .classroom-header h1 {
           font-size: clamp(22px, 3.5vw, 32px);
           font-weight: 700;
           margin-bottom: 12px;
           color: var(--white);
       }
       .classroom-header p {
           font-size: 15px;
           opacity: 0.9;
           margin: 0;
           color: var(--white);
       }
       .classroom-meta-badges {
           display: flex;
           gap: 10px;
           margin-top: 16px;
           flex-wrap: wrap;
       }
       .classroom-progress-container {
           margin-top: 24px;
           max-width: 400px;
       }
       .classroom-progress-info {
           display: flex;
           justify-content: space-between;
           font-size: 13.5px;
           margin-bottom: 6px;
           font-weight: 600;
           opacity: 0.95;
           color: var(--white);
       }
       .classroom-progress-bg {
           background: rgba(255, 255, 255, 0.2);
           height: 8px;
           border-radius: 10px;
           overflow: hidden;
       }
       .classroom-progress-bar {
           background: var(--gold);
           height: 100%;
           border-radius: 10px;
           transition: width 0.5s ease;
       }

       .classroom-back-btn {
           display: inline-flex;
           align-items: center;
           gap: 8px;
           color: var(--blue-main);
           font-weight: 600;
           font-size: 15px;
           margin-bottom: 24px;
           transition: transform 0.2s ease;
           text-decoration: none;
       }
       .classroom-back-btn:hover {
           color: var(--blue-dark);
           transform: translateX(-4px);
       }

       /* Classroom Grid Layout */
       .classroom-layout {
           display: grid;
           grid-template-columns: 1fr 340px;
           gap: 30px;
           align-items: flex-start;
       }

       /* Timeline Styles */
       .classroom-timeline-section {
           background: var(--white);
           border: 1px solid var(--border);
           border-radius: 16px;
           padding: 30px;
           box-shadow: 0 4px 6px rgba(0,0,0,0.02);
       }
       .classroom-timeline-title {
           font-size: 20px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 30px;
           border-bottom: 2px solid var(--blue-light);
           padding-bottom: 10px;
           display: flex;
           align-items: center;
           gap: 10px;
       }

       .classroom-timeline {
           position: relative;
           padding-left: 36px;
       }
       .classroom-timeline::before {
           content: '';
           position: absolute;
           top: 10px;
           bottom: 10px;
           left: 11px;
           width: 3px;
           background: var(--blue-light);
       }

       .timeline-step {
           position: relative;
           margin-bottom: 35px;
       }
       .timeline-step:last-child {
           margin-bottom: 0;
       }
       .step-node {
           position: absolute;
           left: -36px;
           top: 2px;
           width: 25px;
           height: 25px;
           border-radius: 50%;
           background: var(--white);
           border: 3px solid var(--blue-mid);
           display: flex;
           align-items: center;
           justify-content: center;
           z-index: 2;
           transition: all 0.3s ease;
       }
       .timeline-step.completed .step-node {
           border-color: var(--blue-main);
           background: var(--blue-main);
           color: var(--white);
           font-size: 11px;
       }
       .timeline-step.active .step-node {
           border-color: var(--blue-main);
           box-shadow: 0 0 0 4px var(--blue-light);
       }

       .step-content {
           background: var(--white);
           border: 1.5px solid var(--border);
           border-radius: 12px;
           padding: 20px;
           transition: all 0.25s ease;
       }
       .timeline-step.active .step-content {
           border-color: var(--blue-main);
           box-shadow: 0 4px 12px rgba(128, 0, 128, 0.04);
       }
       .step-title {
           font-size: 17px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 15px;
           display: flex;
           align-items: center;
           justify-content: space-between;
           flex-wrap: wrap;
           gap: 10px;
       }

       .step-resources-list {
           display: flex;
           flex-direction: column;
           gap: 10px;
       }
       .resource-item {
           display: flex;
           align-items: center;
           justify-content: space-between;
           padding: 12px 16px;
           background: var(--bg-section);
           border-radius: 8px;
           border: 1px solid var(--border);
           transition: all 0.2s ease;
           gap: 15px;
       }
       .resource-item:hover {
           border-color: var(--blue-light);
           background: var(--white);
       }
       .resource-info {
           display: flex;
           align-items: center;
           gap: 12px;
           min-width: 0;
       }
       .resource-icon {
           width: 36px;
           height: 36px;
           border-radius: 8px;
           display: flex;
           align-items: center;
           justify-content: center;
           font-size: 16px;
           flex-shrink: 0;
       }
       .resource-icon-doc {
           background: #ffebee;
           color: #d32f2f;
       }
       .resource-icon-hw {
           background: #e3f2fd;
           color: #1976d2;
       }
       .resource-text {
           min-width: 0;
       }
       .resource-name {
           font-size: 14px;
           font-weight: 600;
           color: var(--text-dark);
           white-space: nowrap;
           overflow: hidden;
           text-overflow: ellipsis;
       }
       .resource-meta {
           font-size: 11.5px;
           color: var(--text-muted);
       }

       .resource-actions {
           display: flex;
           align-items: center;
           gap: 10px;
           flex-shrink: 0;
       }
       .btn-download-res {
           background: var(--white);
           border: 1.5px solid var(--border);
           color: var(--text-body);
           padding: 6px 14px;
           border-radius: 20px;
           font-size: 13px;
           font-weight: 600;
           cursor: pointer;
           transition: all 0.2s ease;
           text-decoration: none;
           display: inline-flex;
           align-items: center;
           gap: 6px;
       }
       .btn-download-res:hover {
           border-color: var(--blue-main);
           color: var(--blue-main);
           background: var(--blue-light);
       }

       .hw-status-badge {
           font-size: 12px;
           font-weight: 600;
           padding: 4px 10px;
           border-radius: 20px;
       }
       .status-submitted {
           background: #e8f5e9;
           color: #2e7d32;
       }
       .status-pending {
           background: #fff3e0;
           color: #e65100;
       }

       .btn-submit-hw {
           background: var(--blue-main);
           color: var(--white);
           border: none;
           padding: 6px 16px;
           border-radius: 20px;
           font-size: 13px;
           font-weight: 600;
           cursor: pointer;
           transition: all 0.2s ease;
       }
       .btn-submit-hw:hover {
           background: var(--blue-dark);
           transform: translateY(-1px);
       }

       /* Exam Milestones */
       .exam-milestone {
           position: relative;
           background: linear-gradient(135deg, #FFFDF0 0%, #FFF9D6 100%);
           border: 2px dashed #E5A93B;
           border-radius: 16px;
           padding: 24px;
           margin: 35px 0;
           display: flex;
           align-items: center;
           justify-content: space-between;
           gap: 20px;
           box-shadow: 0 4px 15px rgba(229, 169, 59, 0.05);
           flex-wrap: wrap;
       }
       .exam-milestone-left {
           display: flex;
           align-items: center;
           gap: 16px;
       }
       .exam-milestone-icon {
           width: 48px;
           height: 48px;
           border-radius: 12px;
           background: #E5A93B;
           color: var(--white);
           display: flex;
           align-items: center;
           justify-content: center;
           font-size: 20px;
           flex-shrink: 0;
           box-shadow: 0 3px 6px rgba(229,169,59,0.2);
       }
       .exam-milestone-details h3 {
           font-size: 17px;
           font-weight: 700;
           color: #8C5B00;
           margin: 0 0 4px 0;
       }
       .exam-milestone-details p {
           font-size: 13px;
           color: #B38600;
           margin: 0;
       }
       .btn-take-exam {
           background: #E5A93B;
           color: var(--white);
           border: none;
           padding: 10px 24px;
           border-radius: 30px;
           font-size: 14px;
           font-weight: 700;
           cursor: pointer;
           box-shadow: 0 4px 10px rgba(229,169,59,0.3);
           transition: all 0.2s ease;
       }
       .btn-take-exam:hover {
           background: #C78D20;
           transform: translateY(-2px);
           box-shadow: 0 6px 14px rgba(229,169,59,0.4);
       }

       /* Classroom Sidebar Card */
       .classroom-sidebar-card {
           background: var(--white);
           border: 1px solid var(--border);
           border-radius: 16px;
           padding: 24px;
           box-shadow: 0 4px 6px rgba(0,0,0,0.02);
           margin-bottom: 24px;
       }
       .classroom-sidebar-card:last-child {
           margin-bottom: 0;
       }
       .sidebar-card-title {
           font-size: 16px;
           font-weight: 700;
           color: var(--text-dark);
           margin-bottom: 16px;
           border-bottom: 1.5px solid var(--blue-light);
           padding-bottom: 8px;
           display: flex;
           align-items: center;
           gap: 8px;
       }
       .sidebar-course-stats {
           display: flex;
           flex-direction: column;
           gap: 12px;
       }
       .stat-row {
           display: flex;
           justify-content: space-between;
           font-size: 14.5px;
           border-bottom: 1px dashed var(--border);
           padding-bottom: 8px;
       }
       .stat-row:last-child {
           border-bottom: none;
           padding-bottom: 0;
       }
       .stat-row strong {
           color: var(--text-dark);
       }

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

       /* Shared responsive safeguards for every public/student page */
       img, video, iframe {
           max-width: 100%;
       }

       .content {
           min-width: 0;
           overflow-x: clip;
       }

       .content table {
           display: block;
           width: 100%;
           max-width: 100%;
           overflow-x: auto;
           -webkit-overflow-scrolling: touch;
       }

       @media (max-width: 1024px) {
           .container,
           .topbar-inner,
           .header-inner,
           .nav-inner,
           .footer-inner {
               width: 100%;
               padding-left: 24px;
               padding-right: 24px;
           }

           .hero-slider { height: clamp(380px, 54vw, 520px); }
           .slide-content { left: 6%; right: 6%; max-width: 680px; }
           .slide-content h1 { font-size: clamp(36px, 6vw, 52px); }
       }

       /* Large desktop / 24-inch monitors and above */
       @media (min-width: 1440px) {
           .topbar-inner,
           .header-inner,
           .hero-inner,
           .services-inner,
           .stats-grid,
           .section-inner,
           .partners-inner,
           .footer-inner,
           .footer-bottom,
           .contact-container,
           .page-container,
           .learning-container {
               width: min(100% - 64px, 1560px);
               max-width: 1560px;
           }

           .header-inner { height: 78px; }
           .hero-slider { height: min(680px, 66vh); }
           .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
           .stats-grid { gap: 28px; }
           .section-inner,
           .page-container,
           .learning-container { margin-top: 48px; }
       }

       @media (min-width: 1920px) {
           .topbar-inner,
           .header-inner,
           .hero-inner,
           .services-inner,
           .stats-grid,
           .section-inner,
           .partners-inner,
           .footer-inner,
           .footer-bottom,
           .contact-container,
           .page-container,
           .learning-container {
               width: min(100% - 96px, 1720px);
               max-width: 1720px;
           }
       }

       @media (max-width: 768px) {
           html { scroll-padding-top: 72px; }
           body { min-width: 0; }

           .container,
           .topbar-inner,
           .header-inner,
           .nav-inner,
           .footer-inner {
               padding-left: 16px;
               padding-right: 16px;
           }

           .hero-slider { height: 420px; }
           .slide-content { left: 20px; right: 20px; }
           .slide-content h1 { font-size: clamp(28px, 9vw, 40px); }
           .slide-content p { font-size: 16px; }
           .slide-buttons { flex-wrap: wrap; }
           .slide-buttons a { text-align: center; }
           .swiper-button-next,
           .swiper-button-prev { display: none !important; }

           .content input,
           .content select,
           .content textarea,
           .content button { max-width: 100%; }

           .content form,
           .content .card,
           .content [class*="-card"] { min-width: 0; }

           .exam-milestone,
           .exam-milestone-left { align-items: flex-start; }
           .btn-take-exam,
           .btn-submit-hw { width: 100%; }
           .classroom-sidebar-card { padding: 18px 16px; }
           .mobile-nav-panel { width: min(340px, 88vw); }
       }

       @media (max-width: 480px) {
           .container,
           .topbar-inner,
           .header-inner,
           .nav-inner,
           .footer-inner {
               padding-left: 12px;
               padding-right: 12px;
           }
           .hero-slider { height: 360px; }
           .slide-content { left: 16px; right: 16px; }
           .slide-content h1 { font-size: 28px; }
           .slide-content p { font-size: 14px; }
           .slide-buttons { flex-direction: column; align-items: stretch; }
           .service-tab { min-width: 50%; }
           .stats-grid { grid-template-columns: 1fr; }
           .exam-milestone { padding: 18px 14px; }
           .exam-milestone-left { gap: 12px; }
       }
