* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Rubik", serif;
}


.parent {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#popup{
    display:none;
    position:fixed;
    top:120px;
    display:flex;
    width:100%;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:4px;
}

#popup img{
    width:300px;
}

#popup button{
    background-color:transparent;
    border:none;
    float:right;
}

#popup button img{
    width:15px;
    object-fit:contain;
    margin-left:277px;
}

/* child 1 */
.child1 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    /* background: #f8faff; */
    background-image: url('./images/nskc-bg.jpg');
    background-size: cover;
}
.child1 .left {
    width: 50%;
}
.child1 h1 {
    font-size: 70px;
    color: #0d1b2a;
}
.child1 h1 span {
    color: #4d66ff;
}
.child1-head {
    width: 10%;
}
.child1 p {
    font-size: 20px;
    color: #555;
    margin: 20px 0;
}
.child1 .left p span {
    font-weight: 700;
    color: black;
}
.child1-buttons {
    margin-top: 20px;
}
.child1-buttons button {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    margin-right: 10px;
    outline: none;
}
.btn1 {
    background: #4d66ff;
    color: white;
    border: none;
}

.child1-ratings {
    margin-top: 25px;
    display: flex;
    align-items: center;
}
.child1-ratings img {
    width: 130px;
    height: 60px;
    margin-right: -10px;
}
.child1-ratings span {
    margin-left: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #444;
}
.child1 .right {
    width: 45%;
    text-align: right;
}
.main-img {
    width: 90%;
    border-radius: 25px;
}
.child1-carousel {
    width: 100%;
}
.carousel-inner {
    overflow: hidden !important;
}
.carousel.pointer-event {
    height: unset !important;
}



/* child 3 */
.child3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    background: #f9fbff;
}
.child3  .title {
    font-size: 50px;
    color: #0a1b2a;
    font-weight: 600;
    margin-bottom: 50px;
}
.child3-head {
    width: 5%;
}
.courses {
    display: grid;
    grid-template-columns: auto auto auto auto;
    justify-content: space-evenly;
    align-items: center;
    gap: 25px;
    width: 90%;
}
.box {
    background: white;
    padding: 35px 20px;
    border-radius: 18px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
    width: 220px;
}
.box:hover {
    transform: translateY(-5px);
}
.box img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}
.box h3 {
    font-size: 16px;
    color: #0a1b2a;
    margin-top: 10px;
}



/* child 4 */
.child4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: linear-gradient(to bottom right, #eef2ff, #e7f0ff);
    padding: 50px 20px;
    text-align: center;
}
.child4 .title {
    font-size: 50px;
    color: #0b1225;
    font-weight: 600;
    margin-bottom: 50px;
}
.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.tabs button::before {
    content: attr(data-desktop);
}
.tabs button {
    background-color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 20px;
    color: #222;
    outline: none;
    border: none;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.07);
}

#live-btn {
    background-color: #4d66ff;
    color: white;
}
.sub-child4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    gap: 25px;
}

#child4-1 {
    display: flex;
}

#child4-2, #child4-3, #child4-4 {
    display: none;
}
.left-box {
    width: 65%;
    background: white;
    padding: 65px;
    border-radius: 22px;
    box-shadow: 0px 4px 16px rgba(0,0,0,0.08);
    text-align: left;
}
.left-box h3 {
    font-size: 55px;
    color: #4d66ff;
    margin-bottom: 0px;
}
.left-box p {
    font-size: 15px;
    color: #444444b5;
}
.left-box ul li {
    font-size: 20px;
    line-height: 32px;
    color: #444;
}
.left-box .icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
}
.right-box {
    width: 35%;
    padding: 10px;
    background-color: white;
    border-radius: 25px;
}
.right-box img {
    width: 100%;
    border-radius: 25px;
    /* box-shadow: 0px 6px 16px rgba(0,0,0,0.1); */
}



/* child 5 */
.child5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 50px 20px;
}
.child5 .title {
    font-size: 50px;
    color: #0b1225;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
}
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 90%;
    margin: auto;
}
.cards {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.08);
    width: 100%;
}
.course-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}
.child5-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 12px 0 8px;
}
.child5-rating span {
    font-size: 15px;
    font-weight: bold;
}
.child5-rating p {
    font-size: 13px;
    color: #777;
}
.cards h3 {
    font-size: 25px;
    color: #0d1a33;
    margin: 10px 0;
}
.desc {
    font-size: 18px;
    color: #444;
    margin-bottom: 15px;
}
.cards-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-join {
    display: inline-block;
    background: #4f46e5;
    padding: 8px 16px 8px;
    border-radius: 10px;
    outline: none;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}
.price {
    font-size: 22px;
    font-weight: 700;
    color: #0b1534;
}
.view-all {
    margin-top: 35px;
    padding: 10px 30px;
    border: 2px solid #0a1534;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}
.view-all:hover {
    background: #0a1534;
    color: white;
}



/* child 6 */
.child6 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 8%;
    background: linear-gradient(to right, #ffffff, #e6e9ff);
}
.child6-left {
    max-width: 45%;
}
.child6-left h1 {
    font-size: 54px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}
.child6-left p {
    font-size: 20px;
    color: #555;
    margin-bottom: 30px;
}
.star-icon {
    width: 40px;
    margin-bottom: 10px;
}
.btn-learn {
    display: inline-block;
    background: #4f46e5;
    padding: 14px 32px;
    border-radius: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}
.child6-right {
    display: flex;
    align-items: end;
    justify-content: end;
    width: 45%;
    border-radius: 25px;
    padding: 25px;
    position: relative;
}
.child6-right-img {
    width: 80%;
    border-radius: 50px;
    padding: 20px;
    background-color: white;
    display: block;
}
.star-icon1 {
    width: 80px;
    margin-bottom: 10px;
    position: absolute;
    top: -12px;
    right: -12px;
}



/* child 7 */
.child7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 0;
    text-align: center;
}
.child7 .title {
    font-size: 50px;
    color: #0b1225;
    font-weight: 600;
    margin-bottom: 50px;
}
.mentor-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 90%;
}
.mentor-card {
    width: 25%;
    text-align: center;
    border-radius: 20px;
    background-color: #44444424;
}
.mentor-card img {
    width: 100%;
    object-fit: cover;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}
.mentor-card h3 {
    margin-top: 15px;
    font-size: 24px;
    font-weight: 700;
}
.mentor-card p {
    font-size: 16px;
    font-weight: 500;
}



/* child 8 */
.child8 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background: #f7f8ff;
    width: 100%;
}
.child8-title {
    font-size: 50px;
    color: #0b1225;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
}
.carousel-card {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center !important;
    gap: 30px;
    padding: 20px;
    width: 100%;
}
.child8-card {
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: left;
}
.child8-card img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}
.card-top {
    display: flex;
    gap: 15px;
    align-items: center;
}
.child8-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
}
.child8-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 0;
}
.stars {
    color: #ffc107;
    font-size: 18px;
    margin: 10px 0;
}
.card-text {
    font-size: 20px !important;
    color: #555;
}



/* child 9 */
.child9 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    width: 100%;
}
.child9-title  {
    font-size: 50px;
    color: #0b1225;
    font-weight: 600;
    margin-bottom: 50px;
}
.sub-child9 {
    display: flex;
}
.child9-left {
    width: 60%;
}



.faq {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border: none;
}
.accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  border-radius: 12px !important;
  padding: 6px !important;
}
.accordion-button {
  font-weight: 700 !important;
}
.accordion-button:not(.collapsed) {
  background-color: transparent !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}
.accordion-button:focus {
  box-shadow: unset !important;
}
.child9-right {
    width: 40%;
    display: flex;
    justify-content: end;
    align-items: center;
}
.child9-right img {
    width: 96%;
    object-fit: cover;
    border-radius: 25px;
}



/* without div */
.ad {
     width: 100%;
}




.contact-nskc {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  gap: 8px;
  position: fixed;
  bottom: 200px;
  right: 0;
} 
.nskc-open {
  padding: 10px;
  border-bottom-left-radius: 8px;
  background-color: #007ab3;
  border-top-left-radius: 8px;
  width: fit-content;
  margin-bottom: 118px;
  color: white;
  border: none;
  outline: none;
  box-shadow: 0px 0px 6px gray;
}
.nskc-mail{
  display: flex;
  align-items: center;
  background-color: #f39c12;
  width: 110px;
  gap: 8px;
  padding: 8px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  text-decoration: none;
  transform: rotate(-90deg);
  position: absolute;
  right: -40px;
  margin-bottom: 130px;
  box-shadow: 0px 0px 6px gray;
}
.nskc-mail img {
  width: 20px;
}
.nskc-mail p {
  margin-bottom: 0;
  font-size: 12px;
  color: white;
  font-weight: 500;
}
.nskc-whatsapp {
  padding: 6px;
  border-bottom-left-radius: 8px;
  background-color: green;
  border-top-left-radius: 8px;
  width: fit-content;
  box-shadow: 0px 0px 6px gray;
}
.nskc-whatsapp img {
  width: 20px;
}
.nskc-call {
  padding: 10px;
  border-bottom-left-radius: 8px;
  background-color: #007ab3;
  border-top-left-radius: 8px;
  width: fit-content;
  box-shadow: 0px 0px 6px gray;
}
.nskc-call img {
  width: 12px;
}


footer{
    width:100% !important;
}
@media screen and (min-width:320px) and (max-width:768px)
{
    /* child 1 */
   .child1 {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
   } 
   .child1 .left {
        width: 100%;
        text-align: center;
   }
   .child1 h1 {
        font-size: 25px;
        font-weight: 700;
   }
   .child1 p {
        font-size: 16px;
        color: rgba(0, 0, 0, 0.679);
   }
   .child1-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
   }
   .child1-buttons button {
        width: fit-content;
        padding: 8px 16px 8px;
        font-size: 14px;
        margin-right: 0;
        font-weight: 700;
   }
   .child1-ratings {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
   }
   .child1-ratings img {
        width: 90px;
        height: 40px;
   }
   .child1-ratings span {
        font-size: 12px;
   }
   .child1 .right {
        width: 100%;
        text-align: center;
   }
   .main-img {
    border-radius: 20px;
    width: 100%;
   }



    /* child 3 */
    .child3 {
        padding: 0px 20px;
    }
    .child3 .title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .child3-head {
        width: 10%;
    }
    .courses {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
    }
    .box {
        width: 45%;
        padding: 10px;
    }
    .box img {
        width: 30px;
        height: 30px;
    }
    .box h3 {
        font-size: 13px;
    }

    

    /* child 4 */
    .child4 {
        padding: 30px 10px;
    }
    .child4 .title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .tabs {
        width: 100%;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
    }
    .tabs button::before {
        content: attr(data-mobile);
    }
    .tabs button {
        font-size: 14px;
        text-align: center;
        padding: 7px 14px 7px;
        width: fit-content;
        border-radius: 6px;
    }
    .sub-child4 {
        flex-direction: column;
        width: 100%;
    }
    .left-box {
        padding: 20px;
        width: 100%;
    }
    .left-box h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
    }
    .left-box p {
        font-size: 14px;
    }
    .left-box ul li {
        font-size: 16px;
    }
    .right-box {
        width: 100%;
        padding: 10px;
        border-radius: 28px;
    }
    .right-box img {
        border-radius: 20px;
    }



    /* child 5 */
    .child5 .title {
        text-align: center;
        font-size: 22px;
        margin-bottom: 20px;
    }
    .course-grid {
        display: flex;
        flex-direction: column;
        margin: unset;
        width: 100%;
    }
    .cards h3 {
        font-size: 18px;
        color: #0a1534 !important;
        font-weight: 700;
    }
    .child5-rating {
        font-size: 14px;
        color: gray;
    }
    .course-img {
        height: 160px;
    }
    .btn-join {
        font-size: 14px;
    }



    /* child 6 */
    .child6 {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .child6-left h1 {
        text-align: center;
        font-size: 22px;
        margin-bottom: 20px;
    }
    .child6-left p {
        font-size: 14px;
    }
    .btn-learn {
        font-size: 14px;
    }
    .child6-left {
        max-width: 100% !important;
    }
    .child6-right {
        border-radius: 20px;
        width: 100% !important;
        padding: 0;
    }
    .child6-right-img {
        width: 100%;
        padding: 10px;
        border-radius: 20px;
    }
    .star-icon1 {
        width: 50px;
    }

    

    /* child 7 */
    .child7 .title {
        text-align: center;
        font-size: 22px;
        margin-bottom: 20px;
    }
    .mentor-card {
        width: 100%;
    }
    .mentor-card h3 {
        font-size: 18px;
    }
    .mentor-card p {
        font-size: 14px;
    }
    .mentor-wrapper {
        gap: 20px;
    }



    /* child 8 */
    .child8 {
        padding: 20px;
    }
    .child8 p {
        margin-bottom: 0;
    }
    .child8-wrapper {
        width: 100%;
    }
    
    .child8-card h3 {
        font-size: 18px;
    }
    .stars {
        margin: 0;
    }
    .card-text {
        font-size: 14px !important;
    }
    .child8-title {
        text-align: center;
        font-size: 22px;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .carousel-card {
        height: 55vh;
    }
    .child8-wrapper {
        display: flex;
        overflow-x: scroll;
        justify-content: start;
        padding: 0px;
    }
    .child8-card {
        display: flex;
        flex-direction: column;
        width: 260px;
        box-shadow: unset;
    }
    .mentor-wrapper {
        flex-direction: column;
    }



    /* child 9 */
    .child9 {
        flex-direction: column;
        padding: 20px;
    }
    .child9-title {
        text-align: center;
        font-size: 22px;
        margin-bottom: 20px;
    }
    .sub-child9 {
        flex-direction: column-reverse;
        gap: 20px;
    }
    .child9-left p {
        text-align: center;
        font-size: 22px;
        margin-bottom: 20px;
    }
    .accordion-button {
        font-weight: unset !important;
        font-size: 14px !important;
    }
    .accordion-body {
        font-size: 14px !important;
    }
    .child9-left, .child9-right {
        width: 100%;
        justify-content: center;
    }
    .child9-right img {
        width: 100%;
        border-radius: 20px;
    }


    /* without div */
    .ad {
        width: 100%;
    }

 .carousel-item img {
    height: unset;        /* or your height */
    object-fit: cover;
}




@layer base, demo;
@import url(https://fonts.bunny.net/css?family=abel:400);
@layer demo 
{
	.carousel 
    {
		--items: 6; /* changed from 6 to 22 */
		--carousel-duration: 40s;
		@media (width > 600px) 
        {
			--carousel-duration: 30s;
		}
		--carousel-width: min(100vw, 1200px);
		--carousel-item-width: 280px;
		--carousel-item-height: 300px;
		--carousel-item-gap: 2rem;

		--clr-cta: rgb(0, 132, 209);

		position: relative;
		width: var(--carousel-width);
		height: var(--carousel-item-height);
		overflow: clip;

		&[mask] 
        {
			mask-image: linear-gradient(
				to right,
				transparent,
				black 10% 90%,
				transparent
			);
		}

		&[reverse] > article 
        {
			animation-direction: reverse;
		}
		&:hover > article 
        {
			animation-play-state: paused;
		}
	}

	.carousel > article 
    {
		position: absolute;
		top: 0;
		left: calc(100% + var(--carousel-item-gap));
		width: 20%;
		display: grid;
		grid-template-rows: 50px auto 1fr auto;
		gap: 10px;
		border: 1px solid light-dark(rgba(0 0 0 / 0.25), rgba(255 255 255 / 0.15));
		padding-block-end: 1rem;
		border-radius: 10px;
		background: light-dark(white, rgba(255 255 255 / 0.05));
		color: light-dark(rgb(49, 65, 88), white);

		animation-name: marquee;
		animation-duration: var(--carousel-duration);
		animation-timing-function: linear;
		animation-iteration-count: infinite;
		animation-delay: calc(
			var(--carousel-duration) / var(--items) * 1 * var(--i) * -1
		);
	}

	/* Assign index (--i) for each of 22 cards */
	.carousel > article:nth-child(1) { --i: 0; }
	.carousel > article:nth-child(2) { --i: 1; }
	.carousel > article:nth-child(3) { --i: 2; }
	.carousel > article:nth-child(4) { --i: 3; }
	.carousel > article:nth-child(5) { --i: 4; }
	.carousel > article:nth-child(6) { --i: 5; }
	.carousel > article:nth-child(7) { --i: 6; }
	.carousel > article:nth-child(8) { --i: 7; }

	.carousel img 
    {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 10px 10px 0 0;
	}

	.carousel > article > *:not(img) 
    {
		padding: 0 1rem;
	}

	.carousel > article > div 
    {
		grid-row: span 2;
		display: grid;
		grid-template-rows: subgrid;
		font-size: 0.8rem;
	}

	.carousel > article h2 
    {
		font-size: 10px;
		font-weight: 300;
		padding-block: 0.75rem 0.25rem;
		margin: 0;
	}

	.carousel > article p 
    {
		margin: 0;
	}

	.carousel > article a 
    {
		text-decoration: none;
		text-transform: lowercase;
		border: 1px solid var(--clr-cta);
		color: light-dark(var(--clr-cta), white);
		border-radius: 3px;
		padding: 0.25rem 0.5rem;
		place-self: start;
		transition: 150ms ease-in-out;
		&:hover,
		&:focus-visible 
        {
			/* background-color: var(--clr-cta); */
			color: white;
			outline: none;
		}
	}

	@keyframes marquee 
    {
		100% 
        {
			transform: translateX(calc((var(--items) * (var(--carousel-item-width) + var(--carousel-item-gap))) *-1));
		}
	}
}


}