    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #0B1E3A;      /* Deep navy blue – updated */
            --secondary: #d4af37;
            --light: #f5f5f5;
            --dark: #333;
            --gray: #777;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        body {
            color: var(--dark);
            line-height: 1.6;
            background-color: #f9f9f9;
        }

        /* Header & Navigation */
        header {
            background-color: var(--primary);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo img {
            height: 60px;
            width: auto;
            border-radius: 5px;
        }

        .logo h1 {
            font-size: 1.8rem;
            font-weight: 700;
            color: white;
        }

        .logo p {
            font-size: 0.9rem;
            color: #ccc;
        }

        .portal-links {
            display: flex;
            gap: 20px;
        }

        .portal-btn {
            background-color: var(--secondary);
            color: var(--primary);
            padding: 8px 15px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
        }

        .portal-btn:hover {
            background-color: #e6c02e;
            transform: translateY(-2px);
        }

        nav ul {
            display: flex;
            list-style: none;
            justify-content: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1rem;
        }

        nav li {
            margin: 0 1.5rem;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: color 0.3s;
            position: relative;
        }

        nav a:hover {
            color: var(--secondary);
        }

        nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--secondary);
            bottom: -5px;
            left: 0;
            transition: width 0.3s;
        }

        nav a:hover::after {
            width: 100%;
        }

        /* Active tab styling */
.active-tab {
    color: var(--secondary);
    font-weight: 700;
}

.active-tab::after {
    width: 100%;
}

        /* Hero Section – using local hero image from images/hero/ */
        .hero {
           /* background:url('images/hero/hero.jpg');*/
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 6rem 0;
        }

        .hero h2 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .hero p {
            font-size: 1.3rem;
            max-width: 700px;
            margin: 0 auto 2rem;
        }

        .cta-button {
            display: inline-block;
            background-color: var(--secondary);
            color: var(--primary);
            padding: 15px 30px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.2rem;
            transition: all 0.3s;
            margin-top: 1rem;
        }

        .cta-button:hover {
            background-color: #e6c02e;
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }

        /* Features Section */
        .features {
            padding: 4rem 0;
            background-color: white;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            color: var(--primary);
            font-size: 2.5rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: var(--secondary);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .feature-card {
            background-color: var(--light);
            padding: 2rem;
            border-radius: 8px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: transform 0.3s;
        }

        .feature-card:hover {
            transform: translateY(-10px);
        }

        .feature-card i {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .feature-card h3 {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        /* Principal Message – using local principal.png from images/hero/ */
        .principal-message {
            padding: 4rem 0;
            background-color: #f0f7f2;
        }

        .message-content {
            display: flex;
            align-items: center;
            gap: 3rem;
        }

        .principal-photo {
            flex: 1;
            max-width: 300px;
        }

        .principal-photo img {
            width: 100%;
            border-radius: 8px;
            box-shadow: var(--shadow);
            border: 4px solid var(--primary);
        }

        .message-text {
            flex: 2;
        }

        .message-text h3 {
            color: var(--primary);
            margin-bottom: 1.5rem;
            font-size: 2rem;
        }

        .message-text p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            color: var(--gray);
        }

        .read-more {
            display: inline-block;
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            border-bottom: 2px solid var(--secondary);
            padding-bottom: 3px;
        }

        /* Events Section – 100% database driven, no placeholders */
        .events {
            padding: 4rem 0;
            background-color: white;
        }

        .events-list {
            max-width: 800px;
            margin: 0 auto;
        }

        .event-item {
            display: flex;
            align-items: center;
            padding: 1.5rem;
            margin-bottom: 1rem;
            background-color: var(--light);
            border-radius: 8px;
            border-left: 5px solid var(--primary);
            transition: all 0.3s;
        }

        .event-item:hover {
            background-color: #e8f0ea;
            transform: translateX(5px);
        }

        .event-date {
            background-color: var(--primary);
            color: white;
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
            min-width: 100px;
            margin-right: 1.5rem;
        }

        .event-date .month {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .event-date .day {
            font-size: 2rem;
            font-weight: 700;
        }

        .event-date .year {
            font-size: 1rem;
        }

        .event-details h4 {
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .event-details p {
            margin-bottom: 0.3rem;
        }

        .no-events-message {
            text-align: center;
            padding: 3rem 2rem;
            background-color: var(--light);
            border-radius: 8px;
            color: var(--gray);
            font-size: 1.2rem;
            border: 2px dashed #ccc;
        }

        .calendar-link {
            display: inline-block;
            margin-top: 2rem;
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            border: 2px solid var(--primary);
            padding: 10px 20px;
            border-radius: 5px;
            transition: all 0.3s;
        }

        .calendar-link:hover {
            background-color: var(--primary);
            color: white;
        }

        /* Quick Links */
        .quick-links {
            padding: 4rem 0;
            background-color: var(--primary);
            color: white;
        }

        .quick-links .section-title {
            color: white;
        }

        .links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .link-card {
            background-color: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 8px;
            text-align: center;
            transition: all 0.3s;
        }

        .link-card:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
        }

        .link-card i {
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 1rem;
        }

        .link-card h3 {
            margin-bottom: 1rem;
        }

        .link-btn {
            display: inline-block;
            background-color: var(--secondary);
            color: var(--primary);
            padding: 8px 15px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 1rem;
            transition: all 0.3s;
        }

        .link-btn:hover {
            background-color: #e6c02e;
        }

        /* Footer */
        footer {
            background-color: #1a1a1a;
            color: #ccc;
            padding: 3rem 0 1.5rem;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .footer-section {
            flex: 1;
            min-width: 250px;
            margin-bottom: 1.5rem;
        }

        .footer-section h3 {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }

        .footer-section p {
            margin-bottom: 1rem;
        }

        .footer-section a {
            color: #ccc;
            text-decoration: none;
        }

        .footer-section a:hover {
            color: var(--secondary);
        }

        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #444;
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .top-bar {
                flex-direction: column;
                gap: 1rem;
            }
            
            nav ul {
                flex-wrap: wrap;
            }
            
            nav li {
                margin: 0.5rem 1rem;
            }
            
            .hero h2 {
                font-size: 2.5rem;
            }
            
            .message-content {
                flex-direction: column;
            }
            
            .principal-photo {
                max-width: 100%;
            }
            
            .footer-content {
                flex-direction: column;
            }
          }
/* Toggle menu button */
.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  display: block; /* always visible */
}
/* Toggle menu container */
.toggle-menu {
  position: fixed;   /* fixed prevents layout expansion */
  right: -260px;     /* move fully off screen */
  top: 70px;
  width: 250px;
  background: var(--primary);
  box-shadow: var(--shadow);
  padding: 1rem;
  transition: right 0.3s ease;
}

.toggle-menu.show {
  right: 0;
}
.toggle-menu ul {
  list-style: none;
  padding: 0;
}

.toggle-menu li {
  margin: 1rem 0;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toggle-menu.show li {
  opacity: 1;
  transform: translateX(0);
}

.toggle-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s;
}

.toggle-menu a:hover {
  color: var(--secondary);
}

.toggle-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary);
  bottom: -5px;
  left: 0;
  transition: width 0.3s;
}

.toggle-menu a:hover::after {
  width: 100%;
}

/* Hide mobile-only links on desktop */
.mobile-only { display: none; }

/* Mobile view */
@media (max-width: 768px) {
  nav { display: none; }
  .mobile-only { display: block; }
}
   /*academics*/
   .subject {
  width: 100%;
  height: 180px;
  object-fit: cover;   /* keeps aspect ratio while filling space */
  border-radius: 6px;
  margin-bottom: 10px;
}

.subject {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  display: none; /* hide by default */
}

.subject.active {
  display: block; /* show only active image */
}

.subject-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.subject-card ul {
  padding-left: 20px;
  text-align: left;
}


/*countdown*/
.countdown {
    font-weight: bold;
    color: var(--primary);
    margin-top: 0.5rem;
}


html, body {
  overflow-x: hidden;
}



 

