@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Teko:wght@300;400;500;600;700&display=swap");

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 33px;
    letter-spacing: 0.01em;
    color: #181b31;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Teko", sans-serif;
    color: #181b31;
    text-transform: uppercase;
}

h1 {
    font-weight: 500;
    font-size: 67px;
    line-height: 50px;
}

h2 {
    font-weight: 500;
    font-size: 41px;
    line-height: 49px;
    letter-spacing: 0;
}

h3 {
    font-weight: 500;
    font-size: 54px;
    line-height: 72px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

ul li {
    list-style: none;
}

ul {
    padding: 0;
    margin: 0;
}

.header-container {
    max-width: 1660px;
    margin: 0 auto;
    padding: 0 20px;
}
.container {
    max-width: 1660px;
}

a {
    transition: all 0.4s ease-in-out;
    font-family: "Teko", sans-serif;
    font-weight: 400;
}

a:hover {
    color: #047ac0;
}
.p-100 {
    padding: 100px 0;
}

/* header */

header {
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    transition: all 0.4s ease-in-out;
    z-index: 99;
}
header.fixed .header-logo {
    width: 25%;
}
header.fixed {
    background: #fff;
    padding: 15px 0;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
header.fixed .header-menu ul li a {
    color: #002060;
}
header .header-menu ul li a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}
header.fixed .header-menu ul li a::after {
    background: #002060;
}
header .header-menu ul li a.active::after {
    width: 100%;
}
header .header-menu ul li a:hover::after {
    width: 100%;
    transition: width 0.3s;
}
header.fixed .main-header .nav-logo {
    align-items: center;
}

header .header-logo {
    width: 48%;
    transition: all 0.4s ease-in-out;
}
header .header-menu ul li {
    margin-left: 10px;
    line-height: 0;
}
header .header-menu ul li a {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 28px;
    color: #fff;
    letter-spacing: 2px;
}
header .header-menu ul {
    justify-content: space-between;
}
header .header-menu {
    width: 42%;
}
header.fixed #humberger-menu span {
    background: #002060;
}

#humberger-menu {
    display: none;
    width: 40px;
    height: 45px;
    top: 27%;
    right: 0%;
    position: absolute;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    margin-right: 20px;
}

#humberger-menu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 9px;
    opacity: 1;
    left: 0px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

#humberger-menu span:nth-child(1) {
    top: 6px;
}

#humberger-menu span:nth-child(2) {
    top: 14px;
}

#humberger-menu span:nth-child(3) {
    top: 23px;
}

#humberger-menu.open span:nth-child(1) {
    top: 18px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

#humberger-menu.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

#humberger-menu.open span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/* banner */

.hero-banner {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}
.whyhenka-wrap h4 {
    margin-top: 20px;
    font-size: 32px;
}
.howbanner {
    --bs-gutter-x: inherit;
}
.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a58ca36;
}
.hero-banner video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -9;
    object-fit: cover;
}
.hero-banner .banner-content {
    max-width: 380px;
    margin-left: auto;
    padding-top: 80px;
}
.hero-banner .banner-content h1 {
    color: #fff;
    text-transform: capitalize;
    position: relative;
    text-shadow:
        1px 1px 2px #00000061,
        0 0 1em #00000061,
        0 0 0.2em #00000061;
}
.hero-banner .banner-content ul {
    position: relative;
}
.hero-banner .banner-content ul li a {
    font-weight: 500;
    font-size: 54px;
    line-height: 52px;
    color: #ffff;
    display: inline-block;
    margin-bottom: 5px;
    text-shadow:
        1px 1px 2px #00000061,
        0 0 1em #00000061,
        0 0 0.2em #00000061;
}
.hero-banner .banner-content ul li a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}
.hero-banner .banner-content ul li a:hover::after {
    width: 100%;
    transition: width 0.3s;
}

/* title-text block */
h2 span {
    color: #002060;
}

.title-text-content .title-text .text-block .title-line {
    width: 8%;
}
.title-text-content .title-text .text-block .title-line hr {
    color: #002060;
    opacity: 1;
}
.title-text-content .title-text h2 {
    margin-bottom: 30px;
}
.title-text-content .title-text .text-block .discription {
    width: 90%;
}
.title-text-content .title-text .text-block .discription i {
    color: #002060;
}
.title-text-content .title-text .text-block .discription p {
    color: #181b31;
    font-size: 18px;
}
.title-text-content .title-text .text-block .discription p span {
    color: #002060;
}
.title-text-content .title-text .text-block .discription p.gray-text {
    color: #808291;
}
.solve-count {
    margin-top: 5rem;
}
.solve-count .grid-content {
    margin-bottom: 30px;
}
.solve-count .grid-content p {
    color: #808291;
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
}
.solve-count .count-grid {
    padding-top: 10px;
}

/* footer */

footer {
    background: #181b31;
    padding: 40px 0;
}

footer .social-copyright .social-block a {
    color: #fff;
    margin-right: 15px;
    font-family: "Poppins", sans-serif;
}

footer .social-copyright .copyright span {
    font-weight: 400;
    font-size: 15px;
    color: #808291;
    margin-right: 35px;
}
footer .social-copyright .copyright a {
    font-family: "Poppins", sans-serif;
    color: #fff;
    font-size: 15px;
    line-height: 28px;
}
.header-logo .logo {
    display: block;
}
.header-logo .sticky-logo {
    display: none;
}

.contact-page .header-logo .logo {
    display: none;
}
.contact-page .header-logo .sticky-logo {
    display: block;
}
header.fixed .header-logo .logo {
    display: none;
}
header.fixed .header-logo .sticky-logo {
    display: block;
}

.home-page .header-logo .logo {
    display: none;
}
.home-page .header-logo .sticky-logo {
    display: block;
}
.form-group .text-danger-600 {
    font-size: 13px;
}

.inner-banner {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.inner-banner .inner-content h1 {
    color: #fff;
    font-size: 80px;
    margin-bottom: 30px;
}
.inner-banner .inner-content h2 {
    color: #fff;
}
.inner-banner .inner-content p {
    color: #fff;
    max-width: 900px;
}
.inner-banner .inner-content {
    padding-top: 150px;
}

.list-block .list-content ul {
    padding-left: 20px;
}
.list-block .list-content ul li {
    list-style: disc;
    color: #808291;
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
}
.list-block .world-img {
    margin-top: 2rem;
}
.list-block .list-content.half-list ul li {
    width: 47%;
}
.list-block .list-content ol li {
    color: #808291;
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
}

.image-text img {
    width: 100%;
    height: 514px;
    object-fit: cover;
}
.p-200 {
    padding: 200px 0 100px;
}
.form-img-block .form-group input {
    width: 100%;
    border: 0;
    outline: 0;
    border-bottom: 1px solid #808291;
    padding: 10px 5px;
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
}
.form-img-block .form-group textarea {
    width: 100%;
    border: 0;
    outline: 0;
    border-bottom: 1px solid #808291;
    padding: 10px 5px;
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
    resize: none;
}
.form-img-block .form-group {
    margin-bottom: 20px;
}
.form-img-block form {
    max-width: 450px;
}
.contact-block h2 {
    margin-bottom: 40px;
    color: #002060;
}
header.contact-page .header-menu ul li a {
    color: #002060;
}
.form-img-block .form-group button {
    border: 1px solid #002060;
    background: #002060;
    color: #fff;
    outline: 0;
    padding: 8.79688px 37.1562px 10.2031px 37.3906px;
    transition: all 0.4s ease-in-out;
}
.form-img-block .form-group button:hover {
    color: #002060;
    background: transparent;
}
.form-img-block form p {
    font-weight: 400;
    font-size: 15px;
    color: #808291;
    line-height: 28px;
}
header.contact-page #humberger-menu span {
    background: #002060;
}

.references-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.references-grid .slider-img-text {
    width: 25%;
    padding: 0 10px;
    margin-bottom: 20px; /* Reduced from 20px */
}
.references-grid .slider-img-text .image-text {
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.references-grid .slider-img-text .image-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.references-grid .slider-img-text .image-text img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 400px; /* Adjusted height for 4-column grid */
    object-fit: cover;
}
@media only screen and (max-width: 1200px) {
    .references-grid .slider-img-text {
        width: 33.33%;
    }
}
@media only screen and (max-width: 991px) {
    .references-grid .slider-img-text {
        width: 50%;
    }
}
@media only screen and (max-width: 575px) {
    .references-grid .slider-img-text {
        width: 100%;
    }
}
.references-block h2.title {
    margin-bottom: 40px;
    color: #002060;
    padding-left: 0;
}
.slider-img-text .image-text {
    position: relative;
}
.text-block-img {
    position: absolute;
    bottom: 0;
    padding: 0 15px 5px; /* Even more compact */
    z-index: 99;
    width: 100%;
    height: 90px; /* Further reduced height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.slider-img-text .image-text:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, #000000 123.33%);
}
.text-block-img h2 {
    color: #fff;
    margin: 0 !important;
    min-height: 35px; /* Reduced min-height for compact name area */
    display: flex;
    align-items: flex-end;
    font-size: 26px;
    line-height: 26px;
    padding-bottom: 2px;
}
.text-block-img p {
    color: #fff;
    font-weight: 500;
    font-size: 13px; /* Smaller font for 4-column layout */
    line-height: 16px;
    font-family: "Poppins", sans-serif;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Reduced to 2 lines for 100px height */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.p-200.references-block {
    padding-bottom: 10px; /* Minimum section padding */
}
ul.tabs {
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
ul.tabs li {
    padding: 10px 9px;
    cursor: pointer;
    width: 19%;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    font-size: 16px;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.tabs li.current {
    background: #002060;
    color: #fff;
}

.tab-content {
    display: none;
}
.tab-content .row .col {
    flex: 0 0 25%;
}
.tab-content .book-text img {
    width: 100%;
}
.tab-content .book-text p {
    line-height: 20px;
    margin-top: 1rem;
}

.tab-content.current {
    display: inherit;
}
.tabing-block {
    padding-bottom: 100px;
}
.tab-content ul li {
    width: 47%;
    list-style: disc;
    color: #808291;
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
}
.tab-content ul,
.tab-content ol {
    padding-left: 15px;
}
.tab-content ol li {
    color: #808291;
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
}
header.contact-page .header-menu ul li a::after {
    background: #002060;
}
p.alertalert-info {
    color: #4caf50;
}
/* responsive */

@media only screen and (max-width: 1366px) {
    h1 {
        font-size: 54px;
    }
    .hero-banner .banner-content ul li a {
        font-size: 44px;
        line-height: 42px;
    }
    .image-text img {
        width: 100%;
        max-height: 424px;
        object-fit: cover;
    }
}

@media only screen and (max-width: 1199px) {
    header .header-menu {
        width: 49%;
    }
    .tab-content .row .col {
        flex: 0 0 25%;
    }
    .think-better-wrap h2 {
        padding-left: 20px !important;
    }
}

@media only screen and (max-width: 1099px) {
    header.contact-page .header-menu ul li a {
        color: #fff;
    }
    #humberger-menu {
        display: block;
    }
    .header-menu {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;
        color: #fff;
        background-color: #002060;
        z-index: 111;
        left: 0;
    }
    header .header-menu {
        width: 100%;
        height: 100vh;
    }
    header .header-menu ul {
        flex-wrap: wrap;
        padding-bottom: 10px;
    }
    /*.hero-banner .banner-content {
    max-width: unset;
  }*/
    .hero-banner {
        background-blend-mode: overlay;
        background-color: rgba(0 0 0/0.2);
    }
    .p-100 {
        padding: 50px 0;
    }
    footer {
        padding: 20px 0;
    }
    header .header-menu ul li {
        width: 100%;
        padding: 10px 20px 0;
    }
    header .header-menu ul li a::after {
        display: none;
    }
    header.fixed .header-menu ul li a {
        color: #fff;
    }
    header {
        padding: 20px 0;
    }
    .whyhenka-wrap ul {
        flex-wrap: wrap;
    }
}
@media only screen and (max-width: 991px) {
    h2 {
        font-size: 31px;
        line-height: 35px;
    }
    .list-block .list-content.half-list ul li {
        width: 100%;
    }
    .p-200 {
        padding: 150px 0 100px;
    }
    ul.tabs li {
        width: 48%;
        margin-bottom: 20px;
    }
    .tab-content ul li {
        width: 100%;
    }
    .tabing-block {
        padding-bottom: 50px;
    }
}
@media only screen and (max-width: 921px) {
    footer .social-copyright .social-block {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    footer .social-copyright {
        flex-wrap: wrap;
    }
    footer .social-copyright .social-block a {
        margin: 0;
    }
    footer .social-copyright .copyright {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
    }
    footer .social-copyright .copyright span {
        margin: 0;
        text-align: center;
        line-height: 23px;
    }
    .tab-content .row .col {
        flex: 0 0 33.33%;
    }
}

@media only screen and (max-width: 767px) {
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 25px;
        line-height: 25px;
    }
    .solve-count .grid-content {
        margin-bottom: 10px;
    }
    .solve-count .grid-content p {
        line-height: 22px;
    }
    .title-text-content .title-text h2 {
        margin-bottom: 10px;
        line-height: 30px;
    }
    .title-text-content .title-text .text-block .discription p {
        line-height: 26px;
    }
    .solve-count {
        margin-top: 2rem;
    }
    .hero-banner {
        height: 560px;
    }
    .inner-banner {
        height: 500px;
    }
    .inner-banner .inner-content {
        padding-top: 120px;
    }
    .inner-banner .inner-content h1 {
        font-size: 40px;
        margin-bottom: 10px;
    }
    .inner-banner .inner-content p {
        line-height: 25px;
    }
    .success-grid .grid-image .col {
        flex: unset;
    }
    .p-200 {
        padding: 120px 0 100px;
    }
    /* .slider-block .slick-arrow {
        top: -45px;
    } */
    .tab-content .row .col {
        flex: 0 0 50%;
    }
}
@media only screen and (max-width: 641px) {
    .tab-content .row .col {
        flex: 0 0 100%;
    }
    ul.tabs li {
        width: 100%;
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 414px) {
    header.fixed .header-logo {
        width: 35%;
    }
}
.btn-close {
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 25px;
    width: 30px;
    height: 30px;
    z-index: 100;
    opacity: 0.6;
    transition: opacity 0.3s;
    background: none !important; /* Remove bootstrap default icon */
    border: none !important;
}
.btn-close:hover {
    opacity: 1;
}
.btn-close::before,
.btn-close::after {
    content: "";
    position: absolute;
    left: 14px;
    height: 30px;
    width: 2px;
    background-color: #333;
}
.btn-close::before {
    transform: rotate(45deg);
}
.btn-close::after {
    transform: rotate(-45deg);
}

.clear {
    clear: both;
}

.modal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    width: 100%;
    height: 100%;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4); /* Lighter backdrop */
    backdrop-filter: blur(8px); /* Blur effect */
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-wrapper.open {
    visibility: visible;
    opacity: 1;
    filter: alpha(opacity=1);
}

.modal {
    padding: 0; /* Removing padding from modal itself */
    display: block;
    height: auto;
    width: 100%;
    max-width: 1000px; /* Narrower for better proportion */
    max-height: 65vh; /* Reduced height */
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: scale(0.8) translateY(20px);
}

.modal-wrapper.open .modal {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.content {
    text-align: left;
}
body.overflow {
    overflow: hidden;
}

/*15/5/23 changes*/

.solve-count h2 {
    text-transform: capitalize;
    position: relative;
}

.solve-count h2:after {
    content: "";
    display: block;
    border-bottom: 1px solid #181c30;
    width: 21%;
    position: relative;
    bottom: 10px; /* your padding + border-width */
}
.whyhenka-wrap ul {
    display: flex;
    width: 100%;
    justify-content: center;
}

.whyhenka-wrap ul li {
    margin: 15px;
    width: 316px;
    height: 233px;
}

.whyhenka-box {
    border: 3px solid #181b31;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 100%;
}
.whyhenka-box p {
    color: #808291;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    min-height: 80px;
    margin-bottom: 0;
}
.tab-content.books-content .row .col {
    flex: 0 0 30%;
}
.tab-content.books-content .row {
    justify-content: center;
}
.pop-up-content {
    margin: 0;
}
.modal .user-img {
    background: #f4f4f4;
    padding: 30px; /* Reduced padding */
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal .image-new {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.user-details {
    padding: 0 35px 30px; /* More compact padding */
    max-height: 65vh;
    overflow-y: auto;
}
.user-details h2 {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding-top: 30px; /* Reduced from 50px */
    padding-bottom: 10px; /* Reduced from 20px */
    margin-bottom: 10px; /* Reduced from 20px */
    font-size: 38px;
    color: #002060;
    border-bottom: 2px solid #002060;
    display: block; /* Full width for solid background */
}
.user-details p {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #555;
    margin-top: 10px;
}

@media (max-width: 1366px) {
    .user-details {
        height: 100%;
        margin-top: 10px;
    }
    .btn-close::before,
    .btn-close::after {
        height: 20px;
    }
}
