/*
	Theme Name: Master Study Child
	Theme URI: http://stylemix.net
	Description: MasterStudy Child Theme
	Author: StylemixThemes
	Author URI: http://stylemix.net
	Template: masterstudy
	Version: 2.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: classes, courses, education, education center, learning center, tutoring, teaching, study, studying, learning, lessons, instructor, teacher, mentor
	Text Domain: masterstudy-child
*/



/* UPD SEPT */
@media (max-width: 400px) {
    .course-title-holder {
        padding-right: 5px;
    }
}

@media(max-width: 480px){
    .woocommerce-MyAccount-navigation ul {
        padding-left: 0;
    }
    .woocommerce-MyAccount-navigation ul li {
        display: block;
    }
}

@media (max-width: 767px) {
    .table-responsive>.table>tbody>tr>td,
    .table-responsive>.table>tbody>tr>th,
    .table-responsive>.table>tfoot>tr>td,
    .table-responsive>.table>tfoot>tr>th,
    .table-responsive>.table>thead>tr>td,
    .table-responsive>.table>thead>tr>th {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 655px) {
    .course_table tr td.number.number-visible.title, .course_table tr td.title {
        padding-left: 20px;
        display: block;
        width: 100%;
    }
    .course_table tr td.stm_badge {
        display: block;
        width: 100%;
        text-align: left;
    }
    .course_table tr td .meta {
        padding-left: 12px;
    }
    .course_table tr td.stm_badge .badge_unit {
        margin-left: 15px;
    }
    .woocommerce-message {
        padding-right: 26px;
    }
    .woocommerce-message .button {
        position: static;
        float: none;
        display: block;
    }
    .woocommerce-message .button:after {
        display: none;
    }
    .shop_table > tbody > tr td.actions {
        padding-left: 15px;
        padding-right: 15px;
    }
    .woocommerce .shop_table.cart .coupon .button {
        display: block;
        margin-top: 15px;
    }
    .woocommerce .shop_table.cart .coupon {
        float: none;
        margin-bottom: 30px;
    }
    .woocommerce .shop_table.cart .button.update-cart {
        float: none;
        margin-bottom: 15px;
    }
}

.tp-caption .icon_in_btn {
    text-align: center !important;
}

@media (max-width: 991px){
    .overflowed_content .wpb_column .vc_column-inner{
        margin-top: 0 !important;
    }
}

body .vc_row[data-vc-full-width] {
    overflow: visible;
}
body .vc_row[data-vc-full-width].vc_parallax {
    overflow: hidden;
}

.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 3em
}
.woocommerce-product-gallery figure {
    margin: 0
}
.woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2) {
    width: 25%;
    display: inline-block
}
.woocommerce-product-gallery .flex-control-thumbs li {
    list-style: none;
    float: left;
    cursor: pointer
}
.woocommerce-product-gallery .flex-control-thumbs img {
    opacity: .5
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover {
    opacity: 1
}
.woocommerce-product-gallery img {
    display: block
}
.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
    width: 33.3333%
}
.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    width: 25%
}
.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
    width: 20%
}
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 1em;
    right: 1em;
    z-index: 99
}
ol.flex-control-nav.flex-control-thumbs {
    padding-left: 0px;
}
.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    width: 20%;
}
.woocommerce-product-gallery__trigger {
    right: inherit;
    left: .5em;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    position: absolute;
    top: .5em;
    right: .5em;
    font-size: 2em;
    z-index: 9;
    width: 36px;
    height: 36px;
    background: #fff;
    text-indent: -9999px;
    border-radius: 100%;
    box-sizing: content-box;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    border-radius: 100%;
    position: absolute;
    top: 9px;
    left: 9px;
    box-sizing: content-box;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:after {
    content: "";
    display: block;
    width: 2px;
    height: 8px;
    background: #000;
    border-radius: 6px;
    position: absolute;
    top: 19px;
    left: 22px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-sizing: content-box;
}


/* Woo My Account Tabs*/
.woocommerce-account .woocommerce-MyAccount-navigation {
    display: table;
    float: none;
    width: 100%; }
.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
}
.woocommerce-MyAccount-navigation ul {
    display: table !important;
    table-layout: fixed;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 30px; }
.woocommerce-MyAccount-navigation  ul > li {
    display: table-cell; }
.woocommerce-MyAccount-navigation  ul > li > a {
    display: block;
    padding: 12px 20px;
    background-color: #457992;
    border: 0;
    border-left: 1px solid #fff;
    border-radius: 0;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;}
.woocommerce-MyAccount-navigation  ul > li.is-active a,
.woocommerce-MyAccount-navigation  ul > li a:hover,
.woocommerce-MyAccount-navigation  ul > li a:focus {
    background-color: #f0f2f5;
    color: #457992; }
.woocommerce div.product form.cart .variations td.label {
    display: none;
}
.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 3em
}
.woocommerce-product-gallery figure {
    margin: 0
}
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    z-index: 9 !important;
}
.stm_archive_product_inner_unit .stm_archive_product_inner_unit_centered .stm_featured_product_price .price h5 {
    font-weight: normal;
}
.widget_stm_recent_posts span.h6 {
    display: inline !important;
}
.widget_stm_recent_posts .cats_w {
    margin-left: 83px;
}

/* Add new CSS */
.eies-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #142B6F 25%, #1E5BB8 50%, #0f2952 80%);
  font-family: 'Montserrat', sans-serif;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* Animated background pattern */
.eies-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(232,93,4,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(107,47,160,0.2) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(232,93,4,0.1) 0%, transparent 40%);
  z-index: 1;
}

/* Geometric decorative elements */
.eies-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(232,93,4,0.2);
  z-index: 1;
}

.eies-hero-ring {
  position: absolute;
  right: 40px;
  top: 40px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 1;
}

.eies-hero-ring2 {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(232,93,4,0.15);
  z-index: 1;
}

.eies-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.eies-hero-left { }

.eies-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,93,4,0.15);
  border: 1px solid rgba(232,93,4,0.4);
  color: #ff8c42;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease forwards;
}

.eies-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #e85d04;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.eies-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInLeft 0.9s ease 0.2s both;
}

.eies-hero h1 span {
  color: #e85d04;
  position: relative;
}

.eies-hero h1 span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #e85d04, #ff8c42);
  border-radius: 2px;
}

.eies-hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInLeft 0.9s ease 0.4s both;
}

.eies-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.6s both;
}

.eies-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #e85d04, #ff8c42);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(232,93,4,0.35);
}

.eies-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(232,93,4,0.5);
  color: #ffffff;
  text-decoration: none;
}

.eies-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

.eies-btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  transform: translateY(-3px);
  text-decoration: none;
}

/* Stats row */
.eies-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.9s ease 0.8s both;
}

.eies-stat { text-align: left; }

.eies-stat-number {
  font-size: 28px;
  font-weight: 900;
  color: #e85d04;
  line-height: 1;
}

.eies-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-family: 'Montserrat', sans-serif;
  margin-top: 4px;
}

/* Right side visual */
.eies-hero-right {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

.eies-hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.eies-hero-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Floating card */
.eies-float-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.eies-float-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1a3a6b, #6b2fa0);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.eies-float-card-text strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #1a3a6b;
  font-family: 'Montserrat', sans-serif;
}

.eies-float-card-text span {
  font-size: 12px;
  color: #666;
  font-family: 'Montserrat', sans-serif;
}

.eies-float-card2 {
  position: absolute;
  top: -16px;
  right: -20px;
  background: linear-gradient(135deg, #e85d04, #ff8c42);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 15px 40px rgba(232,93,4,0.4);
  color: white;
  text-align: center;
}

.eies-float-card2 strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
}

.eies-float-card2 span {
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .eies-hero-content {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    gap: 40px;
  }
  .eies-hero-right { display: none; }
  .eies-stats { gap: 20px; }
  .eies-hero h1 { font-size: 30px; }
}
.training-card{
    height:100%;
}

/* Why choose us section CSS */

.eies-why {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  position: relative;
  padding: 100px 40px;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  background: #142B6F;
}

/* Layered background */
.eies-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(107,47,160,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(232,93,4,0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(26,58,107,0.4) 0%, transparent 70%);
}

/* Animated grid pattern */
.eies-why::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.eies-why-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header */
.eies-why-header {
  text-align: center;
  margin-bottom: 70px;
}

.eies-why-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  margin-bottom: 10px;
}

.eies-why-eyebrow span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #F57C20;
}

@keyframes blink {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:0.4;transform:scale(1.4)}
}

.eies-why-title {
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.eies-why-title em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(135deg, #e85d04, #ff8c42, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
}

.eies-why-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 600;
}

/* Divider */
.eies-why-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.eies-why-divider-line {
  width: 100px;
  height: 1px;
  background: #4b2e83;
}

.eies-why-divider-line.right {
  background: #4b2e83;
}

.eies-why-divider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F57C20;
  box-shadow: 0 0 12px rgba(232,93,4,0.6);
}

/* Grid */
.eies-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Cards */
.eies-why-card p {
  color: #F8FAFC;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}
.eies-why-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px 32px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}

.eies-why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(232,93,4,0.08), rgba(107,47,160,0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.eies-why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, #e85d04, #6b2fa0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.eies-why-card:hover, .card-grid-layout:hover {
  transform: translateY(-10px);
  border-color: rgba(232,93,4,0.25);
  box-shadow:
    0 0 0 1px rgba(232,93,4,0.1),
    0 24px 60px rgba(0,0,0,0.4),
    0 0 40px rgba(232,93,4,0.08);
}

.eies-why-card:hover::before, .card-grid-layout:hover::before { opacity: 1; }
.eies-why-card:hover::after, .card-grid-layout:hover::after { transform: scaleX(1); }

/* Glow blob per card */
.eies-why-blob {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.15;
  bottom: -30px;
  right: -30px;
  transition: opacity 0.4s ease;
}

.eies-why-card:hover .eies-why-blob { opacity: 0.3; }

/* Icon wrapper */
.eies-why-icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.eies-why-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0.15;
}

.eies-why-icon-border {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid;
  opacity: 0.3;
}

.eies-why-icon-emoji {
  position: relative;
  z-index: 1;
  font-size: 32px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tag */
.eies-why-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
}

/* Card content */
.eies-why-card-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 52px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}

.eies-why-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Animations */
@keyframes fadeInUp {
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:translateY(0)}
}

.eies-why-header { animation: fadeInUp 0.8s ease both; }
.eies-why-card:nth-child(1){animation:fadeInUp 0.7s ease 0.1s both}
.eies-why-card:nth-child(2){animation:fadeInUp 0.7s ease 0.2s both}
.eies-why-card:nth-child(3){animation:fadeInUp 0.7s ease 0.3s both}
.eies-why-card:nth-child(4){animation:fadeInUp 0.7s ease 0.4s both}
.eies-why-card:nth-child(5){animation:fadeInUp 0.7s ease 0.5s both}
.eies-why-card:nth-child(6){animation:fadeInUp 0.7s ease 0.6s both}

/* Responsive */
@media(max-width:1024px){
  .eies-why-grid{grid-template-columns:repeat(2,1fr)}
  .eies-why-stats{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:640px){
  .eies-why{padding:70px 20px}
  .eies-why-grid{grid-template-columns:1fr}
  .eies-why-stats{grid-template-columns:repeat(2,1fr)}
  .eies-why-title{font-size:30px}
}

/* card hover effect */
.specialization-card{
    position: relative;
    overflow: hidden;
	animation: fadeInUp 0.7s ease 0.6s both;
}

.specialization-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        rgba(245,124,32,0.95) 0%,
        rgba(245,124,32,0.9) 50%,
        rgba(30,91,184,0.9) 100%
    );
    box-shadow: 0 0 8px rgba(245,124,32,0.35);
    transition: width .45s ease;
}

.specialization-card:hover::before{
    width: 100%;
}

.homepage-featured-program .hfe-product-item .hfe-product-image
{
	height:300px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.homepage-featured-program .hfe-product-item .hfe-product-image img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.product-grid-layout .hfe-product-item{
    transition: all .35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate3d(0,0,0);
    will-change: transform;
}
.product-grid-layout .hfe-product-item:hover{
    transform: translateY(-8px);
    border-color: rgba(232,93,4,0.25);
    box-shadow:
        0 0 0 1px rgba(232,93,4,0.1),
        0 12px 30px rgba(0,0,0,0.18),
        0 0 20px rgba(232,93,4,0.06);
}
.product-grid-layout .hfe-product-item:hover::before{
    transition: opacity .35s ease;
}

.product-grid-layout .hfe-product-item:hover::after{
    transition: transform .35s ease;
    transform-origin: left center;
}