@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;
            --eco-color: #3498db;
            --science-color: #2ecc71;
            --science1-color: #3498db;
            --science2-color: #2ecc71;
            --arts1-color: #9b59b6;
            --arts2-color: #e74c3c;
            --table-header-bg: #2c3e50;
            --table-row-even: #f8f9fa;
        }
        
        body {
            background-color: var(--light-bg);
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        /* Header Styles */
        header {
            background-color: var(--primary-blue);
            color: white;
            padding: 15px 0;
            border-bottom: 5px solid var(--accent-gold);
        }
        
        .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 {
            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 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; /* Space between title and right logo */
        }
        
        .logo {
            width: 100px; /* Define logo container size */
            height: 100px; /* Define logo container size */
            overflow: hidden; /* Prevents overflow */
            border-radius: 15px; /* Apply corner rounding to the container */
            margin-right: 10px;
        }

        .logo img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures the image covers the area */
            transition: transform 0.5s ease; /* Transition for scale effect */
        }

        .logo img:hover {
            transform: scale(1.1); /* Slightly enlarges on hover */
        }
        /* End of logo imperial */

        .logo:hover {
            transform: rotate(0deg);
        }
        
        /* 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;
        }
        
        .header-container .logo:last-child i {
            font-size: 2rem;
            color: var(--accent-gold);
        }
        
        @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%;
        }
        
        /* Main Content Styles */
        .main-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            flex-grow: 1;
        }
        
        .page-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .page-title {
            font-size: 2.8rem;
            color: var(--primary-blue);
            margin-bottom: 10px;
            font-weight: 700;
            position: relative;
            display: inline-block;
        }
        
        .page-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, var(--eco-color), var(--science-color));
            border-radius: 2px;
        }
        
        .page-subtitle {
            font-size: 1.3rem;
            color: #555;
            margin-top: 25px;
        }
        
        /* Grade Selection */
        .grade-selector {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 40px;
        }
        
        .grade-tab {
            padding: 15px 40px;
            background: white;
            border-radius: 50px;
            font-size: 1.3rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .grade-tab:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        
        .grade-tab.active {
            color: white;
            background: linear-gradient(135deg, var(--primary-blue), var(--diamond-blue));
        }
        
        .grade-tab i {
            font-size: 1.4rem;
        }
        
        /* Grade Content */
        .grade-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }
        
        .grade-content.active {
            display: block;
        }
        
        /* Stream Selection */
        .stream-selector {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }
        
        .stream-tab {
            padding: 15px 30px;
            background: white;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 180px;
            justify-content: center;
        }
        
        .stream-tab:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        
        .stream-tab.active {
            color: midnightblue;
        }
        
        /* Grade 10 Stream Colors */
        .grade-10 .stream-tab.eco.active {
            background: linear-gradient(135deg, var(--eco-color), #2980b9);
        }
        
        .grade-10 .stream-tab.science.active {
            background: linear-gradient(135deg, var(--science-color), #27ae60);
        }
        
        /* Grade 12 Stream Colors */
        .grade-12 .stream-tab.science1.active {
            background: linear-gradient(135deg, var(--science1-color), #2980b9);
        }
        
        .grade-12 .stream-tab.science2.active {
            background: linear-gradient(135deg, var(--science2-color), #27ae60);
        }
        
        .grade-12 .stream-tab.arts1.active {
            background: linear-gradient(135deg, var(--arts1-color), #8e44ad);
        }
        
        .grade-12 .stream-tab.arts2.active {
            background: linear-gradient(135deg, var(--arts2-color), #c0392b);
        }
        
        /* Stream Content */
        .stream-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }
        
        .stream-content.active {
            display: block;
        }
        
        /* Stream Header */
        .stream-header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px;
            border-radius: 15px;
            color: blue;
            position: relative;
            overflow: hidden;
        }
        
        /* Grade 10 Header Colors */
        .grade-10 .stream-header.eco {
            background: linear-gradient(135deg, var(--eco-color), #2980b9);
        }
        
        .grade-10 .stream-header.science {
            background: linear-gradient(135deg, var(--science-color), #27ae60);
        }
        
        /* Grade 12 Header Colors */
        .grade-12 .stream-header.science1 {
            background: linear-gradient(135deg, var(--science1-color), #2980b9);
        }
        
        .grade-12 .stream-header.science2 {
            background: linear-gradient(135deg, var(--science2-color), #27ae60);
        }
        
        .grade-12 .stream-header.arts1 {
            background: linear-gradient(135deg, var(--arts1-color), #8e44ad);
        }
        
        .grade-12 .stream-header.arts2 {
            background: linear-gradient(135deg, var(--arts2-color), #c0392b);
        }
        
       
        .stream-title {
            font-size: 2.5rem;
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
        }
        
        .stream-description {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        
        /* Stream Section */
        .stream-section {
            background: white;
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }
        
        .section-title {
            font-size: 2rem;
            color: var(--primary-blue);
            margin-bottom: 30px;
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--diamond-blue);
            border-radius: 2px;
        }
        
        /* Combination Container for Grade 10 */
        .combination-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .combination-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            border: 1px solid #e1e5eb;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .combination-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        }
        
        .combination-header {
            background: var(--diamond-blue);
            color: white;
            padding: 20px;
            text-align: center;
        }
        
        .combination-name {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .combination-focus {
            font-size: 1rem;
            opacity: 0.9;
        }
        
        .combination-subjects {
            padding: 25px;
        }
        
        .subject-row {
            display: flex;
            align-items: center;
            padding: 1px 5;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .subject-row:last-child {
            border-bottom: none;
        }
        
        .subject-number {
            width: 40px;
            height: 40px;
            background: var(--light-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: var(--primary-blue);
            margin-right: 20px;
            flex-shrink: 0;
        }
        
        .subject-name {
            flex-grow: 1;
            font-size: 1.1rem;
        }
        
        .or-separator {
            color: #666;
            font-size: 0.9rem;
            margin: 0 8px;
        }
        
        /* Table Styles for Grade 12 */
        .table-container {
            overflow-x: auto;
            margin: 30px 0;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .subject-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 1.1rem;
            min-width: 800px;
        }
        
        .subject-table th {
            background-color: var(--table-header-bg);
            color: white;
            padding: 18px 15px;
            text-align: center;
            font-weight: 600;
            border: 1px solid #34495e;
        }
        
        .subject-table th:first-child {
            border-top-left-radius: 8px;
        }
        
        .subject-table th:last-child {
            border-top-right-radius: 8px;
        }
        
        .subject-table td {
            padding: 16px 15px;
            text-align: center;
            border: 1px solid #ddd;
            vertical-align: middle;
        }
        
        .subject-table tr:nth-child(even) {
            background-color: var(--table-row-even);
        }
        
        .subject-table tr:hover {
            background-color: #e3f2fd;
        }
        
        .subject-table .gp-cell {
            font-weight: bold;
            color: var(--primary-blue);
            background-color: #e8f4fd;
            border-right: 2px solid var(--diamond-blue);
        }
        
        .subject-table .subject-cell {
            padding: 12px 10px;
            font-weight: 500;
        }
        
        /* Legend for Grade 12 */
        .legend {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1rem;
            color: #555;
        }
        
        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
        }
        
        .legend-required {
            background-color: #e8f4fd;
            border: 2px solid var(--diamond-blue);
        }
        
        .legend-optional {
            background-color: rgba(46, 204, 113, 0.2);
            border: 2px solid var(--science-color);
        }
        
        .legend-gp {
            background-color: #e8f4fd;
            border: 2px solid var(--diamond-blue);
        }
        
        .legend-subsidiary {
            background-color: rgba(243, 156, 18, 0.2);
            border: 2px solid #f39c12;
        }
        
        .legend-principal {
            background-color: rgba(22, 160, 133, 0.2);
            border: 2px solid #16a085;
        }
        
        /* Subject Summary */
        .subject-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .summary-card {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 10px;
            border-top: 5px solid var(--diamond-blue);
        }
        
        .summary-card h4 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-size: 1.3rem;
        }
        
        .summary-card p {
            margin-bottom: 15px;
            color: #555;
        }
        
        .summary-card ul {
            list-style: none;
            padding-left: 0;
        }
        
        .summary-card li {
            margin-bottom: 8px;
            padding-left: 20px;
            position: relative;
        }
        
        .summary-card li::before {
            content: "✓";
            color: var(--science-color);
            font-weight: bold;
            position: absolute;
            left: 0;
        }
        
        /* 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;
        }
        
        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Back to Top Button Styles */
        #backToTopBtn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
            display: none;
            background-color: var(--primary-blue);
            color: white;
            border: none;
            outline: none;
            cursor: pointer;
            padding: 15px;
            border-radius: 50%;
            font-size: 1.5rem;
            width: 60px;
            height: 60px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        #backToTopBtn:hover {
            background-color: var(--diamond-blue);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }
        
        #backToTopBtn.show {
            display: flex;
        }
        
        #backToTopBtn i {
            font-size: 1.5rem;
        }
        
        /* Add fade-in animation for the button */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        #backToTopBtn {
            animation: fadeInUp 0.3s ease;
        }
        
        /* Responsive adjustments for the button */
        @media (max-width: 768px) {
            #backToTopBtn {
                bottom: 20px;
                right: 20px;
                width: 50px;
                height: 50px;
                padding: 12px;
                font-size: 1.3rem;
            }
        }
        
        @media (max-width: 480px) {
            #backToTopBtn {
                bottom: 15px;
                right: 15px;
                width: 45px;
                height: 45px;
                padding: 10px;
                font-size: 1.2rem;
            }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                text-align: center;
            }
            
            .school-name h1 {
                font-size: 1.8rem;
            }
            
            .page-title {
                font-size: 2.2rem;
            }
            
            nav a {
                padding: 8px 12px;
                font-size: 0.9rem;
                margin: 2px;
            }
            
            .grade-selector {
                flex-direction: column;
                align-items: center;
            }
            
            .grade-tab {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }
            
            .stream-selector {
                gap: 10px;
            }
            
            .stream-tab {
                padding: 12px 20px;
                font-size: 1.1rem;
                min-width: 150px;
            }
            
            .stream-section {
                padding: 25px;
            }
            
            .combination-container {
                grid-template-columns: 1fr;
            }
            
            .subject-summary {
                grid-template-columns: 1fr;
            }
            
            .subject-table {
                font-size: 1rem;
            }
            
            .subject-table th,
            .subject-table td {
                padding: 12px 10px;
            }
        }
        
        @media (max-width: 480px) {
            .page-title {
                font-size: 1.8rem;
            }
            
            .stream-title {
                font-size: 1.8rem;
            }
            
            .stream-tab {
                min-width: 140px;
                padding: 10px 15px;
                font-size: 1rem;
            }
            
            .section-title {
                font-size: 1.6rem;
            }
            
            .legend {
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }
            
            .subject-row {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .subject-number {
                margin-bottom: 10px;
            }
        }

