:root {
    --primary: #1880e1;
    --light: #FFF5F3;
    --dark: #103741;
}

@media (min-width:992px) {
    .testimonial-carousel .testimonial-item img {
        max-width: 65%;
        margin: 0 auto;
        display: block;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

.text-purple {
    color: #6f42c1 !important;
}

.bg-orange {
    background-color: #002398 !important;
}

.text-orange {
    color: #060364 !important;
}

.bg-blue {
    background-color: #000000 !important;
}

.text-blue {
    color: #000000 !important;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

* {
    font-family: 'Cairo', sans-serif;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

p,
h5,
h6,
.h5,
.h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.font-secondary {
    font-family: 'Cairo', sans-serif;
}

.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width:991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width:992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width:768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}

.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}

.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}

.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}

.teachers-header {
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f0f9ff, #ecfeff);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

.teachers-header h2 {
    color: #1e40af;
    font-weight: bold;
}

.teachers-header p {
    color: #475569;
    margin-top: 8px;
}

.teacher-card {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(59, 130, 246, 0.25);
}

.teacher-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #38bdf8;
}

.teacher-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
}

.teacher-card.pink .teacher-icon {
    background: linear-gradient(135deg, #f472b6, #fb7185);
}

.teacher-card.green .teacher-icon {
    background: linear-gradient(135deg, #34d399, #22c55e);
}

.teacher-card h5 {
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 4px;
}

.teacher-card span {
    color: #64748b;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.teacher-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.promo-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.promo-content {
    background: #fff3e6;
    padding: 30px 20px;
    text-align: center;
    border-radius: 20px;
    position: relative;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    font-family: 'Arial', sans-serif;
    animation: popupAppear 0.5s ease;
}

@keyframes popupShake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.promo-content.shake {
    animation: popupShake 0.5s;
}

.section-title {
    color: #ff6600;
    font-weight: bold;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-desc {
    color: #555;
    font-size: 1.1rem;
}

.time-card {
    background: linear-gradient(135deg, #ffe6cc, #fff0e6);
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s, box-shadow 0.4s;
    opacity: 0;
    transform: translateY(50px);
}

.time-card h3 {
    color: #ff6600;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.time-card p {
    font-size: 1.2rem;
    color: #555;
}

.time-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.time-card.morning {
    background: linear-gradient(135deg, #ffe6cc, #fff0e6);
}

.time-card.evening {
    background: linear-gradient(135deg, #ccf0ff, #e0f7ff);
}

.icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.documents {
    color: #333;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(50px);
}

.documents ul {
    list-style: none;
    padding: 0;
}

.documents li {
    margin: 5px 0;
    font-weight: bold;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    animation: fadeUp 0.8s forwards;
}

.animate-title {
    animation: fadeUp 1s forwards;
}

.light-docs {
    max-width: 460px;
    margin: 50px auto;
    padding: 28px;
    background: linear-gradient(135deg, #f0f9ff, #ecfeff);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    font-family: 'Cairo', sans-serif;
}

.light-docs::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.light-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
    color: #1e40af;
}

.light-title span {
    font-size: 26px;
    margin-left: 6px;
}

.light-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.light-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    padding: 14px 18px;
    margin-bottom: 15px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.light-list li:hover {
    transform: translateX(-6px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
}

.icon-circle {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
}

.copy-btn {
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #e65500;
}

.promo-logo {
    width: 100px;
    margin-bottom: 15px;
    border-radius: 15px;
    border: 3px solid #ff7f00;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    color: #ff6600;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ff3300;
}

.promo-content h3 {
    color: #ff6600;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.promo-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.promo-code {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff4d4d;
    background: #fff0f0;
    border: 2px dashed #ff4d4d;
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 15px;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: #fff;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.btn-whatsapp:hover {
    background: #1ebe5b;
    transform: scale(1.05);
}

.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width:576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.seo-footer {
    background: linear-gradient(135deg, #0b0b0b, #111);
    color: #ccc;
    padding-top: 70px;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.seo-footer::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 251, 0.425), transparent 60%);
    animation: glowMove 12s linear infinite;
}

@keyframes glowMove {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30%, 30%);
    }

    100% {
        transform: translate(0, 0);
    }
}

.seo-footer>* {
    position: relative;
    z-index: 2;
}

.seo-footer h3 {
    color: #fff;
    margin-bottom: 22px;
    font-size: 22px;
    position: relative;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.4), 0 0 15px rgba(255, 152, 0, 0.4);
}

.seo-footer h3::after {
    content: "";
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, #ffcc80);
    display: block;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px #ff9800;
}

.footer-desc,
.seo-footer p,
.footer-contact li {
    font-size: 14px;
    line-height: 1.9;
    color: #e0e0e0;
}

.footer-links a,
.footer-contact a {
    color: #e0e0e0;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #ff9800;
    text-shadow: 0 0 8px rgba(255, 152, 0, 0.8);
    padding-right: 6px;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2), inset 0 0 6px rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: #ff9800;
    color: #000;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.9), 0 0 40px rgba(255, 152, 0, 0.6);
}

.footer-social .whatsapp {
    background: #25D366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 40px;
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
    color: #ddd;
}

.footer-bottom a {
    color: #ffcc80;
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ff9800;
}