@charset "utf-8";
/* CSS Document */

        
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Arial, sans-serif;
        }
        
        :root {
            --primary-blue: #1a3a5f;
            --secondary-blue: #2a4a75;
            --accent-gold: #fff;
            --diamond-blue: #4a90e2;
            --light-bg: #f5f5f5;
            --white: #ffffff;
            --success-green: #28a745;
            --info-blue: #17a2b8;
            --warning-orange: #ffc107;
            --danger-red: #dc3545;
            --science-color: #28a745;
            --arts-color: #e74c3c;
            --business-color: #f39c12;
            --tech-color: #3498db;
            --language-color: #9b59b6;
            --other-color: #1abc9c;
        }
        
        body {
            background-color: var(--light-bg);
            color: #333;
            line-height: 1.6;
        }
        
        /* Header Styles */
        header {
            background-color: var(--primary-blue);
            color: white;
            padding: 15px 0;
            border-bottom: 5px solid var(--accent-gold);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }
        
        .school-name {
            text-align: center;
            flex-grow: 1;
            position: relative;
        }
        
        .anniversary-badge {
            position: absolute;
            top: -15px;
            right: -10px;
            background: linear-gradient(45deg, var(--primary-blue), var(--diamond-blue));
            color: white;
            font-weight: bold;
            font-size: 0.8rem;
            padding: 4px 10px;
            border-radius: 15px;
            animation: badge-pulse 2s infinite;
            box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
            border: 1px solid var(--accent-gold);
            z-index: 1;
        }
        
        .school-name h1 {
            font-size: 2.2rem;
            letter-spacing: 1px;
            margin-bottom: 5px;
        }
        
        .school-name p {
            font-size: 1.1rem;
            letter-spacing: 0.5px;
            opacity: 0.9;
        }
        
        .logo {
            font-size: 2rem;
            color: var(--accent-silver);
            transition: transform 0.5s;
        }

        /* Logo imperial */
        .header-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px;
        }

        /* Right logo container */
        .header-container .logo:last-child {
            width: 60px;
            height: 60px;
            border-radius: 6px;
            background: rgba(212, 175, 55, 0.1);
            border: 2px solid rgba(212, 175, 55, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 15px;
        }
        
        .logo {
            width: 100px;
            height: 100px;
            overflow: hidden;
            border-radius: 15px;
            margin-right: 10px;
        }

        .logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .logo img:hover {
            transform: scale(1.1);
        }
        
        .logo:hover {
            transform: rotate(0deg);
        }
        
        @keyframes badge-pulse {
            0% { transform: scale(1); box-shadow: 0 0 10px rgba(74, 144, 226, 0.5); }
            50% { transform: scale(1.05); box-shadow: 0 0 15px rgba(74, 144, 226, 0.8); }
            100% { transform: scale(1); box-shadow: 0 0 10px rgba(74, 144, 226, 0.5); }
        }
        
        /* Navigation Styles */
        nav {
            background-color: var(--secondary-blue);
            padding: 10px 0;
            box-shadow: 0 3px 5px rgba(0,0,0,0.1);
        }
        
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            padding: 0 20px;
        }
        
        nav a {
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            margin: 0 5px;
            font-weight: 600;
            transition: all 0.3s ease;
            border-radius: 3px;
            position: relative;
            overflow: hidden;
        }
        
        nav a:hover {
            background-color: #3a5a85;
            transform: translateY(-2px);
        }
        
        nav a.active {
            background-color: var(--accent-gold);
            color: #333;
        }
        
        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background-color: var(--accent-gold);
            transition: width 0.3s ease;
        }
        
        nav a:hover::after {
            width: 100%;
        }
        
          /* Page Header */
        .page-header {
            background: linear-gradient(rgba(26, 58, 95, 0.9), rgba(26, 58, 95, 0.9)), 
                        url('images/1.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 30px 20px;
            text-align: center;
            margin-bottom: 50px;
        }
        
        .page-header h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: var(--accent-gold);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .page-header p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
        }
        
        /* Main Container */
        .departments-container {
            max-width: 1200px;
            margin: 0 auto 60px;
            padding: 0 20px;
        }
        
        /* Introduction Section */
        .introduction-section {
            background-color: var(--white);
            border-radius: 10px;
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        .introduction-section h2 {
            color: var(--primary-blue);
            font-size: 2rem;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .introduction-section p {
            color: #666;
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 15px;
        }
        
        /* Dynamic Content */
        .dynamic-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 30px;
            align-items: center;
        }
        
        .view-toggle {
            display: flex;
            gap: 10px;
        }
        
        .view-toggle button {
            padding: 10px 20px;
            background-color: #f0f0f0;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            color: #555;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .view-toggle button.active {
            background-color: var(--primary-blue);
            color: white;
        }
        
        .department-count {
            margin-left: auto;
            background-color: var(--white);
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: 600;
            color: var(--primary-blue);
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        }
        
        /* Department Cards - Grid View */
        .departments-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .departments-grid.view-list {
            grid-template-columns: 1fr;
        }
        
        .departments-grid.view-list .department-card {
            flex-direction: row;
            min-height: auto;
        }
        
        .departments-grid.view-list .department-header {
            width: 250px;
            min-width: 250px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .departments-grid.view-list .department-content {
            flex-grow: 1;
        }
        
        .department-card {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.5s ease forwards;
        }
        
        .department-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .department-header {
            padding: 25px;
            background-color: var(--primary-blue);
            color: white;
            position: relative;
        }
        
        .department-icon {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: var(--accent-gold);
        }
        
        .department-title {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }
        
        .department-subtitle {
            font-size: 0.9rem;
            opacity: 0.9;
            font-style: italic;
        }
        
        .department-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .department-description {
            color: #555;
            margin-bottom: 25px;
            line-height: 1.7;
            flex-grow: 1;
        }
        
        .staff-section {
            margin-top: 20px;
        }
        
        .staff-title {
            color: var(--primary-blue);
            font-weight: 600;
            margin-bottom: 15px;
            font-size: 1.1rem;
            border-bottom: 2px solid var(--diamond-blue);
            padding-bottom: 5px;
        }
        
        .staff-list {
            list-style-type: none;
            padding-left: 5px;
        }
        
        .staff-list li {
            margin-bottom: 10px;
            padding-left: 20px;
            position: relative;
            color: #666;
        }
        
        .staff-list li.head {
            font-weight: 600;
            color: var(--primary-blue);
        }
        
        .staff-list li.head:before {
            content: "★";
            color: var(--accent-gold);
            font-weight: bold;
            position: absolute;
            left: 0;
        }
        
        .staff-list li:not(.head):before {
            content: "•";
            color: var(--diamond-blue);
            font-weight: bold;
            position: absolute;
            left: 0;
        }
        
        .department-meta {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }
        
        .department-category {
            font-size: 0.85rem;
            font-weight: 600;
            padding: 5px 12px;
            border-radius: 20px;
            color: white;
        }
        
        .department-staff-count {
            font-size: 0.9rem;
            color: #666;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        /* Search and Filter Section */
        .search-filter-section {
            background-color: var(--white);
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        
        .search-container {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .search-input {
            flex: 1;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--primary-blue);
        }
        
        .filter-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
        }
        
        .filter-btn {
            padding: 10px 20px;
            background-color: #f0f0f0;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            color: #555;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .filter-btn:hover {
            background-color: #e0e0e0;
        }
        
        .filter-btn.active {
            background-color: var(--primary-blue);
            color: white;
        }
        
        .filter-btn[data-filter="science"]:hover,
        .filter-btn[data-filter="science"].active {
            background-color: var(--science-color);
        }
        
        .filter-btn[data-filter="arts"]:hover,
        .filter-btn[data-filter="arts"].active {
            background-color: var(--arts-color);
        }
        
        .filter-btn[data-filter="business"]:hover,
        .filter-btn[data-filter="business"].active {
            background-color: var(--business-color);
        }
        
        .filter-btn[data-filter="tech"]:hover,
        .filter-btn[data-filter="tech"].active {
            background-color: var(--tech-color);
        }
        
        .filter-btn[data-filter="language"]:hover,
        .filter-btn[data-filter="language"].active {
            background-color: var(--language-color);
        }
        
        .filter-btn[data-filter="other"]:hover,
        .filter-btn[data-filter="other"].active {
            background-color: var(--other-color);
        }
        
        /* Department Colors */
        .science-dept {
            border-left: 5px solid var(--science-color);
        }
        
        .science-dept .department-category {
            background-color: var(--science-color);
        }
        
        .arts-dept {
            border-left: 5px solid var(--arts-color);
        }
        
        .arts-dept .department-category {
            background-color: var(--arts-color);
        }
        
        .business-dept {
            border-left: 5px solid var(--business-color);
        }
        
        .business-dept .department-category {
            background-color: var(--business-color);
        }
        
        .tech-dept {
            border-left: 5px solid var(--tech-color);
        }
        
        .tech-dept .department-category {
            background-color: var(--tech-color);
        }
        
        .language-dept {
            border-left: 5px solid var(--language-color);
        }
        
        .language-dept .department-category {
            background-color: var(--language-color);
        }
        
        .other-dept {
            border-left: 5px solid var(--other-color);
        }
        
        .other-dept .department-category {
            background-color: var(--other-color);
        }
        
        /* Results Stats */
        .results-stats {
            background-color: var(--white);
            border-radius: 10px;
            padding: 30px;
            margin-top: 40px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            text-align: center;
        }
        
        .stats-container {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .stat-item {
            text-align: center;
            flex: 1;
            min-width: 150px;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--primary-blue);
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 1rem;
            color: #666;
        }
        
        /* No Results */
        .no-results {
            text-align: center;
            padding: 60px 20px;
            background-color: var(--white);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        
        .no-results i {
            font-size: 4rem;
            color: #ccc;
            margin-bottom: 20px;
        }
        
        .no-results h3 {
            color: var(--primary-blue);
            margin-bottom: 10px;
        }
        
        /* Department Modal */
        .department-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.8);
            z-index: 1000;
            overflow-y: auto;
            padding: 20px;
        }
        
        .modal-content {
            background-color: white;
            max-width: 800px;
            margin: 50px auto;
            border-radius: 10px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
            overflow: hidden;
            animation: modalFadeIn 0.3s ease;
        }
        
        .modal-header {
            background-color: var(--primary-blue);
            color: white;
            padding: 30px;
            position: relative;
        }
        
        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            transition: transform 0.3s;
        }
        
        .close-modal:hover {
            transform: scale(1.2);
        }
        
        .modal-body {
            padding: 30px;
        }
        
        /* Password Modal Styles */
        .password-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.8);
            z-index: 1001;
            overflow-y: auto;
            padding: 20px;
        }
        
        .password-modal-content {
            background-color: white;
            max-width: 400px;
            margin: 100px auto;
            border-radius: 10px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
            overflow: hidden;
            animation: modalFadeIn 0.3s ease;
        }
        
        .password-modal-header {
            background-color: var(--primary-blue);
            color: white;
            padding: 20px;
            text-align: center;
        }
        
        .password-modal-header h3 {
            margin: 0;
            font-size: 1.5rem;
        }
        
        .password-modal-body {
            padding: 30px;
        }
        
        .password-input-group {
            margin-bottom: 20px;
        }
        
        .password-input-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--primary-blue);
        }
        
        .password-input-group input {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }
        
        .password-input-group input:focus {
            outline: none;
            border-color: var(--primary-blue);
        }
        
        .password-error {
            color: var(--danger-red);
            margin-top: 10px;
            font-size: 0.9rem;
            display: none;
        }
        
        .password-modal-actions {
            display: flex;
            gap: 10px;
            margin-top: 25px;
        }
        
        .password-modal-actions button {
            flex: 1;
            padding: 12px;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }
        
        .password-submit {
            background-color: var(--primary-blue);
            color: white;
        }
        
        .password-submit:hover {
            background-color: var(--secondary-blue);
        }
        
        .password-cancel {
            background-color: #f0f0f0;
            color: #555;
        }
        
        .password-cancel:hover {
            background-color: #e0e0e0;
        }
        
        .password-success {
            text-align: center;
            padding: 20px;
        }
        
        .password-success i {
            font-size: 3rem;
            color: var(--success-green);
            margin-bottom: 20px;
        }
        
        .password-success h4 {
            color: var(--primary-blue);
            margin-bottom: 10px;
        }
        
        .drive-access-btn {
            background-color: var(--tech-color);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 15px;
        }
        
        .drive-access-btn:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        /* Back to Top Button */
        #backToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, var(--primary-blue), var(--diamond-blue));
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 4px 15px rgba(26, 58, 95, 0.4);
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
            z-index: 999;
        }
        
        #backToTop.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        #backToTop:hover {
            background: linear-gradient(45deg, var(--secondary-blue), var(--primary-blue));
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(26, 58, 95, 0.6);
        }
        
        #backToTop:active {
            transform: translateY(0);
        }
        
        #backToTop i {
            transition: transform 0.3s ease;
        }
        
        #backToTop:hover i {
            transform: translateY(-3px);
        }
        
       /* Footer */
        footer {
            background-color: var(--primary-blue);
            color: white;
            padding: 50px 0 20px;
            margin-top: 80px;
        }
        
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }
        
        .footer-column h3 {
            color: var(--accent-gold);
            margin-bottom: 20px;
            font-size: 1.3rem;
        }
		
		.footer-column h3 {
            color: #fff;
            margin-bottom: 15px;
            font-size: 1.2rem;
			text-decoration: underline;
			text-decoration-color: #fff; 
    		text-decoration-thickness: 2px;
    		text-underline-offset: 5px;
        }
        
        .footer-column p {
            margin-bottom: 10px;
            opacity: 0.9;
            line-height: 1.8;
        }
        
        .footer-column a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
            display: block;
            margin-bottom: 8px;
        }
        
        .footer-column a:hover {
            color: var(--accent-gold);
            text-decoration: underline;
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            margin-top: 40px;
            border-top: 1px solid rgba(255,255,255,0.1);
            opacity: 0.8;
            font-size: 0.9rem;
        }
        
        .contact-info {
            margin-top: 10px;
        }
        
        .contact-info i {
            margin-right: 10px;
            color: var(--accent-gold);
            width: 20px;
        }
        

        /* Buttons */
        .btn {
            display: inline-block;
            background-color: var(--primary-blue);
            color: white;
            padding: 12px 25px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .btn:hover {
            background-color: var(--secondary-blue);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .btn-gold {
            background-color: var(--accent-gold);
            color: #333;
        }
        
        .btn-gold:hover {
            background-color: #c4a027;
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .departments-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
            
            .departments-grid.view-list .department-header {
                width: 200px;
                min-width: 200px;
            }
            
            #backToTop {
                bottom: 20px;
                right: 20px;
                width: 55px;
                height: 55px;
            }
        }
        
        @media (max-width: 768px) {
            .page-header h1 {
                font-size: 2.5rem;
            }
            
            .page-header p {
                font-size: 1.1rem;
            }
            
            .header-container {
                flex-direction: column;
                text-align: center;
            }
            
            .logo {
                margin-bottom: 10px;
            }
            
            .school-name h1 {
                font-size: 1.8rem;
            }
            
            nav a {
                padding: 8px 12px;
                font-size: 0.9rem;
                margin: 2px;
            }
            
            .introduction-section h2 {
                font-size: 1.8rem;
            }
            
            .introduction-section,
            .search-filter-section {
                padding: 25px;
            }
            
            .departments-grid.view-list .department-card {
                flex-direction: column;
            }
            
            .departments-grid.view-list .department-header {
                width: 100%;
                min-width: auto;
            }
            
            .dynamic-controls {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .department-count {
                margin-left: 0;
                align-self: flex-start;
            }
            
            #backToTop {
                bottom: 15px;
                right: 15px;
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .page-header {
                padding: 60px 15px;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
            
            .filter-container {
                flex-direction: column;
            }
            
            .filter-btn {
                width: 100%;
            }
            
            .view-toggle {
                width: 100%;
            }
            
            .view-toggle button {
                flex: 1;
                justify-content: center;
            }
            
            #backToTop {
                bottom: 10px;
                right: 10px;
                width: 45px;
                height: 45px;
                font-size: 18px;
            }
        }
        
       
        
        
       
