*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}
html, body {
    min-height: 100%;
}
body {
    background: #eff4ff;
    color: #071b3a;
    transition: background .4s ease, color .4s ease;
    overflow-x: hidden;
}
body.lock-scroll {
    overflow: hidden;
}
body.theme-dark {
    background: radial-gradient(circle at top, #02102b 0%, #030712 40%, #071b45 100%);
    color: #f2f9ff;
}
#hero {
    margin-top: 10%;
}
#navbar{
    position:fixed;
    top:0;
    left:0;
    height: 170px;
    width:100%;
    background-color: aqua;
    box-shadow: 0 0px 5px #000;
    z-index: 1000;
}
#navbar #navup{
    position: absolute;
    top: 0%;
    left: 0%;
    height: 40%;
    width: 100%;
    background-color: rgba(2,1,105);
}
#navbar #navup #contact-info{
    position: absolute;
    top:50%;
    left:2%;
    transform: translateY(-50%);
}
#navbar #navup #contact-info li{
    display: inline-block;
    margin-left: 20px;
}
#navbar #navup #contact-info li a{
    color: #fff;
}

#navbar #navup #menu-info{
    position: absolute;
    top:50%;
    right:2%;
    transform: translateY(-50%);
}
#navbar #navup #menu-info li{
    display: inline-block;
    margin-left: 20px;
}
#navbar #navup #menu-info li a{
    color: #fff;
}
#navbar #navdn{
    position: absolute;
    top: 40%;
    left: 0%;
    height: 60%;
    width: 100%;
    background-color: rgb(255, 255, 255);
}
#navbar #navdn #logo{
    position: absolute;
    top:50%;
    left: 2%;
    transform: translateY(-50%);
    height: 80px;
    max-width: 480px;
    width: auto;
    background:trasparent;
}
#navbar #navdn #logo a img{
    height: 100%;
    width: auto;
    max-width: 100%;
}
#navbar #navdn #menu{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:2%;
}
#navbar #navdn #menu li{
    display: inline-block;
    margin-left: 20px;
}
#navbar #navdn #menu li:last-child{
    background-color: red;
    padding: 15px;
    border-radius: 30px;
}
#navbar #navdn #menu li a{
    color: rgb(2, 1, 105);
}
#navbar #navdn #menu li:last-child a{
    color: #fff;
}
#sidenav{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 80%;
    max-width: 360px;
    background: linear-gradient(135deg, #f8fafb 0%, #f0f6ff 100%);
    border-right: 2px solid rgba(10,111,255,.15);
    box-shadow: 0 28px 80px rgba(10,111,255,.2);
    display: none;
    z-index: 1100;
    padding: 20px 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease, box-shadow .25s ease;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(16px);
}
#sidenav.open {
    display: block;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    box-shadow: 0 32px 90px rgba(10,111,255,.25);
}
#sidenav #menu{
    margin: 16px 0 20px;
    list-style: none;
    display: block;
    padding: 0 12px;
}
#sidenav #menu li{
    margin-top: 0;
    margin-bottom: 8px;
}
#sidenav #menu li:first-child {
    margin-top: 0;
}
#sidenav #menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: #0a2f6f;
    background: rgba(10,111,255,.06);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: all .25s ease;
    border-left: 3px solid transparent;
}
#sidenav #menu li a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #0a6fff;
}
#sidenav #menu li a:hover,
#sidenav #menu li a:focus {
    background: rgba(10,111,255,.14);
    border-left-color: #0a6fff;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(10,111,255,.12);
}
#sidenav #menu li a.enroll-btn {
    background: linear-gradient(135deg, #0a6fff 0%, #084fd6 100%);
    color: #fff;
    font-weight: 700;
    margin-top: 12px;
    border-left: 3px solid transparent;
}
#sidenav #menu li a.enroll-btn i {
    color: #fff;
}
#sidenav #menu li a.enroll-btn:hover {
    background: linear-gradient(135deg, #084fd6 0%, #063ab8 100%);
    box-shadow: 0 12px 28px rgba(10,111,255,.25);
    transform: translateX(4px);
}
#sidenav .sidenav-close{
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(10,111,255,.1);
    color: #0a6fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 10px;
    display: grid;
    place-items: center;
    transition: all .2s ease;
    box-shadow: 0 4px 12px rgba(10,111,255,.08);
}
#sidenav .sidenav-close:hover {
    background: rgba(10,111,255,.16);
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 6px 16px rgba(10,111,255,.15);
}
.sidenav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 16px 16px;
    border-bottom: 1px solid rgba(10,111,255,.1);
}
.sidenav-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 220px;
}
.sidenav-logo img {
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}
.sidenav-logo a:hover img {
    transform: scale(1.08);
}
body.theme-dark .sidenav-logo {
    border-bottom-color: rgba(255,255,255,.08);
}
#sidenavOverlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 1050;
}
#sidenavOverlay.open{
    opacity: 1;
    visibility: visible;
}
body.theme-dark #sidenav {
    background: linear-gradient(135deg, #0d1f3c 0%, #051428 100%);
    border-right-color: rgba(255,255,255,.08);
}
body.theme-dark #sidenav #menu li a {
    color: #cfe1ff;
    background: rgba(255,255,255,.06);
}
body.theme-dark #sidenav #menu li a i {
    color: #7ea7ff;
}
body.theme-dark #sidenav #menu li a:hover,
body.theme-dark #sidenav #menu li a:focus {
    background: rgba(255,255,255,.12);
    box-shadow: 0 8px 20px rgba(255,255,255,.08);
}
.nav-toggle{
    display: none;
    position: absolute;
    top: 15px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255,255,255,.92);
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1200;
    color: #071b3a;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}
.hero {
    position: relative;
    min-height: calc(100vh - 140px);
    padding: 40px 40px 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: url('../images/gallery/g1.png');
    background-size: 100% 100%;
    color: #fff;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}
body.theme-light .hero {
    color: #071b3a;
}
section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .85s ease-out, transform .85s ease-out;
    will-change: transform, opacity;
}
section.visible {
    opacity: 1;
    transform: translateY(0);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,24,75,.45), rgba(1,10,29,.45));
    pointer-events: none;
    mix-blend-mode: screen;
}
@media (max-width: 767px) {
    .hero {
        background: url('../images/gallery/g6.png');
        background-size: 100% 100%;
    }
}
.home-widgets {
    max-width: 1220px;
    margin: 0 auto;
    padding: 30px 40px 80px;
}
.about-section {
    max-width: 1220px;
    margin: 0 auto;
    padding: 80px 40px;
}
.about-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.7fr) minmax(320px, 1fr);
    gap: 40px;
    align-items: center;
}
.about-grid--reverse {
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1.7fr);
}
.about-copy {
    max-width: 620px;
}
.about-section h2 {
    font-size: clamp(2.5rem, 4vw, 4.4rem);
    margin: 0.5rem 0 1.25rem;
    line-height: 1.05;
}
.about-section p {
    margin-bottom: 1.25rem;
    color: rgba(7,27,58,.9);
    font-size: 1rem;
    line-height: 1.75;
}
body.theme-dark .about-section p {
    color: rgba(255,255,255,.86);
}
.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}
.highlight-card {
    border: 1px solid rgba(15,23,59,.08);
    background: #fff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 18px 32px rgba(15,23,59,.06);
}
.highlight-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}
.highlight-card p {
    margin: 0;
    color: rgba(15,23,59,.75);
    line-height: 1.6;
    font-size: .95rem;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 18px;
    margin-top: 2rem;
}
.stat-card {
    background: rgba(10,111,255,.08);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
}
.stat-card strong {
    display: block;
    font-size: 2rem;
    color: #0a6fff;
    margin-bottom: 0.35rem;
}
.stat-card span {
    display: block;
    color: rgba(15,23,59,.75);
    font-size: .95rem;
}
.about-image {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15,23,59,.12);
    min-height: 500px;
    margin-top: 0px;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 40px rgba(15,23,59,.12);
    max-width: 280px;
}
.about-badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #0a6fff;
    color: #fff;
    font-size: 1.5rem;
}
.about-badge strong {
    display: block;
    font-size: 1.05rem;
    color: #0b2b5a;
}
.about-badge span {
    display: block;
    font-size: .95rem;
    color: rgba(15,23,59,.7);
}
.about-info-cards {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.info-card {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 36px rgba(15,23,59,.08);
}
.info-card--primary {
    border-top: 4px solid #0a6fff;
}
.info-card--secondary {
    border-top: 4px solid #f3272c;
}
.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(10,111,255,.12);
    color: #0a6fff;
    font-size: 1.2rem;
}
.info-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}
.info-card p {
    margin: 0;
    color: rgba(15,23,59,.75);
    line-height: 1.6;
    font-size: .95rem;
}
.course-section {
    max-width: 1220px;
    margin: 0 auto;
    padding: 80px 40px 100px;
}
.course-section .section-header,
.facility-section .section-header {
    max-width: 760px;
    margin-bottom: 2rem;
}
.course-section h2 {
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.05;
    margin: 0.75rem 0 0;
}
.facility-section .section-header {
    margin-bottom: 3rem;
}
.course-slider {
    overflow: hidden;
}
.facility-section {
    max-width: 1220px;
    margin: 0 auto;
    padding: 80px 40px 100px;
    background: radial-gradient(circle at top, rgba(10,111,255,.05), transparent 60%);
}
.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 24px;
}
.facility-card {
    background: rgba(255,255,255,.96);
    border-radius: 28px;
    border: 1px solid rgba(15,23,59,.08);
    box-shadow: 0 20px 60px rgba(15,23,59,.08);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 230px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}
.facility-card.visible {
    transform: translateY(0);
    opacity: 1;
}
.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 70px rgba(15,23,59,.18);
}
body.theme-dark .facility-card {
    background: rgba(6,16,40,.92);
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.facility-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(10,111,255,.12);
    color: #0a6fff;
    font-size: 1.5rem;
}
.facility-card h3 {
    margin: 0;
    font-size: 1.1rem;
}
.facility-card p {
    margin: 0;
    line-height: 1.8;
    color: rgba(15,23,59,.75);
}
body.theme-dark .facility-card p {
    color: rgba(255,255,255,.78);
}
.experience-section {
    padding: 70px 40px;
    background: #0a6fff;
    color: #fff;
}
.experience-banner {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}
.experience-banner.visible {
    transform: translateY(0);
    opacity: 1;
}
.experience-number {
    width: 220px;
    height: 220px;
    border-radius: 32px;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
}
.experience-copy .eyebrow {
    color: rgba(255,255,255,.85);
}
.experience-copy h2 {
    margin: 0.75rem 0 0;
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1.05;
}
.experience-copy p {
    margin: 1.5rem 0 0;
    max-width: 640px;
    color: rgba(255,255,255,.85);
    line-height: 1.8;
}
.course-track {
    display: flex;
    gap: 24px;
    animation: scroll-courses 32s linear infinite;
}
.course-card {
    min-width: 320px;
    max-width: 320px;
    background: rgba(255,255,255,.96);
    border-radius: 28px;
    border: 1px solid rgba(15,23,59,.08);
    box-shadow: 0 20px 60px rgba(15,23,59,.08);
    overflow: hidden;
    flex-shrink: 0;
}
body.theme-dark .course-card {
    background: rgba(6,16,40,.92);
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.course-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.course-card-content {
    padding: 24px;
}
.course-card-title {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    color: #071b3a;
}
body.theme-dark .course-card-title {
    color: #fff;
}
.course-card-meta {
    margin: 0 0 16px;
    color: rgba(15,23,59,.7);
    font-size: .95rem;
}
body.theme-dark .course-card-meta {
    color: rgba(255,255,255,.78);
}
.course-card-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
}
.course-card-stars i {
    color: #fdc522;
}
.course-card .btn-secondary {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    background: #0a6fff;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(10,111,255,.16);
}
.course-card .btn-secondary:hover {
    background: #084fd6;
    box-shadow: 0 16px 36px rgba(10,111,255,.24);
}
.course-track:hover {
    animation-play-state: paused;
}
@keyframes scroll-courses {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.widget-grid {
    display: grid;
    grid-template-columns: minmax(330px, 1.95fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: start;
}
.widget {
    background: rgba(255,255,255,.96);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(15,23,59,.08);
    overflow: hidden;
    border: 1px solid rgba(15,23,59,.06);
}
body.theme-dark .widget {
    background: rgba(6,16,40,.92);
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 20px;
    border-bottom: 1px solid rgba(15,23,59,.08);
}
body.theme-dark .widget-header {
    border-color: rgba(255,255,255,.07);
}
.widget-header h2 {
    font-size: 1.2rem;
    letter-spacing: .02em;
    margin: 0;
}
.view-all {
    color: #0f4dff;
    font-weight: 700;
    text-decoration: none;
}
body.theme-dark .view-all {
    color: #7ea7ff;
}
.notice-list {
    list-style: none;
    margin: 0;
    padding: 0 20px 24px;
    max-height: 620px;
    overflow-y: auto;
}
.notice-list::-webkit-scrollbar {
    width: 8px;
}
.notice-list::-webkit-scrollbar-track {
    background: rgba(15,23,59,.04);
    border-radius: 4px;
}
.notice-list::-webkit-scrollbar-thumb {
    background: rgba(15,23,59,.3);
    border-radius: 4px;
}
.notice-list::-webkit-scrollbar-thumb:hover {
    background: rgba(15,23,59,.5);
}
.notice-list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(15,23,59,.08);
}
.notice-list li:last-child {
    border-bottom: none;
}
body.theme-dark .notice-list li {
    border-color: rgba(255,255,255,.08);
}
.notice-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 10px 12px;
    border-radius: 18px;
    background: #0f54ff;
    color: #fff;
    text-align: center;
    font-size: .9rem;
}
.notice-date .notice-day {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}
.notice-date .notice-month,
.notice-date .notice-year {
    font-size: .72rem;
    letter-spacing: .08em;
}
.notice-content p {
    margin: 0;
    color: rgba(15,23,59,.88);
    font-size: .96rem;
    line-height: 1.7;
}
body.theme-dark .notice-content p {
    color: rgba(255,255,255,.86);
}
.notice-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,59,.12);
    color: #0f4dff;
    font-weight: 700;
    text-decoration: none;
}
body.theme-dark .notice-pill {
    border-color: rgba(255,255,255,.14);
    color: #a4c3ff;
}
.sidebar-widgets {
    display: grid;
    gap: 24px;
}
.quick-links .link-grid {
    display: grid;
    gap: 14px;
    padding: 18px 24px 24px;
}
.link-item {
    display: block;
    padding: 14px 20px;
    border-radius: 18px;
    background: rgba(15,79,255,.1);
    color: #0c2e8a;
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}
.link-item:hover {
    background: rgba(15,79,255,.16);
    transform: translateY(-1px);
}
body.theme-dark .link-item {
    background: rgba(255,255,255,.08);
    color: #cfe1ff;
}
.academic-calendar {
    padding: 0 0 20px;
}
.calendar-list {
    padding: 10px 24px 22px;
    display: grid;
    gap: 20px;
    max-height: 300px;
    overflow-y: auto;
}
.calendar-list::-webkit-scrollbar {
    width: 8px;
}
.calendar-list::-webkit-scrollbar-track {
    background: rgba(15,23,59,.04);
    border-radius: 4px;
}
.calendar-list::-webkit-scrollbar-thumb {
    background: rgba(15,23,59,.3);
    border-radius: 4px;
}
.calendar-list::-webkit-scrollbar-thumb:hover {
    background: rgba(15,23,59,.5);
}
.calendar-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: flex-start;
}
.calendar-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 14px 12px;
    border-radius: 20px;
    background: #0f4dff;
    color: #fff;
    font-size: .84rem;
    text-align: center;
}
.calendar-date strong {
    font-size: 1.25rem;
    line-height: 1;
}
.calendar-item p {
    margin: 0;
    color: rgba(15,23,59,.88);
    line-height: 1.6;
    font-size: .95rem;
}
body.theme-dark .calendar-item p {
    color: rgba(255,255,255,.82);
}
@media screen and (max-width: 980px) {
    .widget-grid,
    .about-grid,
    .about-grid--reverse {
        grid-template-columns: 1fr;
    }
    .about-highlights,
    .about-stats,
    .about-info-cards {
        grid-template-columns: 1fr;
    }
    .about-image {
        min-height: 420px;
    }
    .about-badge {
        left: 16px;
        right: 16px;
        top: 16px;
    }
    .about-info-cards {
        position: static;
        margin-top: 22px;
        gap: 16px;
    }
    .about-image {
        padding-bottom: 20px;
        min-height: 420px;
    }
    .about-info-cards .info-card {
        padding: 18px;
    }
    /* Topbar: make nav sections flow and stack cleanly on smaller screens */
    #navbar{
        height: auto;
        box-shadow: 0 4px 12px rgba(0,0,0,.08);
    }
    #navbar #navup{
        position: relative;
        height: auto;
        padding: 8px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }
    #navbar #navup #contact-info,
    #navbar #navup #menu-info{
        position: static;
        transform: none;
        top: auto;
        right: auto;
        left: auto;
        display: flex;
        gap: 12px;
        align-items: center;
    }
    #navbar #navup #contact-info li,
    #navbar #navup #menu-info li {
        display: inline-flex;
        margin-left: 0;
        font-size: .9rem;
    }
    #navbar #navdn{
        position: relative;
        top: 0;
        height: auto;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    #navbar #navdn #logo{
        position: static;
        transform: none;
        height: 56px;
    }
    /* hide desktop menu and show mobile toggle */
    #navbar #navdn #menu {
        display: none;
    }
    .nav-toggle {
        display: flex;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 48px;
        height: 48px;
        border-radius: 16px;
        background: rgba(255,255,255,.95);
        border: 1px solid rgba(10,111,255,.18);
        color: #0a4cdb;
        justify-content: center;
        align-items: center;
        font-size: 1.35rem;
        box-shadow: 0 12px 28px rgba(10,111,255,.12);
        transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    }
    .nav-toggle:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.98);
        box-shadow: 0 18px 34px rgba(10,111,255,.16);
    }
    #sidenav {
        width: 84%;
        max-width: 380px;
    }
    #sidenav.open {
        transform: translateX(0);
    }

    /* Keep course slider horizontally scrollable on tablets */
    .course-track {
        animation: scroll-courses 28s linear infinite;
        flex-wrap: nowrap;
        width: auto;
    }
    .course-card {
        min-width: 280px;
        width: auto;
    }
    .facility-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
    .experience-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .experience-number {
        margin: 0 auto;
    }

}
/* Affiliation logos section (top-level) */
.affiliation-section {
    max-width: 1220px;
    margin: 0px auto;
    padding: 40px 40px;
}
.affiliation-section .section-header {
    text-align: center;
    margin-bottom: 24px;
}
.affiliation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
}
.affiliation-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(255,255,255,.96);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15,23,59,.06);
}
.affiliation-card img {
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
}

@media screen and (max-width: 980px) {
    .affiliation-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}
@media screen and (max-width: 680px) {
    .affiliation-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact section */
.contact-section {
    max-width: 1220px;
    margin: 60px auto;
    padding: 40px 40px;
    overflow-x: hidden;
}
.contact-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}
.contact-form-wrapper {
    background: rgba(255,255,255,.98);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(15,23,59,.08);
    max-width: 100%;
    box-sizing: border-box;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-weight: 600;
    color: #0b2b5a;
    font-size: .95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(15,23,59,.12);
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0a6fff;
    box-shadow: 0 0 0 3px rgba(10,111,255,.1);
}
.form-group textarea {
    resize: vertical;
    font-family: inherit;
}
.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
}
.contact-map-wrapper iframe {
    border-radius: 18px;
    min-height: 350px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.contact-info-item {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(255,255,255,.96);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15,23,59,.06);
}
.contact-info-item .info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #0a6fff;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-info-item h3 {
    margin: 0 0 4px;
    font-size: .95rem;
    color: #0b2b5a;
}
.contact-info-item p {
    margin: 0;
    color: rgba(15,23,59,.75);
    font-size: .9rem;
    line-height: 1.5;
}
.contact-info-item a {
    color: #0a6fff;
    text-decoration: none;
    transition: color .2s ease;
}
.contact-info-item a:hover {
    color: #0855d4;
}

@media screen and (max-width: 980px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-map-wrapper iframe {
        min-height: 280px;
    }
}
@media screen and (max-width: 680px) {
    .contact-section {
        padding: 20px 15px;
        margin: 40px auto;
    }
    .contact-form-wrapper {
        padding: 18px;
    }
    .contact-map-wrapper iframe {
        min-height: 240px;
    }
    .contact-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .contact-info-item {
        padding: 12px;
        gap: 12px;
    }
    .form-group label {
        font-size: .9rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: .9rem;
        padding: 10px 12px;
    }
}

@media screen and (max-width: 680px) {
    .home-widgets,
    .about-section,
    .course-section {
        padding: 40px 20px 60px;
    }
    .widget-header,
    .notice-list,
    .link-grid,
    .calendar-list {
        padding-left: 18px;
        padding-right: 18px;
    }
    .notice-list li,
    .calendar-item {
        grid-template-columns: 1fr;
    }
    .notice-pill {
        justify-self: flex-start;
    }
    .about-badge,
    .about-info-cards {
        position: static;
        width: auto;
        margin: 0 auto 18px;
    }
    .about-info-cards {
        display: grid;
        gap: 16px;
    }
    .about-highlights,
    .about-stats {
        grid-template-columns: 1fr;
    }
    .about-image {
        min-height: 360px;
    }
    .course-track {
        animation: scroll-courses 22s linear infinite;
        flex-wrap: nowrap;
    }
    .course-card {
        min-width: 260px;
        width: auto;
    }
    .facility-section,
    .experience-section {
        padding: 40px 20px;
    }
    .facility-grid {
        grid-template-columns: 1fr;
    }
    .experience-banner {
        gap: 20px;
    }
    .experience-number {
        width: 160px;
        height: 160px;
        font-size: 3rem;
        margin: 0 auto;
    }
    .experience-copy h2 {
        font-size: 2.1rem;
    }
}
.hero-content {
    position: relative;
    max-width: 720px;
    z-index: 2;
    padding-top: 10px;
    animation: slide-in 1.5s ease-out;
}
.hero .eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: .85rem;
    color: rgba(255,255,255,.85);
}
body.theme-light .hero .eyebrow {
    color: rgba(2,25,70,.8);
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: .02em;
    max-width: 44rem;
}
body.theme-light .hero h1 {
    color: #06163d;
}
.hero-copy {
    max-width: 680px;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    color: rgba(255,255,255,.88);
}
body.theme-light .hero-copy {
    color: rgba(2,25,70,.85);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.btn-primary {
    background: #0a6fff;
    color: #fff;
}
body.theme-light .btn-primary {
    background: #1f5ce3;
    color: #fff;
}
.btn-secondary {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
}
body.theme-light .btn-secondary {
    background: #fff;
    color: #0f173b;
    border-color: rgba(15,23,59,.12);
}
.hero-animation {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.pulse {
    position: absolute;
    border-radius: 50%;
    opacity: .25;
    border: 1px solid rgba(255,255,255,.35);
    animation: pulse 8s ease-in-out infinite;
}
.pulse-1 {
    width: 220px;
    height: 220px;
    top: 18%;
    left: 12%;
    animation-delay: 0s;
}
.pulse-2 {
    width: 140px;
    height: 140px;
    top: 45%;
    left: 70%;
    animation-delay: 1.4s;
}
.pulse-3 {
    width: 310px;
    height: 310px;
    top: 65%;
    left: 30%;
    animation-delay: 2.8s;
}
.pulse-4 {
    width: 180px;
    height: 180px;
    top: 10%;
    right: 15%;
    animation-delay: 4.2s;
}
.pulse-5 {
    width: 250px;
    height: 250px;
    bottom: 15%;
    left: 20%;
    animation-delay: 5.6s;
}
.hero-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    filter: blur(0.5px);
    animation: float 10s ease-in-out infinite;
}
.hero-dot-1 {
    top: 20%;
    right: 18%;
    animation-delay: 0s;
}
.hero-dot-2 {
    top: 55%;
    left: 28%;
    animation-delay: 1.6s;
}
.hero-dot-3 {
    bottom: 22%;
    right: 24%;
    animation-delay: 2.4s;
}
.hero-dot-4 {
    top: 35%;
    left: 10%;
    animation-delay: 3.2s;
}
.hero-dot-5 {
    bottom: 40%;
    right: 10%;
    animation-delay: 4.8s;
}
.theme-toggle {
    position: absolute;
    bottom: 36px;
    right: 40px;
    z-index: 2;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.42);
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
body.theme-light .theme-toggle {
    background: rgba(255,255,255,.95);
    color: #07163a;
    border-color: rgba(15,23,59,.16);
}
.theme-toggle:hover {
    transform: translateY(-2px);
}
@keyframes hero-bg-cycle {
    0%, 19% {
        background-image: url('../images/gallery/g1.jpeg');
    }
    20%, 39% {
        background-image: url('../images/gallery/g2.jpeg');
    }
    40%, 59% {
        background-image: url('../images/gallery/g3.jpeg');
    }
    60%, 79% {
        background-image: url('../images/gallery/g4.jpeg');
    }
    80%, 100% {
        background-image: url('../images/gallery/g5.jpeg');
    }
}
@keyframes hero-bg-cycle-light {
    0%, 19% {
        background-image: url('../images/gallery/g1.jpeg');
    }
    20%, 39% {
        background-image: url('../images/gallery/g2.jpeg');
    }
    40%, 59% {
        background-image: url('../images/gallery/g3.jpeg');
    }
    60%, 79% {
        background-image: url('../images/gallery/g4.jpeg');
    }
    80%, 100% {
        background-image: url('../images/gallery/g5.jpeg');
    }
}
@keyframes bg-fade {
    0%, 17% { opacity: 1; }
    18%, 21% { opacity: 0.3; }
    22%, 37% { opacity: 1; }
    38%, 41% { opacity: 0.3; }
    42%, 57% { opacity: 1; }
    58%, 61% { opacity: 0.3; }
    62%, 77% { opacity: 1; }
    78%, 81% { opacity: 0.3; }
    82%, 100% { opacity: 1; }
}
@keyframes parallax {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes slide-in {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Site Footer */
.site-footer {
    background: #0b1f3a;
    color: #fff;
    padding: 60px 40px 30px;
    margin-top: 80px;
}
.footer-container {
    max-width: 1220px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}
.footer-column h4 {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
}
.footer-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.footer-branding h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}
.footer-description {
    margin: 0 0 20px;
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    line-height: 1.7;
}
.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: color .2s ease;
}
.footer-link:hover {
    color: #fff;
}
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-menu li a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .95rem;
    transition: color .2s ease;
}
.footer-menu li a:hover {
    color: #fff;
}
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem;
    line-height: 1.6;
}
.contact-detail i {
    font-size: 1.1rem;
    color: #0a6fff;
    margin-top: 2px;
    flex-shrink: 0;
}
.contact-detail span,
.contact-detail a {
    color: rgba(255,255,255,.75);
}
.contact-detail a {
    text-decoration: none;
    transition: color .2s ease;
}
.contact-detail a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,.65);
    font-size: .9rem;
}
.footer-bottom p {
    margin: 0;
}
.footer-bottom strong {
    color: #0a6fff;
    font-weight: 700;
}

@media screen and (max-width: 1200px) {
    .site-footer {
        padding: 50px 30px 25px;
    }
    .footer-container {
        gap: 35px;
    }
}
@media screen and (max-width: 980px) {
    .site-footer {
        padding: 45px 25px 22px;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        margin-bottom: 30px;
    }
    .footer-column h4 {
        font-size: 1.05rem;
        margin-bottom: 15px;
    }
    .footer-branding h3 {
        font-size: 1.05rem;
    }
    .footer-description {
        font-size: .9rem;
        margin-bottom: 15px;
    }
    .footer-menu li a {
        font-size: .9rem;
    }
    .contact-detail {
        font-size: .9rem;
        gap: 10px;
    }
}
@media screen and (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 20px;
        margin-top: 60px;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 25px;
    }
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 14px;
    }
    .footer-branding {
        margin-bottom: 12px;
    }
    .footer-branding h3 {
        font-size: 1rem;
    }
    .footer-description {
        font-size: .85rem;
        margin-bottom: 12px;
    }
    .footer-link {
        font-size: .85rem;
    }
    .footer-menu li a {
        font-size: .85rem;
    }
    .contact-detail {
        font-size: .85rem;
        gap: 10px;
    }
    .footer-bottom {
        padding-top: 18px;
        font-size: .8rem;
    }
}
@media screen and (max-width: 680px) {
    .site-footer {
        padding: 35px 16px 18px;
        margin-top: 50px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 20px;
    }
    .footer-column h4 {
        font-size: .95rem;
        margin-bottom: 12px;
    }
    .footer-branding {
        margin-bottom: 10px;
    }
    .footer-logo {
        width: 45px;
        height: 45px;
    }
    .footer-branding h3 {
        font-size: .95rem;
    }
    .footer-description {
        font-size: .8rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    .footer-links-group {
        gap: 8px;
    }
    .footer-link {
        font-size: .8rem;
        gap: 6px;
    }
    .footer-menu {
        gap: 10px;
    }
    .footer-menu li a {
        font-size: .8rem;
    }
    .footer-contact-info {
        gap: 12px;
    }
    .contact-detail {
        font-size: .8rem;
        gap: 8px;
    }
    .contact-detail i {
        font-size: 1rem;
    }
    .footer-bottom {
        padding-top: 15px;
        font-size: .75rem;
    }
}

@media screen and (max-width: 760px) {
    .hero h1 {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .theme-toggle {
        right: 20px;
        bottom: 20px;
    }
}
@media screen and (max-width: 480px) and (max-height: 700px){
    #navbar{
        position:fixed;
        top:0%;
        left:0%;
        height: 10%;
        width:100%;
        background-color: aqua;
        box-shadow: 0 0px 5px #000;
        z-index: 1000;
    }
    #navbar #navup{
        display: none;
    }
    #navbar #navdn{
        position: absolute;
        top: 0%;
        left: 0%;
        height: 100%;
        width: 100%;
        background-color: rgb(255, 255, 255);
    }
    #navbar #navdn #logo{
        position: absolute;
        top:50%;
        left: 50%;
        transform: translate(-50%,-50%);
        height: 40px;
        width: 250px;
        background:transparent;
    }
    #navbar #navdn #logo a img{
        height: 100%;
        width: 100%;
    }
    #navbar #navdn #menu{
        display: none;
    }
}