 /*---------------------------------------------------------------------------------
 Theme Name:   All Calculator
 Theme URI:    
 Description:  Child theme of All Calculator
 Author:      All Calculator
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
------------------------------ ADDITIONAL CSS HERE ------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


#et-main-area {
  overflow: hidden;
}

h1 {
  font-size: 2.5em !important;     /* ~32px */
}
.homw_page_content  h2.h2_size {
    font-size: 2em !important;
    text-align: center;
    padding-bottom: 30px !important;
}
h2 {
  font-size: 2em !important;   /* ~24px */
}

h3 {
  font-size: 1.17em !important;  /* ~18.72px */
}
.home .homw_page_content ul li a {
    color: #1a73e8  !important;
}

body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
line-height: 1.7;
}
ul.sub-menu li {
    display: block;
    width: 100% !important;
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    animation: pulse 1.5s infinite;
	z-index:999;
}

.whatsapp-float i {
    font-size: 22px;
}

.whatsapp-float:hover {
    background-color: #20b358;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
/*banner*/
.blog_btn{
	text-align:center !important;
}
.blog_btn a {
    margin: auto !important;
    margin-top: 30px !important;
}
.custom-pagination{
		display:none !important;
}
.page-id-728 .custom-pagination{
	display:block !important;
}
.blog-item h3 {
    font-size: 20px !important;
    color: #000;
    font-weight: 600;
}
.table_main {
    overflow: auto;
}
.homw_page_content tr td{
	padding:0px 10px !important;
}
.homw_page_content tr {
    font-size: 16px;
    color: #000;
    padding: 0px 10px !important;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #1a73e8;
    font-size: 16px;
    padding: 10px 40px;
    border-radius: 20px;
    border: navajowhite;
    color: #fff;
}
div#wpcf7-f1790-p149-o1 label {
    font-size: 16px;
    color: #000;
}

.addtoany_content{
	text-align:center !important;
}
.addtoany_share_save_container.addtoany_content.addtoany_content_bottom {
    text-align: center !important;
}
.overflow-auto {
    overflow: auto;
}
.et_pb_section_0 {
    padding-top: 0px !important;
}
.et_pb_title_featured_container img {
    width: 600px !important;
    padding: 30px 0px;
}

.homw_page_content br {
    display: none;
}
.et_pb_section_0 {
    padding-top: 0px !important;
}
.calc_list ul {
    display: flex;
    flex-wrap: wrap;
	padding:0px !important;
}
.calc_list ul li:hover{
	background:transparent !important;
	border:1px solid #1a73e8;
	
}
.calc_list ul li:hover a{
	color:#000 !important;
	
}
.calc_list ul li {
    display: inline-block;
    padding: 10px;
	border:1px solid transparent;
    border: 1px solid #ddd;
    margin: 10px;
    background: #1a73e8;
}

.calc_list ul {
    padding: 0;
}

.calc_list ul li a {
    color: #fff !important;
}
.site_content span{
	font-size:16px;
	color:#000 !important;
	display:block;
	padding:10px 0px !important;
}
.homw_page_content ul li a{
	color:#fff !important;
}

.homw_page_content ul li{
		font-size:16px !important;
	color:#000 !important;
}
.homw_page_content span{
	padding-bottom:10px !important;
	display:block !important;
	font-size:16px !important;
	color:#000 !important;
}
.homw_page_content ul {
    padding-bottom: 0px !important;
}

.homw_page_content h1,.homw_page_content h2,.homw_page_content h3 {
   padding: 20px 0px 10px !important;
	    color: #1a73e8 !important;
	font-weight: 700;
	text-transform: capitalize;
}
.web-story-wrapper {
    display: flex;
	flex-wrap:wrap;
   
}

.web-story-card {
    text-decoration: none;
    width: 20%;
    padding: 10px;
    height: 300px;
}

.web-story-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.web-story-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.web-story-card:hover .web-story-image {
    transform: translateY(-5px);
}

.web-story-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.custom-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.blog-item {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    transition: 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blog-image {
    width: 100%;
    height: 250px; /* 🔥 Height yaha se control karo */
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-item h3 {
    margin-top: 15px;
    font-size: 18px;
}

.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.read-more-btn:hover {
    background: #444;
}

.custom-pagination {
    margin-top: 40px;
    text-align: center;
}

.custom-pagination a,
.custom-pagination span {
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
}

.custom-pagination .current {
    background: #000;
    color: #fff;
}
div#block-7 {
    margin-bottom: 0 !important;
}
ul.wp-block-categories-list.wp-block-categories li a {
    font-size: 16px;
    color: #000;
}
ul.wp-block-latest-posts__list.wp-block-latest-posts li a{
	  font-size: 16px;
    color: #000;
}
.category  .container{
	width:100% !important;
	max-width:1280px !important;
	    padding-left: 10px !important;
    padding-right: 10px !important;
}
/* footer */
    .title {
            font-size: 28px;
            margin-bottom: 20px;
            font-weight: bold;
            color: #333;
        }

        .social-icons {
            display: flex;
            gap: 20px;
			justify-content:center;
        }

        .social-icons a {
            text-decoration: none;
            font-size: 25px;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            color: white;
            transition: 0.3s ease;
        }

        .linkedin { background: #0077b5; }
        .facebook { background: #1877f2; }
        .twitter { background: #000; }
        .instagram {
            background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
        }

        .social-icons a:hover {
            transform: scale(1.2);
            opacity: 0.8;
        }
/* ✅ Tablet */
@media (max-width: 992px) {
    .custom-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ✅ Mobile */
@media (max-width: 600px) {
    .custom-blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-image {
        height: 200px;
    }
}

.ajax-page-search{
max-width:500px;
margin:auto;
font-family:Arial, sans-serif;
}

#page-search-input{
width:100%;
padding:12px 15px;
border:2px solid #0073ff;
border-radius:6px;
outline:none;
font-size:16px;
}

#page-search-input:focus{
border-color:#0056b3;
box-shadow:0 0 5px rgba(0,115,255,0.4);
}

#page-search-results ul{
list-style:none;
padding:0;
margin-top:10px;
border:1px solid #e5e5e5;
border-radius:6px;
overflow:hidden;
}

#page-search-results li{
padding:10px 15px;
border-bottom:1px solid #eee;
}

#page-search-results li:last-child{
border-bottom:none;
}

#page-search-results li a{
text-decoration:none;
color:#0073ff !important;
font-weight:500;
display:block;
	text-align:left !important;
}

#page-search-results li:hover{
background:#f0f6ff;
}
div#page-search-results {
    position: absolute;
    background: #fff !important;
    z-index: 99;
    background: #fff;
}
.ajax-page-search {
    position: relative;
    padding: 50px 0px;
}

/* blog */
.related-posts-container{
display:flex;
flex-direction:column;
gap:20px;
margin-top:20px;
}

.related-post-item{
display:flex;
align-items:center;
gap:18px;
}

.related-post-img img{
width:160px;
height:110px;
object-fit:cover;
border-radius:12px;
}

.related-post-content h4{
font-size:18px;
margin:0 0 6px;
line-height:1.4;
}

.related-post-content h4 a{
text-decoration:none;
color:#000;
}

.related-post-content h4 a:hover{
color:#ff3b00;
}

.read-more{
color:#ff3b00;
font-size:14px;
text-decoration:none;
font-weight:500;
}

.read-more:hover{
text-decoration:underline;
}

.related-post-img {
    width: 30%;
}
.related-post-content {
    width: 70%;
}
.nav-single a {
    font-size: 16px !important;
    color: #1a73e8 !important;
    font-weight: 700 !important;
    text-align: left !important;
}
.recent-post-wrapper{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-top:20px;
}

.recent-post-card{
background:#fff;
border-radius:10px;
overflow:hidden;
transition:0.3s;
}

.recent-post-card:hover{
transform:translateY(-5px);
}

.post-img img{
width:100%;
height:180px;
object-fit:cover;
border-radius:10px;
}

.post-title{
font-size:16px;
line-height:1.4;
margin-top:10px;
}

.post-title a{
text-decoration:none;
color:#111;
}

.post-title a:hover{
color:#e60023;
}

/* Responsive */

@media(max-width:1024px){
.recent-post-wrapper{
grid-template-columns:repeat(3,1fr);
}
}

@media(max-width:768px){
.recent-post-wrapper{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:480px){
.recent-post-wrapper{
grid-template-columns:1fr;
}
}

@media all and (min-width: 320px) and (max-width: 767px) {
	
.site_padding {
		padding:50px 15px !important;
}
	.web-story-card{
		width:100% !important;
	}
}

@media all and (min-width: 481px) and (max-width: 767px) {
.web-story-card{
		width:50% !important;
	}
}

@media all and (min-width: 768px) and (max-width: 980px) {
	.web-story-card{
		width:33.33% !important;
	}
.site_padding {
		padding:50px 30px !important;
	}
}

@media only screen and (min-width: 981px) and (max-width: 1024px) {
	.web-story-card{
		width:25% !important;
	}
.site_padding {
		padding:50px 30px !important;
	}
}

@media all and (min-width: 1025px) and (max-width: 1140px) {
	.web-story-card{
		width:25% !important;
	}
.site_padding {
		padding:50px 30px !important;
	}
}

@media all and (min-width: 1141px) and (max-width: 1280px) {
  
	.site_padding {
		padding:50px 30px !important;
	}
}

@media all and (min-width: 1281px) and (max-width: 1440px) {
.site_padding {
		padding:50px 30px !important;
	}
}

@media all and (min-width: 1441px) and (max-width: 1680px) {

  
}

@media all and (min-width: 1681px) and (max-width: 1880px) {
}


@media all and (min-width: 981px) and (max-width: 3000px) {

}
 .section {
            background: var(--card-bg);
            padding: 18px;
            border-radius: var(--radius);
            box-shadow: 0 6px 20px rgba(79, 99, 255, 0.06);
            border: 1px solid rgba(79, 99, 255, 0.06);
        }

        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
        }

        .section-header h2 {
            margin: 0;
            font-size: 18px;
            color: #0f172a;
        }
        /* grid of boxes */

        .grid {
            display: grid;
            gap: 10px;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        }

        .icon-box {
            display: flex;
            gap: 12px;
            align-items: center;
            padding: 12px;
            border-radius: 10px;
            background: var(--surface);
            transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
            border: 1px solid rgba(15, 23, 42, 0.03);
            text-decoration: none;
            color: inherit;
        }

        .icon-box:focus,
        .icon-box:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
            background: linear-gradient(180deg, rgba(79, 99, 255, 0.03), rgba(79, 99, 255, 0.01));
            outline: none;
            border-color: rgba(79, 99, 255, 0.12);
        }

        .icon {
            min-width: 44px;
            min-height: 44px;
            display: grid;
            place-items: center;
            border-radius: 10px;
            background: linear-gradient(180deg, rgba(79, 99, 255, 0.10), rgba(79, 99, 255, 0.03));
            color: var(--accent);
            font-size: 18px;
            box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.4);
        }

        .info {
            display: flex;
            flex-direction: column;
        }

        .info .title {
            font-size: 15px;
            font-weight: 600;
            color: #0f172a;
            text-decoration: none;
        }

        .info .meta {
            font-size: 13px;
            color: var(--muted);
            margin-top: 2px;
        }
        /* small utility */

        .small {
            font-size: 13px;
            color: var(--muted);
        }

        @media (max-width:520px) {
            body {
                padding: 16px;
            }
            .icon {
                min-width: 40px;
                min-height: 40px;
                font-size: 16px;
            }
        }