/**
* Template Name: Mentor
* Template URL: https://bootstrapmade.com/mentor-free-education-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com8:31 AM 4/27/2026
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}
/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #330033; /* Background color for the entire website, including individual sections */
  --default-color: #ffcc33; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffcc33; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ffcc33; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #330033; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #330033; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #272828;  /* The default color of the main navmenu links */
  --nav-hover-color: #5fcf80; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #330033; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #330033; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #272828; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #5fcf80; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #330033;
  --surface-color: #330033;
}

.dark-background {
  --background-color: #060606;
  --default-color: #330033;
  --heading-color: #330033;
  --surface-color: #252525;
  --contrast-color: #330033;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-weight: 700;
  font-size: 30px;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  margin-bottom: 0;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 50px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--surface-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px 2px 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --default-color: var(--contrast-color);
  --background-color: var(--accent-color);
  --heading-color: var(--contrast-color);
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color) 90%, black 5%);
  padding: 20px 0;
}

.page-title nav a {
  color: var(--default-color);
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 900px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--nav-font);
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 60%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .btn-get-started {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: 0.4s;
  margin-top: 30px;
  border: 2px solid var(--default-color);
  color: var(--default-color);
}

.hero .btn-get-started:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 10px 24px 12px 24px;
  border-radius: 50px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

/*--------------------------------------------------------------
# Counts Section
--------------------------------------------------------------*/
.counts {
  padding: 25px 0;
}

.counts .stats-item {
  padding: 30px;
  width: 100%;
}

.counts .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--accent-color);
  font-weight: 700;
}

.counts .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
}
/* Counter Section එක වටා බෝඩරය */
#main > .row {
    border: 31px solid #00000; /* බෝඩරයේ ඝනකම සහ පාට (කළු) */
    border-radius: 10px;    /* කොන් ටිකක් වටකුරු කිරීමට (Optional) */
    margin-left: 0;        /* Page එකේ පැතිවලට වැදීම වැළැක්වීමට */
    margin-right: 0;
    overflow: hidden;      /* Border එක ඇතුළට contents තබා ගැනීමට */
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
}

.why-us .why-box h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .why-box p {
  margin-bottom: 30px;
}

.why-us .why-box .more-btn {
  display: inline-block;
  background: color-mix(in srgb, var(--contrast-color), transparent 85%);
  padding: 8px 40px 10px 40px;
  color: var(--contrast-color);
  transition: all ease-in-out 0.4s;
  border-radius: 50px;
}

.why-us .why-box .more-btn i {
  font-size: 14px;
}

.why-us .why-box .more-btn:hover {
  color: var(--accent-color);
  background: var(--surface-color);
}

.why-us .icon-box {
  background-color: var(--surface-color);
  text-align: center;
  padding: 40px 30px;
  width: 100%;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.why-us .icon-box i {
  color: var(--accent-color);
  font-size: 32px;
  margin-bottom: 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  transition: 0.3s;
}

.why-us .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.why-us .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .icon-box:hover i {
  color: var(--contrast-color);
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
  padding: 10px 0;
}

.features .features-item {
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
}

.features .features-item i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 0;
}

.features .features-item h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
}

.features .features-item h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.features .features-item:hover {
  border-color: var(--accent-color);
}

.features .features-item:hover h3 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Courses Section
--------------------------------------------------------------*/
.courses .course-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 5px;
}

.courses .course-content {
  padding: 15px;
}

.courses .course-content h3 {
  font-weight: 700;
  font-size: 20px;
}

.courses .course-content h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.courses .course-content h3 a:hover {
  color: var(--accent-color);
}

.courses .course-content .category {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0;
  border-radius: 5px;
}

.courses .course-content .price {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.courses .course-content .description {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.courses .trainer {
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.courses .trainer .trainer-profile img {
  max-width: 50px;
  border-radius: 50px;
}

.courses .trainer .trainer-profile .trainer-link {
  padding-left: 10px;
  font-weight: 600;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.courses .trainer .trainer-profile .trainer-link:hover {
  color: var(--accent-color);
}

.courses .trainer .trainer-rank {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.courses .trainer .trainer-rank .user-icon {
  font-size: 22px;
}

/*--------------------------------------------------------------
# Trainers Index Section
--------------------------------------------------------------*/
.trainers-index .member {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-align: center;
  margin-bottom: 20px;
}

.trainers-index .member img {
  margin: -1px -1px 30px -1px;
}

.trainers-index .member .member-content {
  padding: 0 20px 30px 20px;
}

.trainers-index .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.trainers-index .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.trainers-index .member p {
  padding-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.trainers-index .member .social {
  margin-top: 15px;
}

.trainers-index .member .social a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  transition: 0.3s;
}

.trainers-index .member .social a:hover {
  color: var(--accent-color);
}

.trainers-index .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about-us .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about-us .content ul {
  list-style: none;
  padding: 0;
}

.about-us .content ul li {
  padding-bottom: 10px;
}

.about-us .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about-us .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  position: relative;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid var(--background-color);
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Courses Course Details Section
--------------------------------------------------------------*/
.courses-course-details {
  padding-bottom: 20px;
}

.courses-course-details h3 {
  font-size: 24px;
  margin: 30px 0 15px 0;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.courses-course-details h3:before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  bottom: 0;
  left: 0;
}

.courses-course-details h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

.courses-course-details .course-info {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 10px 15px;
  margin-bottom: 15px;
}

.courses-course-details .course-info h5 {
  font-weight: 400;
  font-size: 16px;
  margin: 0;
  font-family: var(--nav-font);
}

.courses-course-details .course-info p {
  margin: 0;
  font-weight: 600;
}

.courses-course-details .course-info a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  padding-top: 30;
}

.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  background-color: var(--background-color);
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
}

.tabs .nav-link.active {
  background-color: var(--surface-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.tabs .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .tabs .nav-link {
    border: 0;
    padding: 15px;
  }

  .tabs .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Trainers Section
--------------------------------------------------------------*/
.trainers .member {
  position: relative;
}

.trainers .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .trainers .member .member-img {
    margin: 0 60px;
  }
}

.trainers .member .member-img img {
  position: relative;
  z-index: 1;
}

.trainers .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.trainers .member .member-img .social a {
  transition: 0.3s;
  color: var(--contrast-color);
  font-size: 20px;
  margin: 0 8px;
}

.trainers .member .member-img .social a:hover {
  color: var(--accent-color);
}

.trainers .member .member-info {
  margin-top: 30px;
}

.trainers .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
}

.trainers .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.trainers .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.trainers .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .card {
  background-color: var(--background-color);
  border: 0;
  padding: 0 30px;
  margin-bottom: 0px;
  position: relative;
}

.events .card-img {
  width: calc(100% + 60px);
  margin-left:0px;
  overflow: hidden;
  z-index: 9;
  border-radius: 0;
}

.events .card-img img {
  max-width: 150%;
  transition: all 0.3s ease-in-out;
}


.events .card-body {
  font-size: 14px !important;
  margin-bottom: 15px;
}

.events .card-title {
  font-size: 20px !important; 
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.events .card-title a {
  color: var(--default-color);
  transition: 0.3s;
}

.events .card-text {
 font-size: 15px !important; 
  line-height: 1.5;
  color: #666;
}

.events .card:hover img {
  transform: scale(1);
}

.events .card:hover .card-body {
  border-color: var(--accent-color);
}

.events .card:hover .card-body .card-title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding-top: 8px;
  padding-bottom: 40px;
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px 12px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

.upcoming-events-section {
  padding: 30px 0;
  display: flex;
  justify-content: center;
}

.event-card-box {
  background-color: #ffcc33; 
  color: white;
  padding: 30px;
  width: 150%;
  max-width: 500px; /* කාඩ් එකේ පළල */
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.event-icon i {
  font-size: 50px;
  color: white;
}

.event-content h3 {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
}

.event-content p {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.read-more-btn {
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.read-more-btn:hover {
  border-bottom: 2px solid white;
}

.event-card-box {
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer; /* මවුස් එක ගෙනියන විට අතක සලකුණ පෙන්වයි */
}

/* කාඩ් එක උඩට මවුස් එක ගෙනියන විට සිදුවන වෙනස */
.event-card-box:hover {
  transform: translateY(-5px); /* කාඩ් එක පොඩ්ඩක් ඉහළට එසවේ */
  background-color: #ffcc33; /* පාට පොඩ්ඩක් තද වේ */
}

/* පින්තූරයේ ඇති Read More එකට සමාන වීමට */
.read-more-btn {
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid white;
}
.pass-rates-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.rate-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  height: 100%;
  border: 1px solid #eee;
  /* මෙන්න මේ පේළියෙන් තමයි උඩින් ඉර වැටෙන්නේ */
  border-top: 5px solid #ffcc33; 
}

.rate-card:hover {
  transform: translateY(-10px);
}

.rate-icon i {
  font-size: 50px;
  color: #ffcc33;
  margin-bottom: 20px;
  display: inline-block;
}

.rate-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.percentage-box {
  background: #f0e6ff;
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.percentage {
  font-size: 28px;
  font-weight: 800;
  color: #ffcc33;
}

.achievement-section {
  padding: 60px 0;
  background-color: #fcfaff;
}

.achievement-card {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(139, 0, 255, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-10px);
}

.top-border {
  height: 8px;
  background: linear-gradient(90deg, #ffcc33, #330033); /* දම් සහ රන්වන් ඉර */
}

.card-content {
  padding: 40px 30px;
}

.trophy-icon i {
  font-size: 60px;
  color: #330033; /* රන්වන් පැහැය */
  margin-bottom: 15px;
  display: inline-block;
  text-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.achievement-title {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffcc33;
  font-weight: 700;
  margin-bottom: 10px;
}

.match-title {
  font-size: 24px;
  color: #333;
  font-weight: 600;
  margin-bottom: 20px;
}

.result-badge {
  background: #ffcc33;
  color: white;
  padding: 8px 25px;
  border-radius: 50px;
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(139, 0, 255, 0.3);
}

.achievement-desc {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.stats-row {
  border-top: 1px dashed #ddd;
  padding-top: 20px;
}

.stat-val {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #333;
}

.stat-label {
  font-size: 14px;
  color: #888;
}

.anniversary-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.anniversary-card {
  background-color: #ffcc33; /* තද නිල් හෝ ඔබේ පාසලේ වර්ණය */
  color: white;
  padding: 50px 40px;
  width: 100%;
  max-width: 350px; /* කාඩ් එකේ පළල */
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.school-logo img {
  width: 150px; /* ලාංඡනයේ ප්‍රමාණය */
  margin-bottom: 30px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.year-range {
  font-size: 18px;
  font-weight: 600;
  color: #330033; /* රන්වන් පැහැය */
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.calendar-section {
  padding: 60px 0;
  background-color: #fff;
}

.calendar-table {
  border-collapse: collapse;
  width: 100%;
}

.calendar-table th {
  background-color: #f8f9fa;
  text-align: left;
  padding: 15px;
  color: #ffcc33;
  border: 1px solid #dee2e6 !important;
}

.calendar-table td {
  height: 120px; /* කොටුවල උස */
  width: 14.28%;
  vertical-align: top;
  padding: 10px;
  border: 1px solid #dee2e6 !important;
  font-weight: 500;
}

/* අද දිනය highlight කිරීමට */
.calendar-table td.today {
  color: #10275e;
  font-weight: bold;
}

/* Event Tags (කොළ පාට බාර් එක) */
.event-tag {
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  margin-top: 10px;
  font-weight: 500;
}

.event-tag.green {
  background-color: #72d5a3; /* පින්තූරයේ ඇති කොළ පැහැය */
  color: #10275e;
}

/* Mobile වලට ගැළපෙන ලෙස සකස් කිරීම */
@media (max-width: 768px) {
  .calendar-table td {
    height: 80px;
    font-size: 12px;
  }
  .event-tag {
    font-size: 10px;
    padding: 2px 4px;
  }
}

.years-count {
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
}

.anniversary-text {
  font-size: 18px;
  line-height: 1.4;
  color: #bdc3c7; /* ලා අළු පැහැය */
  font-weight: 400;
}

/* මුළු පිටුවේම පසුබිම කහ පාට කිරීමට */
body {
  background-color: #330033 !important;
}

/* Section වල තියෙන සුදු පාට පසුබිම් අයින් කිරීමට */
section {
  background-color: transparent !important;
}

/* Header එක දැනටමත් කහ නිසා ඒක එහෙමම පවතීවි */
#header {
  background-color: #330033 !important;
}
/* Footer එකේ පසුබිම කහ පාට කිරීමට */
#footer, .footer, .footer-top, .footer-content {
    background-color: #330033 !important;
    background: #330033 !important;
}

/* පතුලේම ඇති Copyright කොටසත් කහ පාට කිරීමට */
.footer-legal, .copyright-section, .footer-bottom {
    background-color: #330033 !important;
}

/* Footer එක ඇතුළේ ඇති කොටුවල (containers) පසුබිම අයින් කිරීමට */
#footer .container, #footer .row {
    background-color: transparent !important;
}

/* Why Choose section එකේ සුදු පසුබිම අයින් කිරීමට */
.why-us .content {
    background-color: transparent !important;
    background: none !important;
    padding: 30px; /* අකුරු වටේ ඉඩ තබා ගැනීමට */
}

/* එම section එකේ සම්පූර්ණ කොටසම කහ කිරීමට */
.why-us {
    background-color: #330033 !important;
}

/* අකුරු පැහැදිලිව පෙනීමට අවශ්‍ය නම් මේ කොටසත් එක් කරන්න */
.why-us h3 {
    color: #ffcc33 !important; /* දම් පැහැය */
}

.why-us p {
    color: #444 !important; /* තද අළු පැහැය */
}
.school-houses-section {
  padding: 60px 0;
  background-color:#330033 !important; /* ඔබේ මුළු පිටුවම කහ නිසා */
}

.house-card {
  padding: 40px 20px;
  border-radius: 15px;
  text-align: center;
  color: white;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  height: 100%;
}

.house-card:hover {
  transform: translateY(-10px);
}

.house-icon i {
  font-size: 50px;
  margin-bottom: 15px;
  display: inline-block;
}

.house-card h3 {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 10px;
}

/* නිවාසවල වර්ණ (පාසලේ වර්ණ අනුව මේවා වෙනස් කරන්න) */
.gemunu { background-color: #d32f2f !important; } /* රතු */
.vijaya { background-color: #1976d2 !important; }  /* නිල් */
.parakum { background-color: #388e3c !important; } /* කොළ */
.tissa { background-color: #fbc02d !important; color: #333 !important; } /* කහ (අකුරු තද පාටින්) */

.motto-vision-mission {
  padding: 80px 0;
  background-color: #330033 !important;
}

.info-box {
  background-color: #ffffff; /* ඇතුළත සුදු පාට */
  padding: 40px 30px;
  border-radius: 20px;
  text-align: left;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 5px solid #ffcc33; /* දම් පාට ඉර */
  transition: transform 0.3s ease;
}

.info-box:hover {
  transform: translateY(-10px);
}

.box-icon i {
  font-size: 40px;
  color: #ffcc33;
  background: #f0e6ff;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 20px;
}

.info-box h3 {
  color: #10275e;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 15px;
}

.info-box p {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

.motto-text {
  font-family: "Georgia", serif;
  font-style: italic;
  font-weight: bold;
  font-size: 20px !important;
  color: #ffcc33 !important;
}

.school-song-section {
  padding: 60px 0;
  background-color: #330033 !important; /* ඔබේ මුළු පිටුවම කහ නිසා */
}

.song-img {
  max-width: 600px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border: 5px solid #ffcc33; /* රූපය වටේට දම් පාට බෝඩරයක් */
}

.staff-section {
  background-color: #330033 !important; /* මුළු පසුබිමම කහ නිසා */
}

.staff-heading {
  color: #10275e; /* තද නිල් හෝ දම් පාට */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.staff-table-container {
  background: white; /* Table එකේ ඇතුළත සුදු පාට */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table-bordered {
  border: 1px solid #dee2e6 !important;
  margin-bottom: 0;
}

.table td {
  padding: 20px !important;
  font-size: 16px;
  color: #10275e; /* නම ලියවෙන පාට */
  width: 33.33%;
  border: 1px solid #dee2e6 !important;
  transition: background 0.3s;
}

/* Mouse එක ගෙනියන විට කොටුව Highlight වීමට */
.table td:hover {
  background-color: #f8f9fa;
  font-weight: 500;
}

/* Mobile දුරකථන වලදී පෙනුම සකස් කිරීම */
@media (max-width: 768px) {
  .table td {
    padding: 10px !important;
    font-size: 14px;
  }
}

.principal-section {
    background-color: #f0f7ff; /* Hada blue color ekak */
    padding: 25px;
    border-radius: 15px;
    border-right: 5px solid #004d99; /* Dakunu paththen border ekak */
    margin: 20px 0;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

.principal-card {
    display: flex;
    align-items: center;
    gap: 30px;
}

.principal-img {
    width: 160px;
    height: 160px;
    border-radius: 10px; /* Square shape ekata corners round kala */
    object-fit: cover;
    border: 4px solid white;
}

.principal-text h3 {
    margin-top: 0;
    color: #004d99;
    border-bottom:none;
    display: inline-block;
    margin-bottom: 10px;
}

.principal-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    font-style: italic;
}

.principal-name {
    margin-top: 15px;
    font-style: normal !important;
}

/* Mobile waladi lassanata penna */
@media (max-width: 768px) {
    .principal-card {
        flex-direction: column;
        text-align: center;
    }
}

.sectional-heads-container {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    color: #004d99;
    margin-bottom: 30px;
    border-bottom:nine;
    padding-bottom: 10px;
}

.heads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Card ප්‍රමාණය අනුව පේළියට ඉබේම හැදෙනවා */
    gap: 20px;
}

.head-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s;
}

.head-card:hover {
    transform: translateY(-5px); /* Mouse එක උඩට ගියහම චුට්ටක් උඩට එනවා */
}

.head-card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Photo එක box එකට හරියට fit වෙනවා */
}

.head-info {
    padding: 15px;
}

.head-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.1em;
}

.head-info p {
    margin: 5px 0 0;
    color: #666;
    font-size: 0.9em;
}

.header-banner {
    background-color: #ffff00; /* කහ පාට පසුබිම */
    width: 100%;
}

.top-bar {
    background-color: #8000ff; /* ඉහළ තීරුවේ දම් පාට */
    height: 60px;
    width: 100%;
}

.content-area {
    padding: 40px 20px 40px 50px; /* වම් පැත්තෙන් ඉඩ තබා ඇත (50px) */
    text-align: left; /* මෙන්න මෙතැනින් තමයි වම් පැත්තට ගන්නේ */
}

.school-name {
    color: #888; /* අළු පාට අකුරු */
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 2px;
    font-family: sans-serif;
}

.board-title {
    color: #8000ff; /* දම් පාට අකුරු */
    font-size: 3rem;
    margin: 5px 0 0 0;
    font-weight: bold;
    font-family: sans-serif;
}

.principals-board-section {
    background-color: #ffff00;
    padding: 30px 40px; /* වටේ තියෙන ඉඩ චුට්ටක් අඩු කළා */
    font-family: 'Segoe UI', Arial, sans-serif;
}

.top-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px; /* පේළි දෙක අතර පරතරය අඩු කළා */
}

.school-txt {
    color: #666; 
    font-size: 0.9rem; /* පාසලේ නමේ සයිස් එක අඩු කළා */
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
}

.purple-line {
    height: 2px;
    width: 120px; /* ඉරේ දිග අඩු කළා */
    background-color: #8000ff;
}

.title-txt {
    color: #8000ff;
    font-size: 2.2rem; /* ප්‍රධාන අකුරු වල සයිස් එක ගොඩක් අඩු කළා */
    margin: 0;
    text-align: left;
    font-weight: 800;
    line-height: 1.2;
}

.cards-container {
    display: flex;
    gap: 20px;
    padding: 40px;
    background-color: #330033; /* පසුබිම කහ පාට */
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
}

.card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Achievement Card Styles */
.achievement-card {
    background-color: white;
    border-bottom: 5px solid #8000ff;
}

.achievement-card .tag {
    color: #8000ff;
    font-weight: bold;
    font-size: 0.8rem;
    margin: 10px 0;
}

.status-btn {
    background-color: #8000ff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 15px;
}

/* Events Card Styles */
.events-card {
    background-color: #8000ff;
    color: white;
}

.flex-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.icon-img {
    font-size: 40px;
}

.events-card h3 {
    margin: 0;
}

.read-more {
    color: white;
    text-decoration: underline;
    font-size: 0.9rem;
    display: block;
    margin-top: 10px;
}

/* Mobile වලදී එකක් යට එකක් වැටෙන්න */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #330033; /* කහ පාට පසුබිම */
}

/* ප්‍රධාන Wrapper එක */
.cards-wrapper {
    display: flex;
    align-items: flex-start; /* කාඩ් දෙක උඩින් පටන් ගන්න */
    gap: 30px; /* කාඩ් දෙක අතර පරතරය */
    padding: 50px;
    justify-content: center; /* සියල්ල මැදට ගැනීම */
}

/* පොදු කාඩ් ස්ටයිල් */
.card {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 1. Achievement Card (විශාල කාඩ් එක) */
.achievement-card {
    background-color: white;
    flex: 2; /* මේකට වැඩි ඉඩක් (66%) දෙනවා */
    max-width: 600px;
    padding: 30px;
    border-bottom: 5px solid #8000ff;
}

.achievement-card .tag {
    color: #8000ff;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 10px 0;
}

.status-btn {
    background-color: #8000ff;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

/* 2. Upcoming Events Card (පොඩි කාඩ් එක) */
.upcoming-events-card {
    background-color: #8000ff; /* දම් පාට */
    color: white;
    flex: 1; /* මේකට අඩු ඉඩක් (33%) දෙනවා */
    max-width: 350px; /* උපරිම පළල සීමා කළා */
    padding: 20px;
}

.event-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.calendar-icon {
    font-size: 40px;
}

.event-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.event-text p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}

.read-more-link {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

/* Mobile phone එකෙන් බලද්දී එකක් යට එකක් වැටෙන්න */
@media (max-width: 768px) {
    .cards-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    .achievement-card, .upcoming-events-card {
        width: 100%;
        max-width: 100%;
    }
}

/* ප්‍රධාන පසුබිම කහ පාට කරන්න */
body {
    background-color: #f7d91e;
    padding: 50px 0;
}

/* Achievement Card එකේ size එක */
.achievement-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    max-width: 450px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Upcoming Events Card එකේ size එක */
.upcoming-events-card {
    background-color: #8000ff; /* දම් පාට */
    color: white;
    border-radius: 15px;
    padding: 25px;
    max-width: 320px; /* මේකේ පළල සීමා කළා */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.event-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.calendar-icon {
    font-size: 30px;
}

.event-text h3 {
    margin: 0;
    font-size: 1.2rem;
}

.read-more-link {
    color: white;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* සියල්ල එක පේළියට ගන්නා ප්‍රධාන කොටස */
.main-wrapper {
    display: flex;
    flex-wrap: wrap; /* ඉඩ මදි වුණොත් යටට වැටෙන්න ඉඩ දෙනවා (පැටලෙන්නේ නැහැ) */
    gap: 20px; /* කාඩ් දෙක අතර පරතරය */
    justify-content: center;
    padding: 50px 20px;
    background-color: #f7d91e; /* කහ පාට පසුබිම */
}

/* Achievement Card ස්ටයිල් */
.achievement-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    flex: 1; /* ඉඩ බෙදාගන්න */
    min-width: 320px; /* කාඩ් එක මීට වඩා කුඩා වෙන්න දෙන්න එපා */
    max-width: 500px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-align: center;
}

/* Upcoming Events Card ස්ටයිල් */
.upcoming-card {
    background-color: #8000ff;
    color: white;
    border-radius: 15px;
    padding: 25px;
    flex: 0 1 350px; /* මේකේ සයිස් එක ලොකු වෙන්න දෙන්න එපා */
    min-width: 300px;
    height: fit-content; /* අකුරු තියෙන ප්‍රමාණයට විතරක් උස වෙන්න */
}

.event-inner {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.main-wrapper {
    display: flex;
    justify-content: center; /* මැදට පෙළගැස්වීම */
    align-items: flex-start; /* උස වෙනස් වුණත් එකම මට්ටමකට ඉහළින් තැබීම */
    gap: 30px; /* කාඩ් දෙක අතර පරතරය */
    padding: 40px;
    background-color: #f7d91e; /* කහ පාට පසුබිම */
    flex-wrap: wrap; /* Screen එක කුඩා වුණොත් යටට වැටෙන්න */
}

.achievement-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.upcoming-card {
    background-color: #8000ff; /* දම් පාට */
    color: white;
    border-radius: 15px;
    padding: 25px;
    max-width: 350px; /* Upcoming card එකේ පළල සීමා කිරීම */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.event-inner {
    display: flex;
    gap: 15px;
}

.read-more-link {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.upcoming-card .text h3 {
    color: #ffffff; /* අකුරු සුදු පාට කිරීමට */
    font-weight: bold;
}

.upcoming-card .text p {
    color: #eeeeee; /* විස්තරය ලා අළු පාට කිරීමට */
}

.upcoming-card .read-more-link {
    color: #f7d91e; /* Read More එක කහ පාට කිරීමට */
    text-decoration: underline;
}

/* Container එක */
.motto-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 50px 20px;
    flex-wrap: wrap;
    background-color: #f7d91e; /* පාසල් කහ වර්ණය */
}

/* පොදුවේ කාඩ් එක */
.info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    width: 350px;
    text-align: center;
    transition: all 0.3s ease; /* Hover effect එක smooth වෙන්න */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 6px solid #8000ff; /* යටින් දම් පාට border එක */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hover කරද්දී කාඩ් එක උඩට එසවීම */
.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(128, 0, 255, 0.2);
}

/* Icon එක වටේ ඇති රවුම */
.icon-wrapper {
    background-color: #f3e5f5;
    color: #8000ff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.info-card:hover .icon-wrapper {
    background-color: #8000ff;
    color: #ffffff;
}

/* මාතෘකා */
.info-card h3 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* සිංහල අකුරු */
.sinhala-text {
    color: #ffcc33;
    line-height: 1.8;
    font-size: 1.05rem;
}
/* කාඩ් එක ඇතුළේ ලාංඡනය Position කරන්න */
.info-card {
    position: relative;
    overflow: hidden; /* ලාංඡනයේ කොටසක් කාඩ් එකෙන් එළියට ගියොත් ඒක කපා ඉවත් කිරීමට */
    z-index: 1;
}

.card-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* හරියටම කාඩ් එකේ මැදට ගැනීමට */
    width: 220px; /* ලාංඡනය කාඩ් එක ඇතුළේ කොච්චර ලොකු වෙන්න ඕනෙද කියන එක */
    opacity: 0.04; /* මේ අගය 0.03 - 0.06 අතර තබා ගන්න (වැඩි වුණොත් අකුරු කියවන්න අමාරු වෙනවා) */
    z-index: -1; /* අකුරු සහ Icons වලට යටින් ලාංඡනය තැබීමට */
    pointer-events: none; /* ලාංඡනය උඩ click කරන්න බැරි වන සේ සකස් කිරීම */
}

.card-bg-logo img {
    width: 100%;
    filter: grayscale(100%); /* වර්ණ සහිත ලාංඡනයක් නම් ඒක අළු පාට කරලා Watermark ගතිය වැඩි කිරීමට */
}
/* ප්‍රධාන container එක */
.card-group-container {
    display: flex; /* එක පේළියට ගැනීමට */
    justify-content: center; /* මැදට පෙළගැස්වීමට */
    align-items: stretch; /* සියලුම කාඩ් එකම උසට තැබීමට */
    gap: 20px; /* කාඩ් අතර පරතරය */
    padding: 50px 20px;
    flex-wrap: wrap; /* Screen එක කුඩා වුණොත් විතරක් යටට වැටෙන්න */
    background-color: #f7d91e;
}

/* තනි කාඩ් එකක ස්ටයිල් */
.info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    width: 350px; /* කාඩ් එකක පළල */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 6px solid #8000ff;
}

/* පසුබිම් ලාංඡනය (Opacity අඩු කරලා) */
.card-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    opacity: 0.05; /* ලාංඡනය ඉතා අඩුවෙන් පෙනෙන්න */
    z-index: 0;
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 1; /* අකුරු ලාංඡනයට උඩින් තැබීමට */
}

/* Mobile වලදී ලස්සනට පේන්න */
@media (max-width: 1024px) {
    .card-group-container {
        flex-direction: column;
        align-items: center;
    }
}

/* මේක ඔයාගේ cards ඔක්කොම වටේට තියෙන container එකට දෙන්න */
.section-container {
    display: flex;
    justify-content: center; /* හරහට මැදට (Horizontally center) */
    align-items: center;     /* උසින් මැදට (Vertically center) */
    flex-wrap: wrap;        /* Screen එක කුඩා වුණොත් යටට වැටෙන්න */
    gap: 20px;              /* cards අතර පරතරය */
    width: 100%;
    margin: 0 auto;
}

/* තනි card එකක් සඳහා */
.image-card {
    margin: 0 auto; /* අමතර ආරක්ෂාවක් විදිහට */
    text-align: center; /* card එක ඇතුළේ තියෙන අකුරු මැදට */
}

/* මුළු Section එකම මැදට ගන්න */
.image-section {
    width: 100%;
    display: flex;
    justify-content: center; /* හරහට මැදට */
    padding: 50px 0;
    background-color: #330033; /* කහ පාට පසුබිම */
}

/* කාඩ් ටික එක පේළියට තබා ගන්නා Container එක */
.section-container {
    display: flex;
    flex-wrap: wrap; /* ඉඩ මදි වුණොත් යටට වැටෙන්න */
    justify-content: center; /* ඇතුළේ තියෙන කාඩ් මැදට කරන්න */
    gap: 30px; /* කාඩ් දෙක අතර පරතරය */
    max-width: 1200px;
    width: 90%;
}

/* තනි කාඩ් එකේ ස්ටයිල් */
.image-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    width: 350px; /* කාඩ් එකේ පළල */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
}

.image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* පින්තූරය ඇදෙන්නේ නැතුව ලස්සනට පේන්න */
}

.card-title {
    padding: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

/* Hover Effect (මවුස් එක උඩට ගෙනිච්චම) */
.image-card:hover {
    transform: translateY(-5px);
}

/* Events Section එකේ කාඩ්ස් මැදට ගැනීම */
#events .row {
  display: flex;
  flex-direction: column; /* එක යට එක වැටීමට */
  align-items: center;    /* මැදට පෙළගැස්වීමට */
}

.custom-card {
  width: 100%;
  max-width: 800px; /* කාඩ් එකේ උපරිම පළල */
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: #330033;
}

.custom-card:hover {
  transform: translateY(-10px); /* Hover කරද්දී පොඩ්ඩක් උඩට එසවීම */
}

.custom-card .card-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.custom-card .card-body {
  padding: 25px;
}

.custom-card .card-title {
  color: #ffcc33; /* පාසල් වර්ණය (Purple) */
  font-weight: 700;
  font-size: 1.5rem;
}
/* පින්තූරය කාඩ් එක ඇතුළේ මැදට ගැනීමට */
.custom-card {
    margin: 0 auto; /* Horizontal center */
    max-width: 900px; /* ඕනෑවට වඩා ලොකු වීම පාලනයට */
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.custom-card:hover {
    transform: scale(1.02); /* මවුස් එක ගෙනිච්චම පොඩ්ඩක් ලොකු වෙන්න */
}

.custom-card .card-img img {
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* Container එක මැදට තබා ගැනීම */
#events .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* හරහට මැදට */
    justify-content: center;
}

/* Card එක සහ පින්තූරය මැදට ගැනීම */
.custom-card {
    width: 100%;
    max-width: 850px; /* කාඩ් එක ඕනෑවට වඩා පළල් වීම වැළැක්වීමට */
    margin-left: auto;
    margin-right: auto;
    border: none;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.custom-card img {
    width: 100%;
    display: block;
    margin: 0 auto;
}
/* Container එක ඇතුළේ ඕනෑම දෙයක් මැදට පෙළගැස්වීම */
.events .container {
    text-align: center;
}

/* Card එක මැදට ගැනීමට */
.custom-card {
    margin: 0 auto !important; /* Force center */
    max-width: 800px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background-color: white;
    border-radius: 12px;
}

/* පින්තූරය මැදට ගැනීම */
.custom-card img {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* මුළු සෙක්ෂන් එකම මැදට ගැනීමට */
#events .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

/* කාඩ් එක මැදට ගැනීමට */
.custom-card {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 850px; /* කාඩ් එක ඕනෑවට වඩා පළල් වීම වැළැක්වීමට */
    border: none !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}
.info-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.2);
}

.info-card-img img {
  width: 100%;
  height: 250px;
  object-fit: cover; /* image එක ඇදෙන්නේ නැතුව ලස්සනට පේන්න */
}

.info-card-content {
  padding: 20px;
  text-align: center;
}

.info-card-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffcc33; /* පාසල් වර්ණය */
  margin: 0;
}.info-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.2);
}

.info-card-img img {
  width: 100%;
  height: 250px;
  object-fit: cover; /* image එක ඇදෙන්නේ නැතුව ලස්සනට පේන්න */
}

.info-card-content {
  padding: 20px;
  text-align: center;
}

.info-card-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffcc33; /* පාසල් වර්ණය */
  margin: 0;
}
/* Card එක ඇතුළේ පින්තූරය දෙපැත්තටම ඇලවීම */
.events .card {
    display: flex;
    flex-direction: column;
}

/* පින්තූරය තියෙන div එකේ padding එක අයින් කිරීම */
.event-image-wrap {
    margin-top: 20px;
    border-bottom: 10px solid #ffcc33; /* යටින් ලස්සන line එකක් */
}

/* පින්තූරය Mobile සහ Desktop දෙකේම ලොකුවට පෙන්වීම */
.event-image-wrap img {
    min-height: 450px; /* ඕනෑම screen එකක අවම උස */
    transition: transform 0.5s ease;
}

/* පින්තූරය උඩට ගියපුවහම පොඩ්ඩක් zoom වෙන්න (optional) */
.event-image-wrap:hover img {
    transform: scale(1.02);
}
/* Counter Section එක වටා බෝඩරය */
#main > .row {
    border: 3px solid #00000; /* බෝඩරයේ ඝනකම සහ පාට (කළු) */
    border-radius: 10px;    /* කොන් ටිකක් වටකුරු කිරීමට (Optional) */
    margin-left: 0;        /* Page එකේ පැතිවලට වැදීම වැළැක්වීමට */
    margin-right: 0;
    overflow: hidden;      /* Border එක ඇතුළට contents තබා ගැනීමට */
}
/* Overlap එක හදාගැනීමට */
.row .col-lg-3 span:last-child {
    z-index: 10;
    position: relative;
    color: #444; /* වර්ණය තව ටිකක් තද කිරීමට */
}

/* Calendar එකේ table එක සඳහා */
.calendar-table {
    width: 100%;
    table-layout: fixed; /* සියලුම තීරු වල පළල එකම ප්‍රමාණයට තබා ගනී */
    border-collapse: collapse;
}

/* දවස් සඳහන් වන කොටු (cells) සඳහා */
.calendar-table td {
    height: 100px; /* කොටුවක අවම උස මෙතනින් වෙනස් කරන්න */
    vertical-align: top; /* අංකය කොටුවේ උඩටම ගැනීමට */
    padding: 10px;
    border: 1px solid #dee2e6;
    overflow: hidden; /* අකුරු වැඩි වුණොත් කොටුවෙන් පිටට ඒම වැළැක්වීමට */
}

/* Event එකක් තියෙන box එක ලස්සන කිරීමට */
.event-label {
    font-size: 11px;
    padding: 2px 5px;
    border-radius: 4px;
    margin-top: 5px;
    display: block;
    color: #ffffff;
}
.bg-purple {
    background-color: #ffcc33 !important;
}

.section-item-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.section-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.section-image img {
    width: 100%;
    height: 320px;
    object-fit: cover; /* පින්තූරය කොටුවට ගැලපෙන ලෙස ඉබේම සැකසෙයි */
}

.section-details h3 {
    color: #10275e;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 15px;
}

.section-details p {
    color: #ffcc33;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.btn-purple {
    background-color: #ffcc33;
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-purple:hover {
    background-color: #10275e;
    color: white;
}

/* කාඩ් එක සුදු කිරීම */
.info-box {
    background-color: #ffffff !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 20px;
    padding: 40px 20px;
    height: 100%;
}

/* ලාංඡනය පසුබිමට එක් කිරීම */
.info-box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* ලාංඡනය හරියටම මැදට ගැනීමට */
    width: 250px;  /* ලාංඡනයේ පළල */
    height: 250px; /* ලාංඡනයේ උස */
    
    /* මෙතැනට ඔබේ ලාංඡනයේ නම සහ folder එක නිවැරදිව දාන්න */
    background-image: url('assets/img/logo.png'); 
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9 !important; /* ලාංඡනය ලාවට පෙනීමට (0.1 සිට 0.3 දක්වා වෙනස් කළ හැක) */
    z-index: -1;
}

/* අකුරු වලට ලාංඡනය නිසා බාධාවක් නොවීමට */
.info-box h3, .info-box p, .info-box .box-icon {
    position: relative;
    z-index: 2;
}
/* කැලැන්ඩරයේ සියලුම කොටු සුදු පාට කිරීමට */
.calendar-table td {
    background-color: #ffffff !important;
    color: #333 !important; /* අකුරු කළු හෝ තද පාටින් පෙනීමට */
    border: 1px solid #dee2e6 !important; /* කොටු වෙන් වී පෙනීමට බෝඩර් එකක් */
}

/* ඉහළ ඇති දින (Sun, Mon...) ඇති කොටස සුදු කිරීමට */
.calendar-table th {
    background-color: #ffffff !important;
    color: #ffcc33 !important; /* දිනවල නම් දම් පාටින් පෙන්වීමට */
}

/* Event එකක් ඇති කොටුවල පෙනුම රැක ගැනීමට */
.event-tag {
    color: white !important; /* Event එක ඇතුළේ අකුරු සුදු පාට කිරීමට */
}
/* Header එකේ උස අඩු කිරීම */
.header {
    background-color: yellow !important;
    padding: 10px 0 !important; /* උඩ සහ යට ඉඩ (Padding) අඩු කළා */
    height: auto !important;
    display: flex;
    align-items: center;
}

/* Logo එක සහ පාසල් නම ඇති කොටස */
.header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Logo එකේ ප්‍රමාණය නිවැරදි කිරීම */
.header .logo img {
    max-height: 60px !important; /* ලාංඡනය කුඩා කර උසට ගැලපෙන සේ සකස් කළා */
    width: auto;
    margin-right: 15px; /* ලාංඡනය සහ නම අතර පරතරය */
}

/* පාසල් නමේ අකුරු වල පෙනුම */
.header .logo h1 {
    font-size: 24px !important; /* අකුරු වල විශාලත්වය පාලනය කළා */
    font-weight: 800;
    color: #ffcc33; /* දම් පැහැය */
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}
/* Header එක සිහින් කිරීම */
.header {
    background-color: #ffff00 !important; /* තද කහ පැහැය */
    padding: 5px 0 !important;
    min-height: 70px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Logo එක සහ නම එකම මට්ටමට (Alignment) */
.header .logo {
    gap: 12px; /* Logo එක සහ නම අතර පරතරය */
}

.header .logo img {
    max-height: 55px !important; /* Logo එකේ උස */
    width: auto;
}

/* පාසල් නම */
.header .logo h1 {
    font-size: 20px !important;
    color: #ffcc33 !important; /* දම් පැහැය */
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Menu links වල පාට */
.navmenu a {
    color: #10275e !important; /* තද නිල්/දම් පාට */
    font-weight: 600;
}

.navmenu a:hover {
    color: #ffcc33 !important;
}
/* Google Font එකක් ඇතුළත් කිරීම (CSS එකේ ඉහළින්ම දාන්න) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&display=swap');

.header {
    background-color: #ffff00 !important;
    padding: 10px 0 !important;
    min-height: 70px !important;
}

.header .logo {
    display: flex;
    align-items: center;
    white-space: nowrap; /* අකුරු පේළිය කැඩීම වළක්වයි */
    text-decoration: none;
}

.header .logo img {
    max-height: 50px !important;
    width: auto;
    margin-right: 15px;
}

.header .logo h1 {
    font-family: 'Montserrat', sans-serif !important; /* අලුත් Font එක */
    font-size: 22px !important;
    font-weight: 800;
    color: #ffcc33 !important;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Mobile වලදී අකුරු ඕනෑවට වඩා ලොකු නම් කුඩා කිරීමට */
@media (max-width: 768px) {
    .header .logo h1 {
        font-size: 16px !important;
    }
    .header .logo img {
        max-height: 40px !important;
    }
}
/* සියල්ල එකම පේළියකට ගෙන ඒම */
.header .logo {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important; /* පේළියට සැකසීම */
    white-space: nowrap !important; /* පේළිය කැඩීම වැළැක්වීම */
}

.header .logo h1.sitename {
    font-family: 'Raleway', sans-serif !important;
    font-size: 22px !important;
    margin:  20px !important; /* ලෝගෝ එක සහ නම අතර පරතරය */
    display: inline-block !important;
}

.header .logo img {
    max-height: 50px !important;
    display: block !important;
}
/* සියල්ල එකම පේළියකට බලෙන් ගැනීම */
header .logo {
    display: flex !important;
    flex-direction: row !important; /* අනිවාර්යයෙන්ම පේළියට */
    align-items: center !important;
    gap: 15px !important;
    white-space: nowrap !important;
}

/* Font එක සහ පෙනුම වෙනස් කිරීම */
header .logo h1.sitename {
    font-family: 'Raleway', sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #ffcc33 !important; /* දම් පාට */
    margin: 0 !important;
    display: inline-block !important;
    text-transform: uppercase;
}

/* ලාංඡනයේ ප්‍රමාණය */
header .logo img {
    max-height: 50px !important;
    width: auto !important;
}
/* සියල්ල එකම පේළියකට බලෙන් ගැනීම */
.header .logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

/* අකුරු වල පෙනුම සහ Font එක */
.header .logo h1.sitename {
    font-family: 'Raleway', 'Poppins', sans-serif !important; /* Montserrat font එක */
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ffcc33 !important; /* දම් පැහැය */
    margin: 0 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

/* ලාංඡනයේ ප්‍රමාණය */
.header .logo img {
    max-height: 75px !important;
    width: auto !important;
}

/* Header එක සිහින් කිරීම */
.header {
    background-color: #ffff00 !important; /* කහ පැහැය */
    padding: 8px 0 !important;
    min-height: 100px !important;
}/* Header එක සිහින් කිරීම සහ කහ පාට */
.header {
    background-color: #ffff00 !important;
    padding: 10px 0 !important;
    min-height: 100px !important;
    display: flex !important;
}

/* Logo සහ Name එක පේළියට සැකසීම */
.header .logo {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 15px !important;
    white-space: nowrap !important;
}

.header .logo img {
    max-height: 75px !important;
    width: auto !important;
}

/* කලින් තිබ්බ Font එක (Poppins) */
.header .logo h1.sitename {
    font-family: "Poppins", sans-serif !important; 
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #ffcc33 !important;
    margin: 0 !important;
    text-transform: uppercase;
}

/* Navigation links වල අකුරු හරිගැස්සීම */
.navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}
/* Header එකේ නම සඳහා Raleway Font එක දැමීම */
.header .logo h1.sitename {
    font-family: "Raleway", sans-serif !important; 
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #ffcc33 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Logo එක සහ Navigation Menu එක අතර පරතරය බලෙන් වැඩි කිරීම */
header .container-fluid {
    justify-content: space-between !important;
}

/* අවශ්‍ය නම් Logo කොටසට දකුණු පසින් තවත් margin එකක් එක් කළ හැක */
.header .logo {
    margin-right: 50px !important; /* මේ අගය වැඩි කිරීමෙන් මෙනු එක තව දකුණට යයි */
}

/* "Home" ඇතුළු මෙනු අයිතම අතර පරතරය */
.navmenu ul {
    gap: 10px; /* මෙනු එක ඇතුළේ ලිංක්ස් අතර පරතරය */
}
/* Home Page එකේ ඉන්නකොට "Home" කියන වචනය කළු පාට කිරීම */
.navmenu a.active, 
.navmenu a.active:focus {
  color: #000000 !important; /* කළු පාට */
  font-weight: 700 !important; /* අකුරු ටිකක් තදින් පේන්න */
}

/* Mouse එක උඩට ගෙනියනකොටත් කළු වෙන්න ඕන නම් මේකත් දාන්න */
.navmenu a:hover {
  color: #000000 !important;
}
/* දැනට ඉන්න Page එකට අදාළ link එක කළු පාට කිරීම */
.navmenu a.active {
  color: #000000 !important;
  font-weight: 700 !important;
}

/* Mouse එක උඩට ගෙනියන කොටත් කළු පාට වෙන්න */
.navmenu a:hover {
  color: #000000 !important;
}

/* අනෙක් (Active නොවන) ලිංක් වල පාට තද දම් පාටින් තැබීමට */
.navmenu a {
  color: #ffcc33 !important; 
}
/* Counts Section එක පිළිවෙළට සැකසීම */
/* Counts Section එක Table එකක් වගේ පිළිවෙළට සැකසීම */
#counts .container > .row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important; /* එකිනෙකාගෙන් සමාන දුරක් තබා ගනී */
    align-items: center !important;
    
    background-color: #330033 !important; /* කහ පාට */
    border: 4px solid #ffcc33 !important; /* දම් පාට Border එක */
    border-radius: 20px !important;
    padding: 30px 10px !important;
    margin: 20px auto !important;
    width: 100% !important;
}

/* ඇතුළේ තියෙන හැම Item එකක්ම එකම පළලකට ගැනීම */
#counts .row > div {
    flex: 1 !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    padding: 10px !important;
}

/* ඉලක්කම් වල ප්‍රමාණය */
#counts h2 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 2.4rem !important; 
    font-weight: 800 !important;
    color: #ffcc33 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Students, Teachers වචන */
#counts p {
    font-family: "Poppins", sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    color: #ffcc33 !important;
    margin: 8px 0 0 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile වලදීත් පේළියටම තියාගැනීම (ඉඩ මදි නම් විතරක් යටට යයි) */
@media (max-width: 576px) {
    #counts h2 { font-size: 1.5rem !important; }
    #counts p { font-size: 0.7rem !important; }
}
/* Header එක ඇතුළේ ඇති ඉඩ ප්‍රමාණය නිවැරදිව බෙදා ගැනීම */
.header .container-xl {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* දෙපැත්තට සමබර කරයි */
    max-width: 100% !important;
    padding: 0 20px !important;
}

/* Logo සහ Name එක */
.header .logo {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important; /* Logo එකට අවශ්‍ය ඉඩ පමණක් ගනී */
    margin-right: 20px !important;
}

/* Navigation Menu එක මැදට ගැනීම */
.navmenu {
    flex: 1 !important; /* ඉතිරි ඉඩ ප්‍රමාණය මෙනු එකට ලබා දෙයි */
    display: flex !important;
    justify-content: center !important; /* මෙනු එක මැදට කරයි */
}

/* Contact එක පේළියෙන් පිටතට පැනීම වැළැක්වීම */
.navmenu ul {
    display: flex !important;
    flex-wrap: nowrap !important; /* පේළිය කඩන්න ඉඩ නොදෙයි */
    gap: 15px !important; /* ලිංක්ස් අතර පරතරය මඳක් අඩු කළා */
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* මෙනු අකුරු වල ප්‍රමාණය මඳක් කුඩා කිරීම (ඉඩ ඉතිරි කර ගැනීමට) */
.navmenu ul li a {
    font-size: 17px !important;
    white-space: nowrap !important;
}
/* Dropdown එකේ අයිතම පේළියට නොව පහළට වැටීමට (Vertical) සැකසීම */
.navmenu .dropdown ul {
    display: block !important; /* flex වෙනුවට block දීමෙන් එක යට එක වැටේ */
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
    background-color: #330033 !important; /* පසුබිම කහ පාට */
    padding: 10px 0 !important;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1) !important;
    z-index: 99 !important;
    min-width: 200px !important; /* Dropdown එකේ පළල */
}

/* Dropdown එක ඇතුළේ තියෙන ලිංක් පේළි ලෙස සැකසීම */
.navmenu .dropdown ul li {
    display: block !important;
    width: 100% !important;
}

.navmenu .dropdown ul a {
    padding: 10px 20px !important;
    display: block !important;
    color: #ffcc33 !important; /* දම් පාට අකුරු */
    text-transform: none !important;
    font-size: 16px !important;
    text-align: left !important;
}

/* Mouse එක ගෙනියන විට අකුරු කළු පාට වීම */
.navmenu .dropdown ul a:hover {
    color: #000000 !important;
    background-color: #f2f200 !important;
}
/* Dropdown එකේ අකුරු වල පාට වෙනස් කිරීම */
.navmenu .dropdown ul a {
    color: #330099 !important; /* ඔයා ඉල්ලපු පාට */
    font-family: "Poppins", sans-serif !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    display: block !important;
    transition: 0.3s !important;
}

/* Mouse එක උඩට ගෙනියන විට වෙනස් වන ආකාරය */
.navmenu .dropdown ul a:hover {
    color: #000000 !important; /* Hover කරනකොට කළු පාට වේ */
    background-color: #f2f200 !important; /* පසුබිම මඳක් තද කහ පාට වේ */
    padding-left: 25px !important; /* පොඩි animation එකක් සඳහා */
}

/* Dropdown එකේ පසුබිම තවත් පැහැදිලි කිරීමට */
.navmenu .dropdown ul {
    background-color: #330033 !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.15) !important;
}
/* Facilities Section Styles */
.facilities-container {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
}

.facilities-title {
  text-align: center;
  color: #1a237e;
  margin-bottom: 50px;
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* පේළියට දෙක බැගින් */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.facility-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  border: 1px solid #eee;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.facility-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 5px solid #330033; /* Gold highlight line */
}

.facility-content {
  padding: 25px;
}

.facility-content h3 {
  margin-top: 0;
  color: #1a237e;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.facility-content p {
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .facility-grid {
    grid-template-columns: 1fr; /* ෆෝන් වලදී පේළියට එකයි */
    gap: 25px;
  }
  .facilities-title {
    font-size: 2rem;
  }
  .facility-image {
    height: 200px;
  }
}
/* Facilities Section Styling */
.facilities-section {
    background-color: #330033; /* පසුබිම් කහ පැහැය */
    padding: 60px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.facilities-title {
    color: #330099;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.facility-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* මැදට ගැලපීම */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.facility-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: calc(45% - 20px); /* පේළියට දෙක බැගින් */
    min-width: 300px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-10px);
}

.facility-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #eee; /* පින්තූරය නැතිනම් පෙනෙන වර්ණය */
}

.facility-content {
    padding: 25px;
}

.facility-content h3 {
    color: #330099;
    margin-top: 0;
    font-size: 1.5rem;
}

.facility-content p {
    color: #ffcc33;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .facility-card {
        width: 100%; /* ෆෝන් වලදී පේළියට එකයි */
    }
}
/* Facilities Section Styling */
.facilities-section {
    background-color: #330033; /* තද කහ පැහැය */
    padding: 60px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.facilities-title {
    color: #330099;
    font-size: 2.8rem;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
}

.facility-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* සියල්ල මැදට (Center) */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.facility-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: calc(45% - 20px);
    min-width: 300px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
    /* කාඩ් එක යටින් දම් පාට ඉර */
    border-bottom: 8px solid #870087; 
}

.facility-card:hover {
    transform: translateY(-10px);
}

.facility-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.facility-content {
    padding: 25px;
}

.facility-content h3 {
    color: #330099;
    margin-top: 0;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.facility-content p {
    color: #444;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .facility-card {
        width: 100%;
    }
    .facilities-title {
        font-size: 2rem;
    }
}
/* සම්පූර්ණ section එක කහ පාට කිරීමට */
.facilities-section {
    background-color: #330033 !important; /* මුළු section එකම කහ පාට කිරීමට */
    padding: 60px 20px;
    text-align: center;
    width: 100%;
    display: block; /* Section එකක් විදිහට හරියට පෙනීමට */
}

.facilities-title {
    background-color: #330033 !important; /* මාතෘකාව පිටුපසත් කහ පාට කිරීමට */
    color: #330099;
    font-size: 2.8rem;
    margin-bottom: 40px;
    padding: 20px 0;
    font-weight: bold;
    width: 100%;
}
}

.facilities-title {
    color: #330099;
    font-size: 2.8rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.facility-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.facility-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: calc(45% - 20px);
    min-width: 300px;
    overflow: hidden;
    text-align: left;
    /* කාඩ් එකේ යට ඉර දම් පාට කිරීම */
    border-bottom: 10px solid #800080 !important; 
    border-top: none;
    border-left: none;
    border-right: none;
}

.facility-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.facility-content {
    padding: 25px;
}

/* ෆෝන් එකට ගැලපෙන ලෙස */
@media (max-width: 768px) {
    .facility-card {
        width: 100%;
    }
}
.facility-card {
    /* කාඩ් එකේ Background එක කහ පාට කිරීම */
    background-color: #330033 !important; 
    
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: calc(45% - 20px);
    min-width: 300px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
    
    /* කාඩ් එකේ යට ඉර දම් පාට කිරීම */
    border-bottom: 10px solid #800080 !important; 
    
    /* වෙනත් border අයින් කිරීම */
    border-top: none;
    border-left: none;
    border-right: none;
    margin-bottom: 20px;
}

/* කාඩ් එක ඇතුළේ තියෙන අකුරු වල පාට දම් පාටට හැරවීම (වඩාත් පැහැදිලිව පෙනීමට) */
.facility-content h3 {
    color: #330099;
    font-weight: bold;
}

.facility-content p {
    color: #000000; /* කහ පසුබිමේ කළු අකුරු හොඳින් පෙනේ */
}
/* මුළු පිටුවම සහ section එකම බලහත්කාරයෙන් කහ පාට කිරීම */
.facilities-section, 
.facilities-section .container, 
.facilities-section .container-fluid {
    background-color: #330033 !important;
}

/* Title එක තියෙන පෙට්ටිය සුදු පාට වෙලා තියෙනවා නම් ඒක අයින් කරන්න */
.facilities-title-box {
    background: none !important;
    background-color: #fffffff !important;
}
/* මුළු පිටුවේ පසුබිම කහ කිරීම */
.facilities-section {
    background-color: #330033 !important;
    padding: 60px 20px;
}

/* Card එක ඇතුළේ අකුරු ලියන කොටස (Content Area) විතරක් සුදු කිරීම */
.facility-content {
    background-color: #ffffff !important; /* මෙය සුදු පාට කරයි */
    padding: 25px;
}

/* Card එකේ පෙනුම */
.facility-card {
    background-color: #ffffff !important; /* මුළු කාඩ් එකම සුදු කිරීම */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: calc(45% - 20px);
    min-width: 300px;
    overflow: hidden;
    text-align: left;
    margin: 15px;
    
    /* යට ඉර දම් පාට කිරීම */
    border-bottom: 10px solid #800080 !important; 
    border-top: none;
    border-left: none;
    border-right: none;
}

/* අකුරු වල පාට දම් සහ කළු කිරීම */
.facility-content h3 {
    color: #330099;
    margin-top: 0;
}

.facility-content p {
    color: #ffcc33;
}
/* මුළු Section එකේ පසුබිම තද කහ පැහැය (#330033) කිරීම */
.facilities-section {
    background-color: #330033 !important;
    padding: 60px 20px;
    text-align: center;
}

/* Title එක තියෙන කොටසේ පසුබිම */
.facilities-title-container {
    background-color: #330033 !important;
    padding: 40px 0;
}

.facilities-title {
    color: #330099;
    font-size: 2.8rem;
    font-weight: bold;
    margin: 0;
    background-color: transparent !important;
}

/* Card එකේ පෙනුම */
.facility-card {
    background-color: #ffffff !important; /* Card එකේ background එක සුදු */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: calc(45% - 20px);
    min-width: 300px;
    overflow: hidden;
    text-align: left;
    margin: 15px;
    transition: transform 0.3s ease;
    
    /* යට ඉර දම් පාට කිරීම */
    border-bottom: 10px solid #800080 !important; 
    border-top: none;
    border-left: none;
    border-right: none;
}

.facility-card:hover {
    transform: translateY(-10px);
}

/* Card එක ඇතුළේ අකුරු ලියන කොටස */
.facility-content {
    background-color: #ffffff !important;
    padding: 25px;
}

.facility-content h3 {
    color: #330099;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.facility-content p {
    color: #ffcc33;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .facility-card {
        width: 100%;
        margin: 15px 0;
    }
}
/* පිටුපස සම්පූර්ණ පසුබිම #330033 තද කහ පැහැය */
.facilities-section {
    background-color: #330033 !important;
    padding: 60px 20px;
}

/* Card එක ඇතුළේ අකුරු ලියන පෙට්ටිය සුදු පාට කිරීම */
.facility-content {
    background-color: #ffff00 !important;
    padding: 25px;
    position: relative;
}

/* පින්තූරය සහ අකුරු අතර මැද තියෙන ඉර #330033 දීප්තිමත් කහ පාට කිරීම */
.facility-content::before {
    content: "";
    display: block;
    width: 100%;
    height: 5px; /* ඉරේ මහත */
    background-color: #330033 !important; /* දීප්තිමත් කහ පැහැය */
    position: absolute;
    top: 0;
    left: 0;
}

/* Card එකේ පෙනුම සහ යට දම් පාට ඉර */
.facility-card {
    background-color: #ffffff !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: calc(45% - 20px);
    min-width: 300px;
    margin: 15px;
    border-bottom: 12px solid #800080 !important; /* දම් පාට යට ඉර */
    border-top: none;
    border-left: none;
    border-right: none;
}

/* පින්තූරය පෙන්වන ආකාරය */
.facility-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}
.events-section {
    background-color: #330033; /* තද කහ පසුබිම */
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    color: #330099;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: #fff;
    width: calc(50% - 20px);
    min-width: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 10px solid #800080; /* දම් පාට යට ඉර */
}

/* Swiper Slider එකේ සයිස් එක */
.swiper {
    width: 100%;
    height: 250px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* විස්තර ඇති කොටස */
.event-details {
    padding: 20px;
    text-align: left;
}

.event-name {
    color: #330099;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.event-date {
    color: #d81b60;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event-desc {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Swiper බොත්තම් වල පාට වෙනස් කිරීම */
.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .event-card {
        width: 100%;
    }
}
.events-section {
    background-color: #330033; /* තද කහ පසුබිම */
    padding: 60px 20px;
    text-align: center;
}

.events-grid {
    display: flex;
    flex-direction: column; /* එකක් යට එකක් පෙන්වීමට */
    align-items: center;    /* මැදට ගැනීමට */
    gap: 40px;              /* කාඩ් දෙක අතර පරතරය */
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: #ffffff;
    width: 80%;             /* කාඩ් එකේ පළල (අවශ්‍ය නම් වෙනස් කරන්න) */
    max-width: 800px;       /* උපරිම පළල */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-bottom: 12px solid #800080; /* දම් පාට යට ඉර */
}

/* Swiper Slider එකේ උස */
.swiper {
    width: 100%;
    height: 400px; /* පින්තූර පෙනෙන උස */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-details {
    padding: 30px;
    text-align: left;
}

.event-name {
    color: #330099;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.event-date {
    color: #d81b60;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.event-desc {
    color: #333;
    line-height: 1.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .event-card {
        width: 100%;
    }
    .swiper {
        height: 250px;
    }
}
/* පිටුපස පසුබිම තද කහ (#330033) */
.events-section {
    background-color: #330033 !important;
    padding: 60px 20px;
}

/* Card එකේ පෙනුම */
.event-card {
    background-color: #ffffff;
    width: 85%;
    max-width: 850px;
    margin: 0 auto 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    /* යට දම් පාට පටිය */
    border-bottom: 12px solid #800080 !important; 
}

/* පින්තූර Slider එකේ උස */
.swiper {
    width: 100%;
    height: 400px;
}

/* Description (Text) Area එක විතරක් #ffff00 කහ පාට කිරීම */
.event-details {
    background-color: #330033 !important; /*කහ */
    padding: 30px;
    text-align: left;
    border-top: 2px solid rgba(0,0,0,0.05); /* පින්තූරයත් එක්ක වෙන් වෙන්න පොඩි ඉරක් */
}

/* අකුරු වල පාට */
.event-name {
    color: #330099;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.event-date {
    color: #d81b60;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 12px;
    display: block;
}

.event-desc {
    color: #000000; /* කහ පසුබිමේ කළු අකුරු පැහැදිලියි */
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Swiper බොත්තම් වල පාට */
.swiper-button-next, .swiper-button-prev {
    color: #ffffff !important;
}
.navmenu ul li a {
    font-size: 14px; /* අකුරු වල size එක මඳක් අඩු කිරීම */
    padding: 10px 12px; /* අයිතම අතර පරතරය (Padding) අඩු කිරීම */
}
.header {
    padding: 10px 0; /* උඩ සහ යට පරතරය අඩු කිරීම */
    min-height: 70px; /* Header එකේ උස සීමා කිරීම */
    display: flex;
    align-items: center; /* අයිතම මැදට (Center) පෙළගැස්වීම */
}
.staff-card img {
    width: 100%;
    height: 250px; /* ඔබට අවශ්‍ය උස මෙහිදී වෙනස් කළ හැක */
    object-fit: cover; /* පින්තූරය ඇද නොවී (stretch නොවී) කොටුවට හරියටම fit වේ */
    object-position: top; /* මුහුණ පැහැදිලිව පෙනීමට පින්තූරයේ ඉහළ කොටස පෙන්වයි */
    border-radius: 8px 8px 0 0;
}
/* Card එකේ පින්තූරය සඳහා */
.staff-card img, .section-card img {
    width: 100%;       /* කාඩ් එකේ පළලට අනුව සකස් වේ */
    height: 250px;      /* ඔබට අවශ්‍ය උස මෙහි ලබා දෙන්න */
    object-fit: cover;  /* පින්තූරය ඇද නොවී, නියමිත කොටුවට ගැලපෙන සේ කැපී පෙනේ */
    object-position: center; /* පින්තූරයේ මැද කොටස පෙන්වයි */
    display: block;
}
/* Principals Board සහ Sectional Heads පින්තූර සඳහා */
.member img, .head-card img {
    width: 100%;
    height: 300px; /* ඔබට අවශ්‍ය උස මෙහිදී වෙනස් කළ හැක */
    object-fit: cover; /* පින්තූerය කොටුවට හරියටම fit කරයි */
    object-position: top center; /* මුහුණ පැහැදිලිව පෙනීමට ඉහළ කොටස පෙන්වයි */
    border-radius: 10px 10px 0 0;
}

/* Sectional Heads Card එකේ හැඩය */
.head-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.head-card .card-body {
    padding: 15px;
}
.anniversary-container {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    background: #f9f9f9;
  }

  .anniversary-card {
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, #ffcc33 0%, #2e004f 100%); /* Deep Purple */
    border: 5px solid #330033; /* Gold Border */
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    color: #fff;
    overflow: hidden;
  }

  .anniversary-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
  }

  @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .school-logo {
    width: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.5));
  }

  .years-text {
    font-size: 80px;
    font-weight: 800;
    color: #330033; /* Gold */
    margin: 0;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
  }

  .sub-text {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: #eee;
  }

  .school-name {
    font-size: 28px;
    font-weight: 700;
    color: #330033;
    border-top: 1px solid rgba(255,215,0,0.3);
    border-bottom: 1px solid rgba(255,215,0,0.3);
    padding: 10px 0;
    margin: 20px 0;
  }

  .wish-text {
    font-size: 20px;
    font-style: italic;
  }/* මෙන්න මේකෙන් තමයි මුළු Section එකම කහ පාට වෙන්නේ */
  .anniversary-section {
    background-color: #330033; /* School Gold Color */
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .anniversary-card {
    width: 100%;
    max-width: 450px;
    background: #ffcc33; /* School Purple Color */
    border: 8px double #330033; /* Gold Double Border */
    border-radius: 25px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
  }

  .school-logo {
    width: 120px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.3));
  }

  .years-count {
    font-size: 70px;
    font-weight: 900;
    color: #330033;
    margin: 0;
    font-family: 'Arial Black', sans-serif;
    line-height: 1;
  }

  .text-label {
    color: #330033;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 5px;
  }

  .divider {
    height: 2px;
    background: #330033;
    margin: 25px auto;
    width: 80%;
  }

  .school-name {
    color: #330033;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
  }

  .sinhala-quote {
    color: #330033;
    font-size: 19px;
    font-style: italic;
    opacity: 0.9;
  }
/* Card එක ඇතුළේ තියෙන Image එකට මේ Style එක දාපන් */
.sectional-head-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #330033;
    background: #2e004f;
    object-fit: cover;

    /* මෙන්න මේ පේළිය තමයි වැදගත් */
    margin-top: -150px; /* මේ අගය වැඩිකරන තරමට රූපය උඩට යනවා */
    
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Card එකට උඩින් ඉඩ තියන්න (Image එක උඩට පනින නිසා) */
.staff-card {
    margin-top: 80px; /* Card එක මුලින්ම පල්ලෙහාට කරලා ඉන්න ඕනේ */
    background: #ffcc33;
    padding-top: 10px; /* Card එක ඇතුළේ උඩ හිස්තැන අඩු කළා */
    border: 4px solid #330033;
    border-radius: 15px;
    text-align: center;
}
/* Card එකේ background එක සහ border එක */
.staff-card {
    background: #ffffff; /* පින්තූරේ විදිහට මේක සුදු වෙන්න ඕනේ */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    margin-top: 100px; /* Card එක පල්ලෙහාට කරගන්න (Image එකට ඉඩ දෙන්න) */
    
    /* වැදගත්ම දේ: මේක නැතිනම් උඩට යන පින්තූරේ වැහෙනවා */
    overflow: visible !important; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Card එක ඇතුළේ තියෙන Image එක */
.staff-card img {
    width: 100%; /* Card එකේ පළලටම */
    height: auto;
    border-radius: 8px; /* රවුම් නෙමෙයි නම් මේක පාවිච්චි කරන්න */
    
    /* පින්තූරය උඩට උස්සන තැන */
    margin-top: -120px; 
    position: relative;
    z-index: 5;
    
    /* පින්තූරේ වටේට border එකක් ඕනේ නම් */
    border: 3px solid #330033; 
}

/* නම සහ අනෙකුත් විස්තර වලට ඉඩ හදාගන්න */
.staff-details {
    margin-top: 10px;
}
.staff-list-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  /* මේකෙන් තමයි නම් ටික පේළි 3කට බෙදන්නේ */
  .name-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* හරියටම පේළි 3යි */
    gap: 10px; /* නම් අතර පරතරය */
    padding: 10px 0;
  }

  .staff-name {
    font-size: 14px;
    color: #333;
    padding: 5px;
    border-bottom: 1px solid #eee; /* නිකන් ලස්සනට ඉරක් */
  }

  /* Mobile එකේදී පේළි 3ක් දාන්න අමාරු නිසා එක පේළියක් කරමු */
  @media (max-width: 600px) {
    .name-grid {
      grid-template-columns: 1fr;
    }
  }

  .category-title {
    font-weight: bold;
    color: #ffcc33; /* Royal Purple */
    border-bottom: 2px solid #330033;
    padding-bottom: 5px;
    margin-top: 20px;
  }
<style>
  /* ටේබල් එකේ පෙනුම */
  table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    font-family: sans-serif;
  }

  td {
    border: 1px solid #dee2e6;
    padding: 12px;
    vertical-align: top;
  }

  /* තනතුර තියෙන කොටුව (වම් පැත්ත) */
  .designation-cell {
    width: 25%;
    font-weight: bold;
    color: #ffcc33; /* Royal Purple */
    background-color: #f8f9fa;
  }

  /* නම් පේළි 3කට බෙදන කොටුව (දකුණු පැත්ත) */
  .name-column-cell {
    column-count: 3; /* තීරු 3කට බෙදනවා */
    column-gap: 20px;
    column-rule: 1px solid #f0f0f0; /* තීරු අතර පොඩි ඉරක් */
  }

  /* හැම නමක්ම වෙන වෙනම පේළියක තියන්න */
  .name-item {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    break-inside: avoid; /* නමක් මැදින් කැඩෙන එක නවත්වනවා */
  }

  /* Mobile එකේදී පේළි 3ක් දාන්න අමාරු නිසා 1ක් කරමු */
  @media (max-width: 768px) {
    .name-column-cell {
      column-count: 1;
    }
  }
</style>
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #654321; /* තද දුබුරු පසුබිම */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* හැමදේටම උඩින් පෙනීමට */
  transition: opacity 0.5s ease;

}

.loader-content { text-align: center; color: #EEFF00; }

.loader-logo {
  width: 100px;
  animation: pulse 2s infinite; /* ලෝගෝ එක හුස්ම ගන්නවා වගේ පෙනීමට */
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.loading-bar {
  width: 200px; height: 4px;
  background: rgba(238, 255, 0, 0.2);
  margin-top: 20px;

  position: relative;
  overflow: hidden;
}

.loading-bar::after {
  content: "";
  position: absolute;
  left: -100%;
  width: 100%; height: 100%;
  background: #EEFF00; /* කහ පැහැති බාර් එක */
  animation: loading 1.5s infinite;
}

@keyframes loading {
  100% { left: 100%; }
}



.loader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    width: 80px; /* ලෝගෝ එකේ සයිස් එක */
    position: absolute;
    animation: pulse 1.5s infinite ease-in-out;
}

/* වටේ කැරකෙන රවුම */
.spinner {
    width: 120px;
    height: 120px;
    border: 5px solid rgba(75, 0, 130, 0.1);
    border-top: 5px solid #ffcc33; /* දම් පාට */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* කැරකෙන ඇනිමේෂන් එක */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ලෝගෝ එක ගැහෙන ඇනිමේෂන් එක */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Load වුණාම hide කරන්න class එකක් */
.fade-out {
    opacity: 0;
    visibility: hidden;
}
</style>



/* Card එක දමා ඇති පිටත div එක (Row එක) සඳහා */
.sectional-heads-section .row {
    display: flex;
    flex-wrap: wrap;
}

/* හැම Card එකක්ම එකම උසට ගැනීමට */
.head-card {
    height: 100%;      /* පේළියේ තිබෙන උසම කාඩ් එකේ ප්‍රමාණයට අනෙක් ඒවා සැකසේ */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Content එක ලස්සනට පේළි ගැස්වීමට */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* පින්තූරය එකම size එකට තබා ගැනීමට */
.head-card img {
    width: 100%;
    height: 250px;     /* පින්තූරයේ උස මෙතැනින් තීරණය කරන්න */
    object-fit: cover; /* පින්තූරය ඇද නොවී (stretch නොවී) fit වේ */
}

.head-card .card-body {
    flex-grow: 1;      /* Text අඩු වුවත් ඉතිරි ඉඩ ලබාගෙන උස සමාන කරයි */
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Card එක දමා ඇති row එක flexbox කරන්න */
.staff-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


/* Achievement Card Style */
.achievement-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #ffd700, #330033);
}

.subtitle {
    color: #ffd700;
    font-weight: bold;
    letter-spacing: 1px;
}

.match-title {
    color: #330033;
    font-weight: 800;
    margin-bottom: 20px;
}

.status-badge span {
    background: #ffd700;
    color: #fff;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: bold;
}

.description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.result-box h4 {
    color: #330033;
    font-weight: bold;
    margin-bottom: 0;
}

/* Right Side Cards */
.upcoming-events-card {
    background: #8b00ff;
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.read-more {
    color: #ffd700;
    text-decoration: underline;
    font-weight: bold;
}

.school-song-card {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #8b00ff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.song-title {
    color: #8b00ff;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
}

.song-image-box img {
    border-radius: 10px;
    width: 100%;
}

/* පේළියකට 4ක් ඇති විට පින්තූරයේ උස මඳක් අඩු කිරීම (අවශ්‍ය නම්) */
@media (min-width: 992px) {
    .staff-card .img-container {
        height: 280px; /* කාඩ් 4ක් එන නිසා උස මඳක් අඩු කිරීම පෙනුමට ලස්සනයි */
    }
    
    .staff-card .details h4 {
        font-size: 1.1rem; /* අකුරු වල size එක පොඩ්ඩක් අඩු කරන්න */
    }
}

/* Active link එකේ අකුරු වල පාට වෙනස් කිරීමට */
.navmenu a.active {
  color: #ffffff !important; 
}

/* Active link එකේ යටින් ඉරක් හෝ background එකක් ඇත්නම් එය වෙනස් කිරීමට */
.navmenu a.active:focus {
  color: #ffffff !important;
}

/* Hover කරන විට සහ active විට පාට එකම විදිහට තබා ගැනීමට */
.navmenu a:hover, 
.navmenu a.active {
  color: #6600ff !important; /* උදාහරණයක් ලෙස කහ පැහැය */
}

/* Hero section එකේ අකුරු බලහත්කාරයෙන් සුදු කිරීම */
.hero h2, 
.hero p,
.hero .container h2,
.hero .container p {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important; /* සමහර Browser වලට මෙය අවශ්‍ය වේ */
}

/* Principal row එක අනිවාර්යයෙන්ම මැදට ගැනීම */
.row.justify-content-center {
    display: flex !important;
    justify-content: center !important;
}

.staff-card {
    margin: 0 auto; /* Card එක column එක ඇතුළෙත් මැදට ගැනීමට */
}
.staff-card .img-container {
    width: 100%;
    height: 320px; /* මෙම අගය අනෙක් card වලට දී ඇති අගයම විය යුතුය */
    overflow: hidden;
}

/* Card එක ඇතුළේ තියෙන දේවල් වලට ඉඩ මදි වෙලා කැපෙන එක නතර කිරීමට */
.staff-card {
    height: auto !important; /* උස ස්වයංක්‍රීයව වෙනස් වීමට ඉඩ දෙන්න */
    min-height: 450px; /* අවම උසක් ලබා දෙන්න */
    display: flex;
    flex-direction: column;
}

/* පින්තූරය පෙනෙන ප්‍රමාණය නිවැරදි කිරීමට */
.staff-card .img-container {
    width: 100%;
    height: 300px; /* පින්තූරයේ උස වැඩි කරන්න */
    overflow: hidden;
}

.staff-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* පින්තූරය ඇද නොවී ලස්සනට පෙනීමට */
    object-position: center; /* මුහුණ මැදට පෙනීමට */
}

/* Staff card එකේ image එක undistorted ව පෙන්වීමට */
.staff-card img {
    object-fit: cover !important; /* aspect ratio එක තබාගෙන container එක cover කරයි */
    height: 100% !important;   /* container එකේ සම්පූර්ණ උසම ගන්නවා */
    width: 100% !important;    /* container එකේ සම්පූර්ණ පළලම ගන්නවා */
    object-position: center !important; /* image එකේ center එක පෙන්වන්න */
}

/* විදුහල්පතිතුමාගේ පින්තූරය නිවැරදිව පෙන්වීමට */
.principal-card img {
    width: 100% !important;
    height: auto !important; /* උස බලහත්කාරයෙන් සීමා නොකරන්න */
    max-height: 400px; /* ඔබට අවශ්‍ය උපරිම උස මෙතැනින් පාලනය කරන්න */
    object-fit: contain !important; /* මුළු පින්තූරයම පෙනෙන සේ සකසයි */
    background-color: #330033; /* පින්තූරය කුඩා වුවහොත් හිස් තැන් පිරවීමට */
}

/* Card එකේ පින්තූරය ඇති කොටස (Container) */
.principal-card .img-container {
    height: auto !important; 
    overflow: hidden;
}
/* පින්තූරය කැපීම වැළැක්වීමට සහ සම්පූර්ණ මුහුණ පෙන්වීමට */
.staff-card .img-container {
    width: 100%;
    height: 350px; /* ඔබට අවශ්‍ය උස මෙතැනින් වෙනස් කරන්න */
    overflow: hidden;
    background-color: #330033; /* පින්තූරය කුඩා වුවහොත් පසුබිම පිරවීමට */
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-card .img-container img {
    width: 100%;
    height: 100%;
    /* වැදගත්ම කොටස: contain දැමූ විට පින්තූරය කැපෙන්නේ නැත */
    object-fit: contain !important; 
    object-position: center;
}

/* පින්තූරය වටා ඇති සුදු පැහැය ඉවත් කර තද දම් පැහැය එක් කිරීම */
.staff-card .img-container {
    width: 100%;
    height: 350px !important; /* Card එකේ උස */
    background-color: #330033 !important; /* පින්තූරය පිටුපස පසුබිම */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.staff-card .img-container img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important; /* පින්තූරය ඇද වීම වැළැක්වීමට */
    height: auto !important;
    object-fit: contain !important;
    /* පින්තූරය මත ඇති සුදු border හෝ background තිබේ නම් එය පාලනය කිරීමට */
    background-color: #330033 !important; 
}
.staff-card .img-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* සම්පූර්ණයෙන්ම වැසීමට */
    object-position: center !important; /* මුහුණ කැපීම වැළැක්වීමට ඉහළ කොටස පෙන්වයි */
}

/* පින්තූරය වටා ඇති සුදු පැහැය ඉවත් කර තද දම් පැහැය එක් කිරීම */
.staff-card .img-container {
    width: 100% !important;
    height: 350px !important; /* Card එකේ උස */
    background-color: #330033 !important; /* පසුබිම තද දම් පාට */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border: none !important; /* සුදු පාට border එකක් ඇත්නම් එය ඉවත් කරයි */
}

.staff-card .img-container img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important; 
    height: auto !important;
    object-fit: contain !important;
    /* පින්තූරය වටා ඇති ඕනෑම සුදු පාටක් වැසීමට */
    background-color: #330033 !important; 
    box-shadow: none !important;
}

.staff-card .img-container {
    background-color: #330033 !important;
}

/* Card එකේ පින්තූරය දෙපැත්තේ ඇති සුදු පාට ඉවත් කිරීමට */
.staff-card .img-container {
    width: 100% !important;
    height: 350px !important; /* Card එකේ උස */
    background-color: #330033 !important; /* හිස් තැන් වලට වැටෙන පාට */
    display: flex !important;
    align-items: flex-start !important; /* පින්තූරය ඉහළින්ම පටන් ගැනීමට */
    justify-content: center !important;
    overflow: hidden !important;
}

.staff-card .img-container img {
    /* සුදු පාට නැතිවෙන්න පින්තූරය පළලට fit කිරීම */
    width: 100% !important; 
    height: 100% !important;
    object-fit: cover !important; /* මෙයින් සුදු පාට කෑලි වැසී යන සේ පින්තූරය පිරවේ */
    object-position: top !important; /* මුහුණ පෙනෙන සේ ඉහළ කොටස පෙන්වයි */
    background-color: #330033 !important;
}
/* Principal Card එක සඳහා විශේෂිත CSS */
.principal-card {
    background-color: #330033 !important; /* මුළු කාඩ්පතේම පසුබිම තද දම් පාට */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: none !important;
}

.principal-card .img-container {
    width: 100% !important;
    height: 380px !important; /* උස අවශ්‍ය පරිදි වෙනස් කරන්න */
    background-color: #330033 !important; /* පින්තූරය පිටුපස පසුබිම */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.principal-card .img-container img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; /* මුහුණ කැපීම වැළැක්වීමට */
    background-color: #330033 !important; /* පින්තූරය වටා ඇති ඉඩ දම් පාට කරයි */
}

.principal-card .details {
    padding: 20px;
    background-color: #330033 !important;
}

.principal-card .details h4 {
    color: #ffcc00 !important; /* නම සඳහා රන්වන්/කහ පැහැය (දම් පාටට කැපී පෙනේ) */
    font-weight: bold;
    margin-bottom: 5px;
}

.principal-card .details .designation {
    color: #ffffff !important; /* සුදු පැහැය */
    font-weight: 600;
}

.principal-card .details .grade {
    color: #cccccc !important; /* ලා අළු පැහැය */
    font-size: 0.9rem;
    font-style: italic;
}