body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

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

        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            background-color: #fff;
            color: #333;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        body.dark-mode {
            background-color: #000;
            color: #fff;
        }

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

        /* --- UNIFIED NAVIGATION --- */
        nav {
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            padding: 10px 0;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 999;
            transition: background-color 0.3s ease;
        }

        nav.dark-mode {
            background-color: #222;
        }

        nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        nav ul {
            list-style-type: none;
            display: flex;
        }

        nav ul li {
            margin-left: 15px;
        }

        nav ul li a {
            text-decoration: none;
            color: #ff0000;
            font-weight: 500;
            padding: 32px 18px;
            border-radius: 4px;
            transition: background-color 0.3s, color 0.3s;
        }

        /* Active nav link (current page) */
        .nav-link.active-link {
            color: #ff0000;
            font-weight: 700;
        }
        nav.dark-mode .nav-link.active-link {
            color: #ffff00;
        }
        
        @media screen and (max-width: 1024px) {
            nav ul li a { padding: 20px 10px; }
        }
        @media screen and (max-width: 768px) {
            nav ul li a { padding: 10px 10px; }
        }
        
        nav ul li a:hover {
            background-color: #ff0000;
            color: #fff;
        }

        nav.dark-mode ul li a {
            color: #ffff00;
        }

        nav.dark-mode ul li a:hover {
            background-color: #ffff00;
            color: #000;
        }

        /* Mode Toggle */
        .mode-toggle {
            position: relative;
            width: 50px;
            height: 26px;
            border-radius: 13px;
            background-color: #ff0000;
            cursor: pointer;
            transition: background-color 0.3s;
            box-shadow: 0 2px 6px rgba(0,0,0,0.12);
            display: inline-block;
        }

        .mode-toggle::before {
            content: "";
            position: absolute;
            top: 2px;
            left: 2px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.18);
            transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
        }

        .mode-toggle.active {
            background-color: #333;
        }

        .mode-toggle.active::before {
            left: 26px;
        }

        .mode-toggle-container {
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        /* Logo styling */
        .astra-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
        .astra-logo__img { width: 70px; height: auto; display: block; }
        .astra-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
        .astra-logo__title { font-size: 25px; font-weight: 700; color: #ffb407; }
        .astra-logo__tagline { margin-left: 50px; font-size: 25px; font-weight: 600; color: #ffb407; }
        @media screen and (max-width: 1024px) {
            .astra-logo__tagline { margin-left: 20%; font-size: 18px; }
            .astra-logo__title { font-size: 18px; }
        } 
        @media screen and (max-width: 360px){
            .astra-logo__title { font-size: 14px; }
            .astra-logo__tagline { font-size: 14px; }
        }

        /* Dropdown Styling */
        nav ul li.has-dropdown { position: relative; }
        nav ul li.has-dropdown > a.dropdown-toggle::after {
            content: " \25BE"; font-size: 0.8em; margin-left: 6px; transition: transform .2s ease;
        }
        nav ul li .dropdown-menu {
            position: absolute; top: calc(100% + 10px); left: 0;
            background: rgba(255,255,255,0.9);
            backdrop-filter: saturate(120%) blur(6px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); border: 1px solid rgba(0,0,0,0.06);
            border-radius: 7px; padding: 8px 10px; z-index: 1000;
            display: flex; opacity: 0; margin-top: 17px; visibility: hidden;
            transform: translateY(6px); pointer-events: none;
            transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
        }
        nav.dark-mode ul li .dropdown-menu {
            background: rgba(34,34,34,0.92); border: 1px solid rgba(255,255,255,0.08);
        }
        nav ul li .dropdown-menu.dropdown-row { flex-direction: column; gap: 2px; }
        nav ul li .dropdown-menu.dropdown-row > li { margin: 0; }
        nav ul li .dropdown-menu a {
            padding: 10px 14px; white-space: nowrap; border-radius: 6px;
            display: block; color: #ff0000;
        }
        nav ul li .dropdown-menu a:hover { background: rgb(255, 0, 0); color: #ffffff; }
        nav.dark-mode ul li .dropdown-menu a { color: #ffff00; }
        nav.dark-mode ul li .dropdown-menu a:hover { background: rgb(255, 255, 0); color: #000000; }
        
        @media screen and (min-width: 769px) {
            nav ul li.has-dropdown:hover > .dropdown-menu.dropdown-row {
                opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
            }
        }
        nav ul li.has-dropdown.open > a.dropdown-toggle::after { transform: rotate(180deg); }

        /* Mobile Nav */
        .mobile-only { display: none; }
        @media screen and (max-width: 820px) {
            .mobile-only { display: flex; padding: 10px 20px; margin-top: 20px; }
            .desktop-only { display: none; }
            
            .hamburger { display: block; cursor: pointer; }
            .hamburger span {
                display: block; width: 32px; height: 6px;
                background-color: #ff0000; margin: 5px 0;
                transition: all 0.3s ease; border-radius: 15px;
            }
            .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 9px); }
            .hamburger.active span:nth-child(2) { opacity: 0; }
            .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -10px); }
            .dark-mode .hamburger span { background-color: #ffff00; }
            
            .nav-menu {
                position: fixed; left: -100%; top: 70px; gap: 0;
                flex-direction: column; background-color: #fff;
                width: 100%; text-align: center; transition: 0.3s;
                box-shadow: 0 10px 27px rgba(255, 251, 0, 0.05);
                border-top-left-radius: 14px; border-top-right-radius: 14px;
                padding-bottom: 20px; height: 80vh; overflow-y: auto;
            }
            .dark-mode .nav-menu { background-color: #101010; }
            .nav-menu.active { left: 0; }
            .nav-menu > li { margin: 16px 0; }
            nav ul li a { padding: 16px 18px; border-bottom: 1px solid rgba(0,0,0,0.06); display: block;}
            .dark-mode nav ul li a { border-bottom-color: rgba(255,255,255,0.12); }
            
            nav ul li .dropdown-menu.dropdown-row {
                position: static; background: transparent; box-shadow: none;
                padding: 0 20px; max-width: 280px; margin: 0 auto;
                display: none; flex-direction: column; align-items: stretch;
                margin-top: 10px; border-radius: 5px;
            }
            nav ul li.has-dropdown.open > .dropdown-menu.dropdown-row { display: flex; opacity: 1; visibility: visible; pointer-events: auto; }
            nav ul li .dropdown-menu a {
                padding: 12px 18px; margin: 5px 0; border: 0;
                border-bottom: 1px solid rgba(0,0,0,0.06); text-align: center;
            }
            .dark-mode nav ul li .dropdown-menu a { border-bottom-color: rgba(255,255,255,0.12); }
        }
        @media screen and (min-width: 821px) {
            .desktop-only { display: flex; }
        }

        /* --- PRESIDENT PAGE SPECIFIC STYLES --- */
        .page-header {
            background-image: url('/Image/bg.jpg');
            background-color: #333;
            background-size: cover;
            background-position: center;
            height: 50vh;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            animation: fade-in 1s ease-in-out;
            position: relative;
            overflow: hidden;
            margin-top: 70px;
        }

        .blur {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px); 
            background-color: #00000023;
        }

        @supports not (backdrop-filter: blur(10px)) {
            .blur { background-color: rgba(0, 0, 0, 0.562); }
        }

        .page-header-content {
            position: relative;
            z-index: 1;
        }

        .page-header h1 {
            font-size: clamp(2.5rem, 5vw, 48px);
            margin-bottom: 20px;
            color: #ffffff;
            animation: slide-up 1s ease-in-out;
            text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
        }

        .dark-mode .page-header h1 {
            color: #ffff00;
            text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
        }

        @keyframes slide-up {
            0% { transform: translateY(50px); opacity: 0; }
            100% { transform: translateY(0); opacity: 1; }
        }

        @keyframes fade-in {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }

        .page-header p {
            font-size: clamp(1.2rem, 2.5vw, 24px);
            margin-bottom: 40px;
            color: #ffffff;
            animation: slide-up 1s ease-in-out 0.3s backwards;
            font-weight: 500;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .dark-mode .page-header p {
            color: #ffff00;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
        }

        .president-section {
            padding: 80px 0;
            background-color: #fff;
            transition: background-color 0.3s ease;
        }

        .dark-mode .president-section { background-color: #000; }

        .president-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 60px;
            align-items: start;
            max-width: 1200px;
            margin: 0 auto;
            animation: fade-in 1s ease-in-out;
        }

        .president-image { text-align: center; animation: slide-up 1s ease-in-out; }
        .president-image img {
            width: 100%; max-width: 350px; height: auto;
            border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .president-image img:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); }
        .dark-mode .president-image img { box-shadow: 0 10px 30px rgba(255, 255, 0, 0.1); }
        .dark-mode .president-image img:hover { box-shadow: 0 15px 40px rgba(255, 255, 0, 0.2); }

        .president-info h2 {
            font-size: 36px; color: #ff0000; margin-bottom: 10px;
            animation: slide-up 1s ease-in-out 0.2s backwards;
        }
        .dark-mode .president-info h2 { color: #ffff00; }

        .president-info .title {
            font-size: 20px; color: #666; margin-bottom: 30px; font-style: italic;
            animation: slide-up 1s ease-in-out 0.3s backwards;
        }
        .dark-mode .president-info .title { color: #ccc; }

        .message-section {
            background-color: #f8f8f8; padding: 80px 0; transition: background-color 0.3s ease;
        }
        .dark-mode .message-section { background-color: #111; }

        .message-content { max-width: 1000px; margin: 0 auto; text-align: center; }
        .message-content h3 {
            font-size: 32px; color: #ff0000; margin-bottom: 40px; animation: slide-up 1s ease-in-out;
        }
        .dark-mode .message-content h3 { color: #ffff00; }

        .message-text {
            font-size: 18px; line-height: 1.8; color: #444; text-align: justify;
            animation: fade-in 1s ease-in-out 0.5s backwards;
        }
        .dark-mode .message-text { color: #ddd; }
        .message-text p { margin-bottom: 25px; }

        .quote-section {
            background-color: #fff; padding: 80px 0; transition: background-color 0.3s ease;
        }
        .dark-mode .quote-section { background-color: #000; }

        .quote-content {
            max-width: 800px; margin: 0 auto; text-align: center; position: relative;
        }
        .quote-content blockquote {
            font-size: 24px; font-style: italic; color: #ff0000; line-height: 1.6;
            position: relative; padding: 40px 20px; animation: slide-up 1s ease-in-out;
        }
        .dark-mode .quote-content blockquote { color: #ffff00; }

        .quote-content blockquote::before,
        .quote-content blockquote::after {
            content: '"'; font-size: 60px; font-weight: bold; color: #ff0000; position: absolute;
        }
        .dark-mode .quote-content blockquote::before,
        .dark-mode .quote-content blockquote::after { color: #ffff00; }

        .quote-content blockquote::before { top: 0; left: 0; }
        .quote-content blockquote::after { bottom: -20px; right: 0; }
        .quote-cite { color: #666; font-size: 16px; margin-top: 20px; display: block; }
        .dark-mode .quote-cite { color: #ccc; }

        @media screen and (max-width: 768px) {
            .president-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
            .message-text { text-align: left; }
        }

        /* --- UNIFIED FOOTER --- */
        footer {
            background: linear-gradient(135deg, #111, #222); 
            color: #ccc; 
            padding: 80px 0 30px; 
            position: relative; 
            font-size: 0.95rem;
            margin-top: auto;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-col h3 {
            color: #fff;
            font-size: 1.4rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: #ff0000;
        }

        .footer-col p { line-height: 1.8; margin-bottom: 20px; }

        .social-links { display: flex; gap: 15px; }
        .social-links a {
            display: inline-flex; align-items: center; justify-content: center;
            width: 40px; height: 40px; background: rgba(255,255,255,0.1);
            color: #fff; border-radius: 50%; transition: all 0.3s; text-decoration: none;
        }
        .social-links a:hover { background: #ff0000; transform: translateY(-3px); }

        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a {
            color: #ccc; text-decoration: none; transition: all 0.3s;
            display: inline-flex; align-items: center;
        }
        .footer-links a::before {
            content: '\203A'; margin-right: 8px; color: #ff0000; font-size: 1.2rem; line-height: 1;
        }
        .footer-links a:hover { color: #ff0000; padding-left: 5px; }

        .contact-info { list-style: none; }
        .contact-info li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
        .contact-info i { color: #ff0000; font-size: 1.1rem; margin-top: 5px; }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 30px; text-align: center; color: #888;
        }

        .dark-mode footer { background: linear-gradient(135deg, #000, #111); }
        .dark-mode .footer-col h3::after, .dark-mode .social-links a:hover,
        .dark-mode .contact-info i, .dark-mode .footer-links a:hover,
        .dark-mode .footer-links a::before {
            background-color: #ffff00; color: #ffff00;
        }
        .dark-mode .footer-col h3::after, .dark-mode .social-links a:hover {
            background-color: #ffff00; color: #000;
        }
        .dark-mode .footer-links a::before, .dark-mode .contact-info i {
            color: #ffff00; background: transparent;
        }