:root{
    --body-bg: #ffffff;
    --theme-color: #E8063C;
    --theme-color2: #FFD600;
    --title-color: #000000;
    --body-color: #444444;
    --vs-secondary-color: #18a166;
    --smoke-color: #F0F6FA;
    --light-color: #f8f9fa;
    --black-color: #000000;
    --white-color: #ffffff;
    --yellow-color: #fec624;
    --success-color: #28a745;
    --error-color: #dc3545;
    --border-color: #E0E0E0;
    --title-font: "Fredoka", sans-serif;
    --body-font: "Jost", sans-serif;
    --icon-font: "Font Awesome 5 Pro";
    --main-container: 1290px;
    --container-gutters: 30px;
    --section-space: 120px;
    --section-space-mobile: 80px;
    --section-title-space: 60px;
    --ripple-ani-duration: 5s;
}

body {
  font-family: 'Segoe UI', sans-serif;
    margin: 0px;
    padding: 0px;
}
html {
  scroll-behavior: smooth;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff; /* background color */
    display: flex;
    justify-content: center;
    align-items: center;
}


/*Navigation Bar*/
.navbar {
  padding: 1rem 0;
}
.navbar-brand img {
  height: 60px;
}
.nav-link {
  color: #002f6c !important;
  font-weight: 500;
  position: relative;
  margin: 0 12px;
  font-size: 16px;
}
.nav-link.active {
  color: #e30613 !important;
}

.nav-link::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: #002f6c;
  position: absolute;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.btn-rounded {
  background-color: #002f6c;
  color: white;
  border-radius: 999px;
  padding: 5px 24px;
  font-weight: 500;
  font-size: 14px;
  border: none;
  transition: 0.3s;
}
.btn-rounded:hover {
  background-color: #001d45;
  color: white;
}

/* Dropdown styling */
.dropdown-menu {
    border-radius: 8px;
    border: none;
    padding: 10px 0;
    min-width: 220px;
}

.dropdown-item {
    color: #002f6c;
    font-weight: 500;
    padding: 10px 20px;
    transition: 0.3s;
}

.dropdown-item:hover {
    background-color:#06377A;
    /*#f5f5f5;*/
    /*color: #e30613;*/
    color: white;
}

.dropdown-icon {
    font-size: 0.7rem;        /* smaller size */
    color: #ED1A3B;           /* red */
    margin-left: 4px;
    position: relative;
    top: 3px;                 /* push it downward near bottom */
}

/* Show dropdown on hover (desktop only) */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}


/* Slightly reduce nav link margins for smaller screens */
@media (max-width: 1200px) {
  .nav-link {
    padding: 4px 18px;
    font-size: 13px;
    border-radius: 25px;
    margin-right: 5px;
  }
}


/* Fix button sizing & spacing on tablets */
@media (max-width: 1024px) {
  .btn-rounded {
    padding: 4px 18px;
    font-size: 13px;
    border-radius: 25px;
    margin-right: 5px;
  }

  .d-flex a:last-child {
    margin-right: 0;
  }
}

.modal.fade .modal-dialog {
    transform: translateY(50px);
    transition: transform 0.3s ease-out;
}
.modal.show .modal-dialog {
    transform: translateY(0);
}
#imageModal .modal-dialog {
    max-width: 33%; /* Default for larger screens */
    margin: auto;   /* Center horizontally */
}

/* Laptop L (≤1440px) */
@media (max-width: 1440px) {
    #imageModal .modal-dialog {
        max-width: 36%;
    }
}

/* Laptop (≤1024px) */
@media (max-width: 1024px) {
    #imageModal .modal-dialog {
        max-width: 52%;
    }
}

/* Tablet (≤768px) */
@media (max-width: 768px) {
    #imageModal .modal-dialog {
        max-width: 70%;
    }
}

/* Mobile (≤750px) */
@media (max-width: 750px) {
    #imageModal .modal-dialog {
        max-width: 100%;
    }
}


#imageModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}




.hero-img {
  margin-top: 115px;
  height: auto;
  width: 100%;
  /*max-height: 400px;*/
}


.facilities .card {
  border: none;
  text-align: center;
  padding: 30px 15px;
  min-height: 180px;
}

.asset-b-gallery{
  width: 110px;
  height: 115px;
  position: relative;
  left: 6px;
  top: 450px;
}

.asset-a-gallery{
  width: 110px;
  height: 115px;
  position: relative;
  left: 6px;
  top: 200px;
}
.asset-d-gallery{
  width: 110px;
  height: 115px;
  position: relative;
  left: 6px;
  top:960px;
}

.gallery-images {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.rules .card {
  background: red;
  color: white;
  text-align: center;
  padding: 40px 20px;
  border: none;
}

.activity-icon {
  width: 65px;
  margin-bottom: 10px;
  border-radius: 10px;
}
.activity-title {
  color: #e30613;
  font-weight: 600;
}
/*.activity-card:nth-child(even) {*/
/*  background-color: #f8f9fa;*/
/*}*/

.activity-img{
  width: 500px;
  height: 350px;
}

.day-card {
  width: 110px;
  height: 150px;
  background-color: #d1d9ed;
  border-radius: 5px;
  text-align: center;
  padding-top: 10px;
}

.day-card.today {
  background-color: #ED1C24;
  color: white;
}

.day-name{
  color: rgba(0, 47, 108, 0.85);
  font-size: 33px;
}
.day-num{
  color: rgba(0, 47, 108, 0.85);
  font-size: 30px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: rgba(0, 47, 108, 0.85);
  border-radius: 50%;
  margin: 15px auto 0;
}


.hero-section-about-page{
  margin-top:100px;
}

.pagination .page-link {
    border-radius: 50% !important;
    margin: 0 5px;
    color: #0d6efd;
    font-weight: bold;
}

.pagination .active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.gallery-page{
    margin-top:100px;
}

.news-card img {
    height: 220px;
    object-fit: cover;
}

.news-card .card-body {
    padding: 1.5rem;
    min-height: 150px;
}

.news-card .date-ribbon {
    position: absolute;
    bottom: -40px;
    left: 11px;
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 5px 10px;
    border-radius: 4px 4px 0 0;
    font-family: Arial, sans-serif;
}

.news-card .date-ribbon .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.news-card .date-ribbon .month {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.news-card .date-ribbon .year {
    display: block;
    font-size: 0.7rem;
}
/*Large screen footer*/

 .footer-container {
     position: relative;
     width: 100%;
     height: 70vh;
     background-size: 100% 100%;
     background-position: center;
     background-repeat: no-repeat;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     z-index: 2
 }

.footer-content {
    width: 100%;
    height: 100%;
    padding: 60px 40px 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    bottom: -106px;
}

.footer-logo img {
    max-width: 250px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-section{
    color: white;
}

.footer-divider {
    border: 1px solid white !important;
    opacity: 1 !important;
    margin: 0 !important;
    margin-top: 30px !important;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 20%, rgba(255, 255, 255, 0.8) 80%, transparent 100%);
    height: 1px;
}

.footer-section h6,
.footer-section h5 {
    color: #ff4757 !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    /*margin-bottom: 15px;*/
    font-size: 17px;
    line-height: 1.6;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1.8;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-section a:hover {
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(255, 71, 87, 0.3);
}

.footer-section .list-unstyled li a {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.footer-section .list-unstyled li a:hover {
    border-left-color: #ff4757;
    padding-left: 20px;
}
@media (max-width: 768px) {
    .footer-logo img {
        max-width: 140px;

    }
}

/*Footer mobile*/
.footer-pensil-logo{
    position: absolute;
    right: 66px;
    bottom: 25px;
    height: 100%;
    max-height: 305px;
    pointer-events: none;
}

.footer-s-icons{
    height: 40px;
}

@media (max-width: 991.98px) and (min-width: 768px) {
    .footer-pensil-logo {
        right: 11px;
    }
}
@media (max-width: 768px)  {
    .footer-pensil-logo {
        display: none;
    }
}

@media (max-width: 1024px)  {
    .footer-logo img {
        height: auto;
        max-width: 194px;
        transition: transform 0.3s ease;
    }
    .footer-s-icons{
        height: 30px;
    }
}


.gallery-card {
    height: 250px; /* fixed height for uniformity */
}
.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* no stretching */
    transition: transform 0.3s ease;
}
.gallery-image:hover {
    transform: scale(1.05);
}


.search-box {
    max-width: 500px;
}
.category-btn {
    background-color: #dc3545;
    color: white;
    font-weight: bold;
}
.category-btn:hover {
    background-color: #c82333;
    color: white;
}
.session-title {
    color: #003366;
    font-weight: bold;
}
.read-more-btn {
    border: none;
    font-weight: bold;
}
.read-more-btn:hover {
    background-color: #c82333;
}
.pagination .page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
}
.contact-us-page {
    margin-top: 100px;
}

.contact-message{
 height: 134px;
}

.info-style2 {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0, 47, 108, 0.3); /* 0.3 = 30% opacity */
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.05);*/
    transition: all 0.3s ease;
}

.info-style2:hover {
    transform: translateY(5px);
}

.info-style2::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    box-sizing: border-box;
    pointer-events: none;
}

.info-style2:hover::before {
    border-color: #002f6c;
    animation: border-run 1s linear forwards;
}

@keyframes border-run {
    0% { clip-path: inset(0 100% 100% 0); }
    25% { clip-path: inset(0 0 100% 0); }
    50% { clip-path: inset(0 0 0 100%); }
    75% { clip-path: inset(100% 0 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}


.info-style2 .info-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.info-style2:hover .info-icon img {
    transform: scale(1.1);
}


.info-style2 .info-icon {
    width: 120px;
    height: 120px;
    /*background-color: #FFB300; !* yellow *!*/
    border-radius: 50%;
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    margin: 0 auto 27px;
}

.info-style2 .info-icon img {
    max-width: 60%; /* adjust size inside circle */
    max-height: 60%;
    object-fit: contain;
}

.info-style2 .info-title {
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #000;
}

.info-style2 .info-text {
    font-size: 16px;
    margin: 0;
    color: #222;
}

.map-style1 {
    /*border-radius: 30px;*/
    overflow: hidden;
    line-height: 0;
}

.space-bottom {
    padding-bottom: var(--section-space);
}
*, :after, :before {
    box-sizing: border-box;
}

.btn-warning {
    background-color: #FFB300;
    border-color: #FFB300;
}
.btn-warning:hover {
    background-color: #e09e00;
    border-color: #e09e00;
}

.event-date{
    background-color: #dc3545;
    color: white;
    font-weight: bold;
    display: inline;
    padding: 13px 40px;
    position: relative;
    left: 30px;
    top: 28px;
    border-radius: 10px 10px 0 0; /* top-left, top-right, bottom-right, bottom-left */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.event-date i {
    font-size: 16px;
}

.admission-class {
    margin-top: 100px;
}

.img-box6 {
    margin: 27px 0 86px 0;
}

.img-box6 .img-2,
.img-box6 .img-1 {
    width: max-content;
    max-width: 100%;
    border-radius: 30px;
    overflow: hidden;
    border: 5px solid var(--white-color);
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
}

.img-box6 .img-1 {
    margin-left: 114px;
    transform: rotate(-8.183deg);
}

.img-box6 .img-2 {
    margin: -52px 0 0 -36px;
    margin-left: 36px;
    transform: rotate(18.31deg);
}
@media (max-width: 1399px) {
    .img-box6 {
        margin-top: 0;
        margin-bottom: 30px;
    }

    .img-box6 .img-2,
    .img-box6 .img-1 {
        width: 100%;
        margin: 0;
        transform: none;
    }

    .img-box6 .img-2 img,
    .img-box6 .img-1 img {
        width: 100%;
    }

    .img-box6 .img-1 {
        margin-bottom: 30px;
    }
}

.mega-hover {
    position: relative;
    overflow: hidden;
}

.sec-title2, .sec-title {
    font-size: 60px;
    margin-top: -0.25em;
    margin-bottom: 10px;
    text-transform: capitalize;
}
.list-style1 ul {
    margin: 0 0 30px 0;
}

.list-style1 li {
    position: relative;
    display: flex;
    margin-bottom: 12px;
}

.list-style1 li:before {
    content: var(--icon, url("data:image/svg+xml,%3Csvg width='25' height='23' viewBox='0 0 25 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.6842 20.6753C9.59141 20.6753 9.50023 20.651 9.4197 20.6049C9.33917 20.5588 9.27209 20.4924 9.22512 20.4124C7.45633 17.399 2.74074 10.9826 2.69336 10.9182C2.61761 10.8152 2.58145 10.6884 2.59149 10.5609C2.60153 10.4335 2.65709 10.3139 2.74804 10.224L4.19806 8.79111C4.28662 8.7036 4.40305 8.6499 4.52711 8.63934C4.65116 8.62879 4.77499 8.66205 4.87706 8.73335L9.57343 12.0125C12.716 7.98275 15.6351 5.19864 17.5556 3.5558C19.7177 1.70658 21.0941 0.874056 21.1517 0.839774C21.2344 0.790135 21.3291 0.763914 21.4256 0.763916H23.7714C23.8794 0.763909 23.9847 0.796703 24.0736 0.85795C24.1624 0.919197 24.2306 1.006 24.269 1.10686C24.3074 1.20772 24.3142 1.31787 24.2886 1.4227C24.2629 1.52753 24.2061 1.62209 24.1254 1.69385C17.4636 7.62747 10.2191 20.2793 10.1467 20.4064C10.1005 20.4875 10.0338 20.5551 9.9532 20.6023C9.87262 20.6495 9.78104 20.6746 9.68766 20.6752L9.6842 20.6753Z' fill='%23E8063C'/%3E%3Cpath d='M9.58204 22.8931C4.2985 22.8931 0 18.5946 0 13.311C0 8.02746 4.2985 3.72901 9.58204 3.72901C10.6414 3.72784 11.6936 3.90269 12.6957 4.24644C12.8292 4.29232 12.9391 4.38938 13.0011 4.51624C13.063 4.64311 13.0721 4.7894 13.0262 4.92293C12.9803 5.05646 12.8833 5.1663 12.7564 5.22827C12.6295 5.29025 12.4832 5.29929 12.3497 5.25341C11.4588 4.9479 10.5234 4.79254 9.58156 4.79368C4.88503 4.79368 1.06419 8.61457 1.06419 13.311C1.06419 18.0075 4.88503 21.8284 9.58156 21.8284C14.2781 21.8284 18.0989 18.0075 18.0989 13.311C18.0991 12.7348 18.0412 12.1599 17.9261 11.5953C17.9121 11.5268 17.9118 11.4562 17.925 11.3875C17.9383 11.3189 17.965 11.2535 18.0035 11.1952C18.0421 11.1368 18.0917 11.0866 18.1497 11.0475C18.2076 11.0083 18.2727 10.981 18.3412 10.967C18.4097 10.953 18.4803 10.9526 18.549 10.9659C18.6176 10.9792 18.683 11.0059 18.7413 11.0444C18.7997 11.083 18.8498 11.1326 18.889 11.1905C18.9281 11.2485 18.9555 11.3136 18.9695 11.3821C19.0989 12.0169 19.164 12.6632 19.1639 13.311C19.1641 18.5946 14.8656 22.8931 9.58204 22.8931Z' fill='%23E8063C'/%3E%3C/svg%3E%0A"));
    margin-right: 10px;
    font-family: var(--icon-font);
}

.list-style2 ul {
    margin-bottom: 30px;
}

.list-style2 li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.list-style2 li:before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: var(--theme-color);
    display: inline-block;
    margin-right: 10px;
    border-radius: 50%;
}


.form-style3 {
    border: 3px solid #002f6c;
    padding: 30px 30px 3px 30px;
    margin-bottom: 30px;
    background-color: var(--white-color);
    border-radius: 30px;
}

.form-style3 .form-group {
    margin-bottom: 27px;
}

.form-style3 input {
    border: 1px solid rgba(153, 153, 153, 0.5);
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 10px;
}

/*select, .form-control, .form-select, textarea, input {*/
/*    height: 55px;*/
/*    padding: 0 45px 0 30px;*/
/*    border: 1px solid var(--border-color);*/
/*    color: var(--body-color);*/
/*    background-color: var(--body-bg);*/
/*    border-radius: 16px;*/
/*    font-size: 16px;*/
/*    width: 100%;*/
/*}*/


.form-style3 input[type=checkbox] ~ label {
    font-weight: 500;
    margin: 0;
}

.form-style3 input[type=checkbox] ~ label:before {
    background-color: #D9D9D9;
    border: none;
}

.form-style3 input[type=checkbox]:checked ~ label:before {
    background-color: var(--theme-color);
}

.form-style3 label {
    font-weight: 400;
}

.form-style3 .required {
    font-size: 14px;
    color: var(--error-color);
}

.form-style3.layout2 {
    padding: 0;
    border: none;
}

.form-style3 .form-group {
    margin-bottom: 27px;
}

.vs-btn {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    border: none;
    outline: none;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 600;
    padding: 19px 40px 20px 40px;
    background-color: #002f6c;
    color: var(--white-color);
    text-transform: capitalize;
    border-radius: 9999px;
    line-height: 1;
    transition: all ease 0.4s;
    z-index: 2;
}

.bg-smoke {
    background-color: var(--smoke-color) !important;
}

.process-card-school {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.process-card-school:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .img-box6 {
        flex-direction: column;
    }
}

.register-button-position{
    position: absolute;   /* Bootstrap sets it when used with top/start */
    top: 66%;             /* top-50 */
    left: 163px;              /* start-0 */
    transform: translateY(-50%); /* translate-middle-y */
    margin-left: 3rem;
}
.register-button-position-it{
    padding: 20px 45px;
    background-color: #002f6c;
    border-radius: 50px
}

.register-button-position-it:hover{
    padding: 20px 45px;
    background-color: #002f6c;
    border-radius: 50px
}


@media (min-width: 1700px) and (max-width: 1800px) {
    .register-button-position {
        top: 67%;
        left: 138px;
        margin-left: 3rem;
    }
}
@media (min-width: 1600px) and (max-width: 1700px) {
    .register-button-position {
        top: 67%;
        left: 133px;
        margin-left: 3rem;
    }
    .register-button-position-it{
        padding: 16px 39px;
        background-color: #002f6c;
        border-radius: 50px
    }
}
@media (min-width: 1500px) and (max-width: 1600px) {
    .register-button-position {
        top: 67%;
        left: 118px;
        margin-left: 3rem;
    }
    .register-button-position-it{
        padding: 13px 32px;
        background-color: #002f6c;
        border-radius: 50px
    }
}
@media (min-width: 1400px) and (max-width: 1500px) {
    .register-button-position {
        top: 67%;
        left: 100px;
        margin-left: 3rem;
    }
    .register-button-position-it{
        padding: 12px 29px;
        background-color: #002f6c;
        border-radius: 50px
    }
}
@media (min-width: 1300px) and (max-width: 1400px) {
    .register-button-position {
        top: 67.5%;
        left: 104px;
        margin-left: 3rem;
    }
    .register-button-position-it{
        padding: 12px 27px;
        background-color: #002f6c;
        border-radius: 50px
    }
}
@media (min-width: 1024px) and (max-width: 1300px) {
    .register-button-position {
        top: 68%;
        left: 63px;
        margin-left: 3rem;
    }
    .register-button-position-it{
        padding: 8px 14px;
        background-color: #002f6c;
        border-radius: 50px;
        font-size: 15px;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .register-button-position {
        top: 69%;
        left: 37px;
        margin-left: 3rem;
    }
    .register-button-position-it{
        padding: 8px 15px;
        background-color: #002f6c;
        border-radius: 50px;
        font-size: 10px;
    }
}
@media (min-width: 425px) and (max-width: 767px) {
    .register-button-position {
        top: 72%;
        left: 13px;
        margin-left: 3rem;
    }
    .register-button-position-it{
        padding: 8px 15px;
        background-color: #002f6c;
        border-radius: 50px;
        font-size: 8px;
    }
}
@media (min-width: 5px) and (max-width: 424px) {
    .register-button-position {
        display: none;
    }

}

@media (min-width: 1024px) {
    .mission-statement-class {
        padding-left: 300px;
        padding-right: 300px;
    }
}



.blogs-page-section{
    position:relative;
    padding:100px 0px 100px;
}

.blogs-page-section .styled-pagination{
    margin-top:25px;
}



/* News Block Two */

.news-block-two{
    position:relative;
    margin-bottom:30px;
}

.news-block-two .inner-box{
    position:relative;
    /*height: 615px;*/
    height: auto;
    -webkit-transition:all 300ms ease;
    -moz-transition:all 300ms ease;
    -ms-transition:all 300ms ease;
    -o-transition:all 300ms ease;
    transition: all 300ms ease;
}

.blogs-page-section .row {
    display: flex;
    flex-wrap: wrap;
}

.blogs-page-section .news-block-two {
    display: flex;
}

.blogs-page-section .inner-box {
    flex: 1; /* Make all inner-box stretch equally */
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure equal height */
}


@media (max-width: 1024px) {
    .news-block-two .inner-box {
        height: auto;
    }
}

.news-block-two .inner-box .image{
    position:relative;
    background-color:#ffc107;
    -webkit-transition:all 300ms ease;
    -moz-transition:all 300ms ease;
    -ms-transition:all 300ms ease;
    -o-transition:all 300ms ease;
    transition: all 300ms ease;
}

.news-block-two .inner-box .image img{
    position:relative;
    width:100%;
    display:block;
    -webkit-transition:all 300ms ease;
    -moz-transition:all 300ms ease;
    -ms-transition:all 300ms ease;
    -o-transition:all 300ms ease;
    transition: all 300ms ease;
}

.news-block-two .inner-box:hover .image img{
    opacity:0.5;
}

.news-block-two .inner-box .image .overlay-box{
    position:absolute;
    left:0px;
    top:0px;
    width:100%;
    height:100%;
    display:block;
    text-align:center;
}

.news-block-two .inner-box .image .overlay-box .icon{
    position:absolute;
    left:50%;
    top:50%;
    width:80px;
    height:80px;
    color:#ffffff;
    margin-left:-40px;
    text-align:center;
    border-radius:50%;
    line-height:80px;
    display:inline-block;
    padding-left:4px;
    font-size:25px;
    margin-top:-40px;
    background-color:#ffc107;
}

.news-block-two .inner-box .image .owl-nav{
    position:absolute;
    left:0px;
    top:50%;
    width:100%;
    margin-top:-38px;
}

.news-block-two .inner-box .image .owl-nav .owl-prev{
    position:relative;
    width:28px;
    height:78px;
    line-height:78px;
    text-align:center;
    font-size:20px;
    color:#ffffff;
    display:inline-block;
    background-color:#ffc107;
}

.news-block-two .inner-box .image .owl-nav .owl-prev span:before{
    content:'\f104';
    font-family: 'FontAwesome';
}

.news-block-two .inner-box .image .owl-nav .owl-next{
    position:absolute;
    right:0px;
    float:right;
    width:28px;
    height:78px;
    color:#ffffff;
    font-size:20px;
    line-height:78px;
    text-align:center;
    display:inline-block;
    background-color:#ffc107;
}

.news-block-two .inner-box .image .owl-nav .owl-next span:before{
    content:'\f105';
    font-family: 'FontAwesome';
}

.news-block-two .inner-box .lower-content{
    position:relative;
    padding-top:25px;
}

.news-block-two .inner-box .lower-content .post-info{
    position:relative;
    margin-bottom:8px;
}

.news-block-two .inner-box .lower-content .post-info li{
    position:relative;
    color:#222222;
    font-size:13px;
    margin-right:10px;
    display:inline-block;
}

.news-block-two .inner-box .lower-content .post-info li .icon{
    position:relative;
    margin-right:4px;
    color:#777777;
}

.news-block-two .inner-box .lower-content .post-info li:last-child{
    margin-right:0px;
}

.news-block-two .inner-box .lower-content h3{
    position:relative;
    color:#000048;
    font-size:22px;
    font-weight:700;
    line-height:1.4em;
    margin-bottom:10px;
}

.news-block-two .inner-box .lower-content h3 a{
    position:relative;
    color:#000048;
    -webkit-transition:all 300ms ease;
    -moz-transition:all 300ms ease;
    -ms-transition:all 300ms ease;
    -o-transition:all 300ms ease;
    transition: all 300ms ease;
}

.news-block-two .inner-box:hover .lower-content h3 a{
    color:#ffc107;
}

.news-block-two .inner-box .lower-content .text{
    position:relative;
    color:#777777;
    font-size:14px;
    margin-top:12px;
    line-height:1.9em;
}

.news-block-two .inner-box .lower-content .read-more{
    position:relative;
    font-weight:700;
    color:#000048;
    display:inline-block;
    padding-right:22px;
    margin-top:15px;
    -webkit-transition:all 300ms ease;
    -moz-transition:all 300ms ease;
    -ms-transition:all 300ms ease;
    -o-transition:all 300ms ease;
    transition: all 300ms ease;
}

.news-block-two .inner-box .lower-content .read-more .arrow.left{
    position:absolute;
    left:0px;
    top:1px;
    opacity:0;
    -webkit-transition:all 300ms ease;
    -moz-transition:all 300ms ease;
    -ms-transition:all 300ms ease;
    -o-transition:all 300ms ease;
    transition: all 300ms ease;
}

.news-block-two .inner-box .lower-content .read-more .arrow.right{
    position:absolute;
    right:0px;
    top:1px;
}

.news-block-two .inner-box .lower-content .read-more .arrow.right{
    -webkit-transition:all 300ms ease;
    -moz-transition:all 300ms ease;
    -ms-transition:all 300ms ease;
    -o-transition:all 300ms ease;
    transition: all 300ms ease;
}

.news-block-two .inner-box .lower-content .read-more:hover .arrow.right{
    opacity:0;
}

.news-block-two .inner-box .lower-content .read-more:hover .arrow.left{
    opacity:1;
}

.news-block-two .inner-box .lower-content .read-more:hover{
    color:#ffc107;
    padding-right:0px;
    padding-left:22px;
}


/*Admission Form*/
.card {
    border-radius: 10px;
    /*overflow: hidden;*/
}
.form-header {
    background: grey; /* Orange */
    color: #fff;
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: bold;
}

.form-section-title {
    font-size: 16px;
    color: #000f94;
    font-weight: bold;
    font-style: italic;
    text-decoration: none;
    width: 100%;
    padding: 20px 0px 20px 0px;
}
.required {
    color: red;
}
.form-description {
    font-size: 0.85rem;
    color: #d35400; /* Orange-ish for hints */
}
.btn-submit {
    background: #ED1A3B;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}
.btn-submit:hover {
    background: #e67e22;
}
.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
}
.captcha-box img {
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 40px;
}

/*Home Calendar*/

.calendar-day {
    position: relative;
}

.calendar-day:hover {
    background-color: #f8f9fa !important;
}

.event-item {
    cursor: pointer;
}

.event-item:hover {
    opacity: 0.8;
}

.day-number {
    font-size: 14px;
}

.events {
    font-size: 11px;
}

.btn-group .btn.active {
    background-color: #5AA4A3;
    border-color: #198754;
}

.fc .fc-toolbar{
    background-color: #5AA4A3;
    padding: 8px;
    color: white;
}

.fc .fc-button{
    background-color: #5AA4A3;
}

.fc .fc-col-header-cell-cushion {
    text-decoration: none;
    color: black;
}

.fc .fc-daygrid-day-number {
    text-decoration: none;
    color: black;
}

.fc-event {
    cursor: pointer;
}

@media (max-width: 768px) {
    .fc-toolbar-title {
        font-size: 16px !important;
    }
    .fc-button {
        font-size: 12px !important;
        padding: 4px 8px !important;
    }

}

@media (max-width: 480px) {
    .fc-toolbar-title {
        font-size: 14px !important;
    }
    .fc-button {
        font-size: 15px !important;
        padding: 2px 6px !important;
    }

}


.fc-toolbar button {
    transition: background-color 0.2s, color 0.2s;
}
.fc-toolbar button:hover {
    background-color: #198754 !important; /* your theme color */
    color: #fff !important;
}

.img-box {
    width: 100%;
    max-width: 300px;   /* you can adjust */
    height: 200px;      /* same height for both */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills the box, crops if needed */
}


/*Jobs*/
:root {
    --primary: #06377B;
    --secondary: #0062cc;
    --accent: #28a745;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #6c757d;
}
.hero-section-jobs {
    margin-top: 100px;
}

.job-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    background: white;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 47, 108, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 20px;
    border-bottom: 0;
}

.job-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.company-name {
    font-size: 0.9rem;
    opacity: 0.9;
}

.card-body {
    padding: 25px;
}

.job-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-tag {
    background-color: #f0f5ff;
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
}

.job-tag i {
    margin-right: 5px;
}

.job-description {
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.job-details {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 15px;
}

.detail-item {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.detail-icon {
    color: var(--primary);
    min-width: 24px;
    margin-right: 12px;
    margin-top: 2px;
}

.detail-content {
    flex: 1;
    font-size: 0.9rem;
}

.apply-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.deadline {
    font-size: 0.85rem;
    color: #e63946;
    font-weight: 500;
}

.btn-apply {
    background: linear-gradient(135deg, var(--accent) 0%, #20c997 100%);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-details {
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-details:hover {
    background-color: var(--primary);
    color: white;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--primary);
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    margin: 10px auto 0;
    border-radius: 2px;
}

.filter-section {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.no-vacancies {
    text-align: center;
    padding: 60px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.no-vacancies i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Job Detail Modal */
.modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 25px;
}

.modal-title {
    font-weight: 700;
}

.modal-body {
    padding: 30px;
}

.job-detail-section {
    margin-bottom: 25px;
}

.job-detail-section h5 {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #f0f5ff;
    padding-bottom: 8px;
}

.requirements-list {
    padding-left: 20px;
}

.requirements-list li {
    margin-bottom: 8px;
}

.modal-footer {
    padding: 20px 30px;
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .job-meta {
        flex-direction: column;
    }

    .apply-section {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .card-header {
        text-align: center;
    }

    .modal-body {
        padding: 20px;
    }
}


/*Home Slider*/

.main-slider {
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: relative;
    min-height: 90vh;
    height: auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.slide .auto-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.slide .content {
    max-width: 600px;
    color: white;
    z-index: 2;
    position: relative;
}

.slide .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffc107;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide .text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.theme-btn {
    display: inline-block;
    border: 2px solid #FFC107;
    color: white;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Pseudo-element background */
.theme-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #FFC107;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
    border-radius: 50px;
}

.theme-btn:hover {
    color: #000;
    transform: translateY(-2px);
}

.theme-btn:hover::before {
    transform: scaleX(1);
}

.left-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 14px;
    color: white;
    text-shadow: 2px 2px 4px #000000;
    letter-spacing: 8px;
    z-index: 10;
}

.social-box {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.social-box a {
    display: block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: black;
    margin-bottom: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-box a:hover {
    background: #13b5ea;
    transform: scale(1.1);
}

.mouse-btn-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    cursor: pointer;
    z-index: 10;
}

.mouse-btn-down::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0% { opacity: 0; top: 8px; }
    50% { opacity: 1; }
    100% { opacity: 0; top: 20px; }
}

.owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
}

.owl-nav button {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 2px solid rgba(255, 193, 7, 0.8) !important;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    outline: none;
}

.owl-nav .owl-prev::before,
.owl-nav .owl-next::before {
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.owl-nav .owl-prev::before {
    content: "<";
}

.owl-nav .owl-next::before {
    content: ">";
}

.owl-nav .owl-prev {
    left: 30px;
}

.owl-nav .owl-next {
    right: 30px;
}

.owl-nav button:hover {
    background: rgba(255, 193, 7, 0.8) !important;
    border-color: #ffc107 !important;
    transform: scale(1.1);
}

.owl-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-dots .owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-dots .owl-dot.active span,
.owl-dots .owl-dot:hover span {
    background: #ffc107;
    transform: scale(1.2);
}

/* Tablet Styles */
@media (max-width: 991px) {
    .slide {
        min-height: 80vh;
        background-size: cover;
        background-position: center top;
    }

    .slide h2 {
        font-size: 40px;
    }

    .slide .text {
        font-size: 17px;
    }

    .owl-nav .owl-prev {
        left: 20px;
    }

    .owl-nav .owl-next {
        right: 20px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .slide {
        min-height: 70vh;
        background-size: cover;
        background-position: center center;
        padding: 60px 0;
        background-attachment: scroll; /* Fix for iOS */
    }

    .slide .content {
        max-width: 100%;
        text-align: center;
        padding: 0 10px;
    }

    .slide h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .slide .text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .slide .title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .theme-btn {
        padding: 12px 25px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .social-box {
        display: none; /* Hide social box on mobile for cleaner look */
    }

    .owl-nav button {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .owl-nav .owl-prev::before,
    .owl-nav .owl-next::before {
        font-size: 20px;
    }

    .owl-nav .owl-prev {
        left: 15px;
    }

    .owl-nav .owl-next {
        right: 15px;
    }

    .left-title {
        letter-spacing: 4px;
        font-size: 12px;
        bottom: 15px;
    }

    .owl-dots {
        bottom: 50px;
    }

    .mouse-btn-down {
        bottom: 20px;
        width: 25px;
        height: 40px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .slide {
        min-height: 60vh;
        padding: 40px 0;
    }

    .slide h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .slide .text {
        font-size: 15px;
        line-height: 1.5;
    }

    .slide .title {
        font-size: 14px;
    }

    .theme-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .owl-nav button {
        width: 40px;
        height: 40px;
    }

    .owl-nav .owl-prev::before,
    .owl-nav .owl-next::before {
        font-size: 18px;
    }

    .owl-nav .owl-prev {
        left: 10px;
    }

    .owl-nav .owl-next {
        right: 10px;
    }

    .left-title {
        font-size: 10px;
        letter-spacing: 2px;
        bottom: 10px;
    }

    .owl-dots {
        bottom: 35px;
    }

    .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;
    }

    .mouse-btn-down {
        display: none; /* Hide scroll indicator on very small screens */
    }
}

/* Landscape Mobile Styles */
@media (max-width: 768px) and (orientation: landscape) {
    .slide {
        min-height: 100vh;
        padding: 20px 0;
    }

    .slide .content {
        text-align: left;
    }

    .slide h2 {
        font-size: 30px;
    }

    .slide .text {
        font-size: 15px;
    }
}

/* Very Large Screens */
@media (min-width: 1400px) {
    .slide h2 {
        font-size: 56px;
    }

    .slide .text {
        font-size: 20px;
    }

    .slide .title {
        font-size: 20px;
    }
}

/*Whatsapp on every page*/

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
    background-color: #20ba5a;
    color: #FFF;
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }

}

/*Blog tags*/
.blog-tags a {
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.blog-tags a:hover {
    background-color: #06377B; /* Dark Blue on hover */
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}
