@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
    font-family: "Poppins", sans-serif;

    /* overflow-x: hidden; */
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
}

p,
span,
strong,
a,
li,
button,
div {
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    height: 100%;
}

.para {
    color: #727272;
    font-size: 14px;
}

.para-wh {
    color: #e2d0d6;
    font-weight: 400;
    font-size: 14px;
}

.mini-para {
    color: #727272;
    font-size: 13px;
}

.mid-para {
    color: #727272;
    font-size: 18px;
}

.mini-bold {
    font-weight: 500;
    color: #000;
    font-size: 14px;
}

.mid-bold {
    font-weight: 500;
    color: #000;
    font-size: 16px;
}

.mid-semi-bold {
    font-weight: 500;
    color: #000;
    font-size: 22px;
}

.mini-bold-red {
    font-weight: 500;
    color: #6F1431;
    font-size: 15px;
}

.big-semi-bold {
    font-weight: 500;
    font-size: 30px;
}
.big-bold {
    font-weight: 600;
    color: #000;
    font-size: 30px;
}

.main-color {
    color: #49869B;
}


.header {
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: #49869b3d;
}

.header-hidden {
    height: 60px;
    width: 100%;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header .wordGen_logo img {
    width: 110px;
    height: 40px;
}

.header .nav_bar,
.header .nav_bar ul {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    background-color: #49869B;
    padding: 6px 10px;
    border-radius: 40px;
}

.header .ham_burger,
.header .nav_cross {
    display: none;
}

.header .nav_bar .log_reg ul {
    gap: 20px;
}


.header a {
    color: #dbe7eb;
    font-size: 14px;
}

.nav_bar ul li a.active {
    font-weight: 600;
    color: #fff;
}


/* foooter start  */


.footer {
    background-color: #000;
    padding: 3rem 0;
    color: #fff;
    position: relative;
    z-index: 2;
}

.footer .inn_foot {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 50px;
}

.footer ul {
    padding: 0;
}

.footer ul li {
    margin-bottom: 20px;
}

.footer ul a {
    color: #D7D7D7;
    font-size: 15px;
    font-weight: 300;
}

.footer h4 {
    margin-bottom: 10px;
    font-size: 20px;
}

.footer .f_logo {
    margin-bottom: 30px;
    display: block;
}

.footer h3 {
    margin-bottom: 30px;
    font-size: 20px;
}

.footer p {
    color: #D7D7D7;
    font-size: 15px;
    font-weight: 400;
}

.footer .f_logo img {
    width: 130px;
    height: 49px;
}

.footer .social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer .social img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer ul a img {
    width: 25px;
    height: 25px;
}

.copyright p {
    margin: 0;
    color: #fff;
}

.mini-foot {
    background-color: #cccccc;
    color: #525252;
    padding: 8px 0;
    font-size: 14px;
}

.mini-foot-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-foot-link {
    display: flex;
    gap: 10px;
}

.mini-foot-link a {
    color: #525252;
}

.mini-foot-content p {
    margin-bottom: 0;
}


/* foooter end  */


/* ======word-sec====== */

.word-section,
.task-sec,
.word-middle-content {
    padding: 40px 0;
}

.word-type-sec-main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.word-type-sec {
    display: flex;
    gap: 1rem 7rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.cmm-btn {
    background-color: #49869B;
    border: none;
    padding: 10px 30px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
}

.btn-div {
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

textarea {
    border-color: #309E9D !important;
    resize: none;
    margin-bottom: 20px;
}

.form-floating>label {
    position: absolute;
    top: -13px !important;
    left: 20px !important;
    height: auto !important;
    padding: 2px 6px !important;
    background: #fff;
    color: #49869B !important;
    font-size: 14px;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 16px !important;
    overflow: hidden;
    -webkit-border-radius: 16px !important;
    -moz-border-radius: 16px !important;
    -ms-border-radius: 16px !important;
    -o-border-radius: 16px !important;
}

.accordion-item:not(:first-of-type) {
    border-top: 1px solid var(--bs-accordion-border-color) !important;
}

.accordion-button:not(.collapsed) {
    color: #000 !important;
    background-color: transparent !important;
    font-weight: 500;
}


.daily-task-box-main {
    background: #6F1431;
    color: #fff;
    padding: 30px 20px 10px 20px;
    border-radius: 14px;
    -webkit-border-radius: 14px;
    -moz-border-radius: 14px;
    -ms-border-radius: 14px;
    -o-border-radius: 14px;
    position: relative;
}

.daily-task-box-main a {
    position: absolute;
    top: -13px;
    left: 20px;
    color: #6F1431;
    background-color: #fff;
    text-decoration: underline;
    border-radius: 1px;
    padding: 2px 8px;
    font-weight: 500;
}

.daily-task-box {
    display: flex;
    justify-content: space-between;
}

.word-type-col {
    text-align: center;
}



.exp-btn {
    background-color: #49869B;
    border: 2px solid #49869B;
    padding: 10px 30px;
    background: transparent;
    color: #49869B;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    border-top-left-radius: 30px !important;
    border-bottom-left-radius: 30px !important;
}
.exp-btn:hover {
    background-color: #3B6A7A; /* Darker shade of the original blue */
    border-color: #3B6A7A;
    color: white; /* Change text color to white on hover */
}

.reset-btn {
    background-color: #F2B33D; /* Choose a different color */
    border: 2px solid #F2B33D; /* Matching border with button color */
    padding: 10px 30px;
    background: transparent;
    color: #F2B33D; /* Matching color for text */
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    border-top-right-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
    transition: background-color 0.3s, color 0.3s; /* Smooth hover transition */
}

.reset-btn:hover {
    background-color: #F2A02E; /* Darker shade on hover */
    border-color: #F2A02E;
    color: white; /* Change text color to white on hover */
}

.border-btn-sec {
    background-color: #49869B;
    border: 1px solid #49869B;
    padding: 12px 18px;
    background: transparent;
    color: #49869B;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.border-btn-sec img {
    width: 20px;
    height: 16px;
}

.fill-btn {
    background-color: #49869B;
    border: 1px solid #49869B;
    padding: 12px 18px;
    background: #49869B;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fill-btn img {
    width: 20px;
    height: 16px;
}

.upload-box {
    background-color: #fafafa;
    border: 1px dashed #ccc;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.upload-box:hover {
    border-color: #007bff;
}

.upload-box img {
    opacity: 0.6;
}

.word-section textarea {
    border: 1px solid #ccc !important;
}

.speak-btn{
    margin-right: 10%;
}

.class-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
  }
  .contact-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }
  .contact-box .border-btn-sec{
    font-size: 14px;
    padding: 12px 14px;
    width: 100%;
  }
  .contact-box .border-btn-sec img{
    width: 18px;
    height: auto;
  }
  .contact-box .fill-btn img{
    width: 16px;
    height: auto;
  }
  .contact-box .fill-btn{
    font-size: 12px;
    padding: 12px 14px;
    width: 100%;
  }
  .services-list li {
    margin-bottom: 8px;
    list-style: disc;
  }
  .instructor-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
  }
  .see-more-main {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show only 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    max-height: 6.5em; /* Adjust height based on font-size and line-height */
  }

  .see-more {
    display: block;
    margin-top: 0.5em;
    font-weight: 500;
    text-decoration: underline;
  }


/* ======responsive====== */





@media (max-width: 1400px) {
    .speak-btn{
        margin-right: 4%;
    }
}

@media (max-width: 1199px) {
    .header .nav_cross {
        color: #000;
        text-align: right;
        display: block;
        cursor: pointer;
    }

    .header .ham_burger,
    .header .ham_cross,
    .header .for_mobile_resp {
        display: block;
    }

    .header .ham_burger button {
        border: 0;
        background: #ed99b445;
        color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: grid;
        place-items: center;
    }

    .header .nav_bar,
    .header .nav_bar ul {
        background-color: inherit;
        border-radius: 0px;
    }

    .header .head_inner .nav_bar {
        position: fixed;
        top: 0;
        background: #49869B;
        box-shadow: 0px 3px 12px 0px rgba(232, 21, 93, 0.10);
        padding: 22px 16px 24px 24px;
        left: -100%;
        width: 350px;
        align-items: normal;
        transition: all ease 0.2s;
        z-index: 9999;
        gap: 25px;
        display: inline;
        height: 100%;
        overflow-y: auto;
        -webkit-transition: all ease 0.2s;
        -moz-transition: all ease 0.2s;
        -ms-transition: all ease 0.2s;
        -o-transition: all ease 0.2s;
    }

    .header.active .head_inner .nav_bar {
        transition: all ease 0.2s;
        left: 0;
        -webkit-transition: all ease 0.2s;
        -moz-transition: all ease 0.2s;
        -ms-transition: all ease 0.2s;
        -o-transition: all ease 0.2s;
        overflow-x: hidden;
    }

    .header .overlay {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        background-color: #00130042;
        z-index: 999;
        display: block;
    }

    .header.active .overlay {
        left: 0%;
    }

    .header .nav_bar ul {
        display: block;
    }

    .header .nav_bar li {
        font-size: 15px;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .nav_bar i.nav_cross_btn {
        font-size: 22px;
        font-weight: 500;
        padding: 10px;
        font-style: normal;
        color: #fff;
    }

    .ham_burger i.fa-solid.fa-bars {
        font-size: 25px;
        color: #0269b3;
    }
    .speak-btn{
        margin-right: 0%;
    }
}

@media (max-width: 991px) {
    .footer .inn_foot {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 30px;
    }

}

@media (max-width: 990px) {
    .table-flow-sec {
        overflow-y: scroll;
    }

    .table-flow-sec .word-type-sec {
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .footer .inn_foot {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 0px;
    }

    .mini-foot-content {
        flex-direction: column;
    }

    .footer .inn_foot ul {
        margin-bottom: 0;
    }

    .word-section,
    .task-sec,
    .word-middle-content {
        padding: 25px 0;
    }

    .table-flow-sec {
        overflow-y: scroll;
    }

    .table-flow-sec .word-type-sec {
        justify-content: flex-start;
    }

    .big-bold {
        font-size: 24px;
    }

    .task-sec .daily-task-box img {
        display: none;
    }

    #synonyms-table th,
    #synonyms-table td,
    #speak-and-wirte-table th,
    #speak-and-wirte-table td,
    #jumble-table th,
    #jumble-table td {
        overflow: inherit;
        text-overflow: inherit;
        white-space: inherit;
        overflow-y: inherit;
    }

    #synonyms-table,
    #speak-and-wirte-table,
    #jumble-table {
        table-layout: inherit;
    }
}
