@tailwind base;
@tailwind components;
@tailwind utilities;

body{
    font-family: "League Spartan", serif;
}
/* width */
::-webkit-scrollbar {
    width: 2px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    @apply bg-themepink; 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    @apply bg-themepink; 
  }
/********header css start**********/
nav{
    ul{
        li{
            a{
                @apply text-base md:text-[13px] lg:text-base font-bold transition-all duration-300;
                &:hover{
                    @apply underline text-themepink;
                }
                
            }
            &.current-menu-item{
                a{
                    @apply font-bold relative;
                    &::after{
                        content: "";
                        position: absolute;
                        left: 50%;
                        bottom: -4px;
                        width: 4px;
                        height: 4px;
                        background-color: #ff4076;
                        border-radius: 100%;
                        transform: translate(-50%, 50%);
                    }
                }
            }
        }
    }
}

.triangle {
    background: url(../../images/triangle.png) center top no-repeat;
    @apply bg-contain md:bg-[50%] py-3 md:py-6;
}
.triangle-pink {
    background: url(../../images/triangle-pink.png) center top no-repeat;
    @apply bg-contain md:bg-[50%] py-3 md:py-6;
}
.badge, .programmes, .programmes-flipped {
    background: #FF4076;
    color: #fff;
    font-size: 25px;
    width: 350px;
    margin: -3em auto 1em;
    padding: 0.5em 2em;
    line-height: 1.2;
    transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
}
.programmes-flipped {
    background: #121212;
    margin-top: -2em;
}
.schools {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.meet-section{
    p{
        @apply text-lg mb-4 md:mb-8;
        a{
            @apply text-themepink;
        }
    }
}
.cajigo-partner-section{
    p{
        @apply text-lg mb-5;
        a{
            @apply text-themepink;
        }
    }
}
.content-section{
    p{
        @apply text-lg mb-5;
        a{
            @apply text-themepink;
        }
    }
}
.cajigo-we-section{
    p{
        @apply text-lg mb-5;
        a{
            @apply text-themepink;
        }
    }
}
.navbar-nav .menu-item {
    position: relative;
}
.navbar-nav .sub-menu {
    position: absolute;
    background: #fff; /* Customize background */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-top: 0;
    padding: 0;
    height: 0;
    list-style: none;
    width: 150px;
    visibility: hidden;
    transition: 0.5s;
    border-radius: 5px;
}

/* Show the submenu on hover */
.navbar-nav .menu-item:hover .sub-menu {
    display: block;
    height: auto;
    visibility: visible;
    transition: 0.5s;
}
.navbar-nav .sub-menu {
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease;
}
  
.navbar-nav .menu-item:hover .sub-menu {
    transform: scaleY(1);
    transition: transform 0.5s ease;
}
.navbar-nav .menu-item.menu-item-has-children a:after {
    content: " \f107";
    font: var(--fa-font-solid);
    font-size: 11px;
    font-weight: bold;
}
.navbar-nav .menu-item.menu-item-has-children .sub-menu a::after{
   display: none;
}
/* Optional: Style submenu items */
.navbar-nav .sub-menu li {
    position: relative;
    padding: 5px 15px;
}

.navbar-nav .sub-menu li a {
    color: #333;
    text-decoration: none;
}
.navbar-nav .sub-menu li a:hover{
    @apply text-themepink transition-all duration-500 underline;
}
.partner-detail a img{
    @apply transition-all duration-500;
}
.partner-detail a:hover img{
    @apply scale-105 transition-all duration-500;
}
    
.grid-custom {
    @apply grid gap-8 transition-all duration-500;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* grid-auto-rows: 150px; */
    grid-auto-flow: row dense;
}
.item-custom:hover{
   @apply scale-105 transition-all duration-500;
}
  .item-custom {
    @apply relative flex flex-col justify-end bg-cover bg-center text-white py-0 box-border shadow-md cursor-pointer transition-transform duration-300;
    
}

  .item-medium {
    @apply col-span-1 row-span-2;
  }

  .item-large {
    @apply col-span-1 row-span-3;
  }

  .item-full {
    @apply col-span-full;
  }
  .item-details{
     @apply absolute bottom-0 left-0 w-full text-center bg-white py-2 px-3 text-content text-lg font-semibold;
  }
  .item-content {
    height: 100%;
    position: relative;
  }
  .item-content img{
    height: 100%;
    object-fit: cover;
  }
.discription_content p{
    font-size: 1.125rem;
    line-height: 1.75rem;
}  
.menu-footer-one-container{
   ul{
      li{
        a{
            @apply text-sm md:text-base font-normal uppercase transition-all duration-500 hover:underline hover:text-themepink;
        }  
      }
   }
}
.menu-toggle {
   @apply block md:hidden;
}
.menu-toggle {
    float: right;
    line-height: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    width: auto;
}
.dashicons-before:before {
    content: "\f333";
    font-family: dashicons;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    speak: never;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: top;
    text-align: center;
    transition: color .1s ease-in;
}
.menu-right {
    display: flex;
    gap:27px;
    align-items: center;
    justify-content: center;
}
.site-main {
    background-color: #F6F5F2;
}
*{
    word-break: break-word;
}
a.close-icon {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: 1px solid;
    padding: 8px;
    position: absolute;
    right: 25px;
}
.hero-banner-section .hero-banner-slider button.slick-arrow, .hero-banner-inner-slider-section button.slick-arrow{
    width: 50px;
    height: 50px;
}
.hero-banner-section .hero-banner-slider .slick-prev, .hero-banner-inner-slider-section .slick-prev {
    left: 10px;
    z-index: 11;
}
.hero-banner-section .hero-banner-slider .slick-next, .hero-banner-inner-slider-section .slick-next {
    right: 10px;
    z-index: 11;
}
.hero-banner-section .hero-banner-slider .slick-prev:before, .hero-banner-section .hero-banner-slider .slick-next:before {
    font-size: 50px;
    color: #ff4076;
}
.hero-banner-inner-slider-section{
    width: 100%;
    overflow: hidden;
    position: relative;
}
.hero-banner-inner-slider-section  .slick-prev:before, .hero-banner-inner-slider-section .slick-next:before {
    font-size: 50px;
    color: #ff4076;
}

.hero-banner-inner-slider-section .welcome-section{
    width: 100%;
    overflow: hidden;
}
.hero-banner-inner-slider-section .slick-dotted.slick-slider {
    margin-bottom: -10px;
}
main.site-main {
    margin-top: 65px;
}
@media screen and (max-width: 1023px) {
    .menu-right {
        gap:10px;
    }
}
@media screen and (max-width: 767px) {
    .menu-right {
        gap: 10px;
    }
   #mobile-menu-toggle {
        order: 2;
    }
    .navbar-nav {
        display: none;
    }
    
    .menu-wrapper.nav-primary{
        position: absolute;
        width: 100%;
        left: 0;
        top: 120px;
        height: 0vh;
        background-color: #ffffff;
        transition: 0.5s;
    }
    .nav-primary.active {
        height: 100vh;
        transition: 0.5s;
    }
    .nav-primary.active .navbar-nav {
        display: block;
        padding: 20px 10px;
    }
    .navbar-nav .menu-item {
        position: relative;
        margin: 0 0 15px 0!important;
        padding: 0 20px;
    }
    .mobile-menu-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    button#mobile-menu-toggle {
        width: 35px;
        flex-direction: column;
        gap: 6px;
    }
    .bar {
        display: block;
        width: 100%;
        height: 4px;
        background-color:#FF4076;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }
    #mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    #mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    #mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    .navbar-nav .sub-menu {
        position: relative;
        background: transparent;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        height: 0;
        list-style: none;
        width: 150px;
        visibility: hidden;
        transition: 0.5s;
        border-radius: 5px;
        color: #ffffff;
    }
    .navbar-nav .sub-menu li a {
        color: #fff;
    }
    .badge, .programmes, .programmes-flipped {
        width: 290px;
    }
    .grid-custom {
        grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    }
    a.close-icon {
        width: 22px;
        height: 22px;
        padding: 4px;
        right: 5px;
    }
    .hero-banner-section .hero-banner-slider button.slick-arrow, .hero-banner-inner-slider-section button.slick-arrow {
        width: 30px!important;
        height: 30px!important;
    }
    .hero-banner-section .hero-banner-slider .slick-prev:before, .hero-banner-section .hero-banner-slider .slick-next:before {
        font-size: 30px!important;
    }
    .hero-banner-inner-slider-section  .slick-prev:before, .hero-banner-inner-slider-section .slick-next:before {
        font-size: 30px!important;
    }
    .hero-banner-section .hero-banner-slider .slick-prev, .hero-banner-inner-slider-section .slick-prev {
        left: 5px!important;
    }
    .hero-banner-section .hero-banner-slider .slick-next, .hero-banner-inner-slider-section .slick-next {
        right: 5px!important;
    }
    .formkit-form[data-uid="7ef90b07f5"][min-width~="700"] [data-style="clean"], .formkit-form[data-uid="7ef90b07f5"][min-width~="800"] [data-style="clean"] {
        padding-top: 35px!important;
    }
    .navbar-nav .sub-menu li a {
        color: #ff4076!important;
    }
}
