body, html {
      margin: 0;
      padding: 0;
      height: 100%;
    }
	.school-logo {
	  width: 50px;              /* Adjust size as needed */
	  height: 50px;
	  border-radius: 50%;       /* Makes it a perfect circle */
	  object-fit: cover;        /* Crops and fits nicely inside the circle */
	  background-color: transparent; /* Ensures no white background behind */
	  border: 2px solid #ffffff; /* Optional: white border for contrast on dark nav */
	}
	
	.nav-link:hover {
	  color: #74b9ff !important; /* light blue accent */
	}


	.stat-card {
	  transition: transform 0.3s ease;
	}

	.stat-card:hover {
	  transform: translateY(-4px);
	}
	
	.text-shadow { text-shadow: 2px 2px 8px rgba(0,0,0,0.6); }
	.text-white-75 { color: rgba(255,255,255,0.85); }
	.stat-card:hover {
	background-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-5px);
	transition: 0.3s ease-in-out;
	}


    /* Top small bar */
    .top-bar {
      background-color: #0a3d62;  /* dark blue */
      color: white;
      font-size: 0.9rem;
      padding: 5px 20px;
    }
    .top-bar a {
      color: #f1f2f6;
      margin-right: 15px;
      text-decoration: none;
    }
    .top-bar a:hover {
      color: #d1d8e0;
    }

    /* Main navbar overrides */
    .navbar-brand, .nav-link {
      color: white !important;
    }
    .nav-link:hover {
      color: #74b9ff !important;
    }
    .navbar {
      z-index: 1000;
    }

    /* Hero / banner section */
    .hero {
      position: relative;
      height: 90vh;
      background: url('/images/insideSchool.jpg') center/cover no-repeat;
    }
    .hero::after {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 50, 150, 0.6);  /* semi-blue overlay */
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: white;
      text-align: center;
      padding: 0 20px;
    }
    .hero-content h1 {
      font-size: 3.5rem;
      font-weight: 700;
    }
    .hero-content p {
      font-size: 1.25rem;
      max-width: 700px;
      margin-top: 15px;
    }
    .hero-content .btn-primary {
      background-color: #0984e3;
      border-color: #0984e3;
      padding: 0.75rem 1.5rem;
      font-size: 1.1rem;
    }

    /* Section headings */
    .section-title {
      margin-top: 60px;
      margin-bottom: 30px;
      text-align: center;
      font-weight: 600;
      color: #2d3436;
    }

    /* News / cards */
    .news-card img {
      object-fit: cover;
      height: 200px;
    }
	
	/* Tabs */
	/* Fix tab text visibility */
	.nav-tabs .nav-link {
	  border: none;
	  margin: 0 5px;
	  border-radius: 50px;
	  transition: all 0.3s ease;
	  color: #ffffff !important; /* Default white text */
	  background-color: transparent !important;
	}

	/* Active tab – white pill with blue text */
	.nav-tabs .nav-link.active {
	  background-color: #ffffff !important;
	  color: #0d47a1 !important;
	  font-weight: 600;
	  box-shadow: 0 0 10px rgba(0,0,0,0.2);
	}

	/* Hover state */
	.nav-tabs .nav-link:hover {
	  background-color: rgba(255,255,255,0.25) !important;
	  color: #ffffff !important;
	}

	/* Force reset when switching tabs */
	.nav-tabs .nav-link:not(.active) {
	  color: #ffffff !important;
	  background-color: transparent !important;
	}

	
	/* Icon Circle Styling */
	.icon-circle {
	  background-color: #fff; /* solid white background */
	  width: 64px;
	  height: 64px;
	  border-radius: 50%;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.2);
	  transition: 0.3s ease;
	}

	.icon-circle i {
	  font-size: 1.75rem;
	  transition: 0.3s ease;
	}

	.hover-card:hover .icon-circle {
	  background: #fff;
	  transform: scale(1.05);
	}

	
	.quick-access-section {
	  background-color: #ffffff; /* White background */
	  color: #000; /* Default text color for section */
	}

	.quick-access-section .card {
	  background-color: #f8f9fa; /* Light gray card */
	  color: #000;
	  transition: transform 0.3s ease, box-shadow 0.3s ease;
	}

	.quick-access-section .card:hover {
	  background-color: #ffffff; /* White on hover */
	  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	  transform: translateY(-5px);
	}

	.quick-access-section .card-title {
	  color: #004aad; /* Keep blue heading for brand consistency */
	}

	.quick-access-section .card-text {
	  color: #555; /* Medium gray for body text */
	}

	.quick-access-section a {
	  color: #004aad; /* Blue link */
	  text-decoration: none;
	}

	.quick-access-section a:hover {
	  text-decoration: underline;
	}

	.quick-access-section h2 {
	  color: #004aad; /* Blue section title */
	}


	.about-section {
	  background-color: #004aad; /* Deep blue tone */
	  color: white;
	}

	.about-section .card {
	  transition: transform 0.3s ease, background-color 0.3s ease;
	}

	.about-section .card:hover {
	  background-color: rgba(255, 255, 255, 0.15);
	  transform: translateY(-5px);
	}

	.about-section .hover-scale:hover {
	  transform: scale(1.05);
	}

	
    /* Footer */
    footer {
      background-color: #2d3436;
      color: #dfe6e9;
      padding: 40px 20px;
    }
    footer a {
      color: #dfe6e9;
      text-decoration: none;
    }
    footer a:hover {
      color: #74b9ff;
    }
    .footer-social img {
      width: 30px;
      margin-right: 10px;
    }

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}