
/* 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;
        }
        
        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; /* 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);
        }
        
        @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: white;
            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 Content */
        .about-container {
            max-width: 1200px;
            margin: 0 auto 60px;
            padding: 0 20px;
        }
        
        .about-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            margin-bottom: 60px;
            align-items: center;
        }
        
        .about-section:nth-child(even) .about-content {
            order: 2;
        }
        
        .about-section:nth-child(even) .about-image {
            order: 1;
        }
        
        .about-content h2 {
            color: var(--primary-blue);
            font-size: 2.2rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .about-content h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background-color: var(--accent-gold);
        }
        
        .about-content p {
            margin-bottom: 20px;
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
        }
        
        .about-image {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            height: 400px;
        }
        
        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .about-image:hover img {
            transform: scale(1.05);
        }
        
        /* Mission & Vision */
        .mission-vision {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            margin: 60px 0;
        }
        
        .mission-card, .vision-card {
            background-color: var(--white);
            padding: 40px 30px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            text-align: center;
            border-top: 5px solid var(--accent-gold);
            transition: transform 0.3s;
        }
        
        .mission-card:hover, .vision-card:hover {
            transform: translateY(-10px);
        }
        
        .mission-card i, .vision-card i {
            font-size: 3rem;
            color: var(--accent-gold);
            margin-bottom: 20px;
        }
        
        .mission-card h3, .vision-card h3 {
            color: var(--primary-blue);
            font-size: 1.8rem;
            margin-bottom: 15px;
        }
        
        /* Values Section */
        .values-section {
            margin: 60px 0;
        }
        
        .values-section h2 {
            text-align: center;
            color: var(--primary-blue);
            font-size: 2.5rem;
            margin-bottom: 40px;
        }
        
        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .value-card {
            background-color: var(--white);
            padding: 30px 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            text-align: center;
            transition: all 0.3s;
            border-left: 4px solid var(--accent-gold);
        }
        
        .value-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        .value-card i {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 15px;
        }
        
        .value-card h4 {
            color: var(--primary-blue);
            font-size: 1.3rem;
            margin-bottom: 10px;
        }
        
        /* History Timeline */
        .history-section {
            margin: 60px 0;
            padding: 40px 0;
            background-color: rgba(26, 58, 95, 0.05);
            border-radius: 10px;
        }
        
        .history-section h2 {
            text-align: center;
            color: var(--primary-blue);
            font-size: 2.5rem;
            margin-bottom: 50px;
        }
        
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 4px;
            background-color: var(--accent-gold);
            transform: translateX(-50%);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 50px;
            width: 50%;
            padding: 0 40px;
        }
        
        .timeline-item:nth-child(odd) {
            left: 0;
        }
        
        .timeline-item:nth-child(even) {
            left: 50%;
        }
        
        .timeline-content {
            background-color: var(--white);
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            position: relative;
        }
        
        .timeline-content::before {
            content: '';
            position: absolute;
            top: 20px;
            width: 20px;
            height: 20px;
            background-color: #1A1B50;
            border-radius: 50%;
        }
        
        .timeline-item:nth-child(odd) .timeline-content::before {
            right: -50px;
        }
        
        .timeline-item:nth-child(even) .timeline-content::before {
            left: -50px;
        }
        
        .timeline-year {
            color: #1A1B50;
            font-weight: bold;
            font-size: 1.3rem;
            margin-bottom: 10px;
        }
        
        /* Leadership Team */
        .leadership-section {
            margin: 60px 0;
        }
        
        .leadership-section h2 {
            text-align: center;
            color: var(--primary-blue);
            font-size: 2.5rem;
            margin-bottom: 50px;
        }
        
        .leadership-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        
        .leader-card {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: transform 0.3s;
        }
        
        .leader-card:hover {
            transform: translateY(-10px);
        }
        
        .leader-image {
            height: 250px;
            overflow: hidden;
        }
        
        .leader-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .leader-card:hover .leader-image img {
            transform: scale(1.05);
        }
        
        .leader-info {
            padding: 25px;
            text-align: center;
        }
        
        .leader-info h4 {
            color: var(--primary-blue);
            font-size: 1.4rem;
            margin-bottom: 5px;
        }
        
        .leader-info p {
            color: var(--accent-gold);
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: var(--primary-blue);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 99;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: 2px solid var(--accent-gold);
            opacity: 0;
            visibility: hidden;
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: var(--secondary-blue);
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }
        
        .back-to-top:active {
            transform: translateY(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: #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;
        }
        
        .center-btn {
            text-align: center;
            margin-top: 40px;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .about-section {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .about-section:nth-child(even) .about-content,
            .about-section:nth-child(even) .about-image {
                order: initial;
            }
            
            .timeline::before {
                left: 30px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 20px;
                left: 0 !important;
            }
            
            .timeline-item:nth-child(odd) .timeline-content::before,
            .timeline-item:nth-child(even) .timeline-content::before {
                left: -40px;
            }
        }
        
        @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;
                font-size: 2.5rem;
            }
            
            .school-name h1 {
                font-size: 1.8rem;
            }
            
            nav a {
                padding: 8px 12px;
                font-size: 0.9rem;
                margin: 2px;
            }
            
            .about-content h2 {
                font-size: 1.8rem;
            }
            
            .mission-vision, .values-grid, .leadership-grid {
                grid-template-columns: 1fr;
            }
            
            .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
            }
        }
        
        @media (max-width: 480px) {
            .page-header {
                padding: 60px 15px;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
            
            .about-content h2, .values-section h2, 
            .history-section h2, .leadership-section h2 {
                font-size: 1.6rem;
            }
            
            .back-to-top {
                bottom: 15px;
                right: 15px;
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
        }
    </style>