/*
Theme Name: Kadmar Digital
Theme URI: https://www.kadmardigital.com
Description: Theme by Kadmar Digital
Version: 1.00
Author: Kadmar Digital
*/

.custom-logo {
    height: auto;
    max-width: 100%;
    display: block;
}
body{
    margin: 0;
    padding: 0;
	font-family: 'Outfit';
}
p {
    font-size: 17px;
    line-height: 25px;
    font-family: 'Inter';
}
span.elementor-button-icon {
    font-size: 13px;
}
.footer-form input#form-field-email {
    border: 1px solid;
}

/* ===== FORCE CUSTOM UNDERLINE ANIMATION (WITHOUT DISABLING POINTER) ===== */

/* Target ONLY main desktop menu */
.elementor-nav-menu--main .elementor-item {
  position: relative;
}

/* Elementor underline override */
.elementor-nav-menu--main .elementor-item:before {
  content: "";
  position: absolute;
  left: 0 !important;
  bottom: -4px !important;
  width: 100% !important;
  height: 1px !important;
  background-color: #ffffff !important;

  /* animation trick */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease !important;
  opacity: 1 !important;
}

/* Hover + Active */
.elementor-nav-menu--main .elementor-item:hover:before,
.elementor-nav-menu--main .elementor-item.elementor-item-active:before {
  transform: scaleX(1);
}
.elementor-31 .elementor-element.elementor-element-2347c40 .elementor-button[type="submit"]:hover {
    background-color: #07396B !important;
}
.service-box:hover {
    background: #00488e !important;
}
.service-box:hover .service-title h3 a, .service-box:hover .service-title h3, .service-box:hover span.elementor-icon-list-text {
    color: #fff !important;
}
.service-box:hover span.elementor-icon-list-icon svg{
	fill: #fff !important;
}
/* training form css */
/* ==== CF7 FORM STYLING (25% WIDTH CONTAINER FRIENDLY) ==== */

.wpcf7 form {
    width: 100%;
    font-family: inherit;
}

/* Labels */
.wpcf7 label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 6px;
}

/* Inputs & Selects */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select {
    width: 100%;
    padding: 12px 14px !important;
    font-size: 14px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px !important;
    background: #fff;
    transition: all 0.25s ease;
    box-sizing: border-box;
    margin-bottom: 14px;
}

/* Focus effect */
.wpcf7 input:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Placeholder look */
.wpcf7 ::placeholder {
    color: #aaa;
    font-size: 13px;
}

/* Submit Button */
.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #00488e;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    color: var(--e-global-color-accent) !important;
    background: #fff;
}
/* Button hover */
.wpcf7 input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25);
	background: var(--e-global-color-accent) !important;
    color: #fff !important;
}

/* Error messages */
.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #dc2626;
    margin-top: -8px;
    margin-bottom: 8px;
}

/* Success message */
.wpcf7-response-output {
    font-size: 13px;
    border-radius: 8px;
    padding: 12px;
}
.new-card {
    padding: 35px !important;
    border-radius: 8px !important;
    border-top: 4px solid transparent !important;
	box-shadow: 0 5px 15px rgb(0 0 0 / 46%) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.new-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-top: 4px solid #00488e !important;
}

/* single post  */

.single-post h5 {
    font-size: 20px;
    line-height: 27px;
}
.single-post h4 {
    font-size: 24px;
    line-height: 28px;
}

.single-post h3 {
    font-size: 36px;
    line-height: 42px;
}
.single-post h2 {
    font-size: 48px;
    line-height: 48px;
}

/* single post */

.post-sec a.elementor-post__read-more {
    background-color: var(--e-global-color-accent);
    padding: 10px 16px;
    border-radius: 10px;
    color: #fff;
    margin-top: 10px;
    display: inline-block;
    font-size: 16px;
}

/* ===== Mobile Fix ===== */
@media (max-width: 1024px) {
    .wpcf7 input,
    .wpcf7 select {
        font-size: 14px;
    }
}

/* training form css */
@media (max-width:767px){
	.counter-sect .elementor-counter-title {
    text-align: center !important;
}
/* single post  */

.single-post h5 {
    font-size: 18px;
    line-height: 24px;
}
.single-post h4 {
    font-size: 20px;
    line-height: 23px;
}

.single-post h3 {
    font-size: 24px;
    line-height: 28px;
}
.single-post h2 {
    font-size: 28px;
    line-height: 28px;
}

/* single post */	
}