*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
:root{
--color-primary: #00c3ff;   /* Vibrant blue */
--color-secondary: #ff6f61; /* Coral red */
--color-success: #00bf8e;   /* Bright teal green */
--color-warning: #ffcc00;   /* Vibrant yellow */
--color-info: #3fa9f5;      /* Sky blue */
--color-dark: #ffd4d4;      /* Deep gray */
--color-light: #f5f5f5;     /* Soft white */
--color-accent: #ff4081;    /* Hot pink */
--color-muted: #8a8d93;     /* Neutral gray */
--color-black:#000;
--color-bg:#ffffff;
--color-bg1:#e8e8e8;
--color-bg2:#01a5d7;
--color-white:#000000;
--color-danger:#f75842;
--color-danger-variant:rgba(247,88,66,0.4);
--color-light:rgba(255,255,255,0.7);


--container-width-lg:90%;
--container-width-md:90%;
--container-width-sm:94%;

--transition:all 400ms ease;

}

body {
    font-family:"Montserrat",sans-serif ;
    line-height: 1.7;
    color: var(--color-white);
    background: var(--color-bg);
}

.container{
   width:var(--container-width-lg);
   margin: 0 auto;
}

section {
   padding: 6rem 0;
}

section h2 {
   text-align: center;
   margin-bottom: 4rem;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
}
h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

a {
    color:var(--color-white);

}

img{
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn {
    display: inline-block;
    background: var(--color-white);
    color: white;
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
    width: fit-content;
    margin: 0 auto;

}

.btn:hover{
    background: var(--color-info);
    color: var(--color-white);
    border-color:var(--color-white);
    border-radius: 10px;
}

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

/* ======  NAVBAR  ======== */

nav{
    background: transparent;
    width: 100vw;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11;
}
/*  change navbar style on scroll using javascript */

.window-scroll {
    background: white;
    box-shadow: 0 0 0.5rem rgba(0,0,0,0.2);
}

.nav__container{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav button{
    display: none;
}
   
.nav__menu{
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav__menu a{
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav__menu li::before{
    content: '';
    position: absolute;
    bottom: 25px;
    background-color: var(--color-bg2);
    color: red;
    width: 0px;
    height: 2px;
    transition: all 0.2s ease-in-out;
}

.nav__menu li:hover::before{
    width: 30px;
}

.nav__menu li.active::before{
    width: 30px;
}


/* ======  HEADER  ======== */

header{
    position: relative;
    top: 5rem;
    overflow: hidden;
    height: 80vh;
    margin-bottom: 5rem;
    background-image: radial-gradient( circle farthest-corner at 10% 20%,  rgba(255, 255, 255, 0.5) 15.6%, rgba(0,163,217,0.3) 51.9%, rgba(0,194,226,0.4) 81% );
}

.header__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    height: 100%;
}
.header__left p{
    margin: 1rem 0 2.4rem;
}

/* ======  CATEGORIES  ======== */

.categories {
    background: var(--color-bg1);
}

.categories h1 {
    line-height: 1;
    margin-bottom: 1rem;
}

.categories__container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.categories__right .d-flex{
    margin-bottom: 1em;
}

.categories__right {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}


@media (max-width:991px){
    .categories__right {
        grid-template-columns: repeat(2,1fr) !important;
    }
}
@media (max-width:576px){
    .categories__right {
        grid-template-columns: repeat(1,1fr) !important;
    }
}

.d-flex{
    display: flex;
    gap: 10px;
}


.align-items-center{
    display: flex;
    align-items: center;
    justify-content: center;
}
.category {
    background: var(--color-bg2);
    padding: 2rem;
    border-radius: 10px;
    transition: all 5s ease-in-out;
}

.category:hover {
    box-shadow: 0 5px 5px rgba(0,0,0,0.3);
    scale: 1.05;
    z-index: 1;
}

.category:nth-child(2) .category__icon{
    background: var(--color-danger);
}
.category:nth-child(3) .category__icon{
    background: var(--color-success);
 }

.category:nth-child(4) .category__icon{
    background: var(--color-warning);
}

.category:nth-child(5) .category__icon{
    background: var(--color-success);
}
.category__icon {
    background: var(--color-primary);
    padding: 0.7rem;
    border-radius: 5px;  
    width: 40px;
    height: 40px;
}

.category h5 {
    height: 40px;
}

.category p {
    font-size: 0.85rem; 
}
.categories_left .btn{
    color: white !important;
}
.categories__right{
    color: white;
}

/* ======  POPULAR Gallery  ======== */

.Gallery__container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}

.courses__container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}


.course {
    background: var(--color-bg1);
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
    border-radius: 15px;
}

.course:hover{
    background: transparent;
    border-color: var(--color-primary);
}
.course img {
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.course__info {
    padding: 2rem;   
}

.course__info p {
    margin: 1.2rem 0 2rem;
    font-size: 0.9rem;
}

.course__info h4{
    margin-bottom: 1em;
}

.courses {
    margin-top: 0;
}

@media (max-width:768px){
    .courses__container{
    grid-template-columns: repeat(1,1fr);
    }
}


.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #004080;
  margin-bottom: 1rem;
  font-weight: bold;
}

@media (max-width:768px){
    .section-title{
        font-size: 2rem !important;
    }
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  color: #555;
  padding: 0 10px;
}

/* ======  FAQs  ======== */

.faqs {
    background: var(--color-bg1);
    box-shadow: inset 0 0 0.5rem rgba(0,0,0,0.5);   
}

.faqs_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.faq {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    height: fit-content;
    background: var(--color-primary);
    cursor: pointer;
    border-radius: 10px;
}

.faq h4 {
    font-size: 1rem;
    line-height: 2.2;
    color: rgb(255, 255, 255);
}

.faq_icon {
    align-self: flex-start;
    font-size: 1.2rem;
}

.faq p {
    margin-top: 0.8rem;
    display: none;
    color: white;
}

.faq.open p {
    display: block;
}

/* ======  TESTIMONIALS  ======== */

.testimonials__container {
    overflow-x:hidden ;
    position: relative;
    margin-bottom: 5rem;
}

.testimonial {
    padding-top: 2rem;
}

.avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 1rem solid var(--color-bg1);
}

.testimonial__info {
    text-align: center; 
}

.testimonial__body {
    background: var(--color-primary);
    padding: 2rem;
    margin-top: 3rem;
    position: relative;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial__body::before {
    content: "";
    display: block;
    background: linear-gradient(135deg,transparent, 
    var(--color-primary),
    var(--color-primary),
    var(--color-primary)
    );
    width: 3rem;
    height: 3rem;
    position: absolute;
    left: 50%;
    top: -1.5rem;
    transform: rotate(45deg);
    border-radius: 10px;

}
.testimonial p{
    color: white;
}

/* ===============  FOOTER ================= */

footer {
    background: var(--color-bg1);
    padding-top: 5rem;
    font-size: 0.9rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10rem;
}

.footer__container > div h4 {
    margin-bottom: 1.2rem;
}

.footer__1 p {
    margin: 0 0 2rem;
}

footer ul li {
    margin-bottom: 0.7rem;
}

footer ul li a:hover {
    text-decoration: underline;
}

.footer__socials{
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.footer__copyright {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-top: 4rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--color-bg2);
}

/* ============== MEDIA QUERIS {TABLET ) =================*/

@media  screen and (max-width:1024px) {
    .container {
        width: var(--container-width-md);
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font: size 1.7rem; ;
    }

    h3 {
        font-size: 1.4rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }

    /* ============== NAVBAR =================*/

    nav button {
        display: inline-block;
        background: transparent;
        font-size: 1.8rem;
        color: var(--color-white);
        cursor: pointer;
    }

    nav button#close-menu-btn{
        display: none;
    }



    .nav__menu {
        position: fixed;
        top: 5rem;
        right: 5%;
        height: fit-content;
        width: 18rem;
        flex-direction: column;
        gap: 0;
        display: none;
    }

    .nav__menu li {
        width: 100%;
        height: 4rem;
        animation: animateNavItems 400ms linear forwards;
        transform-origin: top right;
        opacity: 0;

    }

    .nav__menu li:nth-child(2) {
        animation-delay: 200ms;
    }

    .nav__menu li:nth-child(3) {
        animation-delay: 400ms;
    }

    .nav__menu li:nth-child(4) {
        animation-delay: 600ms;
    }

    @keyframes animateNavItems {
        0% {
            transform: rotateZ(-90deg) rotateX(90deg) scale(0.1) ;
        }
        100% {
            transform: rotateZ(0) rotateX(0) scale(1);
            opacity: 1;
        }
    }

    .nav__menu li a {
        background: var(--color-primary);
        box-shadow: 0rem 0rem 0.5rem rgba(0,0,0,0.6);
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
    }

    .nav__menu li.active::before{
        background-color: #171717 !important;
    }

    .nav__menu li a:hover {
        background: var(--color-bg2);
        color: var(--color-white);
    }


/* ============== HEADER =================*/

 .header__container{
    gap: 0;
    padding-bottom: 3rem;
 }

/* ============== CATEGORIES =================*/

.categories {
    height: auto;
}

.categories__container {
    grid-template-columns: 1fr;
    gap: 3rem;  
}

.categories__left {
    margin-right: 0;

}

/* ============== POPULAR Gallery =================*/

.Gallery {
    margin-top: 0;
}

.Gallery__container {
    grid-template-columns: 1fr 1fr;
}

/* ============== FAQs =================*/

.faqs_container {
    grid-template-columns: 1fr;
}
 .faq {
    padding: 1.5rem;
 }

/* ============== FOOTER =================*/

.footer__container {
    grid-template-columns: 1fr 1fr;
}

}


/* ============== MEDIA QUERIS {PHONES ) =================*/

@media screen and (max-width: 600px) {
    .container {
        width: var(--container-width-sm);
    }

/* ============== NAVBAR =================*/

.nav__menu {
    right: 3%;
}

/* ============== HEADER =================*/

.header__container {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 0;
}

.header__left p {
    margin-bottom: 1.3rem;
}

/* ============== CATEGORIES =================*/

.categories__right {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.category {
    padding: 1rem;
    border-radius: 5px;
}

/* ============== POPULER Gallery =================*/

.Gallery__container {
    grid-template-columns: 1fr;
}

/* ============== TESTIMONIALS =================*/

.testimonial__body {
    padding: 1.2rem;
}

/* ============== FOOTER =================*/

.footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
}

.footer__1 p {
    margin: 1rem auto;
}

.footer__socials {
    justify-content: center;
}
}
    


@media (min-width:1599px){
    .container{
        width: 1499px !important ;
    }
}


.quote-slider-container {
  position: relative;
  width: 100%;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 1024px){
 .quote-slider-container {
    min-height: 200px;
 }
}
.quote-slider h1 {
  position: absolute;
  width: 100%;
  max-width: 900px;
  text-align: left;
  font-size: 2rem;
  color: #004080;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  line-height: 1.4;
  margin-bottom: 0;
}

.quote-slider h1.show {
  opacity: 1;
  transform: translateY(0);
  animation: fadeSlideIn 1s ease forwards;
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .quote-slider h1 {
    font-size: 1.5rem;
    padding: 0 1rem;
  }
}

@media (max-width: 576px) {
    .quote-slider-container{
        height: 200px;
    }
  .quote-slider h1 {
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-top: 2em;
    margin-bottom: 3em;
  }
}


.enroll-scroll-bar {
  width: 100%;
  background-color:var(--color-bg2);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 24px 0;
  position: relative;
  /* z-index: 1000; */
}

.enroll-scroll-text {
  display: inline-block;
  padding-left: 100%;
  font-size: 1.4rem;
  font-weight: 500;
  animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Optional responsiveness */
@media (max-width: 600px) {
  .enroll-scroll-text {
    font-size: 0.95rem;
  }
}


.contact-btn{
    display: inline-block;
    background: var(--color-bg2);
    font-size: 1.8rem;
    color: var(--color-white);
    padding: 5px 10px;
    cursor: pointer;
}

.contact-btn:hover,li.active .contact-btn{
    background-color: white;
    color: var(--color-bg2);
    border:1px solid var(--color-bg2);
}


.foot-dsk-call {
  position: fixed;
  float: left;
  bottom: 40px;
  left: 20px;
  max-width: 100px;
  width: 100%;
  font-size: 35px;
  padding: 0.5px;
  z-index: 999;
}


.charity-container{
    grid-template-columns: repeat(1, auto);
    padding: 0 20em;
}

@media screen and (max-width: 768px) {
    .charity-container{
        padding: 0 2em;
    }
}

.result-image{
    padding: 20px;
}

.result-image img{
    border-radius: 5px;
    box-shadow: 0px 0px 10px  #5a5a5a5c;
    animation: zoomInOut infinite ease-in-out;
}

@keyframes zoominOut{
    0%{
        scale: 1;
    }
    50%{
        scale: 1.2;
    }
    100%{
        scale: 1;
    }
}

.home-event-video{
    max-width: 1599px;
    padding: 50px 100px;
    margin-inline: auto;
}

@media (max-width:768px){
    .home-event-video{
        padding: 40px 20px;
    }
}