.hero-sec {
    background: linear-gradient(180deg, #f4f4f4 50%, transparent 50%);
    padding: 100px 0;
}

.ebook-content>div {
    font-size: 24px;
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 20px;
}

.ebook-content h1 {
    font-size: 60px;
    color: var(--blue);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 120px;
}

form {
    background-color: #E8D8FF;
    border-radius: 30px;
    padding: 25px;
    /* margin-bottom: -200px; */
}

.ebook-content p {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 400;
    color: #141414;
}

.form-title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 35px;
}

form label {
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    color: var(--purple);
}

h2 {
    font-size: 60px;
    color: #000;
    font-weight: 600;
    margin-bottom: 60px;
}

.bar {
    background: linear-gradient(#770FFF, #F36F21);
    height: 1px;
    width: 45%;
    margin-bottom: 30px;
}

.learn-card h3 {
    color: #000;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 20px;
}

.learn-card p {
    color: #141414;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 20px;
}

h4,
h5 {
    color: #141414;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 700;
    margin: 50px 0 30px;
}

h5 {
    color: var(--blue) !important;
    margin-top: 0 !important;
}

.bg-img {
    height: 600px;
    object-fit: cover;
    object-fit: center center;
    width: 100%;
    max-width: 100%;
}

.text {
    color: var(--blue);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}

.tata-card img {
    margin-bottom: 20px;
}

.tata-card {
    background-color: #E6E5E5;
    border-radius: 20px;
    padding: 15px;
    height: 100%;
    border: 2px solid #E6E5E5;
}

.tata-card:hover {
    animation: box 1s linear infinite forwards;
    cursor: pointer;
}

@keyframes box {
    from {
        box-shadow: -2px -2px 0px var(--green);

    }

    to {
        box-shadow: 2px 2px 0px var(--green);

    }
}


/* 4 new pages */
.ebook-banner {
    background-size: cover;
    height: 420px;
}
.eb1{
    background: url(../assets/ebook/ebook1.webp);
}
.eb2{
    background: url(../assets/ebook/ebook2.webp);
}
.eb3{
    background: url(../assets/ebook/ebook3.webp);
}
.eb4{
    background: url(../assets/ebook/ebook4.webp);
}

.ebook-banner .ebook-content>div,
.ebook-banner .ebook-content h1 {
    color: var(--white) !important;
}

.my-form {
    border: 1px solid #D9D8DC;
    background: #F4F4F4;
    padding: 30px 20px;
    border-radius:20px ;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* h1{
margin-bottom: 250px;

} */
.my-form .form-title {
    color: var(--blue);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
}

.my-form label {
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    color: var(--blue);
}

.my-form input {
    border: 2px solid #D9D8DC;
    border-radius: 8px;
}

@media (max-width:767px) {

    .ebook-content h1,
    h2,
    h4,
    h5 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .ebook-content p {
        font-size: 18px;
    }

    .form-title {
        font-size: 32px;
    }

    .learn-card h3 {
        font-size: 22px;
    }

    .learn-card p {
        font-size: 18px;
        margin-bottom: 0 !important;
    }

    .bg-img {
        height: 320px;
        object-fit: cover;
        object-fit: center center;
        width: 100%;
        max-width: 100%;
    }

    /* .ebook-content {
        margin-top: 60px;
    } */


    .hero-sec .pt-5 {
        padding-top: 0 !important;
    }

    /* ebook page */
    .ebook-banner {
        height: 100%;
        padding-bottom: 40px;
    }
    .ebook-content h1{margin-bottom: 0 !important;}
}

@media (min-width:768px) and (max-width:1170px) {

    .ebook-content h1,
    h2,
    h4,
    h5 {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .learn-card h3 {
        font-size: 22px;

    }

    .text {
        font-size: 18px;

    }


}
@media (min-width:1440px){
    .ebook-cards .col-md-6{
padding: 0 100px !important;
    }
}