/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/*Add your own styles here:*/
/*
Theme Name: Enfold Child
Template: enfold
Description: Custom Enfold child theme for Educational Academy
Author: Vishal Kawade
Version: 1.0
*/

/* ==============================
   GLOBAL DESIGN SYSTEM
   ============================== */
:root {
  --color-primary: #1134A6;
  --color-accent: #F7931E;
  --text-color: #1f242e;
  --bg-light: #F4F6FC;
  --bg-lighter: #F7F8FC;
  --bg-alt: #E9ECF7;
  --font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* Typography */
body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: #fff;
  line-height: 1.6;
}

/* Headings – responsive scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--text-color);
  font-weight: 700 !important;
  margin-bottom: 0.6em;
}
span.text-primary {
    color: #03409c;
}
h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.2; }
h2 { font-size: clamp(24px, 4vw, 36px); line-height: 1.3; }
h3 { font-size: clamp(20px, 3vw, 28px); line-height: 1.4; }
h4 { font-size: clamp(18px, 2.5vw, 24px); line-height: 1.4; }
h5 { font-size: clamp(16px, 2vw, 20px); line-height: 1.5; }
h6 { font-size: clamp(14px, 1.8vw, 18px); line-height: 1.5; }
p {
    font-size: 18px;
    color: #667499;
    line-height: 28px;
}
hr {
    margin: 15px 0;
}
p.no-margin {
    margin: -10px 0 20px;
}
.contact-bottom-block {
    background: #2c4b99;
    padding: 64px;
    color: #fff !important;
    border-radius: 26px;
}
.contact-bottom-block ul {

  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;
  gap: 40px; /* spacing between items */
  flex-wrap: wrap; /* handles mobile nicely */
}
.contact-bottom-block li::marker {
    color: #f7931e;
    font-size: 21px;
    line-height: 32px;
}
.contact-bottom-block li {
  margin: 0; /* spacing handled by gap */
  float: none; /* remove float to allow flex to control layout */
}

.contact-bottom-block h2,.contact-bottom-block p{
    color: #fff !important;
}
.faq-section {
    max-width: 770px !important;
    margin: 0 auto;
}
.avia-section-small .content, .avia-section-small .sidebar {
    padding-top: 60px;
    padding-bottom: 60px;
}
footer#footer-page h3, footer#footer-page p, footer#footer-page a, footer#footer-page li, footer#footer-page span {
    color: #fff !important;
}
footer#footer-page li {
    border: none !important;
    font-size: 16px !important;
    line-height: 16px;
}
.content{
    padding-top: 80px;
    padding-bottom: 80px;
}
p+h1, p+h2, p+h3, p+h4, p+h5, p+h6 {
    margin-top: 10px;
}
/* Buttons (override Enfold .avia-button styles) */
.avia-button.avia-color-theme-color {
      background-color: #f7931e;
    border-radius: .75rem !important;
    padding: 16px 32px;
    font-size: 16px;
    transition: all 0.3s 
ease;
    box-shadow: none !important;
    border: none;
}
.avia-button.avia-color-theme-color:hover {
  background-color: #fff;
  color: #3d59a2 !important;
}

/* Accent button */
.btn-accent,
.avia-button.avia-color-orange {
  background-color: var(--color-accent);
  border-radius: 12px;
  padding: 12px 32px;
  color: #fff;
  transition: all 0.3s ease;
}
.btn-accent:hover,
.avia-button.avia-color-orange:hover {
  background-color: #d87c14;
}

/* Outline button */
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 12px;
  padding: 12px 32px;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}


/* Shadows (utility classes) */
.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.shadow-lg { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

/* Accessibility & transitions */
a, button, .avia-button { transition: all 0.3s ease; }
a:focus, button:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Testimonial slider styles */
.testimonial-swiper {
  position: relative;
  width: 100%;
  padding: 40px 0;
}

.testimonial-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.testimonial-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  max-width: 520px;
  padding: 32px;
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.testimonial-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-content blockquote {
  font-style: italic;
  margin: 0 0 16px 0;
  color: #475569;
  position: relative;
  padding: 0;
  border: none;
}
p.toggler {
    padding: 15px 24px !important;
    color: #0c1221 !important;
    font-weight: 600;
}

section.av_toggle_section {
    margin-bottom: 20px;
}
.av-elegant-toggle .toggle_icon{
    border-color: #0c1221;
}
span.hor_icon,span.vert_icon  {
    border-color: #0c1221;
    opacity: 1 !important;
}
.toggle_content{
    padding-left: 20px !important;
}
.toggle_content p {
  color: #0c1221;
    font-size: 16px !important;
}
section.av_toggle_section {
    margin-bottom: 20px;
}
a.avia-button.avia-size-large {
    background: #f6941e !important;
}
a.avia-button.avia-size-large:hover {
    color: #f6941e !important;
    border-color: #f6941e !important;
}
a.avia-button.avia-size-large:hover svg{
    fill: #f6941e !important;
}
.contact-bottom-block li{
  color: #fff !important;
}
.testimonial-content blockquote:before {
  content: "\201C";
  font-size: 32px;
  color: #1134A6;
  position: absolute;
  top: -12px;
  left: -12px;
}

.testimonial-meta h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1134A6;
}

.testimonial-meta .testimonial-companies {
  font-size: 14px;
  color: #1134A6;
  margin-top: 4px;
}

.testimonial-meta .old-company {
  color: #64748b;
}

.testimonial-meta .new-company {
  color: #1134A6;
}

/* Navigation arrows override */
.testimonial-swiper .swiper-button-next,
.testimonial-swiper .swiper-button-prev {
  color: #1134A6;
}
.testimonial-swiper .swiper-button-next:hover,
.testimonial-swiper .swiper-button-prev:hover {
  color: #F7931E;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .testimonial-profile img {
    margin-bottom: 16px;
  }
}
.academy-timeline {
        position: relative;
        max-width: 900px;
        margin: 60px auto;
        padding: 0 20px;
    }
    .academy-timeline .timeline-line {
        position: absolute;
        top: 0; bottom: 0;
        left: 50%;
        width: 2px;
        background: #e5e7eb;
        transform: translateX(-50%);
    }
    .academy-timeline .timeline-item {
        position: relative;
        width: 50%;
        padding: 30px 40px;
        box-sizing: border-box;
    }
    .academy-timeline .timeline-item.left { left: 0; text-align: right; }
    .academy-timeline .timeline-item.right { left: 50%; text-align: left; }

    .academy-timeline .timeline-content {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
        padding: 24px;
        display: inline-block;
        width: 100%;
        max-width: 380px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .academy-timeline .timeline-content:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .academy-timeline .time {
        font-size: 14px;
        color: #64748b;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .academy-timeline .time:before {
        content: '\f469';
        font-family: dashicons;
        color: #1134A6;
        font-size: 14px;
    }
    .academy-timeline .timeline-item.left .timeline-icon{
          left: 100%;
    }
    .academy-timeline .timeline-item.right .timeline-icon{
          left: 0%;
    }
    .testimonial-profile, .testimonial-profile img
 {
    width: 310px !important;
}
    .academy-timeline h3 {
        font-size: 18px;
        font-weight: 600;
        color: #1134A6;
        margin-bottom: 6px;
    }
    .academy-timeline p {
        color: #475569;
        font-size: 15px;
        line-height: 1.6;
        margin: 0;
    }

    .academy-timeline .timeline-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        border: 3px solid #f3f4f6;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .academy-timeline .timeline-icon i {
        font-size: 20px;
        color: #1134A6;
    }

    /* alternate icon colors */
    .academy-timeline .timeline-item:nth-child(2) .timeline-icon i { color: #F7931E; }
    .academy-timeline .timeline-item:nth-child(3) .timeline-icon i { color: #1134A6; }
    .academy-timeline .timeline-item:nth-child(4) .timeline-icon i { color: #16a34a; }

    /* responsive */
    @media (max-width: 768px) {
        .academy-timeline .timeline-line { left: 20px; }
        .academy-timeline .timeline-item,
        .academy-timeline .timeline-item.left,
        .academy-timeline .timeline-item.right {
            width: 100%;
            padding-left: 60px;
            text-align: left;
        }
        .academy-timeline .timeline-icon {
            left: 20px;
            transform: translateY(-50%);
        }
    }
    /* ==============================
   Inside Our Classrooms Grid
   ============================== */
.academy-classrooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.classroom-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.classroom-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.classroom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.classroom-image:hover img {
  transform: scale(1.1);
}

.classroom-image .overlay {
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(17, 52, 166, 0.6) 0%, transparent 50%);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.classroom-image:hover .overlay {
  bottom: 0;
  opacity: 1;
}
#top #menu-item-search{
  display: none;
}
.classroom-image .overlay h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  display: none;
}
/* ===========================================
   Success Stories New Card Layout
   =========================================== */
.success-stories-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.story-card-v2 {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Top Section */
.story-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e2e8f0;
}
.user-info .name {
  font-weight: 600;
  font-size: 16px;
  color: #111827;
  margin: 0;
}
.user-info .role {
  font-size: 14px;
  color: #475569;
  margin: 2px 0 0 0;
}

/* Salary Comparison */
.salary-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #f8fafc 0%, #f9fbff 100%);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
  position: relative;
}
.salary-box .salary {
  text-align: center;
}
.salary-box .label {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 2px;
}
.salary-box .amount {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
}
.salary-box .after-val {
  color: #1134A6;
}
.salary-box .arrow {
  font-size: 18px;
  color: #64748b;
  margin: 0 10px;
}

/* Company Info */
.company-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
}
.company-info i {
  color: #1134A6;
  font-size: 15px;
}

/* Growth Tag */
.growth-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: #fff5eb;
  border-radius: 20px;
  color: #F7931E;
  font-weight: 600;
  font-size: 13px;
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ==============================
   Academy Stats (Exact Design)
   ============================== */
.academy-stats {
    display: flex;
    justify-content: left;
    align-items: flex-end;
    gap: 75px;
    padding: 18px 0px;
    border-radius: 12px;
    text-align: left;
    flex-wrap: wrap;
}

.academy-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.academy-stats h3 {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: #1134A6;
  margin: 20px 0 4px 0;
}
a.avia-button {
    background: #445fa4 !important;
    font-size: 18px !important;
}
.card-lay.two a.avia-button {
    background: #f6941e  !important;
}
p.min-60 {
    min-height: 50px;
}
p {
    margin-top: 0px;
}
.highlight-cards article {
    background: #fff !important;
    padding: 10px;
    border-radius: 22px;
}
.highlight-cards article {
    background: #fff !important;
    padding: 14px 10px;
    border-radius: 22px;
}
.tab_titles {
    max-width: 900px;
    margin-left: calc(50% - 425px);
}
.tab {
    font-size: 16px !important;
    color: #6c6c6c !important;
    padding: 15px 25px !important;
    font-weight: 500;
    border-radius: 12px !important;
    margin-right: 25px !important;
    border: none !important;
}
.tab.active_tab {
    border: 1px solid #09449e !important;
     color: #09449e !important;
}
.tab_content {
    padding: 15px 25px !important;
        border-radius: 12px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    margin-top: 100px !important;
    box-shadow: 2px 3px 3px #ecececcf;
    background: #fff !important;
}
.highlight-cards.meet-person article {
    background: #ffffff6e !important;
}
.rounded-xl img.w-full.h-full.object-cover {
    width: 100%;
    border-radius: 12px;
}
.js_active .top_tab .tab.active_tab {
  border-bottom: 1px solid;
}

.space-y-4 {
    width: 50%;
    float: left;
}

.relative {
    width: 50%;
    float: left;
}

.flex.items-start.gap-3 span {
    font-size: 16px;
    line-height: 26px;
    background: #eeecef;
    margin-bottom: 15px;
    margin-right: 40px;
    padding: 10px 15px;
    border-radius: 10px;
    display: block;
    color: #667499;
    font-weight: 600 !important;
}
.highlight-cards .iconbox_content_container p {
    font-size: 14px;
    line-height: 20px;
    padding-top: 8px;
}
.card-lay.two a.avia-button:hover {
    color: #fff  !important;
     border: 1px solid #f6941e !important;
}
.choose-learning a.avia-button {
    width: 100%;
}
a.avia-button:hover {
    background: #fff !important;
    color: #445fa4 !important;
    border: 1px solid #445fa4 !important;
}
a.avia-size-medium {
    background: #fff !important;
    color: #445fa4 !important;
    border: 1px solid #445fa4 !important;
}
a.avia-button svg, a.avia-button.avia-size-medium:hover svg{
    fill: #fff !important;
}
.choose-learning h3 {
    font-size: 20px;
    line-height: 28px;
}
li {
    color: #667499;
}
a.avia-button:hover svg,a.avia-size-medium svg {
    fill: #445fa4 !important;
}
a.avia-button.avia-size-medium:hover {
    background: #445fa4 !important;
    color: #fff !important;
}
.academy-stats p {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #667499;
  margin: 0;
}
span.avia-menu-text {
    color: #0C1221;
}
.join-whatsApp .avia-menu-text {
    background: #f6941e;
    padding: 12px;
    color: #fff;
    font-size: 14px !important;
    border-radius: 12px;
}
.download-syllabus .avia-menu-text {
    color: #03409c;
    border: 1px solid #03409c;
    padding: 12px;
     font-size: 14px !important;
    border-radius: 12px;
}
.av-subheading.av-subheading_above p {
    font-size: 12px;
    background: #f57017;
    color: #fff;
    padding: 0px 13px;
    display: inline-block;
    border-radius: 12px;
    margin-bottom: 10px;
}
/* Responsive adjustments */
@media (max-width: 991px) {
	.space-y-4 {
    width: 100%;
    float: left;
}

.relative {
    width: 100%;
    float: left;
}
  .academy-stats {
    gap: 60px;
    padding: 40px 10px;
  }
}

@media (max-width: 600px) {
  .academy-stats {
    gap: 32px;
  }
  .academy-stats h3 {
    font-size: 26px;
  }
}
