/* Decorative Borders */
.top-background {
    background-image: url(assets/1.jpg);
    background-size: auto 15px;
    height: 15px;
    background-repeat: repeat-x;
}

.top-2-background {
    background-image: url(assets/2.png);
    background-size: auto 20px;
    height: 20px;
    background-repeat: repeat-x;
}

.top-2-2-background {
    background-image: url(assets/2-2.png);
    background-size: auto 20px;
    height: 20px;
    background-repeat: repeat-x;
}

.top-3-background {
    background-image: url(assets/lower_border.jpg);
    background-size: auto 25px;
    height: 25px;
    background-repeat: repeat-x;
}

.top-22-background {
    background-image: url(assets/22.png);
    background-size: auto 20px;
    height: 20px;
    background-repeat: repeat-x;
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: white !important; /* Deep red */
    font-weight: 600;
    padding: 10px 15px;
    transition: background-color 0.2s, color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background-color: #ffe6e6; /* Light red background on hover */
    border-radius: 5px;
    color: #800000 !important;
}

/* Submenu */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.header-top {
    /* background-color: #07294d;
    background: linear-gradient(-45deg, #00437B 20%, #07294d 42%);
    padding-top: 10px;
    padding-bottom: 10px; */
    background: url(assets/su.png) repeat-x #f6f6f6;
    height: 36px;
}

.header-logo-support {
   background-image: url(images/top_bar.jpg);
   background-size: cover;
   min-height: 125px;
   background-position: top;
}

.navigation {
    background: url(images/22.png) repeat-x #f6f6f6;
}
.navigation.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: url(images/22.png) repeat-x #ffffff;
    z-index: 999;
    border-bottom: 1px solid #cecece;
    -webkit-box-shadow: 0px 0px 191px 0px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 0px 191px 0px rgba(0, 0, 0, 0.06);
    -webkit-animation: sticky 2s;
    animation: sticky 2s;
}

.course-card {
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    }
    .subject-list li {
        padding: 5px 0;
        font-size: 15px;
    }
    .subject-icon {
        color: #007bff;
        margin-right: 8px;
    }
	
@keyframes scrollUp {
  0%   { top: 100%; }
  100% { top: -100%; }
}

.carousel-fade .carousel-item {
  transition: opacity 1s ease-in-out;
  opacity: 0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
  position: relative;
}

.zoom-in {
  animation: zoomIn 1s ease;
}

@keyframes zoomIn {
  0% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.slide-left {
  animation: slideLeft 1s ease;
}

@keyframes slideLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-right {
  animation: slideRight 1s ease;
}

@keyframes slideRight {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.login-box {
            background: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
            width: 400px;
            border-top: 5px solid #764ba2;
        }
        .form-control {
            border-radius: 20px;
        }
        .btn-primary {
            background-color: #667eea;
            border-radius: 20px;
            border: none;
        }
        .btn-primary:hover {
            background-color: #5a67d8;
        }
		
/* Administration Section */
.admin-section {
        background: #1E71A6; /* Background color */
        padding: 20px 10px;
        text-align: center;
    }
    .admin-section h2 {
        color: white;
        font-weight: bold;
        margin-bottom: 20px;
    }
    .admin-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    .admin-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        width: 180px;
		height: 254px;
        padding: 15px;
        text-align: center;
    }
    .admin-card img {
        width: 70%;
		height: auto;
        object-fit: cover;
		border-radius: 12px; /* Rounded corners */
        border-bottom: 2px solid #1E71A6;
    }
    .admin-card h4 {
        margin: 10px 0 5px;
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }
    .admin-card p {
        font-size: 14px;
        color: #a6421e;
        font-weight: bold;
    }
	

/* Announcement Bar*/	
.announcement-bar {
    background-color: #0B3D91; /* Navy Blue */
	/*background-color: #065061;*/ /* Navy Green */
    color: white;
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
}
.announcement-label {
    background-color: red;
    padding: 8px 12px;
    margin-right: 10px;
    color: white;
    font-weight: bold;
    white-space: nowrap;
}
.announcement-item {
    margin-right: 20px;
    font-weight: normal;
    white-space: nowrap;
}
.new-badge {
    background: red;
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    margin-left: 5px;
    border-radius: 3px;
}

/* Color Box (add in VC)*/
.bg-grad {
  background: -webkit-gradient(linear, left bottom, left top, from(#f28e26), to(#fd644f));
  background: linear-gradient(360deg, #f28e26 0%, #fd644f 100%);
  min-height: 53vh; /* full viewport height */
}

.bg-grad-pink {
  background: -webkit-gradient(linear, left bottom, left top, from(#ff887c), to(#b6325f));
  background: linear-gradient(360deg, #ff887c 0%, #b6325f 100%);
  min-height: 53vh; /* full viewport height */
}

.bg-grad-blue {
  background: -webkit-gradient(linear, left bottom, left top, from(#066ac9), to(#064f8a));
  background: linear-gradient(360deg, #066ac9 0%, #064f8a 100%);
  min-height: 53vh; /* full viewport height */
}

.bg-danger-soft-hover:hover, .bg-danger-soft-hover:active, .bg-danger-soft-hover:focus {
  background-color: rgba(214, 41, 62, 0.1) !important;
  color: var(--bs-danger) !important;
}

.bg-primary-soft-hover:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.transition-base {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.bg-overlay {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Page Setting for page.php*/
.page-heading h1:after {
    content: '';
    display: block;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 1px;
    border-bottom: 7px solid #045C8E;
    border-bottom-left-radius: 105px;
	border-bottom-right-radius: 105px;
}

.page-heading {
    padding: 7px;
    text-align: center;
	color : #045C8E;
}

.page-content {
    margin-left: 5%;
    margin-right: 5%;
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
}

/* Footer */
.footers {
    background: #fef3f2;
    width: 100%;
    position: relative
}

.border-f-t {
    background-image: url(assets/footer.png);
    background-size: auto 15px;
    height: 20px;
    background-repeat: repeat-x
}

.border-f-b {
    background-image: url(assets/footer.png);
    background-size: auto 15px;
    height: 15px;
    background-repeat: repeat-x;
    transform: rotate(180deg)
}

.single-f-content {
    width: 17%
}

/* Logo Scroll */
/* Animation */
.animate {
  animation: spin 6s linear infinite;
}

/* Keyframes for rotation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Positioning containers */
.flower-div {
  position: absolute;
  top: 15%;
  left: 10%;
  transform: translate(-50%, -50%);
  z-index: 1; /* behind */
}

.circle-div {
  position: absolute;
  top: 15%;
  left: 10%;
  transform: translate(-50%, -50%);
  z-index: 2; /* on top */
}

/* Flower image */
.flower-div img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
}

/* Circle (logo) image */
.circle-div img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  display: block;
}

/* Rainbow Style */
.rainbow-text {
  background-image: linear-gradient(
    90deg,
    red,
    orange,
    yellow,
    green,
    blue,
    indigo,
    violet,
    red,
    pink,
    brown,
    grey,
    cyan,
    magenta,
    maroon,
    teal,
    olive
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 5s linear infinite;
  display: inline-block;
}

.superscript {
  font-size: 0.6em;
  vertical-align: super;
}

@keyframes rainbow {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

/* Breadcrumb Style */
.custom-breadcrumb .breadcrumb {
  background: linear-gradient(to right, #f8f9fa, #e0ecff);
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.custom-breadcrumb .breadcrumb-item a {
  color: #0d6efd;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
  color: #084298;
  text-decoration: underline;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: '>';
  color: #6c757d;
  margin: 0 0.5rem;
}

.custom-breadcrumb .breadcrumb-item i {
  color: #6c757d;
}

/* Table Style */
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 800px;
}

th, td {
  border: 1px solid #999;
  padding: 8px;
  text-align: left;
  white-space: nowrap;
}