 /*
    Theme Name: Marketsitetheme
    Theme URI: https://example.com
    Author: Your Name
    Description: Corporate & Consulting WordPress Theme
    Version: 1.0
    Text Domain: consultica-lite
    */


 :root {
     /* رنگ اصلی برند */
     --primary: #0bb997;
     --primary-dark: #089e81;

     /* رنگ فرعی برند */
     --secondary: #f44668;
     --secondary-dark: #d93757;

     /* رنگ تأکیدی */
     --accent: #ff7a8f;

     /* رنگ‌های متن */
     --text-main: #1f2933;
     --text-muted: #6b7280;
     --text-light: #f2fffc;

     /* پس‌زمینه */
     --bg-light: #f9fafb;
     --bg-soft: #f2fffc;
     --bg-dark: #0b1120;

     /* مرزها */
     --border-soft: #e5e7eb;

     /* UI */
     --radius-lg: 14px;
     --radius-md: 10px;
     --radius-sm: 7px;

     --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);

     /* transition */
     --transition: all .3s ease;
 }

@font-face{
    font-family:"iransans";
    src:url("assets/fonts/iransans.woff2") format("woff2"),
    url("assets/fonts/iransans.woff") format("woff"),
    url("assets/fonts/iransans.eot") format("eot"),
    url("assets/fonts/iransans.ttf") format("ttf");
    font-weight:200;
    font-display:swap;
}

 @font-face{
     font-family: "PINAR-DS1-BLACK";
     src: url("assets/fonts/FontPinar/PINAR-DS1-BLACK.TTF") format("truetype");
     font-weight: normal;
     font-style: normal;
 }
 @font-face{
     font-family: "PINAR-DS1-BOLD";
     src: url("assets/fonts/FontPinar/PINAR-DS1-BOLD.TTF") format("truetype");
     font-weight: normal;
     font-style: normal;
 }
 @font-face{
     font-family: "PINAR-DS1-EXTRABOLD";
     src: url("assets/fonts/FontPinar/PINAR-DS1-EXTRABOLD.TTF") format("truetype");
     font-weight: normal;
     font-style: normal;
 }
 @font-face{
     font-family: "PINAR-DS1-LIGHT";
     src: url("assets/fonts/FontPinar/PINAR-DS1-LIGHT.TTF") format("truetype");
     font-weight: normal;
     font-style: normal;
 }
 @font-face{
     font-family: "PINAR-DS1-MEDIUM";
     src: url("assets/fonts/FontPinar/PINAR-DS1-MEDIUM.TTF") format("truetype");
     font-weight: normal;
     font-style: normal;
 }
 @font-face{
     font-family: "PINAR-DS1-REGULAR";
     src: url("assets/fonts/FontPinar/PINAR-DS1-REGULAR.TTF") format("truetype");
     font-weight: normal;
     font-style: normal;
 }
 @font-face{
     font-family: "PINAR-DS1-SEMIBOLD";
     src: url("assets/fonts/FontPinar/PINAR-DS1-SEMIBOLD.TTF") format("truetype");
     font-weight: normal;
     font-style: normal;
 }

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

body {
    font-family: "PINAR-DS1-MEDIUM","iransans",sans-serif;
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.9;
}

/* --- Layout --- */

/*.container {*/
/*    width: min(1140px, 92%);*/
/*    margin: 0 auto;*/
/*}*/

 .container{
     max-width:1140px;
     width:92%;
     margin:auto;
 }

.section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 15px;
}

/* --- Header --- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(10px);
}

/* دکمه تماس سمت راست */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

.btn-panel{
    background: var(--secondary);
    color: white;
    /*border-radius: var(--radius-md);*/
    padding: 31px 7px;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    gap: 8px;
}

 .btn-call {
     padding: 6px 14px !important;
     font-size: 15px !important;
     background: var(--primary);
     color: white;
     box-shadow: 0 12px 28px rgba(34,197,94,0.25);
 }

 .btn-call:hover {
     background: var(--primary-dark);
     filter: brightness(1.05);
     box-shadow: 0 18px 40px rgba(34,197,94,0.35);
 }

.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 1;
}

.site-logo {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-weight: 700;
}
.custom-logo{
    height: 60px;
    width: 100px;
    vertical-align: bottom;
}

.site-title a {
    color: #e5e7eb;
    font-weight: 600;
    text-decoration: none;
}

.site-description {
    font-size: 12px;
    color: #9ca3af;
}

/* --- Nav --- */

 .main-nav {
     display: flex;
     align-items: center;
 }

 .main-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
 }

 .main-nav a{
     color: var(--text-main);
 }
 .main-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition);
 }

 .main-nav a::after {
    background: var(--primary);
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    transition: width .25s ease;
 }
 .main-nav a:hover {
     color: var(--primary);
 }
 .main-nav a:hover {
    color: var(--primary);
 }

 .main-nav .current-menu-item > a::after {
    width: 100%;
 }

 /* hero */

 /*.hero{*/
 /*    min-height:600px;*/
 /*    display:flex;*/
 /*    align-items:center;*/
 /*    padding:0 80px;*/
 /*    background-image:url("assets/images/hero-bg.jpg");*/
 /*    background-size: 100% auto;*/
 /*    background-position: right top;*/
 /*    background-repeat: no-repeat;*/
 /*}*/

 .hero{
     min-height:600px;
     display:flex;
     align-items:center;
     padding:0 40px;
     background:url("assets/images/hero-bg.jpg") right top / cover no-repeat;
 }


 .hero-inner{
     width:100%;
     display:flex;
     justify-content:flex-start;
 }


 .hero-content{
    max-width:520px;
    text-align:center;
}

.hero h1{
    font-family: "PINAR-DS1-BOLD","iransans",sans-serif;
    line-height:1.6;
    color:#ffffff;
    margin-bottom:25px;
}
 .hero-title span{
     display:block;
 }

.hero-desc{
    margin-top:20px;
    color:var(--bg-light);
    font-size:15px;
    line-height:1.9;
}
 .hero-buttons{
     display:grid;
     gap:12px;
     justify-content:center;
     margin-bottom:15px;
 }

 .hero-buttons .btn{
     min-width:180px;
     padding:12px 18px;
     border-radius:8px;
     text-align:center;
 }

 .hero-buttons .btn-primary{
     background:#0bb997;
     color:#fff;
 }

 .hero-buttons .btn-outline{
     background:#fff;
     color:#0bb997;
     border:2px solid #0bb997;
 }

 .hero-buttons .btn-primary:hover{
     background:#089e81;
 }

 .hero-buttons .btn-outline:hover{
     background:#0bb997;
     color:#fff;
 }

 .hero-logo img{
     max-width: 128px;
 }


 /* --- Services-select --- */

 .services-select{
     padding:40px 0;
 }

 .services-select{
     display:flex;
     align-items:center;
     padding:20px 0;
     background-image:url("assets/images/Background-Hero.png");
     background-size: 100% auto;
     background-position: right top;
     background-repeat: no-repeat;
 }

 .services-inner{
     display:flex;
     align-items:center;
     gap:40px;
 }

 .services-image img{
     max-width:420px;
 }

 .services-content{
     flex:1;
     max-width: 750px;
 }

 .services-title{
     font-family: "PINAR-DS1-MEDIUM","iransans",sans-serif;
     font-size:25px;
     margin-bottom:10px;
     text-align: center;
 }

 .services-box{
     background:#e9e9e9;
     border-radius:5px;
 }

 .services-grid{
     display:grid;
     grid-template-columns:repeat(3,1fr);
     padding: 20px 20px;
 }

 .service-item{
     display:flex;
     align-items:center;
     font-size:14px;
     direction: rtl;
     gap:8px;
     color: var(--text-muted);
     padding: 7px 10px;
 }

 /* حذف استایل پیش‌فرض چک‌باکس */
 .service-item input[type="checkbox"] {
     appearance: none;
     -webkit-appearance: none;
     background-color: #ffffff;
     width: 25px;
     height: 25px;
     border-radius: 6px;
     cursor: pointer;
     border: 2px solid #dcdcdc;
     transition: 0.2s;
     box-shadow: 0 2px 4px rgba(0,0,0,0.08);
     display: inline-block;
     position: relative;
 }

 /* حالت فعال (تیک‌خورده) */
 .service-item input[type="checkbox"]:checked {
     background-color: #20b486; /* رنگ سبز اصلی سایت */
     border-color: #20b486;
 }

 /* آیکن تیک */
 .service-item input[type="checkbox"]:checked::after {
     content: "";
     position: absolute;
     top: 4px;
     left: 7px;
     width: 6px;
     height: 12px;
     border: solid #fff;
     border-width: 0 2px 2px 0;
     transform: rotate(45deg);
 }



 .services-other{
     /*margin-top:15px;*/
     padding: 10px;
 }

 .services-other input{
     width:100%;
     padding:10px;
     border:none;
     border-radius:6px;
 }

 .services-actions{
     display:flex;
     gap:15px;
     margin-top:25px;
     align-items:center;
 }

 .services-select .btn{
     border:none;
     padding:14px 24px;
     border-radius:10px;
     cursor:pointer;
     font-size:15px;
 }

 .services-select .btn.support{
     background:#1dbf8b;
     color:#fff;
 }

 .services-select .btn.send{
     background:#ef476f;
     color:#fff;
 }

 .services-select .contact-input{
     flex:1;
     padding:14px;
     border:none;
     border-radius:10px;
     background:#e0e0e0;
 }

 /* --- Features --- */

 .features{
     padding:90px 0;
     background: #fff;
     text-align:center;
 }

 .features-title{
     font-size:32px;
     margin-bottom:50px;
 }

 .features-grid{
     display:grid;
     grid-template-columns:repeat(3,1fr);
     gap:30px;
 }

 .feature-box{
     background:#fff;
     padding:35px 25px;
     border-radius:12px;
     box-shadow:0 5px 20px rgba(0,0,0,0.05);
 }

 .feature-box h3{
     font-size:20px;
     margin-bottom:15px;
 }

 .feature-box p{
     font-size:14px;
     line-height:1.8;
     margin-bottom:20px;
     color:#666;
 }

 .feature-btn{
     display:inline-flex;
     align-items:center;
     gap:8px;
     border:none;
     background:#20b486;
     color:#fff;
     padding:10px 18px;
     border-radius:8px;
     cursor:pointer;
 }

 .feature-btn i{
     font-size:14px;
 }

 /* --- About --- */
 .about{
     padding:90px 0;
     background:#fff;
 }

 .about-inner{
     display:flex;
     align-items:center;
     gap:60px;
 }

 .about-image img{
     width:420px;
     border-radius:12px;
 }

 .about-content{
     flex:1;
 }

 .about-title{
     font-size:30px;
     margin-bottom:20px;
 }

 .about-title span{
     color:#20b486;
 }

 .about-text{
     font-size:15px;
     line-height:2;
     color:#555;
     margin-bottom:15px;
 }

 .about-btn{
     margin-top:15px;
     border:none;
     background:#ef476f;
     color:#fff;
     padding:12px 22px;
     border-radius:8px;
     cursor:pointer;
 }

 /* --- Contact --- */
 .contact-grid{
     display:grid;
     grid-template-columns:1fr 1fr;
     gap:40px;
     padding:80px 20px;
 }

 .contact-form input,
 .contact-form textarea{
     width:100%;
     padding:12px;
     margin-bottom:15px;
     border:1px solid #ddd;
     border-radius:6px;
 }

 .contact-form button{
     background:#2563eb;
     color:white;
     border:none;
     padding:12px 25px;
     border-radius:6px;
     cursor:pointer;
 }


/* --- Footer --- */

.site-footer {
    padding: 40px 0 24px;
    background: var(--bg-dark);
    color: white;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 10px;
}

.footer-menu {
    list-style: none;
    font-size: 13px;
}

.footer-menu li + li {
    margin-top: 4px;
}

.footer-menu a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 12px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}



/* موبایل منو */

.mobile-menu-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
}

.mobile-menu-toggle span{
    width:26px;
    height:3px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    /*color: white;*/
    display:block;
    border-radius:3px;
}

/* حالت موبایل */

 /* --- Responsive --- */

 @media (max-width:500px){
     .services-grid{
         grid-template-columns:1fr;
     }
     .features-grid{
         grid-template-columns:1fr;
     }
 }

 @media (max-width: 640px) {
     .hero-inner {
         gap: 26px;
     }
     .hero-title {
         font-size: 28px;
     }
     .services-grid,
     .testimonials-grid,
     .stats-grid {
         grid-template-columns: 1fr;
     }
     .header-cta{
         display:none;
     }
     .features{
         padding: 20px 0;
     }
     .features-title{
         font-size:20px;
         margin-bottom:10px;
     }
 }

 @media (max-width:768px){

     .hero{
         min-height:auto;
         padding:80px 20px;
         background-position:right;
     }

     .hero-inner{
         justify-content:center;
     }

     .hero-content{
         width:100%;
         max-width:420px;
     }

     .hero h1{
         font-size:28px;
     }

     /*.hero-buttons{*/
     /*    flex-direction:column;*/
     /*}*/

     .hero-buttons{
         display:flex;
         flex-wrap:wrap;
         gap:12px;
         justify-content:center;
     }

     .hero-buttons .btn{
         width:100%;
     }

     .services-actions{
         flex-direction:column;
     }

     .services-select .btn{
         width:100%;
     }

 }

 @media (max-width:900px){

     .about {
         padding: 10px 0;
     }

     .about-inner{
         flex-direction:column;
         text-align:center;
     }
     .about-image img{
         width:100%;
         max-width:420px;
         height:auto;
     }
     services-grid{
         grid-template-columns:repeat(2,1fr);
     }
     .features-grid{
         grid-template-columns:repeat(1,1fr);
     }
 }

 @media (max-width:1120px){

     .hero-inner,.footer-top {
         grid-template-columns: 1fr;
     }
     .services-grid,
     .testimonials-grid,
     .stats-grid {
         grid-template-columns: repeat(2, minmax(0, 1fr));
     }

    .header-inner{
        height:80px;
    }

    .site-branding {
        order: 2;
    }

    .mobile-menu-toggle {
        display: flex;
        /*margin-left: auto;*/
    }

     .main-nav{
         position:absolute;
         top:80px;
         left:0;
         width:100%;
         background:var(--primary-dark);
         flex-direction:column;
         padding:20px;
         transform:translateY(-20px);
         opacity:0;
         pointer-events:none;
         transition:.3s;
     }

     .main-nav.active{
         transform:translateY(0);
         opacity:1;
         pointer-events:auto;
     }


     .main-nav ul{
        flex-direction:column;
        gap:15px;
    }

    .main-nav a{
        font-size:16px;
        color: var(--text-light);
    }
    .btn-panel{
        padding: 20px 7px;
        border: none;
    }
    .btn-call{
        font-size: 11px !important;
        padding: 20px 7px !important;
        border-radius: 0px !important;
        color: white;
        transition: all .25s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        text-decoration: none;
        font-weight: 500;
        gap: 8px;
    }
    .header-cta{
        /*margin-right: auto;*/
    }

}

 @media (max-width:1250px){
     .btn-panel{
         font-size: 11px;
     }
     .services-select{
         background-image: none;
     }
 }

.page-hero{
    background:linear-gradient(135deg,#1d4ed8,#2563eb);
    color:white;
    padding:90px 20px;
    text-align:center;
}
 .page-hero{
     background:linear-gradient(135deg,#1e3a8a,#2563eb);
     color:white;
     text-align:center;
     padding:20px 20px;
 }

.page-title{
    font-size:42px;
    margin-bottom:10px;
}

.page-section{
    padding:80px 20px;
    background:#f8fafc;
}

.page-content{
    background:white;
    padding:50px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    max-width:900px;
    margin:auto;
    line-height:1.9;
    font-size:17px;
}

.empty-text{
    text-align:center;
    color:#666;
    font-style:italic;
    padding:40px 0;
}

.breadcrumb{
    opacity:0.9;
    font-size:14px;
}

.breadcrumb a{
    color:white;
    text-decoration:none;
}

.placeholder-box{
    background:#e5e7eb;
    height:250px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
}

 /* --- Buttons --- */
 .btn {
     background: var(--primary);
     color: white;
     border-radius: var(--radius-md);
     padding: 12px 24px;
     transition: all .25s ease;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 14px;
     border: none;
     cursor: pointer;
     text-decoration: none;
     font-weight: 500;
     gap: 8px;
 }

 .btn-primary {
     background: var(--primary);
     color: white;
     box-shadow: 0 12px 28px rgba(34,197,94,0.25);
 }

 .btn-primary:hover {
     background: var(--primary-dark);
     filter: brightness(1.05);
     box-shadow: 0 18px 40px rgba(34,197,94,0.35);
 }

 .btn-primary:active {
     transform: translateY(1px);
     box-shadow: 0 10px 20px rgba(34,197,94,0.25);
 }
 .btn-secondary{
     background: var(--secondary);
 }

 .btn-secondary:hover{
     background: var(--secondary-dark);
 }

 /* دکمه Outlined */
 .btn-outline {
     color: var(--primary);
     border: 1px solid var(--primary);
     background: transparent;
     transition: all .25s ease;
     box-shadow: 0 0 0 rgba(0,0,0,0); /* بدون سایه در حالت عادی */
 }

 .btn-outline:hover {
     background: var(--primary);
     color: white;
     filter: brightness(1.06);
     box-shadow: 0 16px 36px rgba(34,197,94,0.33); /* سایه ملایم مطابق btn-primary */
 }

 .btn-outline:active {
     transform: translateY(1px);
     box-shadow: 0 10px 20px rgba(34,197,94,0.25); /* دقیقاً مثل دکمه اصلی */
 }
 .text-primary{
     color: var(--primary) !important;
 }
 .text-secondary{
     color: var(--secondary) !important;
 }

 