@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Carter+One&family=Patua+One&display=swap');

/*--------------
 Global CSS
----------------*/
:root {
    --main-color: #7857fe;
    --color-1: #e91e63;
    --color-2: #f5ae10;
    --color-3: #09d69c;
    --color-4: white;
    --bg-dark: #21222a;
    /*#2b2c2f;*/
    --main-to-dark-color: var(--main-color);
    --dark-to-main-color: var(--bg-dark);
    --shadow-black-100: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-black-300: 0 5px 15px rgba(0, 0, 0, 0.3);
    --black-900: #000000;
    --black-400: #555555;
    --black-100: #f7f7f7;
    --black-000: #ffffff;
    --black-0000: #ffffff;
    --black-alpha-100: rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    background-color: white;
    line-height: 1.5;
}

body.dark {
    background-color: #272832;
    --black-100: #252630;
    --black-000: #252630;
    --black-0000: #272832;
    --color-4: #ffffff;
    --main-to-dark-color: var(--bg-dark);
    --dark-to-main-color: var(--main-color);
    --shadow-black-100: var(--shadow-black-300);
    --black-alpha-100: rgba(255, 255, 255, 0.05);
    --black-900: #ffffff;
    --black-400: #bbbbbb;
}

* {
    margin: 0;
    padding: 0;
    outline: none !important;
}

/*-------------------
 Global UI
---------------------*/
ul {
    list-style: none;
}

.btn-2 {
    background-color: var(--main-color);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    color: #ffffff;
    font-size: 16px;
    text-transform: capitalize;
    transition: all 0.5s ease;
    box-shadow: var(--shadow-black-100);
    font-weight: 500;
}

.btn-2:focus {
    box-shadow: var(--shadow-black-100);
}

.btn-2:hover {
    color: var(--main-color);
    background-color: #ffffff;
}


/*--------------------
 Section Global
---------------------*/
.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    color: var(--black-900);
    font-weight: 700;
    text-transform: capitalize;
    text-align: center;
    margin: 0;
}

.section-title h2 span {
    color: var(--main-color);
}

/*-----------------
 Navbar Section
-------------------*/
.navbar {
    background-color: var(--main-to-dark-color);
    padding: 20px 0;
    transition: all 0.5s ease;
}

.navbar.navbar-shrink {
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--main-to-dark-color);
    padding: 10px 0;
}

.navbar>.container {
    padding: 0 15px;
}

.navbar .navbar-brand {
    font-size: 30px;
    color: #ffffff;
    font-weight: 500;
    text-transform: capitalize;
}

.navbar .nav-item {
    margin-left: 40px;
}

.navbar .nav-item .nav-link {
    font-size: 16px;
    color: #ffffff;
    text-transform: capitalize;
    font-weight: 400;
    padding: 5px 0;
    position: relative;
}

.navbar .nav-item .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: #ffffff;
    transition: all 0.5s ease;
    transform: scale(0);
}

.navbar .nav-item .nav-link.active::before,
.navbar .nav-item .nav-link:hover::before {
    transform: scale(1);
}


/*-----------------
 Home Section
-------------------*/
.home {
    min-height: 400px;
    padding: 160px 0 30px 0;
    background-color: var(--main-to-dark-color);
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.home .container {
    text-align: center;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.home-text h1 {
    font-size: 60px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #ffffff;
}

.home-text h2 {
    font-family: 'Carter One', cursive;
    font-size: 22px;
    color: var(--color-2);
}

.search-box {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    width: 100%;
    max-width: 490px;
    background-color: var(--color-4);
    border-radius: 60px;
    /* height: 60px; */
}

.search-box input {
    flex: 1;
    background: transparent;
    font-weight: 600;
    color: #272832;
    padding: 10px 30px;
    font-size: 20px;
    border: 0;
    outline: none;
}

.search-box button {
    border: 0;
    border-radius: 25px;
    width: 50px;
    height: 50px;
    background: var(--main-color);
    cursor: pointer;
    margin: 6px;
    color: white;
}

.home-text a {
    display: block;
    text-decoration: underline;
    font-size: 17px;
    font-weight: 700;
    margin: 30px;
    color: white;
}

.wave-svg path {
    fill: var(--main-to-dark-color);
}


/*-----------------------
 Recent Post Section
-------------------------*/
.post-item {
    padding: 14px;
    background-color: var(--black-100);
    margin-bottom: 25px;
    transition: all 0.5s ease;
}
.post-item:hover{
    box-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    transform: scale(1.008);
}
.post-item-header {
    padding: 0 0 14px 0;
}
.post-item-header a {
    font-weight: 500;
    font-size: 18px;
    color: var(--black-900);
    text-decoration: none;
}
.post-item-body p {
    color: var(--black-400);
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
            line-clamp: 4; 
    -webkit-box-orient: vertical;
}

.posts .devider {
    margin-bottom: 10px;
    width: 100%;
    height: 1px;
    background: var(--black-400);
}

/*-----------------------
 Popular Post Section
-------------------------*/
.popular-post {
    background-color: var(--black-100);
}

.color-000 {
    background-color: var(--black-0000);
}

/*-----------------------
 FAQ Section
-------------------------*/
.faq .accordion-item:not(.last-child) {
    margin-bottom: 20px;
}

.faq .accordion-header {
    box-shadow: var(--shadow-black-100);
    padding: 20px 50px 20px 30px;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
}

.faq .accordion-header::before {
    content: "\f067";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    height: 30px;
    width: 30px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    text-align: center;
    line-height: 30px;
    color: var(--black-400);
    transition: all 0.5s ease;
}

.faq .accordion-header:not(.collapsed)::before {
    content: "\f068";
    color: #ffffff;
}

.faq .accordion-header:not(.collapsed) {
    background-color: var(--main-color);
    box-shadow: none;
}

.faq .accordion-header h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--black-400);
    margin: 0;
    transition: all 0.5s ease;
}

.faq .accordion-header:not(.collapsed) h3 {
    color: #ffffff;
}

.faq .accordion-body {
    padding: 20px 30px;
    background-color: var(--black-100);
}

.faq .accordion-body p {
    font-weight: 300;
    font-size: 16px;
    color: var(--black-400);
    line-height: 26px;
    margin: 0;
}

/*----------------------
 Contact Section
------------------------*/
.contact {
    background-color: var(--black-100);
}

.contact-info h3 {
    font-size: 22px;
    color: var(--black-900);
    font-weight: 500;
    margin: 0 0 40px;
}

.contact-info-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 30px;
}

.contact-info-item i {
    position: absolute;
    height: 40px;
    width: 40px;
    left: 0;
    top: 0;
    border-radius: 50%;
    font-size: 16px;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    text-align: center;
    line-height: 38px;
}

.contact-info-item h4 {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 10px;
    color: var(--black-900);
}

.contact-info-item p {
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    line-height: 26px;
    color: var(--black-400);
}

.contact-info-item p a {
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    line-height: 26px;
    color: var(--black-400);
    text-decoration: none;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-control {
    height: 52px;
    border: 2px solid transparent;
    box-shadow: var(--shadow-black-100);
    border-radius: 10px;
    padding: 0 24px;
    color: var(--black-900);
    background-color: var(--black-000);
    transition: all 0.5s ease;
}

.contact-form textarea.form-control {
    height: 120px;
    padding-top: 12px;
    resize: none;
}

.contact-form .form-control:focus {
    border-color: var(--main-color);
}




/*----------------------
Footer Section
------------------------*/
.footer {
    background-color: var(--main-to-dark-color);
    padding: 50px 0 0;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 25px;
    text-transform: capitalize;
}

.footer-col p {
    font-size: 16px;
    color: rgba(255, 255, 255, .9);
    font-weight: 300;
    line-height: 26px;
    margin: 0;
}

.footer-col ul {
    margin: 0;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    color: rgba(255, 255, 255, .9);
    font-weight: 300;
    display: block;
    text-transform: capitalize;
    transition: all 0.5s ease;
    text-decoration: none;
}

.footer-col ul li a:hover {
    padding-left: 6px;
}

.footer .copyright-text {
    padding: 20px 0;
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, .9);
    font-weight: 300;
    margin: 50px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

/*-----------------------
Toggle Theme - light and dark
------------------------*/
.toggle-theme {
    position: fixed;
    right: 0;
    top: calc(50% - 20px);
    height: 40px;
    width: 40px;
    background-color: var(--dark-to-main-color);
    z-index: 1200;
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: var(--shadow-black-300);
    font-size: 16px;
    text-align: center;
}

.toggle-theme i {
    line-height: 40px;
}


/*----------------------
 Responsive Section
------------------------*/
@media (max-width: 991px) {
    .navbar-toggler {
        background-color: var(--main-to-dark-color);
        box-shadow: var(--shadow-black-300);
        height: 34px;
        width: 44px;
        padding: 0;
        font-size: 17px;
        color: #ffffff;
    }

    .navbar-nav {
        background-color: var(--main-to-dark-color);
        box-shadow: var(--shadow-black-300);
    }

    .navbar .nav-item {
        margin: 0;
        padding: 5px 15px;
    }

    .navbar.navbar-shrink .navbar-toggler,
    .navbar.navbar-shrink .navbar-nav {
        background-color: var(--main-to-dark-color);
    }

    .footer-col {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .home-text h1 {
        font-size: 60px;
    }

    .home-text h2 {
        font-size: 22px;
    }

    .contact-form {
        margin-top: 20px;
    }

    .section-title h2 {
        font-size: 35px;
    }

    .search-box {
        max-width: 490px;
    }

    .home-text a {
        font-size: 17px;
    }
}

@media (max-width: 575px) {
    .home-text h1 {
        font-size: 40px;
    }

    .home-text h2 {
        font-size: 17px;
    }

    .search-box {
        max-width: 400px;
    }

    .search-box input {
        font-size: 17px;
    }

    .home-text a {
        font-size: 14px;
    }
}