/*
Theme Name: K7 Academy
Author: K7 Security
Version: 2.0
*/

html, body {
    margin: 0;
    padding: 0;
}
body,
button,
input,
textarea,
select {
    font-family: 'Nunito Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
p {
	font-size: 18px;
    font-weight: 400;
    line-height: 28px;
	color:#707070;
}
img {
    max-width: 100%;
    display: block;
}
h1 {
    font-size: 30px !important;
    line-height: 40px !important;
    margin-bottom: 20px !important;
}
h2 {
    font-size: 26px !important;
	line-height: 36px !important;
	margin-bottom: 20px !important;
}
.wp-block-button__link {
  transition: all 0.3s ease;
}

.wp-block-button__link:hover {
  background-color: #EC6A23;
  color: #fff !important;
  transform: translateY(-2px);
}

.wp-block-separator {
	width: 80%;
    margin: 50px auto;
    opacity: 0.15 !important;
}

/* BUTTONS */
.white-btn a {
	background-color: #ffffff !important;
	color: #0b1c81 !important;
	border-radius: 11px;
	font-weight:700;
}
.white-btn a:hover {
	color: #0b1c81 !important;
}

/* HEADER */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
	position: sticky;
    top: 0;
	z-index:1000;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img {
    height: 30px;
}
.navbar-brand img {
    max-height: 35px;
}

/* Breadcrumb */
.breadcrumb-wrap {
  	padding: 20px;
    background-color: #e9ecef;
}
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0 !important;
}
.breadcrumb-item a {
  text-decoration: none;
  color: #777;
}
.breadcrumb-item a:hover {
  color: #000;
}
.breadcrumb-item.active {
  color: #000;
  font-weight: 500;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #aaa;
}

/* Why CHOOSE */
.box-orange {
	background: #FFF8F4 0% 0% no-repeat padding-box;
	border-radius: 25px;
	box-shadow: 0px 3px 20px #F6CAB3;
	padding:25px;
}
.box-blue {
	background: #FBFBFB 0% 0% no-repeat padding-box;
	border-radius: 25px;
	box-shadow: 0px 3px 20px #F6CAB3;
	padding:25px;
}

/* Certificate */
/* FORM */
#cert-verify-form {
    display: flex;
    flex-direction: column; /* 👈 this moves button below */
    gap: 10px;
    max-width: 350px;
}

#cert-verify-form input {
    width: 100%;
	flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

#cert-verify-form button {
    background: #ff6a00;
    color: #fff;
    border: none;
	width: fit-content;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
}
/* RESULT */
#cert-result {
    margin-top: 15px;
    font-weight: 600;
}
.cert-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
/* Popup */
.cert-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}
.cert-modal-content {
  background: #e9e3df;
  margin: 5% auto;
  padding: 30px;
  width: 90%;
  max-width: 700px;
  border-radius: 20px;
  text-align: center;
}
.cert-msg {
  color: #6b6b6b;
  margin-bottom: 20px;
}
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  gap: 10px 30px;
  color: #1f3c88;
  font-size: 18px;
  margin: 20px 0;
}
.cert-error p {
  color: #6b6b6b;
  font-size: 18px;
}
.cert-ok {
  background: #f36c21;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

/* Insight */
.insight-box {
	background: #FFF8F4 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 20px #F6CAB3;
    border-radius: 25px;
}
.insight-img {
	background: #EC6A23 0% 0% no-repeat padding-box;
    padding: 10px;
    border-radius: 25px 25px 0 0;
}
.insight-content {
	padding:20px;
}
.insight-content p{
	height:110px;
	color: #707070;
    font-size: 18px;
}

/* Certificate */
.certificate-section {
    max-width: 800px;
    margin: 0 auto;
}
/* ROW ALIGNMENT */
.certificate-row {
    display: flex;
    align-items: center;
    gap: 20px;
	margin-bottom:20px;
}
.g-recaptcha div {
 margin:0 auto;
}
/* LABEL */
.certificate-row label {
    font-size: 26px;
    font-weight: 700;
    color: #2d3e8b;
    min-width: 260px;
}
/* INPUT */
.certificate-row input {
    flex: 1;
    height: 45px;
    border: none;
    border-radius: 8px;
    background: #F3F3F3;
    padding: 0 15px;
    font-size: 16px;
}
/* BUTTON */
.certificate-btn {
    text-align: center;
    margin-top: 25px;
}
.certificate-btn button {
    background: #ff6a00;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 16px;
	font-weight:600;
    cursor: pointer;
}
/* HOVER */
.certificate-btn button:hover {
    background: #e65c00;
}
/* RESULT */
#cert-result {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
}
#cert-result.success {
    color: green;
}
#cert-result.error {
    color: red;
}
/* LOADER */
.cert-loader {
    text-align: center;
    margin-top: 10px;
    color: #555;
}

/* Institutions */
.benefits {
	background:#F8F8F8;
	background-size:cover;
	background-position:center;
}
.benefits-box{
	border: 1px solid #EC6A23;
    border-radius: 25px;
    padding: 20px 10px;
}
.benefits-heading {
	color: #0B1C81;
    font-size: 22px;
    font-weight: 600;
}
.benefits-list{
	color: #707070;
	line-height:30px;
}

/* Corporate */
.corporate-section {
	background: #EC6A23 0% 0% no-repeat padding-box;
	border-radius: 28px;
	color:#fff;
}
.corporate-box {
	border-right: 1px solid #fff;
}
.corporate-heading {
	color:#fff;
}
.corporate-sub-heading {
	font-size:26px;
	color:#fff;
	font-weight:500;
}
.corporate-para {
	color:#fff;
}
.corporate-benefits-box {
	border: 1px solid #EC6A23;
    border-radius: 25px;
	padding:20px;
}

/*Learners*/
.learners-box {
	border-right:1px solid #fff;
	height:60px;
}
.course-bg {
	background: linear-gradient(to bottom, #ffffff 50%, #FFF8F4 50%);
  	padding: 50px 20px;
}
.course-section {
	background: #F26522 0% 0% no-repeat padding-box;
	border-radius: 24px;
	padding: 0 30px;
	
	.wp-block-columns {
		padding: 0 50px;
	}
}

.programme-row {
   box-shadow: 0px 3px 6px #00000029;
   border-bottom: 0.5px solid #707070;
   border-top:none;
   opacity: 0.37;
}
.hover-cards {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  position: relative;
  width: 100%;
  border-radius: 25px !important;
  overflow: hidden;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* overlay (default) */
.card .overlay {
  position: absolute;
  inset: 0;
  transition: 0.4s ease;
  opacity:0;
}

/* hover effect */
.card:hover .overlay {
  background: #FFF8F4; /* blue overlay like screenshot */
  border:1px solid #ec6a23;
  border-radius:25px;
  transition: 0.4s ease;
  opacity:1;
}

.card:hover ul{
  width:100%;
  height:100%;
  align-content:center;
}

/* text */
.card h3 {
  position: absolute;
  bottom: 20px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2;
  width:100%;
  text-align:center;
}
/* Btn */
.learners-btn a {
	color: #ec6a23;
    font-size: 18px;
	background: transparent !important;
	border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
	border: 2px solid #ec6a23;
}
.learners-btn a:hover {
	color: #ffffff;
    font-size: 18px;
	background: #ec6a23 !important;
}

/* CAREER SECTION */
.career-ladder {
    padding: 60px 0;
}
/* CARD */
.career-card {
	background: #FFF8F4 0% 0% no-repeat padding-box;
	box-shadow: 0px 3px 20px #F6CAB3;
	border-radius: 25px;
    padding: 20px 30px;
    margin-bottom: 30px;
	opacity: 0;
	transform: translateY(20px);
}
.career-card h5 {
    color: #1f3c88;
    font-weight: 700;
	font-size:20px;
	margin-bottom:20px;
}
.career-card ul {
    padding-left: 18px;
}
.highlight {
    color: #ff6a00;
    font-weight: 700;
	font-size:20px;
	margin-top:20px;
}
/* STEPS */
.career-ladder-bg {
	background-image:url(https://k7academy.com/wp-content/uploads/2026/04/Career-Ladder-Info-01.png);
	background-size:cover;
	background-position:center;
}
/*Lines*/
.step {
  opacity: 0;
  transform: translateY(30px);
}
/* Sync with path timing */
.step-1 { animation: showCard 0.5s ease forwards 0.3s; }
.step-2 { animation: showCard 0.5s ease forwards 0.9s; }
.step-3 { animation: showCard 0.5s ease forwards 1.5s; }
.step-4 { animation: showCard 0.5s ease forwards 2.1s; }
.step-5 { animation: showCard 0.5s ease forwards 2.7s; }

@keyframes showCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.roadmap {
  position: relative;
  width: 500px;
  height: 900px;
  margin: 0 auto;
}
/* SVG */
.connectors {
  position: absolute;
  width: 100%;
  height: 100%;
}
/* GROUP */
.conn line {
  stroke: #444;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  opacity: 0;
}
.conn circle {
  fill: #fff;
  stroke: #444;
  stroke-width: 2;
  opacity: 0;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 200;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes showDot {
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LINE ANIMATION */
.roadmap-wrapper.active .c1 line { animation: drawLine 0.5s ease forwards 0.2s; }
.roadmap-wrapper.active .c2 line { animation: drawLine 0.5s ease forwards 0.8s; }
.roadmap-wrapper.active .c3 line { animation: drawLine 0.5s ease forwards 1.4s; }
.roadmap-wrapper.active .c4 line { animation: drawLine 0.5s ease forwards 2s; }
.roadmap-wrapper.active .c5 line { animation: drawLine 0.5s ease forwards 2.6s; }

/* DOT ANIMATION */
.roadmap-wrapper.active .c1 circle { animation: showDot 0.3s forwards 0.6s; }
.roadmap-wrapper.active .c2 circle { animation: showDot 0.3s forwards 1.2s; }
.roadmap-wrapper.active .c3 circle { animation: showDot 0.3s forwards 1.8s; }
.roadmap-wrapper.active .c4 circle { animation: showDot 0.3s forwards 2.4s; }
.roadmap-wrapper.active .c5 circle { animation: showDot 0.3s forwards 3s; }

/* CARD ANIMATION */
.roadmap-wrapper.active .step-1 { animation: fadeUp 0.5s ease forwards; animation-delay: 0.7s; }
.roadmap-wrapper.active .step-2 { animation: fadeUp 0.5s ease forwards; animation-delay: 1.3s; }
.roadmap-wrapper.active .step-3 { animation: fadeUp 0.5s ease forwards; animation-delay: 1.9s; }
.roadmap-wrapper.active .step-4 { animation: fadeUp 0.5s ease forwards; animation-delay: 2.5s; }
.roadmap-wrapper.active .step-5 { animation: fadeUp 0.5s ease forwards; animation-delay: 3.1s; }
/* MOBILE CONTROL */
.mobile-career {
    display: none;
}

/*Malware Researcher – Windows*/
.course-card {
  position: relative;
  border: 1.5px solid #E85D2B;
  border-radius: 14px;
  padding: 40px 36px 30px;
}
.badge1 {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: #E85D2B;
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
}
.badge2 {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: #E85D2B;
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
}
.badge3 {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: #E85D2B;
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
}
.stat {
  border-left: 1.5px solid #c9b8d6;
  padding: 15px 35px;
}
.stat .num {
  color: #F26522;
  font-size: 60px;
  font-weight: 600;
  margin-bottom:25px;
}
.stat .lbl {
  color: #0B1C81;
  font-weight: 400;
  font-size:28px;
}
.duration {
	padding:10px 0;
}
.duration span {
	border: 1px solid #EC6A23;
border-radius: 11px;
padding: 10px 20px;
}

/*Blog */
.blog-slider {
	margin-bottom:50px;
}
.blog-list {
    margin: 0 auto;
}
.blog-item {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}
.blog-img img {
    width: 100%;
	height:200px;
    border-radius: 20px;
    display: block;
}
.blog-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f3c88; /* blue */
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-content p {
    font-size: 15px;
    margin-bottom: 20px;
}
.blog-btn {
    display: inline-block;
    background: #ff6a00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.blog-btn:hover {
    background: #e55d00;
}
.pagination {
    margin: 40px 0;
    text-align: center;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 5px;
    background: #f1f1f1;
    color: #333;
    border-radius: 6px;
    text-decoration: none;
}
.pagination .current {
    background: #ff6a00;
    color: #fff;
}
.pagination .page-numbers:hover {
    background: #ff6a00;
    color: #fff;
}

/*single-post*/
.single-blog {
    padding: 20px;
}
.blog-detail {
}
.blog-detail-img img {
    width: 100%;
    margin-bottom: 25px;
	height:100%;
}
.blog-title {
    font-size: 28px;
    color: #1f3c88;
    font-weight: 600;
    margin-bottom: 10px;
}
.blog-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}
.blog-content {
    font-size: 16px;
    line-height: 1.7;
}
.blog-content p {
    margin-bottom: 15px;
}

/* Contact */
.form-bg {
	background-color: #f8f8f8;
	border-radius: 25px;
    padding: 0 20px;
}
.nf-form-fields-required {
	display:none;
}
#nf-form-1-cont .nf-form-content .nf-field-container .field-wrap {
    padding: 10px;
}
#nf-form-1-cont .nf-form-content .nf-field-container .field-wrap .nf-field-element .ninja-forms-field {
	background-color: #f8f8f8;
    color: #707070;
    font-size: 16px;
    margin: 5px 0;
    border-bottom: 1px solid #707070;
    border-left: none;
    border-top: none;
    border-right: none;
    height: 50px;
}
#nf-form-1-cont .nf-error .ninja-forms-field, .nf-error.listimage-wrap .nf-field-element ul {
	border-bottom: 1px solid #e80000 !important;
}
#nf-form-1-cont .nf-after-field .nf-error-msg {
	margin-left:10px;
}
.k7-contact-form .nf-field-element input:focus,
.k7-contact-form .nf-field-element textarea:focus {
    border: none !important;
    border-bottom: 1px solid #707070 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ===== BUTTON ===== */
.k7-contact-form input[type="submit"] {
    background: #ff6a00 !important;
    color: #fff !important;
    padding: 10px 50px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px;
	font-weight:700;
    cursor: pointer;
    transition: 0.3s;
}
.k7-contact-form input[type="submit"]:hover {
    background: #e65c00 !important;
}

/* Testimonials */
.star-rating {
    position: relative;
    display: inline-block;
    font-size: 22px;
    font-family: Arial, sans-serif;
    line-height: 1;
}
.star-bg {
    color: #ddd; /* base stars (grey) */
}
.star-fill {
    position: absolute;
    top: 0;
    left: 0;
    color: #ffc107; /* filled stars (gold) */
    overflow: hidden;
    white-space: nowrap;
}

/* Enquiry Form */
.form-bg1 {
	background-color: #FFF5E9;
	border-radius: 25px;
    padding: 40px;
}
.nf-form-cont .nf-field-element input {
    border: 1px solid #707070;
    border-radius: 10px;
    height: 40px !important;
    padding: 5px 10px !important;
}
.nf-form-cont .nf-field-element select {
    border: 1px solid #707070;
    border-radius: 10px;
    height: 40px !important;
    padding: 5px 10px !important;
	 appearance: none;
}
.nf-form-cont .nf-field-label .nf-label-span, .nf-field-label label {
	font-weight:600 !important;
}
.nf-form-cont input[type="submit"] {
    background: #ff6a00 !important;
    color: #fff !important;
    padding: 0 30px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.nf-form-cont .nf-field-element textarea {
	height: 100px;
	padding: 5px 10px;
	border: 1px solid #707070;
    border-radius: 10px;
}
.nf-form-cont .list-wrap .nf-field-element::after {
  content: "\f078"; /* fa-chevron-down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* FOOTER */
.site-footer {
    background: #000;
    color: #fff;
    padding: 30px 0;
}
.footer-inner {
    text-align: left;
}
.site-footer p {
	color:#fff;
    margin: 0;
    font-size: 14px;
}
.social-icon {
    margin-left: 10px;
    color: #fff;
    font-size: 18px;
}

.social-icon:hover {
    color: #ff6a00;
}

/* RESPONSIVE */
/* SHOW DROPDOWN ON HOVER (DESKTOP ONLY) */
@media (min-width: 992px) {
    
	.roadmap-mobile {
    display: none;
  }
	.hide-bnr-desktop {
        display: none !important;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
	.insight-content p {
		height:90px;
    	font-size: 16px !important;
    	line-height: 22px;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.insight-content p {
    	height: 130px;
    	color: #707070;
    	font-size: 16px !important;
    	line-height: 22px;
	}
}
@media (max-width: 991px) {

	 .career-ladder .wp-block-columns {
        display: none;
    }
    .mobile-career {
        display: block;
    }
	.roadmap-desktop {
    	display: none !important;
  	}
	.roadmap-mobile {
    	display: block;
  	}
	.corporate-section {
		padding:0 40px;
	}
	.corporate-box {
		border-right:none;
	}
	.hide-bnr-mobile {
        display: none !important;
    }
	.hide-insight {
		 display: none !important;
	}
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

@media (max-width: 767px) {
	.container {
		padding:0 25px !important;
	}
	h1 {
        font-size: 22px !important;
		line-height:35px !important;
    }
    h2 {
        font-size: 20px !important;
		line-height:32px !important;
    }
    p {
        font-size: 16px;
		line-height:28px;
    }
	.hide-mobile {
        display: none !important;
    }
	.box-orange {
		margin:10px 20px !important;
	}
	.box-blue {
		margin:10px 20px !important;
	}
	.insight-box {
		margin:10px 20px !important;
	}
	.corporate-section {
		padding:0 20px;
	}
	.corporate-box {
		border-right:none;
    	text-align: center;
	}
	.corporate-box-mobile {
    	text-align: center;
	}
	.corporate-benefits-box {
    	margin: 0px 20px !important;
	}
	.benefits-box {
   		margin: 0 20px !important;
	}
	.institutions-mob-col h2,p {
		text-align:center;
	}
	.learners-box {
		border-right:none;
	}
	#cert-verify-form {
        flex-direction: column;
    }
	.blog-img img {
		height:100%;
		margin-bottom:20px;
	}
	.blog-content p {
		text-align:left;
	}
	.k7-contact-form .name-container,
    .k7-contact-form .email-container,
    .k7-contact-form .subject-container,
    .k7-contact-form .textarea-container,
    .k7-contact-form .recaptcha-container {
        width: 100% !important;
    }
    .k7-contact-form .recaptcha-container {
        justify-content: center;
        margin-top: 10px;
    }
    .k7-contact-form textarea {
        min-height: 100px;
    }
	 .certificate-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .certificate-row label {
        min-width: 100%;
    }
    .certificate-row input {
        width: 100%;
		padding: 15px;
    }
	.site-footer p {
		text-align:center;
	}
	.badge1 {
    	top: -36px;
    	left: 16%;
    	transform: translateX(-10%);
    	padding: 10px 20px;
    	font-weight: 600;
	}
	.badge2 {
        top: -24px;
        left: 18%;
        transform: translateX(-10%);
        padding: 10px 20px;
        font-weight: 600;
    }
	.badge3 {
        top: -24px;
        left: 22%;
        transform: translateX(-10%);
        padding: 10px 20px;
        font-weight: 600;
    }
	.stat {
    	border-left: none;
		padding:0;
	}
	.stat .num {
    	font-size: 50px;
    	margin-bottom: 15px;
	}
	.stat .lbl {
    	font-weight: 400;
    	font-size: 22px;
	}
	.duration span {
		font-size:16px;
	}
	.learners-heading {
		text-align:center;
	}
	.learners-btn {
		margin:0 auto !important;
	}
	.learners-btn a {
    	font-size: 16px !important;
		text-align:center;
	}
}
/* Center reCAPTCHA on all devices */
.g-recaptcha,
.grecaptcha-badge {
  display: flex;
  justify-content: center;
  margin: 10px auto;
}

/* Scale reCAPTCHA on small screens */
@media (max-width: 400px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: left center;
  }
}

/* Center on mobile */
@media (max-width: 576px) {
  .g-recaptcha {
    transform: scale(0.9);
    transform-origin: center center;
    display: flex;
    justify-content: center;
  }
}

/* Full size on desktop */
@media (min-width: 577px) {
  .g-recaptcha {
    transform: scale(1);
    transform-origin: left center;
  }
}