/*!
Theme Name: waytophp
Theme URI: 
Author: munish
Author URI: 
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: waytophp_theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Nunito', sans-serif;
}

section.top_navbar nav.navbar {
    background: transparent;
}

section.top_navbar a.nav_links {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-left: 50px;
}

section.top_navbar nav-item:first-child a.nav_links {
    margin-left: 0;
}

section.top_navbar .navbar-light .navbar-toggler-icon {
    filter: invert(9);
}

.btn {
    height: 49px;
    color: #fff;
    font-size: 18px;
    padding: 0 16px;
    border-radius: 50px;
}

.orange {
    background: #FE7747;
}

.green {
    background: #53BD95;
    padding: 0 40px;
}

form.nav_btn_right {
    display: flex;
    align-items: center;
}

form.nav_btn_right a.nav_links {
    margin-left: 0;
    margin-right: 35px;
}

.top_banner {
    background: rgb(38, 108, 96);
    background: radial-gradient(circle, rgba(38, 108, 96, 1) 0%, rgba(4, 32, 46, 1) 100%);
    margin-top: -71px;
    padding-top: 160px;
    text-align: center;
    margin-bottom: 86px;
}

h1.banner_heading {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    line-height: 76px;
    max-width: 810px;
    margin: 0 auto 20px;
}

h1.banner_heading span {
    font-weight: 800;
    color: #FCCC31;
}

p.banner_subheading {
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    color: #FFFFFF;
    max-width: 520px;
    margin: 0 auto 30px;
}

.banner_chat_screen {
    margin-top: 50px;
    margin-bottom: -50px;
}

.multiple_channel {
    background: #fff;
    padding: 98px 0 120px;
}

h2.common_heading {
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    color: #4A4A4A;
    margin-bottom: 60px;
    padding-bottom: 35px;
    position: relative;
}

h2.common_heading:before {
    position: absolute;
    content: '';
    width: 70px;
    border-radius: 10px;
    height: 4px;
    background: #F03A76;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.mmc_item {
    height: 226px;
    padding: 36px 15px;
    border-radius: 36px;
    margin: 0 18px 10px 0;
}

.mmc_wrapper {
    display: flex;
    justify-content: space-between;
}

.mmc_list {
    width: 100%;
    text-align: center;
}

.mmc_list:last-child .mmc_item {
    margin-right: 0;
}

.mmc_icon {
    margin-bottom: 7px;
}

.mmc_text {
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
    color: #000;
}

.mmc_list:nth-child(even) {
    margin-top: 45px;
}

.special_project {
    background: #266C6C;
    padding: 98px 0 120px;
    background: radial-gradient(79.17% 72.83% at 9.86% 11.05%, #266C6C 0%, #04202E 44.79%, #266C6C 96.88%);
}

.special_project h2.common_heading {
    color: #fff;
}

.special_project h2.common_heading:before {
    background: #fff;
}

.spf_wrapper {
    display: flex;
    justify-content: space-between;
}

.spf_list {
    width: 100%;
    text-align: center;
}

.spf_item {
    height: 285px;
    padding: 36px 36px;
    border-radius: 16px;
    margin: 0 30px 30px 0;
    background: #fff;
}

.spf_list:last-child .spf_item {
    margin-right: 0;
}

.spf_text {
    font-weight: 700;
    font-size: 22px;
    color: #4A4A4A;
    margin-bottom: 10px;
}

.spf_subtext {
    font-weight: 400;
    font-size: 14px;
    color: #575757;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spf_icon {
    margin-bottom: 30px;
}

.spf_list:nth-child(even) {
    margin-top: 45px;
}

.contact-us {
    background: #fff;
    padding: 98px 0 120px;
}

.custom_form {
    margin-bottom: 40px;
}

label.custom_label {
    width: 100%;
    color: #4A4A4A;
    font-size: 16px;
}

.custom_input {
    width: 100%;
    height: 50px;
    border: 1px solid #656565;
    border-radius: 10px;
    padding: 0 20px;
    font-size: 16px;
    color: #575757;
}

textarea.custom_input {
    height: auto;
    padding-top: 10px;
}

section.footer {
    padding: 80px 0;
    background: radial-gradient(79.17% 72.83% at 9.86% 11.05%, #266C6C 0%, #04202E 44.79%, #266C6C 96.88%);
}

.footer_heading {
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    margin-bottom: 50px;
}

ul.footer_list {
    padding: 0;
    margin: 0;
    list-style: none;
}

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

a.footer_link {
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
}

ul.footer_list li:last-child {
    margin-bottom: 0;
}

.footer_logo_copyrt {
    margin-bottom: 30px;
}

.footer_logo_copyrt a {
    font-weight: 900;
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    margin-right: 30px;
    line-height: 178.5%;
}

.footer_logo_copyrt span {
    font-weight: 400;
    font-size: 14px;
    color: #fff;
}

p.footer_text {
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    margin: 0;
}

@media screen and (max-width: 1199px) {
    section.top_navbar a.nav_links {
        font-size: 16px;
    }
}

@media screen and (max-width: 991px) {
    .top_banner {
        padding-top: 90px;
        margin-top: 0;
    }

    section.top_navbar {
        background: #04202E;
    }

    a.nav_links {
        padding: 6px;
        display: block;
    }

    form.nav_btn_right {
        margin-left: 50px;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .mmc_wrapper {
        flex-wrap: wrap;
    }

    .mmc_list {
        display: flex;
    }

    .mmc_item {
        width: 50%;
    }

    .mmc_text {
        font-size: 18px;
        line-height: normal;
    }

    .mmc_list:last-child .mmc_item {
        margin-right: 18px;
    }

    .mmc_list .mmc_item:last-child {
        margin-right: 0;
    }

    .mmc_list:last-child .mmc_item:last-child {
        margin-right: 0;
    }

    .mmc_list:nth-child(even) {
        margin-top: 0;
    }

    .spf_wrapper {
        flex-wrap: wrap;
    }

    .spf_list {
        display: flex;
    }

    .spf_item {
        padding: 20px 15px;
        width: 33%;
        margin: 0 20px 20px 0;
    }

    .spf_list:last-child .spf_item {
        margin-right: 18px;
    }

    .spf_list .spf_item:last-child {
        margin-right: 0;
    }

    .spf_list:last-child .spf_item:last-child {
        margin-right: 0;
    }

    .spf_list:nth-child(even) {
        margin-top: 0;
    }
}

@media screen and (max-width: 767px) {
    .mmc_item {
        padding: 20px 15px;
        height: auto;
    }

    .spf_list {
        flex-direction: column;
    }

    .spf_item {
        width: 100%;
        margin-right: 0;
        height: auto;
    }

    .contact-us form {
        margin-top: 30px;
    }

    h1.banner_heading {
        font-size: 32px;
        line-height: normal;
    }

    p.banner_subheading {
        font-size: 14px;
    }

    .multiple_channel {
        padding: 50px 0;
    }

    h2.common_heading {
        font-size: 32px;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    .special_project {
        padding: 50px 0;
    }

    .contact-us {
        padding: 50px 0;
    }

    .custom_form {
        margin-bottom: 30px;
    }

    section.footer {
        padding: 50px 0;
        text-align: center;
    }

    .footer_heading {
        margin-bottom: 20px;
    }

    ul.footer_list {
        margin-bottom: 30px;
    }

    a.footer_link {
        font-size: 16px;
    }

    ul.footer_list li {
        margin-bottom: 15px;
    }
}

/* WTP Home Page Blog Grid */
.wtp-home-blog-section {
    background-color: #fafbfc;
    font-family: 'Poppins', sans-serif;
}

.wtp-home-post-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.wtp-home-post-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.wtp-home-post-full {
    flex-direction: row;
}

.wtp-home-post-content {
    flex: 1;
    padding-right: 20px;
}

.wtp-home-post-image {
    width: 45%;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
}

.wtp-home-post-full .wtp-home-post-image {
    width: 60%;
}

.wtp-home-post-image a {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.wtp-home-post-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.wtp-home-post-card:hover .wtp-home-post-image img {
    transform: scale(1.08);
}

.wtp-home-post-full .wtp-home-post-image img {
    height: 240px;
}

.wtp-home-cat-links {
    margin-bottom: 15px;
}

.wtp-home-cat-links a {
    display: inline-block;
    color: #f0643b;
    background: rgba(240, 100, 59, 0.08);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 8px;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.wtp-home-post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #111;
}

.wtp-home-post-full .wtp-home-post-title {
    font-size: 22px;
}

.wtp-home-post-title a {
    color: inherit;
    text-decoration: none;
}

.wtp-home-post-meta {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.wtp-home-post-meta i {
    margin-right: 6px;
    font-size: 14px;
}

.wtp-home-meta-sep {
    margin: 0 10px;
    color: #ccc;
}

.wtp-home-load-more {
    display: inline-block;
    color: #f0643b;
    background: transparent;
    border: 1px solid #f0643b;
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.wtp-home-load-more:hover {
    background: #f0643b;
    color: #fff;
    text-decoration: none;
}

.wtp-home-load-icon {
    margin-left: 8px;
}

@media (max-width: 991px) {
    .wtp-home-post-image {
        width: 40%;
    }

    .wtp-home-post-full .wtp-home-post-image {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .wtp-home-post-card {
        flex-direction: column;
    }

    .wtp-home-post-content {
        padding-right: 0;
        margin-bottom: 20px;
        order: 2;
    }

    .wtp-home-post-image {
        width: 100%;
        order: 1;
        margin-bottom: 20px;
    }

    .wtp-home-post-full .wtp-home-post-image {
        width: 100%;
    }

    .wtp-home-post-image img,
    .wtp-home-post-full .wtp-home-post-image img {
        height: auto;
        max-height: 250px;
    }
}

/* WTP Home Page Hero Section */
.wtp-hero-section {
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.wtp-hero-subtitle {
    margin-bottom: 20px;
}

.wtp-hero-subtitle span {
    font-size: 13px;
    font-weight: 700;
    color: #f0643b;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.wtp-hero-subtitle span::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #f0643b;
}

.wtp-hero-title {
    font-size: 54px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin-bottom: 25px;
}

.wtp-hero-highlight {
    background: linear-gradient(90deg, #9b51e0, #f0643b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.wtp-hero-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.wtp-hero-btn {
    display: inline-block;
    background-color: #f0643b;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 100, 59, 0.3);
}

.wtp-hero-btn:hover {
    background-color: #d9532e;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.wtp-hero-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

/* Optional: faint background gradients to match the design's soft blobs */
.wtp-hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155, 81, 224, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.wtp-hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240, 100, 59, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.wtp-hero-content-col,
.wtp-hero-image-col {
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .wtp-hero-title {
        font-size: 40px;
    }

    .wtp-hero-desc {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .wtp-hero-title {
        font-size: 32px;
    }

    .wtp-hero-section {
        text-align: center;
    }

    .wtp-hero-subtitle span::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .wtp-hero-desc {
        margin: 0 auto 30px auto;
    }
}

/* WTP Subscribe Section */
.wtp-home-subscribe-section {
    font-family: 'Poppins', sans-serif;
}

.wtp-subscribe-box {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 30px 40px;
}

.wtp-sub-icon {
    width: 60px;
    height: 60px;
    background-color: #fff1eb;
    color: #f0643b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 25px;
    flex-shrink: 0;
}

.wtp-sub-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.wtp-sub-content p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.wtp-sub-btn {
    display: inline-block;
    background-color: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.wtp-sub-btn i {
    margin-right: 8px;
    color: #666;
}

.wtp-sub-btn:hover {
    background-color: #f4f4f4;
    color: #111;
    text-decoration: none;
    border-color: #d1d1d1;
}

@media (max-width: 767px) {
    .wtp-subscribe-box {
        padding: 25px 20px;
    }

    .wtp-sub-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-right: 15px;
    }

    .wtp-sub-content h4 {
        font-size: 18px;
    }

    .wtp-sub-btn {
        width: 100%;
        margin-top: 15px;
    }
}

/* WTP Header & Footer Utilities */
.text-orange {
    color: #f0643b !important;
}

/* Header Styles */
.wtp-logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #f0643b;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 24px;
    margin-right: 10px;
    font-family: 'Georgia', serif;
}

.wtp-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
    font-family: 'Georgia', serif;
}

.wtp-main-nav .nav-item {
    margin: 0 5px;
}

.wtp-main-nav .nav-link {
    color: #333 !important;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 15px !important;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
    position: relative;
}

.wtp-main-nav .nav-link:hover {
    color: #f0643b !important;
}

.wtp-main-nav .current-menu-item .nav-link {
    color: #f0643b !important;
}

.wtp-main-nav .current-menu-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #f0643b;
}

.wtp-search-dropdown {
    width: 300px;
    z-index: 1050;
}

.wtp-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #f4f5f7;
    color: #111;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wtp-search-icon:hover {
    background-color: #e5e5e5;
    color: #111;
    text-decoration: none;
}

/* Footer Styles */
.wtp-site-footer {
    font-family: 'Poppins', sans-serif;
}

.wtp-footer-copy {
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

.wtp-footer-social .list-inline-item {
    margin-right: 10px;
}

.wtp-footer-social .list-inline-item:last-child {
    margin-right: 0;
}

.wtp-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f4f5f7;
    color: #444;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wtp-footer-social a:hover {
    background-color: #f0643b;
    color: #fff;
    text-decoration: none;
}

/* Single Post Layout Styles */
.wtp-single-post-area {
    font-family: 'Poppins', sans-serif;
}

.wtp-back-link {
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wtp-back-link:hover {
    color: #d14e26 !important;
}

.wtp-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: transparent;
    color: #f0643b;
    border: 1px solid #f0643b;
    border-radius: 50%;
    margin-left: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wtp-share-icon-x-svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.wtp-share-icon:hover,
.wtp-share-icon.active {
    background-color: #f0643b;
    color: #fff;
}

.wtp-cat-badge {
    background-color: #fff0eb;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.wtp-author-avatar {
    width: 35px;
    height: 35px;
    font-size: 18px;
    margin-right: 0;
}

.wtp-post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.wtp-post-content h2,
.wtp-post-content h3 {
    color: #222;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 20px;
}

.wtp-post-content pre {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow-x: auto;
}

.wtp-widget {
    border-color: #eaeaea !important;
}

.wtp-toc-widget ol {
    padding-left: 20px;
    margin-bottom: 0;
}

.wtp-toc-widget ol li {
    margin-bottom: 8px;
}

.wtp-recent-post-title {
    transition: color 0.2s ease;
}

.wtp-recent-post-title:hover {
    color: #f0643b !important;
}

.wtp-sidebar-sub-form .form-control:focus {
    box-shadow: none;
    border: 1px solid #f0643b !important;
}

/* Mobile Menu Enhancements */
.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23111'%3e%3cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {

    /* Full-width menu items with thin line separator */
    .wtp-main-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .wtp-main-nav .nav-item:last-child {
        border-bottom: none;
    }

    .wtp-main-nav .nav-link {
        padding-left: 15px !important;
        text-align: left;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .wtp-main-nav .current-menu-item .nav-link::after {
        top: 12px;
        bottom: 12px;
        left: 0;
        right: auto;
        width: 3px;
        height: auto;
    }

    /* Show search field directly instead of icon */
    .wtp-search-icon {
        display: none !important;
    }

    .wtp-header-search .dropdown-menu {
        display: block !important;
        position: static !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        width: 100%;
        margin-top: 15px;
    }
}