/*
Theme Name: IPCON Theme 1
Theme URI: https://ipcon.kz/
Author: Zhandos Kamenov
Author URI: https://ipcon.kz/
Description: 
Version: 1.4.6
License:
License URI:
Text Domain: ipcon
Domain Path: /framework/languages
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/


/*-------------------------------------------------------------------------*/
/* Browser Reset
/*-------------------------------------------------------------------------*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  outline: none;
}
html {
  height: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
object,
video,
audio,
embed,
canvas,
iframe,
main,
summary {
  display: block;
}
video,
audio,
progress,
canvas {
  vertical-align: baseline;
}
video {
  background-color: #000000;
}
template,
[hidden],
audio:not([controls]) {
  display: none;
}
audio:not([controls]) {
  height: 0;
}
iframe {
  max-width: 100%;
}
abbr,
address,
progress {
  display: inline-block;
  text-decoration: none;
}
abbr:not([class]),
acronym {
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}
#middle ul:after,
#bottom ul:after,
#middle ol:after,
#bottom ol:after {
  content: '.';
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
  overflow: hidden;
}
dl {
  display: block;
  overflow: hidden;
}
dt {
  display: block;
  font-weight: bold;
  overflow: hidden;
}
dd {
  display: block;
  overflow: hidden;
}
q:before,
q:after {
  content: none;
}
del {
  text-decoration: line-through;
}
table {
  width: 100%;
}
img {
  display: inline-block;
  color: transparent;
  height: auto;
  font-size: 0;
  vertical-align: middle;
  max-width: 100%;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}
img.wp-smiley,
img.emoji {
  font-size: 1em;
}
a {
  background: transparent;
}
a:active,
a:hover {
  outline: 0;
}
img {
  border: 0;
}
figure {
  background-image: none !important;
}
fieldset {
  margin: 25px 2px 30px;
  padding: 1.5em 1em .5em;
  border-width: 0;
  border-style: solid;
}
fieldset legend {
  padding: 3px 10px;
  margin-top: -25px;
}
input {
  line-height: normal;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
textarea {
  resize: vertical;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
optgroup {
  font-weight: bold;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}
input[type=search] {
  -webkit-appearance: textfield;
}
input[type=submit],
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
select {
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
  pointer-events: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input[type=text]::-ms-clear {
  display: none;
}
p:empty {
  display: none;
}
:focus {
  outline: 0;
}
pre,
code,
kbd,
samp {
  background-color: transparent;
  color: inherit;
  font-family: monospace;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: 1px;
}
pre {
  white-space: pre-wrap;
}
pre a {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
}
code {
  display: inline-block;
}
code a {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
}
svg:not(:root) {
  overflow: hidden;
}
sub,
sup,
small {
  font-size: 75%;
}
sub,
sup {
  line-height: 0;
  position: relative;
}
sup {
  vertical-align: super;
}
sub {
  vertical-align: sub;
}
b,
strong {
  font-weight: bold;
}
th,
td,
caption {
  font-weight: normal;
}
dfn {
  font-style: italic;
}
hr {
  height: 0;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
mark {
  color: #000000;
}

.sticky,
.bypostauthor,
.screen-reader-text {
  outline: none;
}

/*************Additional CSS Style--------*/
.cmsms_dynamic_cart{display:none;}

/**************Main menu START*************/
nav{
	padding-top: 30px;
}

.header_mid_inner #navigation > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 35px;
  width: 100%;
  height: 3px;
  background: #0a4c6f;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.header_mid_inner #navigation > li > a:hover::after {
  transform: scaleX(1);
}

.menu-item-mega-container{margin-top: -29px!important;}
/* Языки в меню — флаг и текст в одну строку */
.qtranxs-lang-menu-item a span{
    display:flex;
    align-items:center;
    gap:6px;
}

/* Флаг не блочный */
.qtranxs-lang-menu-item img{
    display:inline-block !important;
    vertical-align:middle;
}

/* Убираем лишние переносы */
.qtranxs-lang-menu-item a{
    white-space:nowrap;
}
/* =========================================
   MENU CTA BUTTONS (ONLY THESE TWO ITEMS)
   ========================================= */

/* Сбрасываем высоту 95px у этих пунктов */
.menu-item.nav-link-text,
.menu-item.nav-link-button{
    height:auto !important;
    display:flex;
    align-items:center;
}

/* Убираем фон темы внутри span */
.menu-item.nav-link-text > a span,
.menu-item.nav-link-button > a span{
    background:none !important;
    height:auto !important;
}

div.menu-item-mega-container > ul.sub-menu{padding-top:20px!important;}
/**************Main menu END*************/


/**************About_US START*************/
.blocks-border-about-us{
	border: 2px solid #dcad67;
	border-radius: 12px;
	padding: 20px;
	min-height: 450px !important;
}
/**************About_US END*************/

/* ============ Grain Caravan CF7 ============ */
/* Font */
.gc-form,
.gc-form * {
  font-family: "PT Sans", Arial, sans-serif;
  box-sizing: border-box;
}

/* Wrapper */
.gc-form {
  max-width: 980px;
}

/* Grid like screenshot 1 */
.gc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

/* Field */
.gc-field {
  display: flex;
  flex-direction: column;
}

/* Labels */
.gc-label {
  font-size: 16px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 0 0 10px 0;
  letter-spacing: 0.2px;
}

.gc-req {
  color: #dcad67; /* your gold */
  margin-left: 4px;
}

/* Controls */
.gc-control {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #e9e9e9;
  background: #f4f4f4;
  border-radius: 3px;
  font-size: 16px;
  color: #1f1f1f;
  outline: none;
}

/* Placeholder */
.gc-control::placeholder {
  color: #9a9a9a;
}

/* Focus state (green + subtle gold) */
.gc-control:focus {
  border-color: #006c35;              /* saudi green */
  box-shadow: 0 0 0 3px rgba(220, 173, 103, 0.25); /* gold glow */
  background: #ffffff;
}

/* Textarea */
.gc-textarea {
  height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

/* Full width rows */
.gc-field--full {
  grid-column: 1 / -1;
}

/* Submit */
.gc-actions {
  display: flex;
  justify-content: flex-start;
}

.gc-submit {
  width: 320px;              /* like screenshot 1 */
  max-width: 100%;
  height: 54px;
  border: none;
  border-radius: 3px;
  background: #003d22;       /* deep green */
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, opacity 0.15s ease;
}

.gc-submit:hover {
  opacity: 0.92;
}

.gc-submit:active {
  transform: translateY(1px);
}

/* CF7 messages */
.gc-form .wpcf7-response-output {
  margin: 18px 0 0;
  border-color: #dcad67;
}

.gc-form .wpcf7-not-valid-tip {
  font-size: 13px;
  margin-top: 6px;
  color: #b00020;
}

/* Responsive */
@media (max-width: 768px) {
  .gc-grid {
    grid-template-columns: 1fr;
  }
  .gc-submit {
    width: 100%;
  }
}
/* ============ Grain Caravan CF7 END============ */

/* ============ Grain Caravan Footer ICON START============ */
#footer .gc-footer-social{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:22px;
  margin:20px 0 14px;
  width:100%;
  text-align:center;
}

#footer .gc-footer-social .gc-social-link{
  width:54px;
  height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  text-decoration:none;
  transition:all .25s ease;
  color:rgba(255,255,255,.85);
}

#footer .gc-footer-social .gc-social-link i{
  font-size:26px;
  line-height:1;
}

#footer .gc-footer-social .gc-social-link:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.55);
  color:#dcad67;
}
/* ============ Grain Caravan Footer ICON END============ */

/* ============ Other Additional Styles START============ */
.bg-overlay-white-top{
	background: #ffffffe6;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

.bg-overlay-white-bottom{
	background: #ffffffe6;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

.bg-overlay-white-all{
	background: #ffffffe6;
	border-radius:15px;
	padding: 20px;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,0.4);

	box-shadow:
	0 25px 50px rgba(0,0,0,0.25),
    0 10px 20px rgba(0,0,0,0.18),
    0 4px 8px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);

	transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.bg-overlay-white-all:hover{
	  transform: translateY(-8px);

  box-shadow:
    0 45px 100px rgba(0,0,0,0.35),
    0 20px 40px rgba(0,0,0,0.25),
    0 8px 16px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,1);
}

.margin-top-20{margin-top:20px!important;}
.min-h-60{min-height:60px!important;}
.min-h-80{min-height:80px!important;}
.min-h-315{min-height:315px!important;}

.img-round img{
  object-fit:cover;
  border-radius:50%;
  /* по умолчанию — серый + чуть темнее */
  filter: grayscale(100%) brightness(.85) contrast(1.05);
  /* плавность */
  transition:
    transform .45s cubic-bezier(.22,.61,.36,1),
    filter .45s cubic-bezier(.22,.61,.36,1);
  /* чтобы не было мыла при зуме */
  will-change: transform, filter;
  /* старт */
  transform: scale(1);
}

/* HOVER — цвет + дорогой зум + глубина */
.img-round img:hover{
  filter:
    grayscale(0%)
    brightness(1)
    contrast(1.1)
    saturate(1.05)
    drop-shadow(0 14px 38px rgba(0,0,0,.25))
    drop-shadow(0 6px 14px rgba(0,0,0,.15));
  transform: scale(1.08);
}

html {
  scroll-behavior: smooth;
}
/* ============ Other Additional Styles END============ */







/* FORCE FONT AWESOME */
.fa,
.fa::before,
.fa::after,
i.fa,
i.fa::before{
    font-family: "FontAwesome" !important;
    font-weight: normal !important;
    font-style: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.fa-6 fa,
.fa-6 .fa::before,
.fa-6 .fa::after,
.fa-6 i.fa,
.fa-6 i.fa::before{
	font-family: "Font Awesome 6 Free" !important;
    font-weight: normal !important;
    font-style: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}
