:root {
    --primary: #2b6cb0;
    --primary-darken-1: color-mix(in srgb, var(--primary) 90%, black);
    --primary-darken-2: color-mix(in srgb, var(--primary) 80%, black);
    --primary-darken-3: color-mix(in srgb, var(--primary) 70%, black);
    --primary-darken-4: color-mix(in srgb, var(--primary) 60%, black);
}
#header .header-nav.header-nav-links nav > ul:not(:hover) > li > a.active {
    color: #3485ff;
}
#header .header-nav.header-nav-links nav > ul li:hover > a{
    color: #3485ff;
}
#footer.custom-footer {
    background: #1a1a1a;
    margin-top: 0px;
}

.custom-line-height-1 {
    line-height: 1.2 !important;
}

.text-color-dark-1 {
    color: var(--primary);
}

.featured-box-full {
    padding: 1.8rem 0.5rem !important;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;      /* horizontal center */
    justify-content: center;  /* vertical center */
    text-align: center;
}

.featured-box-full i {
    font-size: 2.2rem !important;
    /* margin-bottom: 6px !important; */
}

.featured-box-full h4 {
    font-size: 1rem;
    line-height: 1.3;
}

/* .flip-bottom-heading{
    font-size: 1.3rem;
    color: #2c5aa0;
} */

.ibgs-bg{
    background-color: #2c5aa0 !important;
}

.ibgs-text{
    color: #2c5aa0 !important;
}

.ibgs-btn{
    background-color: #2c5aa0 !important;
}

.contact-list.list.list-icons.list-icons-style-3 li > [class*="fa-"]:first-child, .list.list-icons.list-icons-style-3 li > .icons:first-child, .list.list-icons.list-icons-style-3 li a:first-child > [class*="fa-"]:first-child, .list.list-icons.list-icons-style-3 li a:first-child > .icons:first-child {
    background-color: #2c5aa0 !important;
}
.contact-list a {
    color: #2c5aa0;
}
.flipback-content{
    /* font-size: 13.5px; */
    /* line-height: 1.4; */
}

.logo-grayscale {
    filter: grayscale(100%) opacity(70%);
    transition: filter 0.4s ease, transform 0.3s ease;
}

.logo-grayscale:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
    /* box-shadow: 0 10px 25px rgba(0,0,0,0.15); */
}

.float-container {
  position: fixed;
  top: 33%;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: auto;
  z-index: 999;
}
.float-container a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 175px;
  height: 45px;
  margin-right: -130px;
  margin-bottom: 10px;
  padding: 10px 10px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  color: white;
  background-color: #2c5aa0;
  border-radius: 5px 0 0 5px;
  box-shadow: 0 2px 4px #7d7d7d;
  font-family: sans-serif;
}
.float-container a:hover {
  margin-right: 0;
  background-color: #212529;
  box-shadow: 0 2px 4px #7d7d7d;
  text-decoration: none;
}
.float-container a i {
  margin-right: 15px;
  font-size: 1.5rem;
}

@media (hover: none) {
    .logo-grayscale {
        filter: grayscale(0%) opacity(100%);
        transform: none;
    }
}

.invalid-feedback {
    display: block;
    color: #dc3545 !important;
    font-size: 0.875rem;
}

.managment-frontcard{
    background-size: cover !important ;
    background-position: center !important;
    min-height: 400px;
    position: relative;
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 26px;
    background: linear-gradient(to top, rgb(0 0 0), rgb(0 0 0 / 67%), transparent);
    text-align: left;
}

.profile-name {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-designation {
    color: #f1f1f1;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.read-more-btn {
    background: white;
    color: #3d5a7a;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;    
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
}

.read-more-btn:hover {
    background: #f0f0f0;
    color: #2563eb;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn i.rotated {
    transform: rotate(180deg);
}

.card-1 {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px; 
}
.card-1 h2{
    font-size: 22px;
    font-weight: 800;  
    margin-bottom: 6px; 
}

.card-1 .content{
    margin-top: 0;
    padding-top: 4px;
}
.card-1 .icon{
    width: 48px;
    height: 48px;
    border-radius: 30%;
    background: #eef3ff;
    color: #2b5fb5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.card-1 .icon svg{
    width: 22px;
    height: 22px;
}
.card-1 p{
    margin-bottom: 8px;
    line-height: 1.6;
}

.designation {
    font-size: 0.95rem;
    color: #555;
    margin-top: 2px;
}

.tab-card-flex-height{
    display: flex !important;
    height: calc(100% - 20px) !important;
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.expandable-content.expanded {
    max-height: 500px;
}

.icon {
    width: 48px;
    height: 48px;
    background: #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.thumb-info {
    position: relative;
    width: 100%;
}

.thumb-info-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.thumb-info-wrapper img {
    width: 100%;
    display: block;
}

/* Overlay */
.thumb-info-title {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.career-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-list li {
    position: relative;
    padding: 10px 0 10px 26px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

/* Remove last border */
.career-list li:last-child {
    border-bottom: none;
}

/* Icon */
.career-list i {
    position: absolute;
    left: 0;
    top: 18px;
    color: #0a58ca;
    font-size: 15px;
}

/* Bold title inside sentence */
.career-list strong {
    color: #000;
    font-weight: 600;
}

.career-card {
    border-radius: 5px !important;
    transition: all 0.3s ease;
}

.career-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Default gray card */
.career-card {
	background-color: #f4f4f4;
}

/* Hover effect - gray cards turn blue */
.career-card:hover {
	background-color: #2c5aa0 !important;
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.career-card:hover .card-title,
.career-card:hover .card-text {
	color: #fff !important;
}

.career-card:hover .btn-primary {
	background-color: #fff !important;
	color: #2c5aa0 !important;
	border-color: #fff !important;
}

.social-icons-facebook a {
    background-color: #3b5998 !important;
    border-color: #3b5998 !important;
}
.social-icons-facebook a:hover {
    background-color: #2d4373 !important;
    border-color: #2d4373 !important;
}
.social-icons-twitter a {
    background-color: #1da1f2 !important;
    border-color: #1da1f2 !important;
}
.social-icons-twitter a:hover {
    background-color: #0c85d0 !important;
    border-color: #0c85d0 !important;
}
.social-icons-linkedin a {
    background-color: #0077b5 !important;
    border-color: #0077b5 !important;
}
.social-icons-linkedin a:hover {
    background-color: #005582 !important;
    border-color: #005582 !important;
}
.social-icons-instagram a {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: #bc1888 !important;
}
.social-icons-instagram a:hover {
    opacity: 0.8;
}
.social-icons-medium li {
    display: inline-block;
    margin-right: 10px;
}
.social-icons-medium li a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    display: block;
    color: #fff !important;
}
.social-icons li:hover.social-icons-instagram a {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}
.lh-fs-unset {
  line-height: unset;
  font-size:14px
}
/* Google Maps Shadow Effect */
.google-map-container {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.google-map-container:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}
.google-map-container iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}

/* pre school curriculum */
.curriculum-list {
    list-style: none;
    padding-left: 0;
}

.curriculum-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
}
.curriculum-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #2b5fb5;
    font-weight: bold;
}

.mission-image-wrapper,
.vision-image-wrapper {
    overflow: hidden;
}

.mission-image-wrapper img,
.vision-image-wrapper img {
    transition: transform 0.5s ease;
}

.mission-image-wrapper:hover img,
.vision-image-wrapper:hover img {
    transform: scale(1.05);
}
.ibgs-accordian.accordion-modern-status-primary.accordion-modern-status > .card .card-header a:not(.collapsed) {
    background: #2c5aa0 !important;
}
.circle, .circle:before, .circle:after { border-radius: 50%; overflow: hidden;}
.menunav {  
  width: 100%;
}
.menunav ul {
  position: relative;
  padding: 47%;
  max-width: 0; max-height: 0;
  list-style: none;
}
.menunav li {
  position: absolute;
}
.slice {
  overflow: hidden;
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 50%;
  transform-origin: 100% 100%;
}
/* Cell orientation */
.coconut { transform: rotate(0deg) skewX(40deg); }
.vanilla { transform: rotate(45deg) skewX(40deg); }
.orange { transform: rotate(90deg) skewX(40deg); }
.almond { transform: rotate(135deg) skewX(40deg); }
.grape { transform: rotate(180deg) skewX(40deg); }
.blackberry { transform: rotate(225deg) skewX(40deg); }
.cherry { transform: rotate(270deg) skewX(40deg); }
.apple { transform: rotate(315deg) skewX(40deg); }

.menunav label { cursor: pointer; color:#fff;}
.slice label {
  display: block;
  width: 200%; height: 200%;
  transform: skew(-40deg) rotate(-65deg);
  line-height: 1.9;
  text-align: center;
  font-size: clamp(12px, 2vw, 16px);
}
.slice label span.over {
	display: block;
}
.slice label:hover {
	color: white;
	border: 2px solid black;
	transition: all 0.5s ease;
}
.circle .menuname:hover {
	color: white;
	transition: color 0.5s ease;
}

.menudesc {
	width: 280px;
}

/* Cell background colors */
.coconut label, .ococonut:checked ~ .menunav .unsel { background: #149cd6; }
.vanilla label, .ovanilla:checked ~ .menunav .unsel { background: #0772b8; }
.orange label, .oorange:checked ~ .menunav .unsel { background: #5e4599; }
.almond label, .oalmond:checked ~ .menunav .unsel { background: #e73c69; }
.grape label, .ogrape:checked ~ .menunav .unsel { background: #f37022; }
.blackberry label, .oblackberry:checked ~ .menunav .unsel { background: #e0a31f; }
.cherry label, .ocherry:checked ~ .menunav .unsel { background: #9bc438; }
.apple label, .oapple:checked ~ .menunav .unsel { background: #4cbdc1; }

.slice label { font-weight: 700; line-height: 5; }
.circle label { font-weight: 700; line-height: 5; }

.slice p{
  width: 100px;
  margin-left: 185px;
}

.unsel {
  z-index: 2;
  top: 34%; left: 34%;
  width: 32%; height: 32%;
  text-align: center;
  background-color: wheat;
}
.unsel label{
  display: block;
  width: 100%; height: 100%;
  line-height: 9;
  color: #000;
  margin-top: 20px;
}
.middle{
  z-index: 1;
  top: 15%; left: 15%;
  height: 70%;
  text-align: center;
  background-color: white;
}
.visible{
    display: block;
    position: absolute;
    margin: 250px 0 0 250px;
}

.visible ul{
  list-style-type: none;
}
.visible details ul{
  list-style-type: square;
}
.visible a{
  font-size: 120%;
  text-decoration: none;
  color: purple;
}
.Reseau a{
  font-size: 160%;
}
.Reseau a:hover{
  color: red;
}
.circle label span.over{
  -webkit-transform:rotate(-180deg);
  -moz-transform:rotate(-180deg);
  -o-transform:rotate(-180deg);
  transform:rotate(-180deg);
}
.circle label span{
  width: 120px;
  display: inline-flex;
  flex-wrap: wrap;
  line-height: 1.8;
}
.circle label span.over{
  width: 120px;
  display: inline-flex;
  flex-wrap: wrap;
  line-height: 1.8;
}
.selected.slice label {
  border: 2px solid #000;
  transition: all 0.5s ease-in-out;
}
#learningJourneyCarousel .carousel-control-next, .carousel-control-prev {
    background: #2c5aa0;
    width:unset;
    height: 30px;
}
#learningJourneyCarousel .carousel-control-next-icon, .carousel-control-prev-icon{
    width:20px;
    height: 20px;
}
.featured-box-full-primary {
    background-color: var(--primary);
}

.featured-box-full-primary-darken-1 {
    background-color: var(--primary-darken-1);
}

.featured-box-full-primary-darken-2 {
    background-color: var(--primary-darken-2);
}

.featured-box-full-primary-darken-3 {
    background-color: var(--primary-darken-3);
}

.featured-box-full-primary-darken-4 {
    background-color: var(--primary-darken-4);
}

.featured-box-full i {
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.featured-box-full h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}


.mission-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 12px;
}

.mission-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.6;
}

.mission-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #2b5fb5;
    font-weight: bold;
}

#sports-arts .owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"] {
    background-color: #2b5fb5;
}

#header .header-nav .dropdown-menu .dropdown-item.active,
#header .header-nav .dropdown-menu .dropdown-item.active {
    color: #ffffff !important;
    background-color: #2b6cb0 !important;
}
.slider-bg{
    position: relative;
    background: url('../images/slides/slider-bg.webp') center center / cover no-repeat;
}
@media (min-width: 1200px) {
    .flipback-content{
        line-height: 23px;
    }
}
/* Mobile */
@media (max-width: 768px) {
    .featured-box-full {
        padding: 1.2rem 0.5rem !important;
        min-height: 110px;
    }

    .featured-box-full h4 {
        font-size: 0.95rem;
    }

    #header .header-nav-main nav > ul li a.dropdown-toggle.c-dropdown-menu .fa-chevron-down {
        display: flex;
    }

    #header .header-nav-main nav > ul li a.dropdown-toggle .fa-chevron-down {
        display: none;
    }
    #header .header-nav-light-text .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
        color: #fff !important;
    }

    .header-nav-light-text .dropdown-item {
        color: #fff !important;
    }

    .flipback-heading{
        font-size: 26px;
    }

    .flipback-content{
        font-size: 18px;
        line-height: 1.4;
    }

    .float-container {    
        top: 20%;
    }
    .float-container a {
        width: 165px;
        height: 40px;
    } 
    .float-container a i {
        font-size: 1rem;
    }
    .card-1{
        margin-bottom: 16px;
    }
    .career-list i {
        top: 12px;
    }

    .menunav ul {
        margin: 0;
    }
    
    .unsel label {
        font-size: 12px;
        line-height: 2;
        margin-top: 0px;
    }

    /* Fix for text visibility and positioning */
    .circle label span {
        font-size: 12px !important;
        width: 82px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
        border: unset;
        word-break: break-word !important;
        padding: 2px 4px !important;
        text-align: center !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        hyphens: auto !important;
        margin-left: -92px;
        margin-bottom: 86px;
    }

    .circle label span.over {
        font-size: 12px !important;
        width: 82px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
        border: unset;
        word-break: break-word !important;
        padding: 2px 4px !important;
        text-align: center !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        hyphens: auto !important;
    }
    
    .circle label {
        line-height: 1.1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        padding: 0 !important;
    }
    
    .slice label {
        line-height: 1.1 !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
    }

    /* Ensure loadcontent class is visible */
    .loadcontent {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
    #header .header-nav .dropdown-menu li:first-child .dropdown-item.active,
    #header .header-nav .dropdown-menu li:first-child .dropdown-item.active {
        border-top: 1px solid #ffffff;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #header .header-nav-main nav > ul li a.dropdown-toggle.c-dropdown-menu .fa-chevron-down {
        display: flex;
    }

    #header .header-nav-main nav > ul li a.dropdown-toggle .fa-chevron-down {
        display: none;
    }
    #header .header-nav-light-text .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
        color: #fff !important;
    }

    .header-nav-light-text .dropdown-item {
        color: #fff !important;
    }
    #header .header-nav .dropdown-menu li:first-child .dropdown-item.active,
    #header .header-nav .dropdown-menu li:first-child .dropdown-item.active {
        border-top: 1px solid #ffffff;
    }
}

@media only screen and (max-width: 1024px) {
    
    .menunav {
        max-width: 400px;
        margin: 0 auto;
        position: relative;
        top: 0;
    }
}
/* Responsive Padding */
@media (max-width: 991px) {
    .mission-image-wrapper,
    .vision-image-wrapper {
        min-height: 300px !important;
    }
}

@keyframes fadeIn{
    from{opacity:0;transform:translateY(20px);}
    to{opacity:1;transform:translateY(0);}
}

.error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}
.form-control.error {
    border-color: #dc3545;
}
@media (max-width: 576px) {
    .flipback-content {
        font-size: 16px;
    }
}
.grecaptcha-badge{
    /* display: none; */
    opacity: 0;
}
/* .grecaptcha-badge { 
    right: 10px !important; 
    bottom: 10px !important; 
    opacity: 0.7; 
} */