* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7ff, #eef1ff);
}

.smallicon {
    width: 15px;
    height: 15px;
}

.card-2{
  position:relative;
  width:120px;
  height:320px;
}

.card-bg-2{
  position:absolute;
  width:100%;
  height:100%;
  background:#a8c8a3;
  border-radius:60px;
  transform:rotate(-10deg);
}

.card-main-2{
  position:absolute;
  width:100%;
  height:100%;
  background:#e6a623;
  border-radius:60px;
  display:flex;
  justify-content:center;
  align-items:center;
  transform:rotate(-6deg);
}

.card-main-2 span{
  color:white;
  font-size:24px;
  font-weight:bold;
  writing-mode:vertical-rl;
  text-orientation:mixed;
}

/* ================= NAVBAR ================= */
.navbar {
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

.logo img {
    height: 45px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    padding: 8px 0;
    transition: 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #2563eb;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 570px;
    background: #3b3364;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    overflow: hidden;
    border-bottom-left-radius: 95% 130px;
    border-bottom-right-radius: 95% 130px;
}

.hero-text {
    color: white;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-text span {
    font-size: 54px;
    display: block;
}

.hero-text p {
    margin-top: 15px;
    font-size: 17px;
    opacity: 0.9;
}


.hero-btn {
    margin-top: 25px;
    padding: 14px 40px;
    border: none;
    border-radius: 40px;
    background: #b8b6c9;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #ffffff;
    color: #3b3364;
}


.hero-img img {
    position: absolute;
    bottom: 0;
    right: 270px;
    max-height: 490px;
    max-width: 490px;
}





/* ================= MOBILE ================= */
@media(max-width:768px) {

    .navbar {
        padding: 0 20px;
        flex-wrap: wrap;
        height: auto;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: static;
        width: 100%;
        flex-direction: column;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links a {
        display: block;
        padding: 18px;
    }

    .hero {
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
        padding: 60px 20px;
        height: auto;
        border-bottom-left-radius: 90% 80px;
        border-bottom-right-radius: 90% 80px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text span {
        font-size: 34px;
    }

    .hero-img {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: -60px;
    }

    .hero-img img {
        position: relative;
        right: auto;
        bottom: auto;
        max-height: 240px;
        max-width: 90%;
    }
}

/* ================= class Section ================= */

.why-section {
    padding: 45px 40px;
    text-align: center;
    /* position:sticky; */
    top: 0;
    background: #eef0fb;
    z-index: 999;
}

.why-section h2 {
    color: #2d2a72;
    font-size: 28px;
    font-weight: 700;
}

.why-section p {
    margin-top: 8px;
    color: #777;
    font-size: 14px;
}

/* Grid */
.card-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Card */
.card {
    background: #ffffff;
    padding: 60px 25px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 40px;
}

.card:hover {
    transform: translateY(-8px);
}

/* Icon Circle */
.icon {
    width: 65px;
    height: 65px;
    background: #9b8bea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;

    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
}

.icon.icon-img{
    height: 20px;
    width: 20px;
}

/* Title */
.card h3 {
    color: #2d2a72;
    font-size: 18px;
    margin-bottom: 12px;
}

/* Text */
.card p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}


/* ================= About Section ================= */
.about-section {
    padding: 100px 20px;
    text-align: center;
    background-color: white;
}

/* Header */
.about-header {
    max-width: 850px;
    margin: auto;
}

.about-header h2 {
    font-size: 36px;
    color: #2d2a72;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}



.about-header p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* Cards Container */
.about-cards {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Individual Card */
.about-card {
    background: #ffffff;
    width: 340px;
    padding: 70px 30px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    position: relative;
    margin-top: 50px;
}

.about-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(108, 99, 255, 0.15);
}

/* Icon Circle */
.about-icon {
    width: 75px;
    height: 75px;
    background: #9b8bea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;

    position: absolute;
    top: -37px;
    left: 50%;
    transform: translateX(-50%);
}

/* Card Title */
.about-card h3 {
    font-size: 20px;
    color: #2d2a72;
    margin-bottom: 15px;
}

/* Card Text */
.about-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* Responsive */
@media(max-width:768px) {
    .about-header h2 {
        font-size: 28px;
    }

    .about-card {
        width: 100%;
        max-width: 350px;
    }
}


/* ================= Courses Section ================= */
.courses-section {
    padding: 70px 8%;
}
.courses-section2 {
    padding: 70px 8%;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #2d2a72;
}

/* Group */
.course-group {
    /* background: #e9e8f6; */
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 50px;
}


.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.group-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.group-header a {
    font-size: 14px;
    text-decoration: none;
    color: #6c63ff;
    font-weight: 600;
    transition: 0.3s ease;
    position: relative;
}

.group-header a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #6c63ff;
    transition: 0.3s;
}

.group-header a:hover {
    color: #4b45c2;
}

.group-header a:hover::after {
    width: 100%;
}

/* Cards */
.course-cards {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.course-card {
    flex: 0 0 calc(33.333% - 17px);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.course-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.card-content {
    padding: 18px;
}

.card-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.card-content p {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
    line-height: 1.5;
}

.price {
    font-weight: 700;
    color: #2d2a72;
    font-size: 15px;
    display: block;
    text-align: right;
}

/* Responsive */
@media(max-width:992px) {
    .course-card {
        flex: 1 1 calc(50% - 25px);
    }
}


@media(max-width:600px) {
    .course-card {
        flex: 1 1 100%;
    }

    .course-group {
        padding: 20px;
    }

    .courses-section {
        /* background-color: white; */
        padding: 50px 5%;
    }
    .courses-section2 {
        background-color: white;
        padding: 50px 5%;
    }


    .group-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}




/* ================= Student Section ================= */

.students {
    background: #e9e8f6;
    padding: 50px 0;
}

.container {
    width: 85%;
    margin: auto;
}

/* Section Title */
.section-head {
    text-align: left;
    margin-bottom: 60px;
}

.section-head h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d2a72;
}

.section-head p {
    font-size: 15px;
    color: #666;
    margin-top: 8px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 60px;
}

/* Block */
.block-head {
    font-weight: 600;
    font-size: 15px;
    color: #444;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.block-head.between {
    justify-content: space-between;
}

.block-head a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #2da5ff;
    transition: 0.3s;
}

.block-head a:hover {
    color: #1a7fd6;
}

/* Capsule Background Bar */
.capsule-area {
    display: flex;
    gap: 30px;
    padding: 30px 35px;
    /* background: #dedcf0; */
    border-radius: 40px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Smaller area */
.capsule-area.small {
    gap: 40px;
}

/* Vertical Capsule */
.capsule {
    width: 60px;
    height: 250px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    font-weight: 600;
    writing-mode: vertical-rl;
    transform: rotate(180deg) rotate(-14deg);
    ;
    /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); */
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #c0e2bf;
}

.capsule-inner {
    width: 45px;
    height: 220px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    writing-mode: vertical-rl;
    z-index: 77;

   
}


/* Hover Effect */
.capsule:hover {
    transform: rotate(180deg) translateY(-15px);
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); */
}

/* Colors */
.orange {
    background: #f39c12;
}

.pink {
    background: #ff7a95;
}

.brown {
    background: #8e5a2b;
}

.yellow {
    background: #f4c542;
}

.blue {
    background: #2f6df6;
}

.sky {
    background: #1aa3ff;
}

/* Responsive */
@media(max-width:900px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .capsule-area {
        justify-content: center;
    }
}

@media(max-width:500px) {
    .capsule {
        width: 60px;
        height: 200px;
        font-size: 12px;
    }

    .students {
        padding: 40px 0;
    }
}


/* ================= testimonial Section ================= */

.testimonial {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 100px;
    background: #f7f8fc;
    position: relative;
}

/* LEFT SIDE */
.testimonial-left {
    width: 45%;
}

.sub-title {
    font-size: 12px;
    letter-spacing: 2px;
    color: #9aa0b5;
    margin-bottom: 15px;
}

.testimonial-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2d2a72;
    margin-bottom: 20px;
}

.desc {
    font-size: 15px;
    color: #6c6c80;
    line-height: 1.7;
    margin-bottom: 15px;
}

.desc2 {
    font-size: 15px;
    color: #6c6c80;
    margin-bottom: 25px;
}

.assess-btn {
    padding: 12px 25px;
    border: 1px solid #00c2cb;
    background: transparent;
    border-radius: 30px;
    color: #00c2cb;
    cursor: pointer;
    transition: 0.3s;
}

.assess-btn:hover {
    background: #00c2cb;
    color: #fff;
}

/* RIGHT SIDE */
.testimonial-right {
    width: 45%;
    position: relative;
}

.main-img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* REVIEW CARD */
.review-card {
    position: absolute;
    bottom: -30px;
    left: 40px;
    width: 80%;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* LEFT SMALL COLOR BAR */
.review-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background: #ff7a59;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.review-text {
    font-size: 14px;
    color: #6c6c80;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
}

/* Left Side Name */
.review-name {
    font-weight: 600;
    color: #2d2a72;
}

/* Right Side Container */
.review-rating {
    text-align: right;
}

/* Stars */
.stars {
    color: #ffb400;
    font-size: 16px;
    display: block;
}

/* Review Count */
.review-count {
    font-size: 12px;
    color: #9aa0b5;
    margin-top: 4px;
}

/* Arrow */
.arrow {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #e9f6f7;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}


@media (max-width: 768px) {

    .testimonial {
        flex-direction: column;
        padding: 50px 20px;
        gap: 40px;
        overflow: hidden;
    }

    .testimonial-left,
    .testimonial-right {
        width: 100%;
    }

    .testimonial-left h2 {
        font-size: 28px;
    }

    .desc,
    .desc2 {
        font-size: 14px;
    }

    /* Image */
    .main-img {
        border-radius: 15px;
    }

    /* Make review card normal flow in mobile */
    .review-card {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        margin-top: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    /* Hide arrow in mobile */
    .arrow {
        display: none;
    }

}


/* ================= News Section ================= */

.news {
    padding: 90px 0;
    background: #f5f6fa;
}

.container {
    width: 85%;
    margin: auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 700;
    color: #2d2a72;
    margin-bottom: 10px;
}

.section-header p {
    color: #6c6c80;
    font-size: 15px;
}

/* Layout */
.news-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* LEFT BIG CARD */
.news-left img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* Wrap image */
.news-img {
    position: relative;
    width: 120px;
    min-width: 120px;
}

/* Keep existing size */
.news-img img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Purple overlay */
.news-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    border-radius: 10px;
}

/* Small badge */
.small-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #6c63ff;
    color: #fff;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.tag {
    display: inline-block;
    background: #6c63ff;
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.news-left h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2d2a72;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-left .desc {
    max-height: 60px;
    overflow: hidden;
    transition: 0.4s ease;
}

.news-left.active .desc {
    max-height: 300px;
}

.read-more {
    text-decoration: none;
    font-size: 14px;
    color: #6c63ff;
    font-weight: 600;
}

/* RIGHT LIST */
.news-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

.news-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #2d2a72;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-item p {
    font-size: 13px;
    color: #6c6c80;
}


@media(max-width:992px) {

    .news-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-item {
        flex-direction: row;
    }
}

@media(max-width:600px) {

    .section-header h2 {
        font-size: 26px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item img {
        width: 100%;
        height: 160px;
    }

    .container {
        width: 90%;
    }
}



/* ================= Footer Section ================= */

.footer {
    background: #3b3364;
    color: #fff;
    padding: 80px 20px 40px;
}

.footer-wrapper {
    max-width: 900px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

/* Left Side */
.footer-left {
    max-width: 450px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 95px;
}

.brand-text {
    font-size: 14px;
    opacity: 0.8;
}

.footer-left p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Right Side */
.footer-right {
    text-align: right;
}

.footer-right h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Subscribe */
.subscribe-box {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.subscribe-box input {
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    width: 220px;
    outline: none;
}

.subscribe-box button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background: #8f86ff;
    color: #fff;
    cursor: pointer;
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    font-size: 13px;
    opacity: 0.8;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

/* Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 60px;
    font-size: 12px;
    opacity: 0.7;
}

@media(max-width:768px) {

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-right {
        text-align: center;
    }

    .subscribe-box {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

}