/*

Theme Name: Parenting.lk 
Theme URI: https://tetris.lk/
Author: Tetris Pvt Ltd
Author URI: https://tetris.lk/
Description: This is a custom built  Wordpress template for parenting.lk. Using this template or any other related codes for another website is prohibited. DO NOT UPDATE OR REINSTALL THIS THEME WITHOUT SUPPORT FROM ORIGINAL DEVELOPER. 
Requires at least: 6.0
Tested up to: 6.1
Requires PHP: 8.4
Version: 100.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tetris-custom-parenting
*/
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

      
     
      .main-header {
    width: 100%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

        .topbar {
            display: flex;
            justify-content: space-between; 
            align-items: center;
            padding: 18px 85px;
            border-bottom: 1px solid #eee;
        }

        .left-section {
            display: flex;
            align-items: center;
            gap: 25px; 
            flex-grow: 1; 
        }

        .logo img {
            height: 55px;
            flex-shrink: 0;
        }


        .search-box {
            display: flex;
            align-items: center;
            width: 55%; 
            max-width: 600px; 
            min-width: 600px; 
            background: #f6f6f6;
            padding: 10px 15px;
            border-radius: 8px;
            gap: 10px;
            flex-grow: 1; 
            margin-left: 25px; 
        }

        .category-dropdown {
            font-weight: 600;
            font-size: 13px;
            position: relative; 
            cursor: pointer;
            user-select: none;
            flex-shrink: 0;
        }

        .category-dropdown:hover {
            color: #8e66d8;
        }

        .divider {
            width: 1px;
            height: 18px;
            background: #ccc;
        }

        .search-box input {
            border: none;
            background: transparent;
            flex: 1;
            font-size: 13px;
            outline: none;
        }

        .search-icon {
            background: none;
            border: none;
            font-size: 16px;
            cursor: pointer;
            flex-shrink: 0;
        }
   

        .right-section {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .lang-btn {
            border: 1px solid #ccc;
            color:#ccc;
            background: white;
            padding: 6px 16px;
            font-size: 12px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .lang-btn.active {
            border-color: #8e66d8;
            color: #8e66d8;
            background: #f0ebf9; 
        }

    
        .profile-icon {
            font-size: 22px;
            text-decoration: none; 
            color: inherit; 
            cursor: pointer;
        }
     

        .header-divider {
            border: none;
            height: 1px;
            background-color: #e0e0e0;
            margin: 0;
            width: 100%;
        }

        .nav {
            display: flex;
            align-items: center; 
            justify-content: space-between;
            padding: 12px 85px;
            background-color:#f9e9f9;
        }

        .nav-links {
            list-style: none;
            display: flex;
            align-items: center; 
            gap: 30px;
            font-size: 15px;
            flex-grow: 1; 
        }

        .nav-links li {
            position: relative; 
            padding: 5px 0;
        }
.nav-links li a {
    font-weight: 600; 
}

   
        .nav-links li a {
            text-decoration: none; 
            color: inherit; 
            display: flex; 
            align-items: center;
            gap: 5px; 
            cursor: pointer;
        }

      
        .nav-links li:not(:first-child) a:hover {
            color: #4b2c86;
        }

        .browse-age {
            background: #8e66d8;
            color: white;
            padding: 10px 22px;
            border-radius: 3px;
            border: none;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            cursor: pointer;
            line-height: 1;
            margin-left:50px;
        }

        .age-menu-icon {
            font-size: 18px;
        }

        .about-btn {
    font-size: 10px;
    color: #805bc4;
    border: 2px solid #805bc4;
    background: transparent;
    padding: 4px 15px;
    border-radius: 3px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1.5;
    transform: translateY(-10px); 
   margin-right:80px;
}

        .nav > a {
            text-decoration: none;
        }


        .girl-icon::before {
            content: "\1F467"; 
        }

        .boy-icon::before {
            content: "\1F466"; 
        }

    

        .dropdown-menu {
            position: absolute;
            top: 100%; 
            left: 0;
            list-style: none;
            background: white;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            border: 1px solid #eee;
            border-radius: 4px;
            z-index: 10;
            min-width: 180px;
            padding: 5px 0;
            display: none; 
        }

        .category-dropdown .dropdown-menu {
            top: calc(100% + 15px); 
            left: -15px; 
        }

        .dropdown-menu li {
            padding: 0px; 
            white-space: nowrap; 
            cursor: pointer;
        }
.category-menu li{
padding: 8px !important; 
}
     
        .dropdown-menu li a {
            display: block; 
            padding: 10px 15px; 
            font-size: 13px;
            text-decoration: none;
            color: inherit;
        }

        .dropdown-menu li:hover a {
            background: #f6f6f6;
            color: #8e66d8;
        }

        .nav-dropdown-item:hover .dropdown-menu {
            display: block;
        }

        .category-dropdown.show .dropdown-menu {
            display: block;
        }

        .age-dropdown-container .age-menu {
            top: calc(100% + 5px); 
            left: 0;
        }


   

        .mobile-header {
            display: none;
            padding: 15px 20px;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #eee;
            position: relative; 
            z-index: 30; 
        }

        .hamburger {
            display: flex;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
        }

        .hamburger span {
            width: 28px;
            height: 3px;
            background: #9167d7;
            transition: all 0.3s ease;
            transform-origin: center;
        }

  
        body.mobile-menu-open .hamburger span:nth-child(1) {
            transform: translateY(8px) rotate(45deg); 
        }

        body.mobile-menu-open .hamburger span:nth-child(2) {
            opacity: 0;
        }

        body.mobile-menu-open .hamburger span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg); 
        }

        .mobile-logo img {
            height: 30px;
        }

        .mobile-header .lang-btn {
            padding: 4px 12px;
            font-size: 11px;
        }

        .mobile-menu-overlay {
            height: 100vh; 
            width: 80%; 
            max-width: 350px; 
            position: fixed;
            z-index: 20; 
            top: 0;
            left: 0;
            background-color: white; 
            overflow-y: auto; 
            transform: translateX(-100%); 
            transition: transform 0.3s ease-in-out; 
            padding: 20px;
        }

        .mobile-menu-overlay.open {
            transform: translateX(0); 
        }

        body.mobile-menu-open {
            overflow: hidden; 
        }

        .mobile-menu-overlay ul {
            list-style: none;
            padding: 0;
        }

        .mobile-menu-overlay li {
            padding: 0; 
            border-bottom: 1px solid #eee;
            font-size: 13px;
            color: #333;
            cursor: pointer; 
            user-select: none; 
            
        }
.nav-icon-img {
    width: 24px;      
    height: 24px;      
    object-fit: contain; 

    vertical-align: middle;
}

     
        .mobile-menu-overlay li a {
            display: block;
            padding: 15px 0;
            text-decoration: none;
            color: inherit;
        }

        .mobile-menu-overlay li:last-child {
            border-bottom: none;
        }

        .mobile-menu-overlay .dropdown-menu {
            position: static; 
            box-shadow: none; 
            border: none;
            background: transparent;
            padding: 0;
            min-width: auto;
            display: none; 
            margin-top: 10px; 
        }

        .mobile-menu-overlay .dropdown-menu li {
            border-bottom: none; 
        }

        .mobile-menu-overlay .dropdown-menu li a {
            padding: 10px 0 10px 20px; 
            font-size: 14px;
            background: #f8f8f8; 
            color: #555;
            transition: background 0.2s;
        }

        .mobile-menu-overlay .dropdown-menu li a:hover {
            background: #e9e9e9;
        }

        .mobile-menu-overlay .nav-dropdown-item.mobile-open .dropdown-menu {
            display: block;
        }

        .mobile-menu-overlay .nav-dropdown-item.mobile-open .dropdown-arrow {
            transform: rotate(180deg); 
        }

        .dropdown-arrow {
            display: inline-block;
            transition: transform 0.2s;
        }

        .mobile-menu-overlay .about-btn {
            margin-top: 20px;
            display: block; 
            width: 100%;
            padding: 10px 20px;
            font-size: 14px;
        }

        .mobile-menu-overlay .search-box {
            width: 100%;
            margin-bottom: 20px;
            margin-top:50px;
            margin-left: 0; 
        }


    
     @media (max-width: 1200px) {
            .topbar {
                padding: 18px 20px;
            }
            .search-box {
                width: 50%;
                min-width: 400px; 
                margin-left: 15px;
            }
            .nav {
                padding: 12px 20px;
               
            }
            
            .nav-links {
                gap: 15px;
                 font-size:10px;
                margin-left:-50px;
            }
        }


        @media (max-width: 900px) {
            .topbar,
            .nav,
            .header-divider {
                display: none !important;
            }

            .mobile-header {
                display: flex;
            }
        }

        /*main section*/
        .main-section {
            background-image: url("https://parenting.tetris.lk/wp-content/uploads/2026/01/PearsBGcopy.jpg");
          
        }
   .content-section {
        display: flex;
        gap: 40px;
        justify-content: center;
        padding: 60px 40px;
        flex-wrap: wrap;
    }

    .featured-card, .static-card {
        border-radius: 16px;
        overflow: hidden;
        position: relative;
    }


    .card-left {
        width: 65%;
        max-width: 900px;
        height: 420px;
        position: relative;
    }

    .slider {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        align-items: center;
    }

    .slide.active {
        opacity: 1;
    }

    .slide::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,0.1);
        z-index: 1;
    }

    .text-content {
        color: #372A47;
        padding: 60px 40px;
        max-width: 60%;
        height: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        z-index: 2;
    }

    .slide h1 {
        font-size: 1.5em;
        font-weight: 700;
        line-height: 1.2;
        margin: 0 0 20px 0;
    }

    .slide p {
        font-size: 1em;
        line-height: 1.6;
        margin-bottom: 30px;
        font-weight: 400;
    }

    .slider-nav {
        position: absolute;
        bottom: 20px;
        right: 20px;
        display: flex;
        gap: 5px;
        z-index: 2;
    }

    .slider-nav button {
        background: rgba(255, 255, 255, 0.5);
        border: none;
        border-radius: 10%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 14px;
        color:#000;
        transition: background 0.2s;
    }

    .slider-nav button:hover {
        background: var(--text-light);
    }

    .primary-btn {
        background: #fff;
        color: #000;
        padding: 12px 25px;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        font-size: 0.8em;
        font-weight: 600;
        transition: background-color 0.2s;
        width: fit-content;
    }

    .primary-btn:hover {
        background: #b18ecf;
    }

    
    .card-right {
        width: 35%;
        max-width: 400px;
        height: 420px;
        background-color: #86CBE8;
        position: relative;
        border-radius: 16px;
        overflow: hidden;
    }

    .card-right h1 {
        color: #000;
        font-size: 2em;
        font-weight: 600;
        line-height: 1.2;
        margin: 0 0 15px 0;
    }

    .card-content {
        position: relative;
        z-index: 2;
        padding: 40px;
        box-sizing: border-box;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .video-tag {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 4px;
        font-size: 0.85em;
        width:60px;
        font-weight: 600;
        margin-bottom: 25px;
        background-color: rgb(85, 85, 254);
        color:#fff;
    }

    .image-overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-image: url('./images/Image_fx-70.png');
        background-size: contain;     
        background-position: center;    
        background-repeat: no-repeat;
        border-radius: 0 0 16px 16px;
        z-index: 1;
    }

    .secondary-btn {
        background: #fff;
        color: #000;
        padding: 12px 10px;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        font-size: 0.8em;
        font-weight: 600;
        margin-top: auto;
        align-self: flex-start;
        z-index: 2;
        cursor: pointer;
        margin-top: 80px;
    }

    .secondary-btn:hover {
        background: #f0f0f0;
    }

    @media (max-width: 1100px) {
        .content-section {
            flex-direction: column;
            align-items: center;
            padding: 30px 20px;
        }
        .card-right{
            display: none;
        }
        .card-left, .card-right {
            width: 100%;
            max-width: 600px;
            height: 400px;
        }
        .text-content { max-width: 100%; padding: 40px 30px; }
        .slide::before { background: rgba(255,255,255,0.2); }
        .image-overlay { height: 50%; }
    }
    @media (max-width: 600px) {
            .card-right{
            display: none;
        }
        .content-section {
        display: flex;
        /* gap: 40px; */
        justify-content: center;
        padding:  6px;
        flex-wrap: wrap;
    }
    .slide{
        background-size: contain;
    }
        .card-left, .card-right { height: 350px; }
        .slider-nav{
            display: none;
        }
        .slide h1 { font-size: 1em; margin-bottom: 10px; }
     .slide p {font-size: 0.55em;margin-bottom: 15px;max-width:200px !important;}
        .primary-btn, .secondary-btn { padding: 10px 20px; font-size: 0.9em; }
        .card-right h1 { font-size: 1.5em; }
        .card-content { padding: 20px; }
    }
                  .age-slider-container {
            max-width: 1350px;
            margin: 0 auto;
            align-items: center;
            margin-top:50px;
        }

        .age-slider-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding: 0 10px;
        }

        .age-slider-header h2 {
            font-size: 1.8em;
            font-weight: 700;
            margin: 0;
            line-height: 1;
        }

        .age-slider-all-link {
            color: #747373;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.75em;
            margin-left: 10px;
            margin-top:5px;
        }
        
     
        .swiper-container {
            padding: 10px 0;
        }
        
        .age-slider-container {
            max-width: 1350px;
            margin: 0 auto;
            align-items: center;
            margin-top: 50px; 
            
       
            position: relative; 
            overflow-x: hidden; 
        }

      
        .age-slider-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding: 0 10px; 
        }

        .age-slider-header h2 {
            font-size: 1.8em;
            font-weight: 700;
            margin: 0;
            line-height: 1;
        }

        .age-slider-all-link {
            color: #747373;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.65em;
            margin-left: 10px;
            margin-top: 5px;
        }
        
     
        .swiper-container {
            padding: 10px 0;
            width: 100%;
        }
        
       
        .age-slider-nav {
            margin-left: auto;
            display: flex;
            align-self: flex-start;
            margin-right: 10px;
            padding-top: 5px;
        }

        .age-slider-nav button {
            width: 30px;
            height: 30px;
            border: 1px solid #ccc;
            background-color: white;
            color: #8a2be2;
            font-size: 16px;
            font-weight: bold;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.2s, opacity 0.3s;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .age-slider-nav button:first-child {
            margin-right: 5px;
        }
        
    
        .swiper-button-disabled {
            opacity: 0.4 !important;
            pointer-events: none !important;
        }


        .age-slider-card {
            width: 50%; 
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer; 
            position: relative; 
            border-radius: 12px; 
            transition: all 0.3s ease; 
        }

     
        .age-slider-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
            background-color: transparent; 
            transform: translateY(-2px); 
        }

   
        .age-slider-icon-bg {
              background-color:#f9e9f9;
            border-radius: 12px;
            width: 100%;
            position: relative;
            
         
            height: 0; 
            padding-bottom: 100%; 
        }
   
        .age-slider-card:hover .age-slider-icon-bg {
            background-color: white; 
        }
        
        .age-slider-icon-img {
          
            position: absolute; 
            top: 30%; 
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50%;
            height: 50%;
            object-fit: contain;
        }

        .age-slider-label {
          
            position: absolute;
            bottom: 20px; 
            left: 0;
            right: 0;
            margin: 0; 
            
            font-size: 0.95em;
            line-height: 1.3;
            color: #333;
            font-weight: 500;
        }

        .age-slider-label small {
            display: block;
            font-size: 0.8em;
            font-weight: normal;
            color: #6a6a6a;
        }
        
       
      
        @media (max-width: 639px) {
            .age-slider-nav {
                display: none !important;
            }
              .age-slider-label {
          
            position: absolute;
            bottom: 10px; 
            left: 0;
            right: 0;
            margin: 0; 
            
            font-size: 0.65em;
            line-height: 1.3;
            color: #333;
            font-weight: 500;
        }
    

        }

        
        @media (min-width: 640px) {
            .age-slider-nav {
                display: flex !important;
            }
        }
   
        .swiper-button-next, 
        .swiper-button-prev {
            display: none !important; 
        }
        
        .age-slider-hover-info {
            display: none; 
        }

    .fa-slider-container {
        max-width: 1350px;
        margin: 50px auto 0;
        padding: 0 10px;
        position: relative;
        overflow: hidden;
    }

    .fa-slider-header {
        display: flex;
        align-items: center;
        margin-bottom: 25px;
    }

    .fa-slider-header h2 {
        font-size: 24px;
        font-weight: 700;
        margin: 0;
        color: #1a1a1a;
    }

    .fa-slider-all-link {
        color: #747373;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        margin-left: 15px;
        white-space: nowrap;
    }

    .fa-slide-card {
        display: flex;
        flex-direction: column;
        border-radius: 8px;
        overflow: hidden;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.3s;
        text-decoration: none;
        color: inherit;
        margin-bottom:10px;
          /* height:auto !important; */
           box-shadow: 0 2px 2px rgb(118 61 136 / 37%),
                0 8px 24px rgb(159 82 169 / 3%);
    }

    .fa-slide-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .fa-image-wrapper {
        width: 100%;
        aspect-ratio: 16/10;
        overflow: hidden;
        background: #fff;
    }

    .fa-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .fa-card-content {
        padding: 15px;
        display: flex;
        flex-direction: column;
    }

       .fa-category-label {
        font-size: 15px;
        font-weight: 600;
        color: #373535;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    .fa-card-title {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
        color: #1a1a1a;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
    }

    .fa-slider-nav {
        margin-left: auto;
        display: flex;
        gap: 5px;
    }

    .fa-slider-nav button {
        width: 32px;
        height: 32px;
        border: 1px solid #e0e0e0;
        background-color: white;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 10%;
        transition: 0.2s;
    }

    .fa-slider-nav button.active,
    .fa-slider-nav button:focus {
        background-color: purple;
        color: white;
        border-color: purple;
        outline: none;
    }

    @media (max-width: 639px) {
        .fa-slider-nav { display: none !important; }
    }
      .fa2-page-wrapper {
        max-width: 1350px;
        margin: 50px auto 0;
        padding: 0 10px;
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 25px;
    }

@media (max-width: 1023px) { 
    .fa2-page-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 0 10px; text-align: left; } 
    .fa2-slider-header h2 { text-align: left; width: 100%; margin-bottom: 10px;} 
    .fa2-slider-all-link { margin-right:50px; } 
    .fa2-cards-wrapper { grid-template-columns: 1fr; gap: 15px; text-align: left; margin-top: 10px; } 
    .fa2-signup-container { width: 100%; margin: 0 auto; height: auto; } 
}



    .fa2-slider-container { position: relative; overflow: hidden; padding: 0; margin: 0; }

    
    .fa2-signup-container {
           width:320px;
    background-color: #F7F3FF;
    /* background-image: url("./images/Base-2.png"); */
    border-radius: 8px;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;
}


    .fa2-signup-container::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 10px;
        background-color: #F7F3FF;
    }

    .fa2-form-header h3 { color: #8C52FF; font-size: 32px; font-weight: 700; margin: 0 0 5px; text-align: center; }
    .fa2-form-header p { color: #555; font-size: 14px; margin-bottom: 30px; text-align: center; }

    .fa2-input-group { position: relative; margin-bottom: 15px; }
    .fa2-input-group input {
        width: 100%;
        padding: 10px 10px 10px 40px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s;
    }
    .fa2-input-group input:focus { border-color: #8C52FF; }
    .fa2-input-group i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        font-size: 16px;
    }

    .fa2-register-btn {
        width: 100%;
        padding: 12px;
        margin-top: 15px;
        background-color: #8C52FF;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    .fa2-register-btn:hover { background-color: #7a46e0; }

    .fa2-slider-header { display: flex; align-items: center; margin-bottom: 25px; }
    .fa2-slider-header h2 { font-size: 24px; font-weight: 700; margin: 0; color: #1a1a1a; }
    .fa2-slider-all-link { color: #747373; text-decoration: none; font-weight: 500; font-size: 14px; margin-left: 15px; white-space: nowrap; }
    .fa2-slider-all-link::after { content: ' >'; }

    .fa2-slide-card {
        display: flex;
        flex-direction: column;
        border-radius: 8px;
        overflow: hidden;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.3s;
        text-decoration: none;
        color: inherit;
         height:300px !important;
         box-shadow: 0px 2px 2px rgb(118 61 136 / 37%),
                0 8px 24px rgb(159 82 169 / 23%);
    }
    .fa2-slide-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

    .fa2-image-wrapper { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #fff; }
    .fa2-image-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

    .fa2-card-content { padding: 15px; display: flex; flex-direction: column; }
    .fa2-category-label { font-size: 10px; font-weight: 600; color: #747373; margin-bottom: 8px; text-transform: uppercase; }
    .fa2-card-title { font-size: 13px; font-weight: 600; line-height: 1.4; color: #1a1a1a; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }

    .fa2-slider-nav { margin-left: auto; display: flex; gap: 5px; }
    .fa2-slider-nav button {
        width: 32px; height: 32px; border: 1px solid #e0e0e0; background-color: white;
        font-size: 18px; display: flex; align-items: center; justify-content: center;
        cursor: pointer; border-radius: 10%; transition: 0.2s;
    }
    .fa2-slider-nav button.active, .fa2-slider-nav button:focus { background-color: purple; color: white; border-color: purple; outline: none; }

   
    @media (max-width: 1023px) { .fa2-page-wrapper { grid-template-columns: 1fr; gap: 40px; } }
    @media (max-width: 639px) { .fa2-slider-nav { display: none !important; } }

 
     .footer-links a {
        text-decoration: none;
        color: #000;
        transition: color 0.2s;
        font-size: 12px;
    }
    .footer-links a:hover {
        color: #000;
    }

    /* --- Footer Container --- */
    .site-footer {
        background-color: #f8f8f8; 
        padding: 40px 20px 20px 20px;
        border-top: 1px solid #ddd;
        color: #555;
        font-size: 14px;
    }

    .footer-content {
        max-width: 1350px;
        margin: 0 auto;
    }

  
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr) 1fr 1fr;
        gap: 20px;
        padding-bottom: 40px;
    }

    .footer-logo-col {
        grid-column: span 2;
    }
    .footer-ad-col {
        grid-column: span 1;
        text-align: right;
    }


    .footer-logo-col .logo-image {
        width: 150px;
        margin-bottom: 15px;
    }

    .footer-logo-col p {
        line-height: 1.6;
        margin: 0;
        /* padding-right: 20px; */
    }

   
    .footer-links h4 {
        font-size: 16px;
        font-weight: 700;
        color: #333;
        margin: 0 0 15px 0;
    }

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

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

    .footer-privacy{
        font-weight: 700;
    }

 
    .footer-ad-col img {
        width: 120px;
        height: auto;
        display: block;
        margin-left: auto;
    }


    .footer-bottom {
        border-top: 1px solid #ddd;
        padding-top: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
    }

    .social-icons-group {
        display: flex;
        align-items: center;
    }

    .social-icons-group span {
        margin-right: 10px;
    }

    .social-icons a {
        font-size: 16px;
        margin-left: 10px;
        color: #999;
    }

    .up-arrow {
        background-color: #333;
        color: white;
        padding: 8px 12px;
        font-size: 14px;
        margin-left: 20px;
        border-radius: 3px;
    }

@media (max-width: 1023px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-logo-col {
        grid-column: span 2; 
    }

    .footer-ad-col {
        grid-column: span 2;
        text-align: center;
        margin-top: 15px;
    }

    .footer-links {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .social-icons-group {
        justify-content: center;
    }
}


@media (max-width: 639px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo-col,
    .footer-ad-col {
        grid-column: span 1;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-ad-col img {
        margin: 0 auto;
    }
}

 
    @media (max-width: 600px) {
        .footer-grid {
            grid-template-columns: 1fr;
            text-align: center;
            justify-items: center;
            align-items: center;
        }

        .footer-logo-col,
        .footer-links,
        .footer-ad-col {
            grid-column: span 1;
            text-align: center;
        }

        .footer-links {
            display: none;
        }

        .footer-bottom {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .social-icons-group {
            margin-top: 10px;
            justify-content: center;
        }

        .up-arrow {
            display: none;
        }
    }
        .fp-wrapper {
        max-width: 1350px;
        margin: 0px auto;
        padding: 0 10px;
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 25px;
        margin-top:40px;
          margin-bottom:50px !important;
        
    }

    .fp-slider-section {
        border-radius: 8px;
    }


    .fp-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .fp-header h2 {
        font-size: 24px;
        font-weight: 700;
        color: #1a1a1a;
    }

    .fp-header-link {
        text-decoration: none;
        color: #747373;
        font-weight: 500;
         font-size: 12px;
    }

    .fp-header-link::after { content: ' >'; }

    .fp-cards-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        background-color: #fff;
        /* padding: 20px; */
        padding: 0px;
    }

    .fp-card {
        display: flex;
        flex-direction: column;
        border-radius: 8px;
        overflow: hidden;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        cursor: pointer;
        text-decoration: none;
        color: inherit;
        transition: transform 0.2s, box-shadow 0.3s;
                  box-shadow: 0px 2px 2px rgb(118 61 136 / 37%),
                0 8px 24px rgb(159 82 169 / 23%);
    }

    .fp-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

    .fp-card-image { width: 100%; aspect-ratio: 16/10; overflow: hidden; }
    .fp-card-image img { width: 100%; height: 100%; object-fit: cover; }

    .fp-card-content { padding: 15px; display: flex; flex-direction: column; }

    .fp-card-category {
        font-size: 11px;
        font-weight: 600;
        color: #747373;
        margin-bottom: 8px;
    }

    .fp-card-title {
        font-size: 15px;
        font-weight: 600;
        color: #7b5fc0;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 8px;
    }

    .fp-card-desc {
        font-size: 13px;
        color: #555;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    /* .fp-signup {
        background-color: #d5eff9f7;
        border-radius: 8px;
        padding: 30px 25px;
        text-align: center;
        position: relative;
        height:450px;
        width:350px;
        margin-top:30px;
    }

    .fp-signup::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 10px;
        
    }

    .fp-signup-header img { width: 150px; margin-bottom: 20px; }
    .fp-babies-img { width: 300px; margin: 30px auto 10px; display: block; }
    .fp-babies-text { font-size: 0.8rem; color: #555; margin: 50px auto 10px; } */

  .fp-signup {
    background-color: #d5eff9f7;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 550px;       /* slightly wider for better layout */
    min-height: 500px;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Small screens */
@media (max-width: 480px) {
    .fp-signup {
        padding: 1.5rem 1rem;
        min-height: 350px;
    }
}

.fp-signup::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 10px;
}


.fp-signup-header img {
    width: 50%;           
    max-width: 180px;     
    margin: 0 auto 20px;   
    display: block;
}


.fp-babies-img {
    /* width: 60%;              */
    max-width: 220px;
    margin: 30px auto 10px;
    display: block;         
}


.fp-babies-text {
    font-size: 0.9rem;      
    color: #555;
    margin: 20px auto 0;    
    text-align: center;     
}

  
    @media (max-width: 1023px) {
        .fp-wrapper {
            grid-template-columns: 1fr;
            gap: 30px;
            padding: 0 10px;
            text-align: center;
        }

        .fp-header h2 { text-align: center; width: 100%; margin-bottom: 10px; }
        .fp-header-link { display: none; }

        .fp-cards-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 10px; text-align: left; }
        .fp-signup { width: 100%; margin: 0 auto; height: auto; }
    }


.footer-wrapper {
    width: 100%;
    
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    

    max-width: 1200px;
    margin: 0 auto; 
    padding: 20px 20px; 
    
    border-top: 1px solid #e0e0e0; 
    font-size: 13px; 
    color: #555;
}


.social-icons-group {
    display: flex;
    align-items: center;
}

.social-icons-group span {
    margin-right: 15px; 
}

.social-icons a {
    text-decoration: none;
    color: #555;
    margin-left: 15px; 
    font-size: 16px; 
    transition: color 0.3s;
}


.social-icons a[title="Twitter"] {
    position: relative;
    padding-bottom: 2px;
}
/* .social-icons a[title="Twitter"]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1DA1F2;
} */



.scroll-to-top-btn {
    
    position: fixed;
    right: 0; 
    bottom: 0; 
    border-radius: 3px;
    margin-top:-50px;
    margin:20px;
  
    width: 40px;
    height: 40px;
    background-color: black;
    color: white;
    

    display: flex;
    justify-content: center;
    align-items: center;
    
    
    text-decoration: none;
    font-size: 16px;
    
  
    z-index: 1000;
} 
    /*list page*/
    .list-main-section h1{
        text-align: center;
        /* margin-top: 50px; */
        font-size: 2em;
        font-weight: 500;
        
    }
      .list-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 40px; 
    margin-top: 20px;
    padding:20px 80px 80px;
}


@media (max-width: 1023px) {
    .list-container {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 20px;
    }
}


@media (max-width: 639px) {
    .list-container {
        grid-template-columns: 1fr !important;
         padding: 20px;
    }
}
 

.pagination-controls {
  display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px; 
    padding-bottom: 40px; 
}

.pagination-link {
    
    text-decoration: none;
    color: #333;
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-link:hover:not(.active):not(.disabled) {
    background-color: #f0f0f0;
    border-color: #aaa;
}

.pagination-link.active {
    background-color: #bd79f9; 
    color: white;
    border-color: #bd79f9;
    cursor: default;
}

.pagination-link.disabled {
    color: #aaa;
    pointer-events: none; 
    background-color: #f7f7f7;
    border-color: #eee;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.pagination-link.ellipsis {
    border: none;
    padding: 8px 5px;
    cursor: default;
    background: none;
    color: #333;
}


@media (max-width: 639px) {
    .pagination-controls {
        gap: 8px;
        padding: 20px;
    }

    .pagination-link {
        padding: 6px 10px;
        font-size: 0.9em;
    }
    
    .pagination-link i {
        display: none; 
    }

    .page-numbers {
        display: none;
    }

    
    .pagination-link:not(.ellipsis) {
        display: inline-flex;
    }
}
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 2px;
}


.pagination-link {
    text-decoration: none;
    color: #5d3f82; 
    padding: 6px 12px; 
    border: 1px solid #c9b8d4; 
    border-radius:3px; 
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9em; 
    display: flex;
    align-items: center;
    gap: 4px; 
}

.pagination-link:hover:not(.active):not(.disabled) {
    background-color: #f3eff7; 
    border-color: #5d3f82;
    color: #5d3f82;
}

.pagination-link.active {
    background-color: #cbb7ec; 
    color: white;
    border-color: #8a65c4;
    cursor: default;
}

.pagination-link.disabled {
    color: #b7a9c8; 
    pointer-events: none;
    background-color: #fcfcfc;
    border-color: #e0d9e8;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.pagination-link.ellipsis {
    border: none;
    padding: 6px 5px;
    cursor: default;
    background: none;
    color: #5d3f82;
}

@media (max-width: 639px) {
    .pagination-controls {
        gap: 6px;
        padding: 15px;
        margin-top: 20px;
    }

    .pagination-link {
        padding: 5px 8px;
        font-size: 0.8em;
    }

   .pagination-link i {
        display: inline-block !important;   
        font-size: 18px;
    }
    
}

  
 @media (max-width: 768px) { 
    .pagination-controls {
        display: flex; 
       
        margin: 20px 0;
    }


    .pagination-link {
        min-width: 30px; 
        height: 30px;
    }
}

       
        .article-navigation { 
            margin-top: 50px !important;
            display: flex;
            justify-content: space-between; 
            align-items: flex-start;
            padding: 20px 0;
            position: relative;
            width: 100%;
            max-width: 900px;
            margin: 0 auto;
        }

      
        .article-nav-label { 
            display: block;
            font-size: 12px;
            color: #a0a0a0; 
            font-weight: 500;
            margin-bottom: 5px;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .article-nav-link {
            display: block;
            font-size: 15px;
            line-height: 1.4;
            font-weight: 500;
            color: #000;
            text-decoration: none;
            transition: color 0.3s;
        }

        .article-nav-link:hover {
            color: #967e96;
        }

      
        .article-nav-prev { 
            text-align: left;
            max-width: 45%;
        }

  
        .article-nav-prev .fas {
            margin-right: 10px;
        }

       
        .article-nav-next { 
            text-align: right;
            max-width: 45%;
        }

   
        .article-nav-next .article-nav-label {
             text-align: right;
        }

        .article-nav-next .fas {
            margin-left: 10px;
        }

    
        .article-navigation hr {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            border: none;
            border-top: 1px solid #ddd;
            margin: 0;
            padding: 0;
        }
          .sl-related-posts {
            
            margin: 40px auto;
            padding: 10px;
        }

        .sl-related-posts h2 {
            font-size: 24px;
            margin-bottom: 20px;
        }

        .sl-slider-wrapper {
         
            overflow: hidden; 
        }

        .sl-posts-container {
            display: flex;
          
            transition: transform 0.4s ease-in-out; 
        }

        
        .sl-post-card {
          
            flex: 0 0 calc(33.333% - 14px); 
            margin-right: 20px; 
            border-radius: 8px;
            overflow: hidden;
 
            background-color: #fff;
        }

        .sl-post-card:last-child {
            margin-right: 0;
        }

        .sl-post-card img {
            width: 100%;
            height: 200px;
            object-fit: contain;
            border-radius: 8px;

    
        }

        .sl-post-content {
            padding: 15px;
            min-height: 100px; 
        }

        .sl-category {
            display: block;
            font-size: 12px;
            color: #a5a5a7; 
            margin-bottom: 5px;
            text-transform: uppercase;
            font-weight: 600;
        }

        .sl-post-card h3 {
            font-size: 15px;
            color: #333;
            margin: 0;
            line-height: 1.4;
        }

       
        .sl-slider-dots {
            text-align: center;
            padding: 20px 0 0;
        }

        .sl-dot {
            height: 10px;
            width: 10px;
            margin: 0 5px;
            background-color: #ccc; 
            border-radius: 50%;
            display: inline-block;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .sl-dot.active {
            background-color: #6a5acd; 
        }
            @media (max-width: 600px) {
            .sl-post-card {
          
                flex: 0 0 calc(100% - 20px); 
                margin-right: 20px; 
            }
            
            .sl-related-posts {
                padding: 10px;
            }
        }
        
        .cm-section-wrapper {
            max-width: 700px;
            /* margin: 40px auto; */
            padding: 20px;
            background: #fff;
            border-top: 1px solid #eee; 
        }

        .cm-section-wrapper h2 {
            font-size: 24px;
            margin-bottom: 30px;
        }

        .cm-item {
            display: flex;
            padding-top: 15px; 
        }
        .right-align-cm-item{
            margin-left:50px;
     }

        .cm-item + .cm-item {
            padding-top: 15px; 
        }

        .cm-avatar {
            width: 40px;
            height: 40px;
            background-color: #ccc; 
            border-radius: 50%;
            margin-right: 15px;
            flex-shrink: 0; 
        }
.cm-avatar img{
       width: 40px;
            height: 40px;
            background-color: #ccc; 
            border-radius: 50%;
            margin-right: 15px;
            flex-shrink: 0; 
}
        .cm-content {
            flex-grow: 1;
        }

        .cm-meta {
            font-size: 14px;
            color: #555;
            margin: 0 0 5px 0;
        }

        .cm-meta strong {
            color: #333;
            font-weight: 600;
        }

        .cm-text {
            font-size: 13px;
            margin: 0 0 10px 0;
        }

        .cm-reply {
            font-size: 12px;
            color: #a5a5a7; 
            text-decoration: none;
            font-weight: bold;
            display: inline-block;
            padding: 0;
        }

        .cm-separator {
            border: none;
            border-top: 1px solid #eee; 
            margin: 10px 0 0 0; 
        }
         
        .comment-area {
            max-width: 700px;
            /* margin: 0 auto; */
            padding: 20px;
           
        }

      
        .comment-area h2 {
            font-size: 1.5em;
            color: #333;
            margin-bottom: 5px;
        }

        .comment-area p {
            font-size: 0.9em;
            color: #666;
            margin-bottom: 20px;
        }

        
        .comment-form input[type="text"],
        .comment-form input[type="email"],
        .comment-form textarea {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            box-sizing: border-box; 
            font-size: 1em;
            outline: none;
            transition: border-color 0.3s;
        }

        .comment-form input:focus,
        .comment-form textarea:focus {
            border-color: #9370db; 
        }

     
        .comment-form textarea {
            height: 150px; 
            resize: vertical; 
        }

        .form-row {
            display: flex;
            gap: 20px; 
        }

        .form-row input {
            width: 50%;
        }

     
        .comment-form .submit-button {
            background-color: #9370db; 
            color: white;
            border: none;
            padding: 10px 20px;
            font-size: 1em;
            cursor: pointer;
            border-radius: 3px;
            transition: background-color 0.3s;
        }

        .comment-form .submit-button:hover {
            background-color: #7a5fbf; 
        }

   
        ::placeholder {
            color: #aaa;
            opacity: 1; 
        }
        
.article-main-section{
    line-height: 1.6;
    margin-top: 20px;
    padding:5px 100px 80px; 
}
.article-image{
    text-align: center;
    margin: 10px 0;
}
.article-image img {
    width: 100%;
    height: 580px;      
    object-fit: cover;    
    border-radius: 2px;
}
@media (max-width: 639px) {
    .article-image img {
        width: 100%;
        height:auto;      
        object-fit: cover;    
        border-radius: 2px;
    }
}
 

.blog-content-container {
    max-width: 1350px;
    margin: 0 auto; 
    padding: 20px;
    padding-top: 0; 
    display: flex; 
    gap: 30px; 
    line-height: 1.6;
}


.main-content {
    flex: 3; 
    padding-bottom: 50px;
}


.featured-image {
 
    position: relative;
 
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 2em;
    color: #795598;
    margin-top: 0;
    font-weight: 600;
    line-height: 1.2;
}

.post-meta {
    font-size: 0.9em;
    color: #777;
    padding: 10px 0 20px 0;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.post-meta .author {
    color: #795598;
}


.post-body p {
    color: #000;
    margin-bottom: 1.5em;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.6;
}
.non-bold-text{
    font-weight: 200 !important;
    color: rgb(109, 109, 109) !important;
    font-family: 'Muli', sans-serif;
    line-height: 1.6;
}
.post-body h2 {
    font-size: 1.4em;
    margin: 30px 0 15px 0;
    font-weight: bold;
    color: #795598;
}


.sidebar {
    flex: 1; 
    padding-top: 20px; 
}


.search-widget {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 8px 15px;
    display: flex;
    margin-bottom: 30px;
}

.search-widget input[type="text"] {
    flex-grow: 1;
    border: none;
    padding: 5px;
    outline: none;
    font-size: 0.9em;
}

.search-widget button {
    background-color: white;
    border: none;
    color: #795598;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0 5px;
}


.categories-widget {
    background-color: rgb(242, 240, 244);
    padding: 20px;
}

.categories-widget h3 {
    text-transform: uppercase;
    font-size: 1em;
    color: #795598;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
}

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

.categories-widget li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95em;
    color: #555;
}

.categories-widget li span {
    font-weight: 500;
    color: #777; 
    margin-left: 10px;
}


@media (max-width: 1024px) {
    
    .article-main-section {
        padding: 20px;
    }

  
    .blog-content-container {
        gap: 20px;
    }
    
   
    .search-box {
        max-width: 400px;
    }
}


@media (max-width: 768px) {
    .nav{
        display: none !important;
    }
 
    .blog-content-container {
        flex-direction: column; 
        padding: 20px;
    }

    
    .main-content, .sidebar {
        flex: none; 
        width: 100%;
        padding-top: 0;
    }
    
    
    .featured-image {
        margin: 0 0 20px 0; 
    }
    
    .article-main-section {
        padding: 20px 20px 0; 
        margin-top: 0;
    }
    
   
    .sidebar {
        order: 2; 
    }
    
  
    .topbar, .nav {
        display: none;
    }

    .mobile-header {
        display: flex; 
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background-color: #fff;
    }
    
    .footer-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    .footer-content {
        padding: 20px;
    }
    
    .footer-logo-col {
        text-align: center;
    }


    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .social-icons-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
    }
    
}


@media (max-width: 480px) {
    h1 {
        font-size: 1.6em; 
    }
    
    .post-body h2 {
        font-size: 1.2em;
    }
    
    .blog-content-container {
        padding: 15px; 
    }
}
.latest-post img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            border-radius: 4px;
        }
        .latest-post{
            display: flex;
            gap:10px;
        }
           .post-info span{
             font-size: 12px;
            color: #000;
           }
        .post-info a {
            text-decoration: none;
            font-size: 12px;
            color: #000;
            font-weight: 600;
        }
           .expert-opinion {
            background-color: #f2f0f4; 
            padding: 30px;
            margin: 40px 0;
          
            display: flex;
            align-items: center;
        }
        .expert-opinion img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin-right: 20px;
            object-fit: cover;
        }
        .expert-info strong {
            display: block;
            font-size: 1.1em;
            color: #795598;
        }
        .expert-info span {
            font-size: 0.9em;
            color: #555;
        }
         .tags-share-section {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }
        .tags-list span {
            background-color: #f2f0f4;
            color: #7e7e7f;
            padding: 5px 10px;
            border-radius: 10px;
            margin-right: 5px;
            font-size: 0.9em;
            text-transform: lowercase;
        }
        .share-buttons-container {
    display: flex;
    gap:20px;
    margin-top:20px;
}


.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none; 
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, opacity 0.3s;
    color: white; 
}


.share-base-btn {
    color: #333;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px; 
    padding-left: 10px; 
}

.share-base-btn:hover {
    background-color: #f7f7f7;
}


.facebook-btn {
      border-radius: 4px; 
    background-color: #3b5998; 

}

.facebook-btn:hover {
    background-color: #2d4373;
}


.whatsapp-btn {
    background-color: #25d366;
    border-radius:  4px ; 
}

.whatsapp-btn:hover {
    background-color: #1c9f4e;
}


.share-btn i {
    margin-right: 8px;
}

.facebook-btn {
    margin-left: -1px; 
    border-left: 1px solid #3b5998; 
}
.container-404 {  
    text-align: center;  
    /* font-family: 'Poppins', sans-serif;   */
    margin: auto;  
    margin-top: 20px;  
    margin-bottom: 30px;  
    padding: 20px 20px;  
    max-width: 800px;  
}  

.container-404 img {  
    max-width: 40%;  
    height: auto;  
    margin-bottom: 20px;  
}  

.container-404 h1 {  
    font-size: 3rem;  
    color: #795598;  
}  

.container-404 p {  
    margin-top:20px;
    font-size: 1rem;  
    margin-bottom: 20px;  
}  

.container-404 a.button {  
    display: inline-block;  
    padding: 10px 20px;  
    background: #795598;  
    color: white;  
    border-radius: 10px;  
    text-decoration: none;  
    font-weight: bold;  
    transition: 0.3s;  
}  

.container-404 a.button:hover {  
    background: #fff;  
    color: #000;
    border: 1px solid #000;
}  

/* Responsive styles */
@media (max-width: 768px) {
    .container-404 h1 {
        font-size: 2.5rem;
    }
    .container-404 p {
        font-size: 1rem;
    }
    .container-404 a.button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container-404 h1 {
        font-size: 2rem;
    }
    .container-404 p {
        font-size: 0.95rem;
    }
    .container-404 a.button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/*contact form*/
 .contact-section {
      max-width: 1200px;
      margin: 50px auto;
      padding: 0 20px;
    }

    .contact-title {
      font-size: 28px;
      margin-bottom: 40px;
      text-align: left;
    }

    .contact-title span {
      color: #8e66d8;
      font-weight: bold;
    }

    .contact-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }

   
    .contact-info {
      position: relative;
      flex: 1;
      min-width: 300px;
      background: linear-gradient(to bottom right, #8e66d8, #bea3f1);
      background-image: url("https://parenting.tetris.lk/wp-content/uploads/2025/12/contact-us-image.jpg");
      color: #fff;
      background-size: cover;
      background-position: center;
      padding: 30px;
      border-radius: 10px;
      box-sizing: border-box;
      overflow: hidden;
    }

    .contact-info::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(38, 38, 39, 0.7); 
      z-index: 1;
      border-radius: 10px;
    }

    .contact-info h2,
    .contact-info p,
    .contact-info .contact-item {
      position: relative;
      z-index: 2;
    }

    .contact-info h2 {
      margin-top: 0;
      margin-bottom: 20px;
      font-size: 26px;
      font-weight: bold;
    }

    .contact-info p {
      line-height: 1.6;
      margin-bottom: 25px;
      font-size: 16px;
    }

    .contact-info .contact-item {
      display: flex;
      align-items: flex-start;
      margin-bottom: 15px;
      font-size: 16px;
      gap: 10px;
    }

    .contact-info .contact-item img {
      width: 24px;
      height: 24px;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .contact-info .contact-item span {
      line-height: 1.5;
    }

   
    .contact-form {
      flex: 1;
      min-width: 300px;
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-sizing: border-box;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .contact-form form {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
      padding: 12px;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 14px;
      width: 100%;
      box-sizing: border-box;
    }

    .contact-form button {
      padding: 12px;
      background-color: #8e66d8;
      color: white;
      border: none;
      font-size: 16px;
      border-radius: 5px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
    }

    .contact-form button:hover {
      background-color: #fff;
      border: 1px solid #8e66d8;
      color: #8e66d8;
    }

 
    .map {
      margin-top: 40px;
      width: 100%;
      height: 400px;
      border-radius: 10px;
      overflow: hidden;
    }

    .map iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }

    @media (max-width: 768px) {
      .contact-container {
        flex-direction: column;
      }
    }

    /*about page*/
    
        .about-banner {

            width: 100%;
            text-align: center;
        
            padding: 40px 0;
        }
        .about-banner img {
            max-width: 85%;
        }

   
        .about {
             line-height: 1.6;
            max-width: 1200px;
            margin: 40px auto;
            text-align: center;
            padding: 0 20px;
        }
        .about h2 {
            font-size: 28px;
            margin-bottom: 20px;
        }
        .about p {
            font-size: 15px;
            margin-bottom: 20px;
            color: #000;
            text-align: left;
        }

       
        .about-social-icons {
            text-align: center;
            margin: 30px 0 50px;
           
        }
        .about-social-icons img {
            width: 45px;
            margin: 0 10px;
            cursor: pointer;
             margin-bottom: 20px;
        }

      
        .pears-products-section {
            padding: 40px 50px;
            max-width: 1200px;
            margin: auto;
        }

        .pears-title-row {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            margin-bottom: 20px;
        }

        .pears-title-row h2 {
            margin: 0;
            font-size: 28px;
            font-weight: 600;
        }

        
        .pears-arrow-group {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            gap: 15px;
        }

        .pears-arrow {
            font-size: 18px;
            cursor: pointer;
            user-select: none;
            color: #000;
        }

       
        .swiper-button-next,
        .swiper-button-prev {
            display: none !important;
        }

        
        .pears-slider {
            width: 100%;
        }

        .pears-product-card {
            text-align: left;
        }

        .pears-product-card img {
            width: 170px;
            margin: 0 auto 15px;
            display: block;
        }

        .pears-product-card h3 {
            font-size: 16px;
            margin-bottom: 5px;
        }

        .pears-store-link {
            font-size: 14px;
            color: #0077ff;
            text-decoration: none;
        }

        .pears-rating {
            color: #f7b500;
            font-size: 14px;
            margin: 5px 0;
        }

        .pears-rating span {
            color: #444;
        }

        .pears-variant {
            font-size: 14px;
            color: #666;
        }
        @media (max-width: 768px) {
       .pears-arrow-group{
        display: none;
       }
}
/*author page*/

        .author-profile-container {
            max-width: 1200px; 
            margin: 40px auto;
            padding: 20px;
        }

        .author-profile-name {
            font-size: 2em;
            font-weight: bold;
            margin-bottom: 5px;
            color: #333;
        }

        .author-profile-title {
            font-size: 1em;
            color: #666;
            margin-bottom: 30px;
            text-transform: uppercase;
        }

        
        .author-content-wrapper {
            display: flex;
            gap: 40px;
        }

        .author-image-box {
           
            
            flex-shrink: 0; 
            width: 350px; 
            height: 400px; 
        }

.author-image-box img {
    width: 100%;        
    max-width: 350px;   
    height: 400px;       
    object-fit: cover;  
    display: block;    
    margin: 0 auto;    
}

@media (max-width: 768px) {
    .author-image-box img {
        height: 250px;  
    }
}


@media (max-width: 480px) {
    .author-image-box img {
        height: 250px;  
    }
}

        .author-text-content {
            flex-grow: 1; 
        }

        .author-text-content p {
            margin-bottom: 20px;
            font-size: 15px;
            color: #444;
        }



        @media (max-width: 768px) {
            
            .author-content-wrapper {
                flex-direction: column; 
                gap: 20px;
            }

            .author-image-box {
               
                width: 100%; 
                height: 270px; 
                margin-bottom: 10px; 
            }

            .author-profile-container {
                padding: 15px;
                margin: 20px auto;
            }
        }
        .author-title-name{
            color:#000 ;
        }
        .bg-image{
   background-image: url("	https://parenting.tetris.lk/wp-content/themes/Parenting/images/Base.png");
    padding:50px;
}
/* Submit button styling */
.submit {
    background-color: #8e66d8; 
    color: #fff;              
    border: none;
    border-radius: 5px;      
    padding: 12px 20px;       
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}


.submit:hover {
    background-color: #bda3ed; 
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}


.submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
    .submit {
        width: 100%; 
        padding: 12px;
    }
}
.buy-btn {
  display: inline-block;
  padding: 8px 14px;
  background-color: #8e66d8;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;

  animation: pulsePop 1.8s ease-in-out infinite;
}

@keyframes pulsePop {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(142, 102, 216, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(142, 102, 216, 0.45);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(142, 102, 216, 0.4);
  }
}

/*week page styles*/

.tracker-title {
    text-align: center;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif !important;
    color: #333;
    background-color: #ebe9e9;
    padding: 40px 0;
    font-size: 24px !important;
}




.tracker-main-section {
    background-image: url('https://parenting.tetris.lk/wp-content/uploads/2026/02/pregnancy-banner.png');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-section-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 30px;
    font-family: 'Poppins', sans-serif !important;
}

.left-gray-card {
    background-size: cover;
    background-position: center;
    /* background-color: rgba(232, 222, 222, 0.5); */
    flex: 1;
    min-height: 590px;
    /* border-radius: 15px; */
    padding: 40px;
    max-width: 600px;
}

.left-gray-card h1 {
    color: #8e66d8;
    font-weight: 600;
    font-size: 56px;
    margin-bottom: 55px;
}

.left-gray-card sup {
    color: #8e66d8;
    font-size: 24px;
    vertical-align: super;
}

.left-gray-card h3 {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
    color: #000;
}

.left-gray-card p {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 5px;
    color: #000;
    max-width: 500px;
}

.right-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-image img {
    max-width: 60%;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
}


@media (max-width: 768px) {
    .main-section-content {
        flex-direction: column;
        gap: 20px;
    }

    .left-gray-card {
        width: 100%;
        min-height: auto;
    }

    .right-image img {
        width: 80%;
    }
}


.left-content-list {
    font-size: 15px;
    line-height: 1.2;
   color: #6b6868;
    margin-top: 20px;
    list-style: none;
    padding-left:0px !important;
}

.left-content-list li {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px; 
}

.left-content-list li::before {
    content: "•"; 
    color: rgb(91, 46, 91); 
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 15px; 
    line-height: 1.2;
}


.left-gray-icon-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap; 
}

.gray-card-icon {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gray-card-icon img {
    width: 30px;
    height: 28px;
}

.gray-card-icon div {
    display: flex;
    flex-direction: column;
}

.gray-card-icon h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

.gray-card-icon p {
    margin: 0;
    font-size: 0.7rem;
    color: #888; 
}

/* Pregnancy Paragraphs */
.pregnancy-para {
    max-width: 1200px;
    margin: 40px auto; 
    font-family: 'Poppins', sans-serif !important;
    color: #333;
}

.pregnancy-para h3 {
    max-width: 1000px;      
    font-size: 15px;
    line-height: 1.6;
    text-align: left;       
    margin: 50px auto 0;   
}

.pregnancy-para p {
    max-width: 1000px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    margin: 20px auto; 
    color: #555;
}

.pregnancy-para p:first-of-type::first-letter {
    font-size: 3em;          
    font-weight: 700;
    float: left;             
    line-height: 1;          
    padding-right: 5px;    
    color: #000;
}

      
        .pnt-journey-section {
            max-width: 1200px;
            margin: 60px auto;
            padding: 80px 60px; 
             font-family: 'Poppins', sans-serif;
            border-radius: 30px;
            box-sizing: border-box;
        }

        .pnt-journey-wrapper {
            display: flex;
            flex-direction: column;
            gap: 50px;
        }

       
        .pnt-info-card {
            background-color: #f3ebff; 
            border-radius: 40px;
            display: flex;
            align-items: center;
            gap: 40px;
            position: relative;
            padding: 40px 50px;
            width: 100%;
            box-sizing: border-box;
        }

        
        .pnt-card-img-box {
            flex: 0 0 180px;
            display: flex;
            justify-content: center;
        }

        .pnt-card-img-box img {
            /* max-width: 150%; */
            height: auto;
            display: block;
        }

       
        .pnt-info-card--fit-bottom {
            align-items: flex-end; 
            padding-bottom: 0;
        }

        
        .pnt-img-pop-left {
            margin-left: -140px; 
            z-index: 5;
        }

   
        .pnt-card-text {
            flex: 1;
        }

        
        .pnt-info-card--fit-bottom .pnt-card-text {
            padding-bottom: 40px;
        }

        .pnt-card-text h2 {
            margin: 0 0 15px 0;
            font-size: 1.8rem;
            color: #2d2d2d;
            font-weight: 600;
        }

        .pnt-card-text p {
            margin: 0;
            line-height: 1.7;
            color: #555;
            font-size: 0.85rem;
            margin-bottom:5px;
        }

     
        @media (max-width: 1024px) {
            .pnt-img-pop-left {
                margin-left: -60px;
            }
        }

        @media (max-width: 768px) {
            .pnt-journey-section {
                padding: 20px 10px;
                margin: 10px;
                border-radius: 20px;
            }

            .pnt-info-card {
                flex-direction: column;
                text-align: left;
                padding: 40px 25px;
                gap: 20px;
             
            }
            
            .pnt-info-card p{
                font-size: 14px;
                margin-bottom: 5px;
            }
            .pnt-info-card--fit-bottom {
                padding-bottom: 15px;
            }
.pnt-card-img-box img{
    max-width: 150% !important;
}
            .pnt-card-text {
                padding-bottom: 0 !important;
            }

            .pnt-img-pop-left {
                margin-left: 0;
            }

            .pnt-card-img-box {
                flex: 0 0 auto;
                width: 150px;
            }
        }

@media (max-width: 768px) {
    .changes-section{
margin: 10px ;
    }
    .pregnancy-para{
margin: 10px;
    }
    .change-section-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    /* .swiper-slide {
        width: 60px !important;
        height: 60px;
        font-size: 18px;
    } */

    .swiper-slide h1 {
        font-size: 20px;
    }
}
.pregnancy-video-section{
    max-width: 1200px;
     margin: 60px auto;
            padding: 10px 60px; 
    box-sizing: border-box;
}
.pregnancy-details-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 10px 60px; 
    box-sizing: border-box;
    display: flex;
    gap: 30px;
}


.check-card,
.heltips-card {
    flex: 1;
    background-color: #f3ebff;
    border-radius: 30px;
    min-height: 200px;
    padding: 30px;
    line-height: 1.6;
}
.check-card img {
    position: relative;
    bottom: -70px;   
    left: 0px;   
   
}

.heltips-card{
     padding: 40px;
}

.check-card-icon {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.check-card-icon p {
    margin: 0;
    font-size: 14px;
    color: #555; 
}
.check-card-icon h3{
font-size: 18px;
}
.check-card-icon ul{
      padding-left: 0px !important;
      margin-top: 10px;
}
.check-card-icon li {
    list-style: none !important;
    font-size: 13px;
    line-height: 1.6 !important;
  
}



@media (max-width: 992px) {
    .pregnancy-details-section {
        padding: 10px 30px;
        gap: 15px;
    }

    .check-card,
    .heltips-card {
        padding: 25px;
    }
    .check-card img{
        bottom: 0px;
    }
}



@media (max-width: 768px) {
    .pregnancy-details-section {
        flex-direction: column;   
        padding: 10px 20px;
    }

    .check-card,
    .heltips-card {
        width: 100%;
    }

    .check-card-icon {
        flex-direction: column;   
        align-items: flex-start;
    }
     .check-card img{
        bottom: 0px;
    }
}



@media (max-width: 480px) {
    .pregnancy-details-section {
        padding: 10px 15px;
    }

    .check-card,
    .heltips-card {
        padding: 20px;
        border-radius: 20px;
    }

    .check-card-icon p,
    .check-card-icon li {
        font-size: 13px;
    }
}
/*monthly page styles*/
.month-right-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.month-right-image img {
    max-width: 50%;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
}


@media (max-width: 768px) {
    .main-section-content {
        flex-direction: column;
        gap: 20px;
    }

    .left-gray-card {
        width: 100%;
        min-height: auto;
    }

    .month-right-image img {
        width: 80%;
    }
}
    .pregnancy-monthly-title {
    text-align: center;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif !important;
    color: #fff;
    background-color: #8e66d8;
    padding: 40px 0;
    
    font-size: 24px !important;
}
/*week list styles*/

.weeks-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
   max-width: 1200px;
   margin: 50px auto;
}
.weeks-container  a{
    text-decoration: none;
}
.week-card {
  background: #ebe9e9;;
  border-radius: 3px;
  overflow: hidden;
  text-align: center;
  height:200px;
}

.week-card span {
  display: block;
  background: #8e66d8;
  color: white;
  padding: 10px 0;
  font-weight: 500;
  font-size: 30px;
}

.week-card h2 {
  margin: 20px 0;
  font-size: 70px;
  color: #8e66d8;
  font-weight: bold;
}
@media (max-width: 992px) {
  .weeks-container {
    grid-template-columns: repeat(3, 1fr);
      margin:20px;
  }
}
@media (max-width: 1024px) {
  .weeks-container {
    grid-template-columns: repeat(4, 1fr);
      margin:20px;
  }
}
@media (max-width: 576px) {
  .weeks-container {
    grid-template-columns: repeat(2, 1fr);
    margin:20px;
  }
}